2011-10-22T00:00:14 ls1024: looks like you need to work on keeping your ants from colliding with each other. 2011-10-22T00:01:05 ChrisH_: There's a lot I need to fix here. 2011-10-22T00:01:30 my ants collide too, sometimes 2011-10-22T00:01:47 ls1024: and once you fix them, there will be the next thing to improve. :) 2011-10-22T00:01:54 ls1024 lol love the suicides 2011-10-22T00:02:02 ls1024: and then one more. ;) 2011-10-22T00:02:20 hmmm, occasional invalids due to not realize food is blocking collideable 2011-10-22T00:02:25 yeh i'm working on a 2nd generation bot now... HiveMind yay 2011-10-22T00:02:55 *** otzi has quit IRC (Ping timeout: 248 seconds) 2011-10-22T00:03:13 add ALL the features! 2011-10-22T00:03:45 ls1024: if your ants didn't commit suicide, you could've won that one. the others were really dumb and looks like yellow crashed 2011-10-22T00:03:55 ash0d: I found my bug. :) 2011-10-22T00:04:03 Fixing and uploading... 2011-10-22T00:04:19 but yellow was not a dumb bot 2011-10-22T00:04:25 good luck 2011-10-22T00:04:43 do you specialize your ants? 2011-10-22T00:04:50 ls1024 is hooked. 2011-10-22T00:05:09 who wouldn't be 2011-10-22T00:05:10 So much for getting any sleep this weekend. 2011-10-22T00:05:24 or the next two months 2011-10-22T00:05:28 for example, ones are more food gatherers than anything else, other are explorers and other are hill razers? 2011-10-22T00:06:16 Fluxid: I've thought about that, but I've found it incredibly difficult to micro individual ants 2011-10-22T00:06:22 Fluxid: I don't. I let the ants do whatever task they are closest to, but presently there are some priorities to those tasks based on the situation. 2011-10-22T00:06:54 or do you implement some logic to divide groups, so instead of one huge group going to ine enemy hill, it divides into two groups to attack two different hills 2011-10-22T00:06:56 but an ant is an ant, so they can change tasks between turns if needed 2011-10-22T00:07:27 my 2nd bot is aiming to make it more globally goal oriented 2011-10-22T00:07:28 bobbydroptable: i implemented state for each ant, and i keep track of them, but i wonder how far i can push it 2011-10-22T00:07:30 yeah, I do that by putting a number of ants needed to accomplish a task. 2011-10-22T00:07:43 i have now explorers, food gatherers and hill attackers 2011-10-22T00:07:54 *** yoden has joined #aichallenge 2011-10-22T00:07:55 so grabbing a food takes one ant, razing a hill requires more 2011-10-22T00:07:56 so my "hive" defines what the targets are, and the ants decide which to go for using heuristics 2011-10-22T00:08:36 *** webchat_239486 has quit IRC (Quit: Page closed) 2011-10-22T00:10:09 *** danielharan has joined #aichallenge 2011-10-22T00:10:12 hm, i need to do that too 2011-10-22T00:10:47 i think that's pretty much ChrisH has ? 2011-10-22T00:10:55 you define goals , and the number of ants required? 2011-10-22T00:11:07 and the ants decide amongst themselves what to do 2011-10-22T00:11:31 bobbydroptable has invented scentient ants. 2011-10-22T00:11:55 no, just ants who aim to fulfil the whims of their evil overlord 2011-10-22T00:12:07 nuclear launch detected 2011-10-22T00:12:11 bobbydroptable: yeah, that sums it up 2011-10-22T00:12:59 the tricky part is deciding the right goals in the right order and having fast code to figure out the best way to get the ants from where they are at to where they need to be 2011-10-22T00:13:13 without wasting moves 2011-10-22T00:13:27 *** Saulzar has joined #aichallenge 2011-10-22T00:13:30 oh, and then there are those pesky enemy ants to worry about. ;) 2011-10-22T00:13:47 that's my current focus 2011-10-22T00:13:59 for new code 2011-10-22T00:14:03 I'll be interested to hear about what different formations are effective 2011-10-22T00:14:10 for ant battles 2011-10-22T00:14:17 *** ZeroBrain has joined #aichallenge 2011-10-22T00:14:29 *** sigh has joined #aichallenge 2011-10-22T00:14:34 six: more is better 2011-10-22T00:14:42 So, does the initial map get sent to any of the bots with "m .%.%.%.%". 2011-10-22T00:14:48 any formation with corners is vulnerable 2011-10-22T00:14:57 did anyone actually implement "formations"? 2011-10-22T00:15:06 i've seen a couple 2011-10-22T00:15:11 Six: watch some of the matches of one of the top three bots for good ant formations 2011-10-22T00:15:14 but i'm not sure if they were intentional 2011-10-22T00:15:29 GreenTea vs FlagCapper has awesome battles 2011-10-22T00:15:37 yeah, i saw them 2011-10-22T00:15:49 i think the easiest basic formation would be a line 2011-10-22T00:16:13 it ends up being like napoleonic wars 2011-10-22T00:16:26 .aa.aa. etc 2011-10-22T00:16:33 no reinforcements though 2011-10-22T00:16:39 *** foobar_ has joined #aichallenge 2011-10-22T00:16:51 well, the only thing that can beat a line is another line 2011-10-22T00:17:05 so it's like marines in starcraft. lol 2011-10-22T00:17:07 oh, that's an interesting map too 2011-10-22T00:17:07 or a big mass 2011-10-22T00:17:54 *** ChrisH_ has quit IRC (Quit: Page closed) 2011-10-22T00:17:55 big masses aren't really that effective because only the front row attacks 2011-10-22T00:18:25 *** danielha_ has joined #aichallenge 2011-10-22T00:18:33 but of course, strength in numbers. if you have a big mass, don't bother with formations just run in lol 2011-10-22T00:18:58 the advantage is in being able to reinforce your unified front quickly 2011-10-22T00:19:14 yeh 2011-10-22T00:19:16 *** Sunshowers has quit IRC (Quit: Leaving.) 2011-10-22T00:19:26 well, the problem i find with formations 2011-10-22T00:19:28 *** VaderSeven has quit IRC () 2011-10-22T00:19:30 this reminds me of phalanxes 2011-10-22T00:19:38 is that it is incredibly difficult to deal with terrain as well 2011-10-22T00:19:42 we actually came up with rules for multiplayer game of life 2011-10-22T00:19:47 *** dustmote has joined #aichallenge 2011-10-22T00:19:50 wow, there are some great battles in that one 2011-10-22T00:19:52 but figured it'd be way too complicated and confusing as heck to watch 2011-10-22T00:20:07 *** dustmote has left #aichallenge 2011-10-22T00:20:16 *** foob has joined #aichallenge 2011-10-22T00:20:26 heh 2011-10-22T00:20:29 how does view distance work? 2011-10-22T00:20:43 with 2 players you can't have a draw for spawning a location because you need exactly 3 adjacent squares occupied 2011-10-22T00:20:56 *** bobbydroptable_ has joined #aichallenge 2011-10-22T00:21:02 *** danielharan has quit IRC (Read error: Operation timed out) 2011-10-22T00:21:07 *** ccc_ has joined #aichallenge 2011-10-22T00:21:10 *** foobar_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:21:10 *** jfs has quit IRC (Quit: Leaving) 2011-10-22T00:21:54 *** shane__ has joined #aichallenge 2011-10-22T00:21:56 irc just booted a whole bunch of people out huh 2011-10-22T00:22:06 yup 2011-10-22T00:22:10 wait until a netsplit :P 2011-10-22T00:22:19 what's a netsplit? 2011-10-22T00:22:26 no idea, but it ruins irc 2011-10-22T00:23:06 *** shane_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:23:06 *** pskupinski has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:23:35 *** skyramp has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:23:35 *** ash0d has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:23:35 *** bant has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:23:35 *** Vardd has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:23:35 *** ben_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:23:35 *** djs has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:24:00 Looks like a netsplit.... 2011-10-22T00:24:04 *** bobbydroptable has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:24:04 *** sanny1 has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:24:11 It's all the web client people. 2011-10-22T00:24:15 there's 156 people in here 2011-10-22T00:24:28 A netsplit is when two IRC servers go out of sync and the channel essentially gets "split". 2011-10-22T00:24:33 *** ccc has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:24:33 *** aui has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:24:33 *** mensa180 has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:24:33 *** george_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:24:40 *** tr3v has joined #aichallenge 2011-10-22T00:24:54 *** TrivialFate has joined #aichallenge 2011-10-22T00:25:02 *** Higgs_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T00:25:06 *** tr3v is now known as Guest79769 2011-10-22T00:29:20 *** dvladim has joined #aichallenge 2011-10-22T00:30:17 sigh i'm half considering converting to C. 2011-10-22T00:31:53 what are you in now? 2011-10-22T00:34:51 *** delt0r_ has quit IRC (Ping timeout: 252 seconds) 2011-10-22T00:37:36 *** djs has joined #aichallenge 2011-10-22T00:43:19 *** vortex has joined #aichallenge 2011-10-22T00:43:20 python 2011-10-22T00:43:42 damn you all. damn you to hell. 2011-10-22T00:45:00 I don't have time for this again this year. 2011-10-22T00:45:47 And this one looks especially time sinky 2011-10-22T00:47:24 *** delt0r_ has joined #aichallenge 2011-10-22T00:47:49 *** smiley1983 has quit IRC (Ping timeout: 240 seconds) 2011-10-22T00:47:59 *** Myridium has quit IRC (Quit: Page closed) 2011-10-22T00:50:31 *** f_unk has joined #aichallenge 2011-10-22T00:52:26 join the club 2011-10-22T00:53:29 bobbydroptable_: why are you thinking of switching? 2011-10-22T00:54:20 cuz i only started learning python yesterday 2011-10-22T00:54:24 ==" 2011-10-22T00:54:26 hehehe 2011-10-22T00:54:55 *** levis501 has joined #aichallenge 2011-10-22T00:57:11 *** linc01n has joined #aichallenge 2011-10-22T00:58:28 *** twymer has quit IRC (Read error: Operation timed out) 2011-10-22T00:58:38 *** linc01n has left #aichallenge 2011-10-22T00:58:59 what do we get on stdin when a hive is razed? 2011-10-22T00:59:27 nothing? just keep track of having razed it ourselves? what if somebody else razed it? we won't be able to tell... 2011-10-22T00:59:54 *** smiley1983 has joined #aichallenge 2011-10-22T01:00:03 yeh pretty much 2011-10-22T01:00:12 you get information on all hte visible hives every turn 2011-10-22T01:00:39 so if a visible hive becomes invisible, it's been razed? 2011-10-22T01:00:44 alright.. 2011-10-22T01:01:12 well no 2011-10-22T01:01:22 because if your ant went out of the visible range then you don't see it 2011-10-22T01:01:30 *** dlila has joined #aichallenge 2011-10-22T01:01:33 at least, that's what i've extrapolated from the data . 2011-10-22T01:01:34 i could be wrong 2011-10-22T01:02:33 so if a visible hive your ant is standing right next to becomes invisible, it's because it's been razed? or not... 2011-10-22T01:02:50 yeh that is a reasonable assumption 2011-10-22T01:02:58 that it has been razed 2011-10-22T01:04:20 what about sight distance? i haven't gotten far enough to measure it empirically.. is it a square? 2011-10-22T01:05:33 the website is frustratingly ambiguous about sight-- saying it is 55 wide or something, but then describing it as having a radius 2011-10-22T01:05:38 *** wibblymat_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T01:05:46 squares don't have radii! 2011-10-22T01:05:51 $!#$ 2011-10-22T01:05:54 *** Areks has joined #aichallenge 2011-10-22T01:06:15 it's an approximation of a circle 2011-10-22T01:06:41 if diff_x^2 + diff_y^2 <= viewradius2 then you can see it 2011-10-22T01:06:44 *** acieroid has joined #aichallenge 2011-10-22T01:07:00 +1 2011-10-22T01:07:07 Zannick: great answer, thank you. 2011-10-22T01:07:14 no problem 2011-10-22T01:07:37 Zannick: you're good with maths yes? 2011-10-22T01:07:45 want to help me work something out for janzert 2011-10-22T01:08:01 um, sure 2011-10-22T01:08:05 *** TrivialFate has quit IRC (Quit: Page closed) 2011-10-22T01:08:46 *** acieroid` has quit IRC (Ping timeout: 258 seconds) 2011-10-22T01:08:49 i use ants.distance(loc1,loc2) and square that 2011-10-22T01:09:09 *** Rainydays has quit IRC (Ping timeout: 258 seconds) 2011-10-22T01:09:13 I'm not sure why 55 is the radius though, bit weird. 2011-10-22T01:09:36 causes my ants to ignore food right on the outskirts of their vision , so i had to adjust the threshold a little. 2011-10-22T01:10:01 from the site: Each bot is passed a parameter at the start of the game indicating the square of each ants visibility, which is how far each ant can see around them. At the moment this is set at 55, giving a view radius of approximately 7.4. 2011-10-22T01:10:41 antimatroid: so what's up? 2011-10-22T01:10:43 so as Zannick said, since it's an approximation of a circle 55 is the square of the distance from your ant you can see 2011-10-22T01:10:56 so if food is 8 squares away they cannot see it? 2011-10-22T01:10:59 sqrt(55) = 7.41619849 2011-10-22T01:11:04 guess not! 2011-10-22T01:11:27 *** ademar has quit IRC (Remote host closed the connection) 2011-10-22T01:11:43 that's why i guess 2011-10-22T01:11:48 i got confused by the visualiser 2011-10-22T01:11:48 when making tesellation symmetric maps, i have n = number of players, rows, cols = rows/columns in the grid and row_t, col_t = translate amounts, you can translate a location by translate(loc) = ((loc.row+row_t)%rows, (loc.col+col_t)%cols) and I pick the parameters such translate^n(loc) = loc for all locations in the grid which requires n = lcm(rows/gcd(rows, row_t), cols/gcd(cols, col_t)), now janzert etc. want to be ab 2011-10-22T01:12:00 the question is, does this give us all possible tesselation combinations? 2011-10-22T01:12:06 i think it does, but yeah, it's a little messy :P 2011-10-22T01:12:34 though doesn't really make sense ,because if it was in the 8th square, 7.4 would see SOME of the food at least. lol 2011-10-22T01:12:45 *** ChrisH_ has joined #aichallenge 2011-10-22T01:13:09 *** So8res has joined #aichallenge 2011-10-22T01:14:09 antimatroid: i have no idea what you're talking about 2011-10-22T01:14:15 antimatroid: but i'm glad you do :) 2011-10-22T01:14:36 foob: this is what allows us to do n player symmetric maps, not just 2, 4 and 8 :) 2011-10-22T01:14:47 C# starter pack parses "r" as food removed, is that even a value? 2011-10-22T01:15:01 shane__: we removed that 2011-10-22T01:15:06 I have a question about map symmetry. The specification says the maps will be "symmetric". Define "symmetric". 2011-10-22T01:15:09 who is the c# starter bot person? 2011-10-22T01:15:47 thanks antimatroid I was just making sure, C# has some goofy stuff missing that is in python I wanted to make sure. 2011-10-22T01:16:01 vortex: each player has first access to a symmetrically equivalent portion of the board as everyone else 2011-10-22T01:16:07 *** ChrisH_ has quit IRC (Client Quit) 2011-10-22T01:16:20 antimatroid, why does scoring restart from 0 when you improve your bot? 2011-10-22T01:16:27 and food spawns symmetrically to starting positions 2011-10-22T01:17:10 antimatroid: ok, then define "symmetrically equivalent" ;) 2011-10-22T01:17:13 antimatroid: okay, that makes sense, but it sounds like you'd have to break the grid or define symmetric by how far ants have to move... 2011-10-22T01:17:32 (to get to the food) 2011-10-22T01:18:08 python starter pack doesn't keep track of current turn . 2011-10-22T01:18:12 just a note 2011-10-22T01:18:25 a few reasons i can think of, 1. you are forced to see how your bot does against lower ranked players everytime you resubmit, there were a few surprises imo with planet wars when rankings were reset for the final tournament, 2. you could "game" the leaderboard a bit before the final contest in planetwars by resubmitting all the game and getting lots of games and boosting your ranking etc. 2011-10-22T01:18:55 antimatroid: here's one way to ask the question. suppose I submit a map to you folks. What's your algorithm to verify that it is symmetric? 2011-10-22T01:19:17 +1 to vortex 2011-10-22T01:19:24 vortex: if you take one players set of first or equal access first squares then there exists translation values and a rotation such that you can map this to each other players first access or equal first access squares 2011-10-22T01:19:25 *** webchat has joined #aichallenge 2011-10-22T01:19:43 vortex: we want map generators, not maps, and we'd just have a look at the generator i guess 2011-10-22T01:19:50 *** Palmik has joined #aichallenge 2011-10-22T01:19:51 *** webchat is now known as Guest19719 2011-10-22T01:20:10 thanks, that makes sense 2011-10-22T01:20:16 np 2011-10-22T01:20:27 is the games rate going to increase? 2011-10-22T01:20:29 what you don't have is what i'd call complete fairness 2011-10-22T01:20:41 which would have equal access to every other opponent on the grid 2011-10-22T01:20:54 otherwise the skill of your neighbours may influence how you perform 2011-10-22T01:20:54 *** brianko has quit IRC (Quit: leaving) 2011-10-22T01:21:10 but we can only go so far, i had to push quite hard just to get symmetric maps, others were quite keen on having asymmetric maps 2011-10-22T01:21:43 dumb question, can a player's ants swap positions without colliding? 2011-10-22T01:21:46 Dang i figured it out! I downloaded the old version of the C# starter kit >:( 2011-10-22T01:21:56 a1k0n: yep 2011-10-22T01:22:02 oh good 2011-10-22T01:22:17 that snowman game had the WORST logic for that 2011-10-22T01:23:01 non-symmetric would have been a blunder, IMO. You'd need huge sample sizes to discern skill rather than luck of the map draw 2011-10-22T01:23:21 yeah, imo there's already enough noise in ranking bots, we should minimise that as much as possible 2011-10-22T01:24:29 antimatroid: the best way to get rid of noise right now would be to play more games :-) 2011-10-22T01:24:46 *** ZeroBrain has quit IRC (Quit: Leaving) 2011-10-22T01:25:00 *** Areks has quit IRC (Ping timeout: 255 seconds) 2011-10-22T01:25:02 Guest19719: there are hardware limitations unfortunately 2011-10-22T01:25:04 getting enough games was a huge challenge last year 2011-10-22T01:25:09 tcp 2011-10-22T01:25:21 the official server sucks for testing your bot 2011-10-22T01:25:27 imo it's more just for bragging rights 2011-10-22T01:25:54 * Guest19719 notes that to fully exploit the symmetry the game ought to present rotated/translated maps so that every bot thinks it's starting in the same place and facing in the same direction 2011-10-22T01:25:59 *** smiley1983 has quit IRC (Ping timeout: 256 seconds) 2011-10-22T01:26:03 but at this rate, it's going to take a really really long time to be able to claim the bragging rights :) 2011-10-22T01:26:23 i'm pretty sure i've done as much as possible to make sure people can't calculate the type of symmetry used 2011-10-22T01:26:26 antimatroid: Can't you just spin up some new EC2 instances? Or is cost a limiting factor? 2011-10-22T01:26:28 Guest19719: 1) /nick 2) why would that help 2011-10-22T01:26:35 although the number of rows/columns can give you information about the number of players 2011-10-22T01:27:06 google has given us some money for servers but i don't know how much everything costs personally 2011-10-22T01:27:09 *** ZeroBrain has joined #aichallenge 2011-10-22T01:27:21 what was the reason for running N player games? I think it would have been more interesting as a 2 player game 2011-10-22T01:27:22 but yes, cost is a limiting factor 2011-10-22T01:27:22 rmmh: well, the starter bots all move north. So it makes a difference whether you're above or below one of them. 2011-10-22T01:27:31 *** smiley1983 has joined #aichallenge 2011-10-22T01:27:36 people wanted n players, personally i think it'll be fun 2011-10-22T01:27:55 eventually we want to rewrite everything to handle multiple contests and set it up a bit like project euler but for ai contest games 2011-10-22T01:28:04 i really look forward to getting a tron server up again some day 2011-10-22T01:28:15 what about porting it to run on google app engine? 2011-10-22T01:28:38 tbh i don't know much about that kind of stuff, i'm a maths student :P 2011-10-22T01:28:39 antimatroid: I regret missing out on the tron one, even though that's the only other one I signed up for 2011-10-22T01:28:48 life intervenes most unwelcoming 2011-10-22T01:28:48 it was such a neat game 2011-10-22T01:29:01 I really liked the one last year 2011-10-22T01:29:06 game trees worked really really well due to the relatively small state space 2011-10-22T01:29:26 i think planet wars was a great problem but fairly impenetrable when it came to writing ai 2011-10-22T01:29:56 tron and ants offer much more obvious approaches that will yield positive results, especially ants you have a lot of things to work on like path finding, defense, battles etc. 2011-10-22T01:30:00 that's why I liked it, it was beyond 101 textbook stuff 2011-10-22T01:30:08 which all real problems are 2011-10-22T01:30:21 i still don't know how to battle enemies 2011-10-22T01:30:24 f_unk: GAE has very weak support for running external processes 2011-10-22T01:30:27 game trees would be nice but oh so many states 2011-10-22T01:30:43 * Guest19719 likes ants, just wishes he could see his bot play more than one game :-) 2011-10-22T01:30:59 is there a tcp server up yet for this one? 2011-10-22T01:31:08 i think accoun posted something in the forums? 2011-10-22T01:31:17 i think it's quite buggy and doesn't do ranking etc. 2011-10-22T01:31:26 someone is welcome to pick up what's been done and improve it 2011-10-22T01:31:46 *** twymer has joined #aichallenge 2011-10-22T01:31:46 hmm 2011-10-22T01:32:07 write a go server :) 2011-10-22T01:32:14 back 2011-10-22T01:32:20 rmmh: oh :( it would be really nice to see a contest like this scale very big though! 2011-10-22T01:32:30 so, AndrewBC looks like you want to share, what path finding are you using? 2011-10-22T01:32:30 :) 2011-10-22T01:32:56 ermau: how are you doing with your code? 2011-10-22T01:33:23 antimatroid: you implemented the tree? 2011-10-22T01:33:59 antimatroid: can i ask how we are to know that a hive is destroyed? 2011-10-22T01:34:15 foob: i just say if my ant on top of enemy hive, it's been destroyed 2011-10-22T01:34:26 ruser: for which game? 2011-10-22T01:34:30 ruser: I'm in the middle of implementing short-circuit A* 2011-10-22T01:34:33 foob: you stop being told it exists 2011-10-22T01:34:43 antimatroid: ah right, sorry you are doing your exam studying, my bad :) 2011-10-22T01:34:46 antimatroid: assuming i have an ant in range.. 2011-10-22T01:34:52 short circuit in that I have several methods that don't care about locations but more a tile type 2011-10-22T01:35:09 antimatroid: what are you coding it in? my dephtl imited DFS times out :( 2011-10-22T01:35:09 foob: if you don't then when you get back in view you aren't told of its existence 2011-10-22T01:35:14 similar to food 2011-10-22T01:35:20 you must work that information out for yourself 2011-10-22T01:35:32 got it 2011-10-22T01:35:33 ;) 2011-10-22T01:36:22 ... and the opposite of water, where you have to remember that it's still there 2011-10-22T01:36:44 here's an easy way to track food outside of view: before you wipe food information each turn copy the locations to an old food information vector, then read the state information, update your vision information and then re add old food information for squares that currently aren't visible 2011-10-22T01:37:19 a lot of my first day's worth of coding was implementing an abstraction to reconcile between asynchronous and synchronous state retention that the server gives you 2011-10-22T01:37:48 Um, forgive me if this is on the website and I just can't find it... How is match making (if any) done? 2011-10-22T01:38:00 *** ig has quit IRC (Ping timeout: 240 seconds) 2011-10-22T01:38:09 that one i cannot answer sorry 2011-10-22T01:38:18 stumped! haha :P 2011-10-22T01:38:35 antimatroid: Of course, that only matters in the rare cases when you're walking away from food :-) 2011-10-22T01:38:49 Guest19719: or see it across water, etc. etc. 2011-10-22T01:38:54 in my experience it's worth doing 2011-10-22T01:39:22 antimatroid: huh, ok. I hadn't bothered because I didn't think it would matter much. 2011-10-22T01:39:39 i exploit all the information 2011-10-22T01:39:44 I guess it depends how mazy the maps you end up on are 2011-10-22T01:39:52 i made the maze maps :P 2011-10-22T01:39:52 @help 2011-10-22T01:39:52 ruser: (help [] []) -- This command gives a useful description of what does. is only necessary if the command is in more than one plugin. 2011-10-22T01:40:36 i think maze maps will be cool once good bots start having battles and try to circumvent some of their ants around battles etc. 2011-10-22T01:41:11 what's the git repo for the starter packages agian? 2011-10-22T01:41:12 *** rr5 has quit IRC (Remote host closed the connection) 2011-10-22T01:41:14 again* 2011-10-22T01:41:50 antimatroid: it will be very cool if bots get to that level of sophistication 2011-10-22T01:41:55 i think i found it 2011-10-22T01:42:44 bah 2011-10-22T01:42:55 my stupid ants keep bumping into each other and I can't figure out why 2011-10-22T01:43:18 deltree_: are you indexing a grid with [x][y] instead of [row][col]? 2011-10-22T01:43:30 or are you moving an ant into a square before moving another one out? 2011-10-22T01:43:56 for the love of god, do not index things with [x][y] 2011-10-22T01:44:23 I'm sure it's something stupid. I attempted to implement strict rules, that if there were an ant in the way it would simply give up 2011-10-22T01:44:34 deltree_: in my code I have a "decide which direction ants want to move" pass and then a "move ants" pass which only moves them if the square they want to move to is (or is becoming) unoccupied 2011-10-22T01:44:49 i wont search over squares containing ants 2011-10-22T01:44:53 deltree_: it's not just "if there's an ant in the way", it's also "if another ant is going to be in the way"... 2011-10-22T01:45:01 antimatroid: what daes this mean: You will be given information about removing food for a visible square that contained food the last time you saw it and that currently does not contain food. 2011-10-22T01:45:01 Guest19719 that's along the lines of what I plan to do later 2011-10-22T01:45:10 foob: where did you see that? 2011-10-22T01:45:17 right now, I"m using the tutorial code 2011-10-22T01:45:35 antimatroid: I considered that but decided that in most cases an ant isn't going to be in the way once I get there, so I might as well plot a course through its current position 2011-10-22T01:45:38 http://aichallenge.org/specification.php#Bot-Input 2011-10-22T01:45:53 ignore that, you don't get such information 2011-10-22T01:46:03 urgh this is doing my head in 2011-10-22T01:46:09 antimatroid: thanks. 2011-10-22T01:46:09 complicated data structures not my strong suit 2011-10-22T01:46:32 why cna't i get the git file :/ https://github.com/aichallenge/aichallenge.git 404 2011-10-22T01:46:50 *** danielha_ has quit IRC (Remote host closed the connection) 2011-10-22T01:47:45 *** amal has joined #aichallenge 2011-10-22T01:48:07 foob: seems someone already beat us to the punch updating it on github 2011-10-22T01:48:26 foob: https://github.com/aichallenge/aichallenge/wiki/Ants-Bot-Input 2011-10-22T01:48:44 *** amal has quit IRC (Client Quit) 2011-10-22T01:48:48 *** Guest79769 has quit IRC (Ping timeout: 244 seconds) 2011-10-22T01:49:19 bobbydroptable_: use c++ :P 2011-10-22T01:49:24 speaking of weird documentation, the "spawn radius" isn't defined anywhere 2011-10-22T01:49:48 I'm guessing that's how close you need to be to food in order to eat it? 2011-10-22T01:49:55 lgu that's food radius, correct 2011-10-22T01:49:59 it should really be called harvestRadius shouldn't it 2011-10-22T01:50:03 Guest19719: ^ 2011-10-22T01:50:29 antimatroid: I don't care what it's called, I just think it should be defined somewhere :-) 2011-10-22T01:51:34 Guest19719: can you change your name to something descriptive? 2011-10-22T01:52:25 rmmh: sure 2011-10-22T01:52:28 antimatroid: that's okay :) means all is well, ne? 2011-10-22T01:52:30 *** Guest19719 is now known as Anonymous19719 2011-10-22T01:52:36 heh 2011-10-22T01:52:37 rmmh: that better? :-) 2011-10-22T01:52:52 should i call it harvesting food or collecting food? 2011-10-22T01:53:21 foraging~ 2011-10-22T01:53:26 or gathering food? 2011-10-22T01:53:39 *** demonix_fox has joined #aichallenge 2011-10-22T01:53:41 hello? 2011-10-22T01:53:47 antimatroid: I'd go with "consuming" food personally 2011-10-22T01:54:26 I have a quick question for somebody who is using c++ for this 2011-10-22T01:54:27 antimatroid: harvest has the closest association with food 2011-10-22T01:55:09 how in bot.cc can you access the location of food that is seen? I am having some issues figuring it out from the tutorials and forum 2011-10-22T01:57:26 *** agr has joined #aichallenge 2011-10-22T01:59:24 how in bot.cc can you access the location of food that is seen? I am having some issues figuring it out from the tutorials and forum 2011-10-22T02:02:44 https://github.com/aichallenge/aichallenge/wiki/Ants-food-harvesting 2011-10-22T02:02:50 i have now added that, it'll show up on the site at some point 2011-10-22T02:03:55 janzert: are you about? 2011-10-22T02:03:57 antimatroid: s/all belong to a distinct/all belong to a single/ 2011-10-22T02:04:14 i knew someone would say that 2011-10-22T02:04:17 or "all belong to the same" 2011-10-22T02:04:25 mmm, I love first class functions 2011-10-22T02:04:26 i suppose you think /s/exists/are too? 2011-10-22T02:04:58 antimatroid: no, but I would s/exists/exist/ 2011-10-22T02:06:15 :P 2011-10-22T02:06:34 anyone know how to generate random maps? 2011-10-22T02:06:38 you go ahead and crash, bot 2011-10-22T02:06:47 fixed 2011-10-22T02:06:57 magiik: use the map generators 2011-10-22T02:07:06 *** agr has quit IRC (Quit: Page closed) 2011-10-22T02:07:19 mapgen.py will make maze maps, just use python mapgen.py > mapfile.txt or whatever 2011-10-22T02:07:28 yeah it always makes the same map 2011-10-22T02:07:30 you can add parameters too if you like, just look towards the bottom of the file 2011-10-22T02:07:40 oh, it might be setting a seed somewhere 2011-10-22T02:07:44 find that and get rid of it 2011-10-22T02:07:47 *** demonix_fox has quit IRC (Quit: Page closed) 2011-10-22T02:07:49 i didn't see a seed anyone in the params 2011-10-22T02:07:58 and i tried sticking a random.seed() at the top of the file 2011-10-22T02:09:01 hmm, it shouldn't be generating the same map :\ 2011-10-22T02:09:28 mebe i'm not overwriting the map or something 2011-10-22T02:09:30 let me play around with it 2011-10-22T02:09:45 code is compiled server-side again, right? If so, is boost available? 2011-10-22T02:10:26 not sure sorry 2011-10-22T02:10:55 m 2011-10-22T02:10:55 hrm.. yeah still same map 2011-10-22T02:10:59 lol, if it is, no wonder the workers take 6 hours to compile things (no offense to the organizers, just taking a friendly jab at boost) 2011-10-22T02:11:00 just using defaults, no params 2011-10-22T02:11:20 odd 2011-10-22T02:11:54 * Anonymous19719 notes that C code compiles much faster than C++ :-) 2011-10-22T02:13:25 so is anyone predicting map shape and ant hill locations based on the map constraints yet? 2011-10-22T02:13:31 *** Rainydays has joined #aichallenge 2011-10-22T02:15:19 *** SnapJudgment has quit IRC (Quit: This computer has gone to sleep) 2011-10-22T02:17:30 *** dlila has quit IRC (Quit: Leaving) 2011-10-22T02:17:58 ooh 2011-10-22T02:18:02 my first timeout 2011-10-22T02:18:26 I like that, it means all the code I wrote tonight is actually being run 2011-10-22T02:18:42 now stop being so slow, goddammit, code >:| 2011-10-22T02:19:05 lol 2011-10-22T02:20:33 *** ccc_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T02:23:54 AndrewBC: that, a* isn't it ? :) 2011-10-22T02:24:56 yar 2011-10-22T02:25:14 beginning to think I did it wrong 2011-10-22T02:25:21 AndrewBC: nah, mine is timign out too 2011-10-22T02:25:26 AndrewBC: what lang are you doing it? 2011-10-22T02:25:30 Go 2011-10-22T02:25:37 oh, no idea, lol 2011-10-22T02:25:39 Why do you need A*? I'm just running a brute BFS over the entire map for each ant 2011-10-22T02:25:52 *** question has joined #aichallenge 2011-10-22T02:25:58 AndrewBC: what do you do once you have 100 ants? 2011-10-22T02:26:07 ruser: I've never gotten that far 2011-10-22T02:26:08 :D 2011-10-22T02:26:21 sorry that was at Anonymous19719 2011-10-22T02:26:43 Anonymous19719: I don't need it really, just was easy enough to implement 2011-10-22T02:26:46 can sombody who is using c++ please lead me in the dirrection for how to read the location of food in your view. The tutorials all have it for python but I dont know python. 2011-10-22T02:26:48 *** ram has joined #aichallenge 2011-10-22T02:26:58 ruser: the code slows down a bit :-) 2011-10-22T02:27:06 Anonymous19719: yes, and you ahve time outs 2011-10-22T02:27:08 ruser: but I've been well above 100 and not had any timeouts 2011-10-22T02:27:13 Anonymous19719: really? 2011-10-22T02:27:14 *** ram is now known as Guest66046 2011-10-22T02:27:17 Anonymous19719: what lang 2011-10-22T02:27:23 ruser: yes, C 2011-10-22T02:27:29 hello all, what is the meaning of spawn radius, don't all the ant spawn at hills, why the radius 2011-10-22T02:27:34 ruser: I didn't even make any attempt to optimize the code 2011-10-22T02:27:35 ah, i should have done it in c :( 2011-10-22T02:27:35 lol 2011-10-22T02:27:40 you must have some good data locality 2011-10-22T02:27:41 Anonymous19719: i'm C3 and time out at 23 ants 2011-10-22T02:27:42 lol 2011-10-22T02:27:49 Guest66046: that documentation just got added, it's how close you need to be to the food to eat it 2011-10-22T02:27:54 Guest66046: that's the food radious 2011-10-22T02:28:08 oh I see 2011-10-22T02:28:22 *** rr5 has joined #aichallenge 2011-10-22T02:29:06 ruser: to be fair, I would probably have needed a faster path finding algorithm if I had managed to get the 300+ backlog of ants out of my hill 2011-10-22T02:29:11 I am so lost right now lol. I can move around and everything, but I am having issues reading values such as food location and such 2011-10-22T02:29:27 and one more doubt I have, the entire map is grid of boxes right, how to figure out a circle from it 2011-10-22T02:29:32 ruser: my bot is currently very good at eating and not good at moving away from the hill :-) 2011-10-22T02:30:12 Guest66046: to determine view area? 2011-10-22T02:30:21 Anonymous19719: my bot is good at getting stuck 2011-10-22T02:30:45 my bot is very good at not being able to see 2011-10-22T02:31:47 *** ash0d has joined #aichallenge 2011-10-22T02:31:55 rr5: so if my circle passes right through a grid box, is the grid in my vision or not 2011-10-22T02:32:01 you really should aim to never timeout 2011-10-22T02:32:11 antimatroid: no kidding 2011-10-22T02:32:16 Guest66046: it's in your vision, because the formula is <= radius 2011-10-22T02:32:19 antimatroid: i suck at coding though 2011-10-22T02:32:32 Guest66046: but as it happens, 55 is not the sum of two integer squares, so it doesn't matter :-) 2011-10-22T02:32:45 * Anonymous19719 was wondering if that value was chosen deliberately for that property 2011-10-22T02:33:15 it depends, we really should have just done everything with the euclidean metric squares 2011-10-22T02:33:27 *** question has quit IRC (Quit: Page closed) 2011-10-22T02:33:29 i squared it for my bot, then you never have to do a sqrt calculation anyway 2011-10-22T02:33:30 *** Rainydays has quit IRC (Quit: ChatZilla 0.9.87 [SeaMonkey 2.4.1/20110928161145]) 2011-10-22T02:33:33 antimatroid: lol i have no idea what that means 2011-10-22T02:33:48 antimatroid: you mean taxicab metric? 2011-10-22T02:34:25 * Anonymous19719 notes that using taxicab for movement and euclidean for visibility and combat helps to make things interesting 2011-10-22T02:34:29 dist(a,b) = (a.row-b.row)^2 + (a.col-b.col)^2 2011-10-22T02:34:39 does anyone know how the server differentiates between Python (2.x) and Python3 ? 2011-10-22T02:34:49 antimatroid: yeah, that's euclidean... 2011-10-22T02:34:54 filename extension ash0d 2011-10-22T02:35:02 it has the same order as dist(a,b) = sqrt((a.row-b.row)^2 + (a.col-b.col)^2) it's just not as intuitive with the values 2011-10-22T02:35:04 .py3 for python3 2011-10-22T02:35:15 thanks AndrewBC! 2011-10-22T02:35:21 yar 2011-10-22T02:36:00 that is, edist and dist are equivalent metrics but you don't need to compute sqrt with dist 2011-10-22T02:36:34 edist and mdist are not equivalent metrics which makes calculating vision for n ants simultaneously a pain in the ass amongst other things 2011-10-22T02:37:43 i shut the channel up? 2011-10-22T02:37:45 *** kuzemchik has joined #aichallenge 2011-10-22T02:38:12 what's default turn time? 2011-10-22T02:38:21 500ms on the server i think 2011-10-22T02:38:41 antimatroid: i'm interested to hear but some of that stuff lifes above my head 2011-10-22T02:38:56 flies* 2011-10-22T02:39:11 *** dvladim has quit IRC (Ping timeout: 248 seconds) 2011-10-22T02:39:30 ruser: all i'm saying is that instead of using edist use dist as your euclidean metric, and don't square root the parameters you good for radiuses, then you don't have to worry about calculating square roots in your bot 2011-10-22T02:40:01 (2:36:34 AM) antimatroid: edist and mdist are not equivalent metrics which makes calculating vision for n ants simultaneously a pain in the ass amongst other things 2011-10-22T02:40:02 if i only knew what eucludean metric and distance meant 2011-10-22T02:40:02 and be careful when you calculate vision, the obvious way to try and speed it up simultaneously breaks due to mdist and edist not being equivalent metrics 2011-10-22T02:40:04 what does that mean? 2011-10-22T02:40:29 yoden: 2011-10-22T02:40:30 a.* 2011-10-22T02:40:30 .b. 2011-10-22T02:40:30 a and b have the same manhatten distance to * but not euclidean distance 2011-10-22T02:40:41 well, without edges being wrapped 2011-10-22T02:41:09 hmm 2011-10-22T02:41:14 so mdist and edist don't preserve the order of distances between locations 2011-10-22T02:41:15 things can only move on grid, right? 2011-10-22T02:41:31 why would you ever want edist then :X 2011-10-22T02:41:39 yes, when you search you search in a manhatten manner but the distances are calculated using euclidean metric for vision 2011-10-22T02:41:46 ahhh 2011-10-22T02:41:48 because it gives a prettier vision circle 2011-10-22T02:41:53 yes, lol 2011-10-22T02:42:14 battle and spawn are all done using euclidean too i think? 2011-10-22T02:42:25 but that's not such an issue i don't think 2011-10-22T02:43:07 maths <3 2011-10-22T02:43:49 are there any memory limits and stuff? 2011-10-22T02:43:51 *** Amoner has joined #aichallenge 2011-10-22T02:43:54 like , will you get booted if you use too much? 2011-10-22T02:44:02 you should have up to like 1gb of memory i think it is 2011-10-22T02:44:04 which is heaps 2011-10-22T02:44:06 barring actual memory limits on the server 2011-10-22T02:44:19 oh that IS heaps 2011-10-22T02:44:20 great 2011-10-22T02:44:21 no, you're fine unless the bot crashes 2011-10-22T02:44:27 i can put tons of stuff in mem then. 2011-10-22T02:44:35 game trees quickly take up lots of memory 2011-10-22T02:45:08 nah not doing game trees. 2011-10-22T02:45:11 antimatroid: what woudl be a good way of fiding out which ant should be heading for a target? just iterate? 2011-10-22T02:45:32 multi source and multi target search :P 2011-10-22T02:45:53 mmm, solved my timeout problem 2011-10-22T02:45:55 in the forums i explain about finding a minimum path from a source location to a target location using a* 2011-10-22T02:46:07 that's my method anyway 2011-10-22T02:46:54 antimatroid: can you link me to that thread? 2011-10-22T02:47:03 http://aichallenge.org/forums/viewtopic.php?f=24&t=1486&sid=2f121b1608a351ba826d10f3cb2453a1&start=10 2011-10-22T02:47:06 the wrapper that called A* generalization seeking food had a really low weight for unexplored area, so it was searching that too, so if an ant had no food around it, it'd try for the entire map 2011-10-22T02:47:32 *** Gouka has joined #aichallenge 2011-10-22T02:47:42 > 9000 and the generalization doesn't even try, so now I have different weight sets based on the goal handled by the wrapper funcs 2011-10-22T02:47:56 *** question_ has joined #aichallenge 2011-10-22T02:48:12 ugh this is frustrating 2011-10-22T02:49:34 the way the tutorial makes it sound is that there is a way to determine the distance between an ant and food, I am looking at state.cc which can get the input type f, I just cant figure out how to get the values from there 2011-10-22T02:49:40 the forum has been of no help 2011-10-22T02:49:52 and I have been staring at this for the past 4 hours 2011-10-22T02:50:34 question_: there should be a function atleast there is one in python and c# 2011-10-22T02:50:38 and java 2011-10-22T02:50:44 i am using c++ 2011-10-22T02:50:46 question_: it appears i don't have a manhatten distance function for c++ 2011-10-22T02:50:55 i wrote that bot so i can help you out with this :) 2011-10-22T02:50:58 i just catn figure out what the function is 2011-10-22T02:51:12 question_: probably distance ? :) 2011-10-22T02:51:23 in the State struct there is a distance function for euclidean distance between two squares 2011-10-22T02:51:37 but how do i know where the food square is 2011-10-22T02:51:43 so if you called say state.distance(antLoc, foodLoc) you would get back the euclidean distance between these two locations 2011-10-22T02:51:46 question_: State.cc:double State::distance(const Location &loc1, const Location &loc2) 2011-10-22T02:51:50 you have a vector of food locations in state :) 2011-10-22T02:52:10 *** foob has quit IRC (Quit: sleep) 2011-10-22T02:52:23 ruser: you really want to be using the wrapped manhatten metric though 2011-10-22T02:53:00 antimatroid: he was asking for a function. also i'm super new to this and havne't coded in last 3 years 2011-10-22T02:53:09 antimatroid: so it's coming really really hard 2011-10-22T02:53:19 question_: do you see the food and myAnts location vectors in State.h? 2011-10-22T02:53:27 antimatroid: i spent half a day implementing search algorithm only to see it time out with 20 bots 2011-10-22T02:53:33 *** derdev has quit IRC (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 2011-10-22T02:53:47 its just called food isnt it ... i did not see that there lol 2011-10-22T02:53:59 yep 2011-10-22T02:54:02 antimatroid: it's all very frustrating and discouraging :( 2011-10-22T02:54:08 that gives you a vector of locations for all visible food to your bot 2011-10-22T02:54:38 ruser: sorry, i try to give a simple and full answer to questions, people are welcome to ignore my full answers but i'm pedantic :) 2011-10-22T02:54:58 antimatroid: oh, no i'm listening, don't get me wrong 2011-10-22T02:55:09 antimatroid: i'ts almost 3 am here, and i'm stuck 2011-10-22T02:55:19 with waht? 2011-10-22T02:55:27 *** Palmik has quit IRC (Remote host closed the connection) 2011-10-22T02:55:36 i'm going to ride around to a friends for a bbq in a bit 2011-10-22T02:55:46 do anyone know how to recover password? Just registered and activated, but password do not match. Looks like i mistyped =/ 2011-10-22T02:55:53 I have never used vectors in c++ before, i guess i will be tutorialing now lol, thank you guys for your help 2011-10-22T02:56:01 antimatroid: i need to re-implement my search. i tried invariant of A* but either failed with my implementation or it's just taking too long 2011-10-22T02:56:28 question_: they're really nice imo, you should learn about the basic data structures in stl 2011-10-22T02:56:31 they make life much simpler 2011-10-22T02:56:34 antimatroid: i was trying to do http://en.wikipedia.org/wiki/Depth-limited_search this one 2011-10-22T02:56:44 invariant of A*? :P 2011-10-22T02:56:48 variant :) 2011-10-22T02:56:56 antimatroid: sorry english is my 3rd language 2011-10-22T02:56:57 depth isn't really good i think 2011-10-22T02:57:03 for this purpose 2011-10-22T02:57:18 understood, english is my only language and yet i suck at it sometimes 2011-10-22T02:57:36 antimatroid: i was trying to limit to vision range and mark visited nodes but it still takes too long. please do correct me, i learn from that 2011-10-22T02:57:36 antimatroid: so all I need to do to read from the vector is just call it like a normal variable? or is there something special 2011-10-22T02:57:52 *** kuzemchik has quit IRC (Quit: Page closed) 2011-10-22T02:57:54 ruser: do not use depth first search :) 2011-10-22T02:57:59 bobbydroptable_: well, i should have really done tail optimized verisoin of it 2011-10-22T02:58:21 antimatroid: makes sense. now that ithink about it 2011-10-22T02:58:35 *** jezuz` has quit IRC (Ping timeout: 276 seconds) 2011-10-22T02:58:44 *** Guest66046 has quit IRC (Ping timeout: 265 seconds) 2011-10-22T02:58:52 antimatroid: but isnt'a a* dfs? 2011-10-22T02:59:07 breadth first is the simplest: add a food location onto a search queue and mark the location as added, then while you haven't found a path to an ant pull the front location off, then for each neighbour if it's an ant you've got a shortest path otherwise if the location hasn't been added to the queue add it and mark it as added 2011-10-22T02:59:31 a* is bfs with a heuristic function to speed it up 2011-10-22T03:00:00 but for that to work i need to know which ant is hte closest 2011-10-22T03:00:03 right? 2011-10-22T03:00:19 that's where my multi source and multi target a* thing comes in ;) 2011-10-22T03:00:32 it finds a shortest path from a source to a target 2011-10-22T03:00:41 or are you using the reverse start with food and do bfs to closest ant? 2011-10-22T03:00:58 doesn't matter, you might have multiple ants and multiple food 2011-10-22T03:01:01 by closest, either of ? 2011-10-22T03:01:05 you don't know which food has the shortest path to an ant 2011-10-22T03:01:09 i'm a little lost here 2011-10-22T03:02:09 I am going to bed, clear my head, i cant fully think in code right now lol. Thank you for your guyses help! :) 2011-10-22T03:02:34 *** question_ has quit IRC (Quit: Page closed) 2011-10-22T03:02:39 i search simultaneously from all food locations to find any movable ant, then move that ant towards the food location on the shortest path found, then collect the rest of the uncollected food with the movable ants 2011-10-22T03:02:57 *** Amoner has quit IRC (Quit: Page closed) 2011-10-22T03:03:14 antimatroid: what do you use for heuristic? mdist? 2011-10-22T03:03:20 and i'll even go a step further and reuse ants that have collected food, just mark off when they're available to actually move and keep searching while the shortest possible path is below the currently best path found 2011-10-22T03:03:36 hdist = min mdist from current location to any target location 2011-10-22T03:03:42 then hdist is admissible 2011-10-22T03:04:45 does the mdist take into account water? or just any mdist? 2011-10-22T03:07:24 so basically you loop over food locations (or any other important lcoations) find the first movable ant via a* and move it. rinse and repeat? 2011-10-22T03:07:54 you are searching because of the water 2011-10-22T03:08:01 mdist is just your wrapped manhatten distance 2011-10-22T03:08:19 wrapped? 2011-10-22T03:08:20 (don't forget to wrap is so squares closer across wrapped edges get the right distance) 2011-10-22T03:08:30 *** foRei has quit IRC (Read error: Connection reset by peer) 2011-10-22T03:08:32 ok 2011-10-22T03:08:39 yeah, because of the map 2011-10-22T03:09:00 but, mdist is just straing mdistance not really taking into account the actual moves around water, correct? 2011-10-22T03:09:19 yes 2011-10-22T03:09:22 it's just mdist from a to b 2011-10-22T03:09:40 *** ReijiMitsurugi has joined #aichallenge 2011-10-22T03:09:44 where a is start and b current tile being evaluated 2011-10-22T03:10:08 http://pastebin.com/KJ80PHxM 2011-10-22T03:10:11 i think that's right? 2011-10-22T03:11:21 antimatroid: yes, that's correct 2011-10-22T03:11:32 antimatroid: except i'm using c# :) 2011-10-22T03:11:39 yeah, but you get the idea 2011-10-22T03:11:48 antimatroid: and it's already defined in the code 2011-10-22T03:11:48 just make sure you wrap your distance metrics 2011-10-22T03:12:07 lol 2011-10-22T03:12:11 *** shrey has joined #aichallenge 2011-10-22T03:12:13 antimatroid: i thoght this wrapps already, no? 2011-10-22T03:12:14 *** smiley1983 has quit IRC (Ping timeout: 276 seconds) 2011-10-22T03:12:17 distance metrics is a funny combination of words 2011-10-22T03:12:18 that is 2011-10-22T03:12:32 but d1 + d2 is the normal manhatten metric on a rectangular grid 2011-10-22T03:12:50 but we've wrapped the edges so you're playing on the surface of a discrete torus 2011-10-22T03:13:06 aarossig: My starter_package doesn't seem to spawn even a single ant, how should I start with the food collection? :P 2011-10-22T03:14:05 anyone? 2011-10-22T03:14:18 shrey: give at an input of ant? 2011-10-22T03:14:21 shrey: path finding :) breadth first search 2011-10-22T03:14:22 a row col team 2011-10-22T03:14:44 antimatroid: he was asking how to get an ant on the map, i think? 2011-10-22T03:14:59 bfs and all the other algorithms are fine..but there isn't a single ant 2011-10-22T03:15:21 there needs to be atleast 1 ant initially.. 2011-10-22T03:15:24 it's probably sitting on the hive, you have to order them to move using "o antRow antCol" 2011-10-22T03:15:37 ohk..let me see 2011-10-22T03:15:57 antimatroid: i'm zoning out, it's 3:!5 am here, gotta catch some sleep. thank you for your help. sorry if i'm asking dumb questions. also, are you going to be aroudn atomorrow? 2011-10-22T03:16:00 *** dr- has joined #aichallenge 2011-10-22T03:16:18 i'm here fairly often 2011-10-22T03:16:19 man, i can't spell 2011-10-22T03:16:20 I often find I want to write capital numbers too 2011-10-22T03:16:32 Six: yes Mr. ^ 2011-10-22T03:16:35 ;) 2011-10-22T03:16:36 i have had a fair bit longer than most to consider the problems so the questions are fine 2011-10-22T03:16:58 also "around 2011-10-22T03:17:01 how long does this shindig run for? 2011-10-22T03:17:03 a tomorrow" is like mario ehe 2011-10-22T03:17:11 till the 18th of december i think it is 2011-10-22T03:17:21 oh wow 2011-10-22T03:17:27 antimatroid: so you are goign to be on in give or take 12 hours? :) 2011-10-22T03:17:28 then submissions close, rankings are reset, new maps are generated and the contest runs 2011-10-22T03:17:37 Six: the games are slow 2011-10-22T03:17:41 i'll probably be asleep then, it'll be 6am 2011-10-22T03:17:49 *** jezuz has joined #aichallenge 2011-10-22T03:18:00 antimatroid: ah, well, i guess i'll have to get by without your help :) 2011-10-22T03:18:09 antimatroid: but much appreciated 2011-10-22T03:18:24 today made me feel real dumb 2011-10-22T03:18:49 with fail after fail. a lso the fact that i'm re-learning programming after not touching for 3 years, and a new language isn't helping, lol 2011-10-22T03:19:08 i might have bit off more than i can chew 2011-10-22T03:19:23 I think I shall use this oportunity to finally learn some python 2011-10-22T03:20:23 *** yoden has quit IRC (Quit: Leaving.) 2011-10-22T03:20:33 oh also, can one user account submit multiple bots? 2011-10-22T03:20:47 Six: yes, but only the most recent one runs 2011-10-22T03:20:58 Six: ranking is reset every time you make a submission and most recent one runs 2011-10-22T03:21:15 right, so like one bot you can 'update' 2011-10-22T03:21:25 and the ranking names are the user account names? 2011-10-22T03:21:26 Six: yep, except ranks reset 2011-10-22T03:21:27 you can run multiple bots simultaneously on the tcp server once there is one 2011-10-22T03:21:32 and play many more games 2011-10-22T03:21:42 ... in fact, right now the only way you'll get to play a game is by submitting a new bot 2011-10-22T03:21:44 antimatroid: there is a tcp server? 2011-10-22T03:21:47 When will that be up? 2011-10-22T03:21:56 there's something posted in the forums about one 2011-10-22T03:21:59 i don't know how good it is 2011-10-22T03:22:07 rr5: when someone makes it :P 2011-10-22T03:22:16 i don't think anyone is working on it 2011-10-22T03:22:20 lol: Next game should be within 700.3 minutes. 2011-10-22T03:22:21 anyone is welcome to 2011-10-22T03:22:23 lol, no wonder my A* is so slow 2011-10-22T03:22:38 it's not properly erasing visited nodes from the to_visit node queue 2011-10-22T03:22:43 that's 11 hours 2011-10-22T03:22:53 antimatroid: :) - I saw the one in the forum, looked like people were using it 2011-10-22T03:23:07 calculating the nearest neighbor from the same point over and over until time runs out 2011-10-22T03:23:12 my code is so very special 2011-10-22T03:23:14 ruser: lucky you, I'm supposed to wait 2900 minutes 2011-10-22T03:23:22 haha 2011-10-22T03:23:27 *** smiley1983 has joined #aichallenge 2011-10-22T03:23:28 Anonymous19719: my last one was Oct 21st 10:58pm 2011-10-22T03:23:30 tcp guys 2011-10-22T03:23:42 My ant sits on the hill itself and doesn't start moving..even though the code clearly issues order to move in Passable direction.. (in the start paclage) 2011-10-22T03:23:48 sorry for the dumb ques 2011-10-22T03:23:55 my last game was really strange... 11 turns 2011-10-22T03:24:13 *** kaemo has quit IRC (Ping timeout: 240 seconds) 2011-10-22T03:24:37 http://aichallenge.org/visualizer.php?game=2280 2011-10-22T03:24:37 ruser: yeah, I've been submitting new bots... I just wish I hadn't wasted the 6 games new accounts get immediately on testing the starter bot :-/ 2011-10-22T03:24:58 Anonymous19719: oh, that's what they get? 2011-10-22T03:25:02 ruser: My ant sits on the hill itself and doesn't start moving..even though the code clearly issues order to move in Passable direction.. (in the start paclage) 2011-10-22T03:25:03 Anonymous19719: boo, i wish i knew that 2011-10-22T03:25:24 ruser: looks like it 2011-10-22T03:25:24 shrey: make sure the bot outputs o row col 2011-10-22T03:25:27 that will move it 2011-10-22T03:25:31 2333 users 2011-10-22T03:25:34 ruser: actually, looks like it was 10 originally, then they changed it to 6 2011-10-22T03:25:37 Anonymous19719: you can change your nick my typing /nick 2011-10-22T03:25:44 unless that is your nick :P 2011-10-22T03:25:46 *** pipeep has joined #aichallenge 2011-10-22T03:26:03 *** Anonymous19719 is now known as Anonymous19720 2011-10-22T03:26:05 Is it just me, or are the servers really overloaded and slow? 2011-10-22T03:26:07 Six: that better? 2011-10-22T03:26:12 pipeep: not just you 2011-10-22T03:26:13 heh 2011-10-22T03:26:17 looks like there is only one worker up 2011-10-22T03:26:18 Like, the ETA for running my bot seems to be increasing over time 2011-10-22T03:26:20 at the moment 2011-10-22T03:26:24 http://aichallenge.org/server_stats.php 2011-10-22T03:26:45 that's horrible 2011-10-22T03:26:50 pipeep: newly submitted bots get priority 2011-10-22T03:27:04 pipeep: which means that most of the games being played right now are just starter bots fighting each other :-/ 2011-10-22T03:27:38 anyhow i'm going to get some sleep 2011-10-22T03:27:48 antimatroid: thanks again 2011-10-22T03:27:56 antimatroid: i'm sure i'll waste lots of time tomorrow too 2011-10-22T03:28:06 on the implementation 2011-10-22T03:28:07 :( 2011-10-22T03:28:18 * ruser goes to cry himself to bed 2011-10-22T03:28:29 games like this annoy me: http://aichallenge.org/visualizer.php?game=2288&user=1896 2011-10-22T03:28:31 jk 2011-10-22T03:28:32 *** x-layer has joined #aichallenge 2011-10-22T03:28:50 I collect lots of food, and the game ends because not enough food is being gathered, as my competitors don't gather enough 2011-10-22T03:29:30 you get the points though 2011-10-22T03:29:30 imo 2011-10-22T03:29:40 pipeep: what are you using for path finding? 2011-10-22T03:29:43 *** OrionPK has quit IRC (Read error: Connection reset by peer) 2011-10-22T03:30:05 pipeep: I wouldn't call that a lot of food, there's lots of times you walked within visual radius of food and didn't pick it up... 2011-10-22T03:30:25 i cannot figure out how to get c# bot working on local machine for testing...i am reading the tutorial but it shows python and java...and i cant quite get it to work right with c# 2011-10-22T03:30:35 how often does it run games? 2011-10-22T03:30:54 for me it says next game in 1000+ minutes 2011-10-22T03:31:02 Anonymous19720, the only times I miss food is when it isn't in a direct line-of-sight 2011-10-22T03:31:15 I still need to implement a pathfinding algorithm of some sort 2011-10-22T03:32:05 pipeep: you've got a bug then 2011-10-22T03:32:13 pipeep: turn 81, look at the ant at the top 2011-10-22T03:32:53 pipeep: why isn't it moving down to pick up the food 3 tiles below it? 2011-10-22T03:33:05 Sometimes movements get randomized 2011-10-22T03:33:16 Well, not exactly randomized, but... 2011-10-22T03:33:34 It helps to get un-stuck from corners sometimes 2011-10-22T03:34:27 If anyone wants the previous version of my bot, as something to test against, that works better than the example bots, http://dl.dropbox.com/u/716853/explore_ant.zip 2011-10-22T03:35:31 The code is kinda hackish, but the idea is simple: on each turn, prefer to move to the adjacent square that has been touched the least 2011-10-22T03:36:35 *** Blkt has joined #aichallenge 2011-10-22T03:36:42 *** Racko has joined #aichallenge 2011-10-22T03:39:50 *** aeter has joined #aichallenge 2011-10-22T03:39:51 ruser: the bot is crashing before any command can be issued..and this is the starter_package...any reasons for it craashing? 2011-10-22T03:39:54 pipeep yeh tried that 2011-10-22T03:40:01 it has weird behavior 2011-10-22T03:40:20 for example, if it has gone in a straight line, and reaches a wall, it turns around and goes back the way it came. lol 2011-10-22T03:40:32 or if it runs into another ant, it goes "oh you've explored this" and turns back 2011-10-22T03:40:43 at least, that's what mine did 2011-10-22T03:40:52 *** ash0d_ has joined #aichallenge 2011-10-22T03:41:02 bobbydroptable_: hey..my bot is crashing before any command can be issued..and this is the starter_package...any reasons for it craashing? 2011-10-22T03:41:13 didn't compile? 2011-10-22T03:41:16 lol what language 2011-10-22T03:41:27 java 2011-10-22T03:41:35 compiles properly on the engine.. 2011-10-22T03:41:50 but on my end..i am trying to run it using play_one_game.cmd 2011-10-22T03:41:56 however...doesn't work 2011-10-22T03:42:00 "Crashed.. 0 turns" 2011-10-22T03:42:29 in your java 2011-10-22T03:42:56 put System.err.println("") 2011-10-22T03:43:20 that should (if i remember correctly) output to the error stream (not the standard output, which is what the engine uses to send/receive commands from your bot) 2011-10-22T03:43:30 ohk! 2011-10-22T03:43:38 then if you feed the bot inputs into your program directly you should be able to find why it died 2011-10-22T03:43:45 actually, try that one first 2011-10-22T03:43:46 hmm 2011-10-22T03:43:54 i'll try it out 2011-10-22T03:44:06 do tell me one thing though...don't i need to compile it? 2011-10-22T03:44:09 before running it? 2011-10-22T03:44:10 yes 2011-10-22T03:44:14 errr 2011-10-22T03:44:17 actually no idea! 2011-10-22T03:44:18 i believe you do 2011-10-22T03:44:21 obv, right? 2011-10-22T03:44:32 don't tell me you didn't? 2011-10-22T03:44:33 lol 2011-10-22T03:44:34 *** kaemo has joined #aichallenge 2011-10-22T03:45:02 bobbydroptable_, yeah, the same thing happens with mine 2011-10-22T03:45:16 It works surprisingly well 2011-10-22T03:45:26 ofcourse i did :P 2011-10-22T03:45:47 *** ztfw has joined #aichallenge 2011-10-22T03:46:11 My current bot is a modification on top of it, which has some handlers for being attracted to food at first, and enemy hills later 2011-10-22T03:46:24 *** jezuz` has joined #aichallenge 2011-10-22T03:46:43 that's pretty much what my first bot did 2011-10-22T03:46:46 i'm trying something different now 2011-10-22T03:46:51 because doing the same thing over and over isn't fun 2011-10-22T03:46:51 lol 2011-10-22T03:47:24 *** Katsuto has joined #aichallenge 2011-10-22T03:47:45 *** blbrown_win3 has quit IRC (Read error: Connection reset by peer) 2011-10-22T03:47:46 *** dvladim has joined #aichallenge 2011-10-22T03:48:18 Anyone aware of the organizer's email address? 2011-10-22T03:48:19 bobbydroptable_, yeah, I'm going to start implementing pathfinding soon, and then I'll build on top of that 2011-10-22T03:49:15 bobbydroptable_: Am I running this right? play_one_game.cmd "java MyBot" 2011-10-22T03:49:27 (i removed one of the default args) 2011-10-22T03:49:29 that should be it, yes 2011-10-22T03:49:36 uh 2011-10-22T03:49:37 It seems I'm too dumb to find any on the web site. Anyone care to confirm I'm stupid? 2011-10-22T03:49:58 try this shrey 2011-10-22T03:50:21 *** jezuz has quit IRC (Ping timeout: 255 seconds) 2011-10-22T03:50:51 run java MyBot directly 2011-10-22T03:51:07 nvm 2011-10-22T03:51:09 then type the commands from http://aichallenge.org/specification.php into the bot 2011-10-22T03:51:23 or paste it into a file, then go "java MyBot < game_data" 2011-10-22T03:51:52 or if you run playgame.cmd with -I it will generate the input files for you and you can feed it into your bot 2011-10-22T03:52:08 hmm...i get your point 2011-10-22T03:52:10 Is it against the rules to communicate with a server? let's say Port 80 2011-10-22T03:52:11 let me try.. 2011-10-22T03:53:15 Katsuto probably 2011-10-22T03:53:33 everything that is required for the bot to function should exist on the server itself 2011-10-22T03:53:54 alright. what about embedding the map files in the bot then? 2011-10-22T03:55:12 why would you do that? 2011-10-22T03:55:22 bobbydroptable_: works like a charm when I try it that way.. 2011-10-22T03:55:23 you wouldn't know which map it was anyway 2011-10-22T03:55:27 I think I read something about that 2011-10-22T03:55:27 *** Ashoka has joined #aichallenge 2011-10-22T03:55:42 so nothing wrong with my code.. 2011-10-22T03:56:02 shrey it'd have to be a very specific condition then 2011-10-22T03:56:13 i'd try and generate the game file that led to the crash 2011-10-22T03:56:23 ok 2011-10-22T03:56:28 go play_one_game.cmd -I "java MyBot" 2011-10-22T03:56:32 it should create the game_logs for you 2011-10-22T03:56:41 assuming they've done it the same way for all the languages 2011-10-22T03:56:42 yeah doing that 2011-10-22T03:57:05 Katsuto you can upload as many files as you want. you cannot write to file, only read. 2011-10-22T03:57:12 bobby: okay, but let's pretend I know which map runs; would it be against the rules? 2011-10-22T03:57:13 from memory when i read the rules 2011-10-22T03:57:39 heh, wonderful bug... "I don't get it, why aren't my bots exploring? I'm telling them right here that they should try to visit squares they haven't explored yet!" "Oh wait, I wanted explored == 0, not explored == 1..." 2011-10-22T03:57:42 bobbydroptable_: that's right 2011-10-22T03:59:23 Katsuto: I'm not sure if it would be feasible, as the maps are generated, and there are a number of generators, so I think there would be a lot of maps 2011-10-22T03:59:53 There's a section on the web site called "Official maps" 2011-10-22T04:00:07 The competition seems to run on a limited set of maps. 2011-10-22T04:00:09 Katsuto they're working on a map generator at the moment 2011-10-22T04:00:13 oh ha 2011-10-22T04:00:21 bobbydroptable_: you know the sample input at the spec page has "turn 1" details and so on..on the other hand..this particular input file ends at "ready" 2011-10-22T04:00:28 am I being to dumb? :D 2011-10-22T04:00:28 there is no guarantee that the maps in the future will be the same as the current ones 2011-10-22T04:00:29 ah.. too bad eh? lol 2011-10-22T04:00:55 yeah, in reading the description they mentioned something about doing something to deter hard coding maps 2011-10-22T04:01:08 shrey - i'm not sure :( 2011-10-22T04:01:16 shrey have you tried Test_Bot? 2011-10-22T04:01:27 I see. Are they telling it's currently against the rules? 2011-10-22T04:01:48 nope..will do that too 2011-10-22T04:01:49 :( 2011-10-22T04:01:50 Cause if it's not, it's a huge advantage to know the map 2011-10-22T04:02:06 What does hills not implemented yet mean for the starter packs? 2011-10-22T04:03:12 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-10-22T04:03:22 probably that the code in the pack haven't been updated to consider information about hills 2011-10-22T04:03:34 *** Ashoka has quit IRC (Quit: Page closed) 2011-10-22T04:03:55 nothing that you can't fix yourself easily 2011-10-22T04:04:30 bobbydroptable_: finally got it running..i was getting a bad input file... :) 2011-10-22T04:04:35 bobbydroptable_: thanks! 2011-10-22T04:04:39 no probs :) 2011-10-22T04:05:03 just download a pack that support hills, check the difference in how it updates hills data and code the functionality/behavior in your unsupportive pack 2011-10-22T04:05:18 Katsuto: go down from here to the generators bit http://aichallenge.org/specification.php#Map-Format 2011-10-22T04:05:31 Thanks Six :) 2011-10-22T04:06:10 they will probably use completely new maps that fit the restrictions in the finals 2011-10-22T04:07:36 *** dvladim has quit IRC (Ping timeout: 260 seconds) 2011-10-22T04:08:23 *** kaka_ has joined #aichallenge 2011-10-22T04:08:51 oh boy. It would suck so much for those scoring high because of their mapjitsu. 2011-10-22T04:09:26 indeed 2011-10-22T04:09:47 and i don't see how you can identify a map just based on what is immediately shown to you in the beginning anyway 2011-10-22T04:10:03 maybe from the hill positions? 2011-10-22T04:11:47 you compare what you know of the running map with all the maps you know 2011-10-22T04:12:18 since the maps are pretty binaries array, it's quite easy in fact .. 2011-10-22T04:12:59 it probably could take a few moves to be confident your in map X, but it doesn't matter even if it'd take 20 moves 2011-10-22T04:13:33 you get what I'm saying? 2011-10-22T04:13:42 yeh 2011-10-22T04:13:57 not entirely convinced that it'd be a leg up though 2011-10-22T04:14:00 *** shrey has quit IRC (Quit: Page closed) 2011-10-22T04:14:01 at least, not a significant one 2011-10-22T04:14:11 there's still a significant component for foraging, and battling 2011-10-22T04:14:13 well, there's 2 things 2011-10-22T04:14:29 the first is the position of the hills and the number of players 2011-10-22T04:14:44 *** SharkMonkey has quit IRC (Quit: so late) 2011-10-22T04:15:21 if you have nice aggressive algo, you can opt to go for the kill of a probabilistically weak hill 2011-10-22T04:16:32 *** ethercrow has left #aichallenge 2011-10-22T04:16:51 it would be nice to know the color of the ants that you come across... you don't have any data that allows you to differentiate a player's ants and another player's ants right? 2011-10-22T04:17:02 Katsuto: they work hard to make each hill the same strength as others 2011-10-22T04:17:15 geographically speaking, yes 2011-10-22T04:17:20 you get the data on the owner of the ants I think 2011-10-22T04:17:23 including corpses 2011-10-22T04:17:39 I was speaking in term of observed ants density in the region 2011-10-22T04:17:47 ah 2011-10-22T04:17:53 ok, that's even better than 2011-10-22T04:18:10 yeah, the corpse thing is kinda cool 2011-10-22T04:18:30 wasn't quite clear about piles of corpses 2011-10-22T04:19:11 as you could grossly evalute the force of each player and choose the seaminly weaker hill based on that and observed regional density/activity etc 2011-10-22T04:19:19 right 2011-10-22T04:19:31 but you only see a certain number of ants 2011-10-22T04:19:34 and you don't know how many players there are 2011-10-22T04:19:49 though you can guess from the map 2011-10-22T04:19:51 you know how many players when you know which map you're in, no? 2011-10-22T04:19:56 exact 2011-10-22T04:20:33 you don't need to see all the ant to get an advantage with this algo. 2011-10-22T04:20:42 well i'm not here to win i'm just here to have fun ^^ 2011-10-22T04:21:21 lol and I'm glad you are. I don't care much about winning either. 2011-10-22T04:22:16 about the mapjisu thing: you can also add info to your maps for your code to act upon 2011-10-22T04:23:05 as for example, you could add data about where to guard to prevent an invasion 2011-10-22T04:23:11 yeah, you could generate info on food density 2011-10-22T04:23:15 I'm talking about maze map, of course 2011-10-22T04:23:24 yep :) 2011-10-22T04:23:28 i'm surprised my graphing algorithm hasn't timedoutlol 2011-10-22T04:23:40 *** rongq has joined #aichallenge 2011-10-22T04:24:14 I guess the timeout is dependent on the performance of their computers 2011-10-22T04:24:19 Katsuto: what I was thinking rather than a list of the maps, is you could pretty accuratly guess the map shape with only seeing some of it, due to the restrictions 2011-10-22T04:24:30 if they run monsters, then there's a lot you can do in 1000 ms 2011-10-22T04:25:17 Regarding the Java starter package: Is the map updated automatically when water, food and other ilk are discovered? 2011-10-22T04:25:35 yea? I'm trying to figure out how.. that would be great since the final probably will have new maps. 2011-10-22T04:26:23 restrictions? do you mean repetitions? 2011-10-22T04:29:02 *** yy has quit IRC (Quit: leaving) 2011-10-22T04:30:01 *** anber has joined #aichallenge 2011-10-22T04:31:10 *** smiley1983 has quit IRC (Ping timeout: 258 seconds) 2011-10-22T04:31:20 *** anber has quit IRC (Client Quit) 2011-10-22T04:32:12 *** djr_ has quit IRC (Quit: Leaving) 2011-10-22T04:32:32 *** Katsuto has quit IRC (Quit: Page closed) 2011-10-22T04:33:06 *** smiley1983 has joined #aichallenge 2011-10-22T04:35:16 *** x-layer has quit IRC (Quit: Page closed) 2011-10-22T04:37:12 bobbydroptable_, so you're the reason why the servers are so slow... 2011-10-22T04:37:24 lol what? what did i do!/ 2011-10-22T04:37:27 this is local! 2011-10-22T04:37:28 lol 2011-10-22T04:37:30 :D 2011-10-22T04:37:41 ouch! the last server is down: http://aichallenge.org/server_stats.php 2011-10-22T04:37:53 It's your fault bobbydroptable_ 2011-10-22T04:38:07 im in ur serverz, droppin ur tablez 2011-10-22T04:39:15 I'm thinking that if you were to do pathfinding, you could potentially use extra CPU time at the beginning to pre-compute things that may be useful later on 2011-10-22T04:39:31 pipeep i'm doing something like that 2011-10-22T04:39:44 what i've done is created a grid of squares each with paths 2011-10-22T04:40:01 at the beginning i'm going to traverse the graph from my hills, and update cost/ impossible paths along the way 2011-10-22T04:40:16 so any new ants will be able to figure out where to go right from spawn 2011-10-22T04:40:35 i think there is a timeout for getting ready though"? 2011-10-22T04:40:58 *** ghiu has joined #aichallenge 2011-10-22T04:41:41 *** f_unk has quit IRC (Ping timeout: 265 seconds) 2011-10-22T04:44:38 *** dangoodman has joined #aichallenge 2011-10-22T04:44:48 how do i prevent it from opening the java game at the end of the cmd? 2011-10-22T04:47:11 *** deltree_ has quit IRC (Ping timeout: 260 seconds) 2011-10-22T04:47:19 Possible Java Starter Package Bug? : Bot.addWater() uses Ants.update but Ants.update only takes care of "food" and "ants" ilks. So this must be a bug right? 2011-10-22T04:47:45 you can submit a bug request from the github 2011-10-22T04:47:50 or just fix it and submit a pullo request 2011-10-22T04:48:26 *** shane__ has quit IRC (Quit: Page closed) 2011-10-22T04:49:19 *** law_ has joined #aichallenge 2011-10-22T04:50:04 Sorry never mind. Not a bug. Me just being shortsighted is all 2011-10-22T04:54:34 *** rr5 has quit IRC (Remote host closed the connection) 2011-10-22T04:54:57 *** skyramp has joined #aichallenge 2011-10-22T04:58:07 *** BluePeppers has joined #aichallenge 2011-10-22T05:00:46 *** Gouka has quit IRC (Quit: Page closed) 2011-10-22T05:01:01 *** ash0d_ has quit IRC (Quit: Page closed) 2011-10-22T05:01:17 *** Macuyiko has joined #aichallenge 2011-10-22T05:02:55 *** irchs has joined #aichallenge 2011-10-22T05:03:03 shane__: there is a pipe java visualizer.jar at the end of the cmd file... remove that. 2011-10-22T05:03:22 anyone know what's up with the servers? 2011-10-22T05:03:35 what happens if you run out of turntime without explicitly ending your turn 2011-10-22T05:04:05 I hope they're fixing the matching issue and things would end up getting much faster then before. 2011-10-22T05:04:05 *** steve___ has joined #aichallenge 2011-10-22T05:04:11 your bot is disqualified for the rest of that game, and your ants sit where they are while the game finishes 2011-10-22T05:04:13 cyphase: you get timed out and you are out. 2011-10-22T05:04:31 *** steve___ is now known as Guest50088 2011-10-22T05:04:47 (I think) you still get skill/rank based on your score at that point 2011-10-22T05:05:02 *** psu_phantom has joined #aichallenge 2011-10-22T05:05:34 in addition, you may lose any of your hill before the game ends and your score is also affected. 2011-10-22T05:05:59 *** psu_phantom has quit IRC (Client Quit) 2011-10-22T05:06:14 1 blade is back 2011-10-22T05:06:38 *** rongq has quit IRC (Ping timeout: 245 seconds) 2011-10-22T05:06:41 *** psu_phantom has joined #aichallenge 2011-10-22T05:08:57 Sorry, I'm submitting my zip file, and there's the error Did not find a recognized MyBot.* file. 2011-10-22T05:08:58 But I'have checked several times, and the zip file should contain MyBot.coffee - http://aichallenge.org/profile.php?user=288 2011-10-22T05:15:54 anyone? 2011-10-22T05:16:00 :) 2011-10-22T05:16:15 I'll file a bug. 2011-10-22T05:16:56 *** rongq has joined #aichallenge 2011-10-22T05:18:59 *** shrey has joined #aichallenge 2011-10-22T05:19:04 *** Dispatch has joined #aichallenge 2011-10-22T05:19:07 *** rongq has left #aichallenge 2011-10-22T05:19:54 *** bugs_the_bunny has joined #aichallenge 2011-10-22T05:20:09 anyone : my bot is given an input file which ends at "ready"...but all the other 3 bots get an input file which have info about "turn 1" and all after "ready"...whats up with that? 2011-10-22T05:21:14 what's wrong with servers? 2011-10-22T05:21:50 it says that my next game should be within 800+ minutes =( 2011-10-22T05:23:08 *** choas has joined #aichallenge 2011-10-22T05:23:13 *** iris1 has quit IRC (Ping timeout: 244 seconds) 2011-10-22T05:27:08 *** akosch has joined #aichallenge 2011-10-22T05:29:20 *** esp has joined #aichallenge 2011-10-22T05:32:18 *** shrey has quit IRC (Quit: Page closed) 2011-10-22T05:33:49 *** Redgis has joined #aichallenge 2011-10-22T05:35:10 *** esp has quit IRC (Quit: Page closed) 2011-10-22T05:36:41 *** ikaros has joined #aichallenge 2011-10-22T05:37:07 *** bugs_the_bunny has quit IRC (Quit: Page closed) 2011-10-22T05:39:26 I have a bot waiting on the TCP server now - anyone want to connect for a game? 2011-10-22T05:40:40 smiley1983: how? 2011-10-22T05:40:57 thread here: http://aichallenge.org/forums/viewtopic.php?f=25&t=1505 2011-10-22T05:41:37 It seems to fail if the bot has been waiting for a while - second game should work, just set the final command line argument to something greater than one 2011-10-22T05:44:51 smiley1983: ooo interesting 2011-10-22T05:45:03 smiley1983: my bot's not getting any games on aichallenge.org :( 2011-10-22T05:45:40 *** aeter has quit IRC (Quit: Leaving.) 2011-10-22T05:45:45 *** Arukim has joined #aichallenge 2011-10-22T05:46:00 Ha! I'm getting some games, I see :) Thanks to whoever's connecting, and thanks Accoun for setting it up 2011-10-22T05:46:32 *** g0llum has joined #aichallenge 2011-10-22T05:46:51 aeter: what's .coffee ? Is coffee a language? 2011-10-22T05:46:51 I've only set it for 10 iterations, but I'll set it to run for a longer stretch once that finishes 2011-10-22T05:47:10 *** DataWraith has joined #aichallenge 2011-10-22T05:47:42 ReijiMitsurugi: did you play in PlanetWars? I think we can expect the games to be even slower, unless they get a whole lot more servers running 2011-10-22T05:47:45 smiley1983, I'm in 2011-10-22T05:48:11 what's the password for when using the tcpserver? 2011-10-22T05:48:15 smiley1983: I made a really bad bot for python wars 2011-10-22T05:48:20 smiley1983: then got kind of disinterested 2011-10-22T05:48:39 smiley1983: it's definitely true that the huge number of bots on the site currently and the slow pace of games is making it frustrating 2011-10-22T05:48:45 Anonymous19720: you can set your own 2011-10-22T05:48:48 *** dungeonduke has quit IRC (Remote host closed the connection) 2011-10-22T05:48:55 I think it's just so that other people can't use the same name as you 2011-10-22T05:50:23 smiley1983: hey, what does the num rounds option on tcpclient.py do? 2011-10-22T05:52:00 *** bqf has joined #aichallenge 2011-10-22T05:52:48 ReijiMitsurugi: after one game, play more until num_rounds 2011-10-22T05:52:57 smiley1983: thanks. 2011-10-22T05:53:17 I've just set mine to run 300 games on another machine with a wired connection, so there should be a bot to play against for the next little while 2011-10-22T05:53:19 ReijiMitsurugi> http://aichallenge.org/forums/viewtopic.php?f=25&t=1505 2011-10-22T05:53:31 Accoun: thanks 2011-10-22T05:53:35 alright, it's running! 2011-10-22T05:53:44 hmm, the tcp server has maps with islands 2011-10-22T05:53:52 Accoun: Thanks for hosting the server :) 2011-10-22T05:54:02 I remember when they had a tcp server like this for planet wars. Except only the pro people went on it :P 2011-10-22T05:54:45 yes, the people in beta testing are more likely to be interested in testing at this early stage... 2011-10-22T05:55:24 and so the new people get discouraged I guess... hmm, maybe I should put a weaker bot up for a while :) 2011-10-22T05:55:44 *** bitbrit has joined #aichallenge 2011-10-22T05:56:18 * AndrewBC frowns at his ant 2011-10-22T05:56:25 your destination is south 2011-10-22T05:56:28 why are you going north 2011-10-22T05:57:45 *** Abrackadabra has joined #aichallenge 2011-10-22T05:57:52 hello 2011-10-22T05:58:29 hi 2011-10-22T05:59:03 why the server is soooo slow? 2011-10-22T05:59:12 Too many players ;-) 2011-10-22T05:59:21 Abrackadabra: connect to the TCP server :) 2011-10-22T05:59:46 The only downside is that it might take a few minutes for your new entry to play enough games for its ranking on the leaderboard to stabilize. 2011-10-22T06:00:03 yeah. a few minutes. one game per 6 hours 2011-10-22T06:00:11 !! 2011-10-22T06:00:16 *** skyramp_ has joined #aichallenge 2011-10-22T06:00:16 you get a game every 6 hours!? 2011-10-22T06:00:20 lucky 2011-10-22T06:00:35 Accoun: tcp server is yours? 2011-10-22T06:01:22 Next game should be within 1725.1 minutes. fuck. 2011-10-22T06:02:05 *** levis501 has quit IRC (Quit: levis501) 2011-10-22T06:03:11 TCP games run the bot on your local machine, so games come in very quickly 2011-10-22T06:05:05 did the tcp server break? I'm getting timeouts 2011-10-22T06:05:16 same here 2011-10-22T06:06:15 yeah, me to 2011-10-22T06:06:23 yes 2011-10-22T06:06:38 Accoun: there appears to be something wrong with the server. 2011-10-22T06:08:11 *** dsf has joined #aichallenge 2011-10-22T06:08:53 Hmmm, my bot is kind of a dick now. it waits till at least 450ms every turn 2011-10-22T06:09:49 *** thestinger has quit IRC (Quit: WeeChat 0.3.5) 2011-10-22T06:10:45 the timeout issue is very tricky and doesn't get easier with larger maps, longer games and more complex algorithms 2011-10-22T06:11:05 and that's stating the obvious :) 2011-10-22T06:11:09 :P 2011-10-22T06:11:47 I'm using a goroutine that sleeps then sends a timeout over a channel to my bot, which fires off every ant's turn concurrently 2011-10-22T06:11:58 Ot 2011-10-22T06:12:44 It's a bit more work to have every ant send to the herder that they're finished so the herder can tally and advance when all are accounted for, but guh this pathfinding is killing me 2011-10-22T06:15:10 Goroutine I guess is threads? Pity for the non C languages .. hehe. 2011-10-22T06:15:39 it's Go's flavor of CSPs 2011-10-22T06:16:05 they multiplex on top of threads largely transparently (or not if there's only 1) 2011-10-22T06:16:43 but even if there's no parallelism which I'm guessing not because the rules forbid threads, I still gain concurrency easily, woot woot 2011-10-22T06:18:45 Hmm 2011-10-22T06:19:30 *** danielharan has joined #aichallenge 2011-10-22T06:20:46 *** Abrackadabra has quit IRC (Ping timeout: 265 seconds) 2011-10-22T06:20:57 I've been trying to avoid pathfinding 2011-10-22T06:21:09 *** AlvinMinring has joined #aichallenge 2011-10-22T06:21:22 Not because it's hard - but have a form of global pathfinding 2011-10-22T06:22:25 But I'm still re-writing the starter kit and the library I used isn't on the server, so I'm not getting far 2011-10-22T06:22:26 do new spawned ants come at the end of the input? so can i assume that x-th ant in list stays x-th ant as long as no ant dies? 2011-10-22T06:22:26 Doh 2011-10-22T06:23:18 Yeah Saulzar I have yet to submit beyond the starter pack. Making progress nonetheless 2011-10-22T06:23:27 stick with it! 2011-10-22T06:23:43 is the tcp server working for anyone? 2011-10-22T06:23:54 it's kind of an investment that will pay off over the next week or so 2011-10-22T06:24:20 I put a request on the forum for them to install a library - not sure if I should keep at it and hope they install it or start from scratch 2011-10-22T06:25:24 *** Abrackadabra has joined #aichallenge 2011-10-22T06:25:43 *** antonh has joined #aichallenge 2011-10-22T06:26:00 *** psu_phantom has quit IRC (Quit: Page closed) 2011-10-22T06:29:51 *** webgard has joined #aichallenge 2011-10-22T06:30:07 Or sell out and switch to C++ .. 2011-10-22T06:30:37 hi! im newbie :) and i dont know work with cmd to start anr project please help me! 2011-10-22T06:30:48 *** smiley1983 has quit IRC (Ping timeout: 240 seconds) 2011-10-22T06:32:05 sigh gotta rethink the Hive strategy ==" 2011-10-22T06:32:21 i can't be stuffed to do aiclass homework ==" 2011-10-22T06:32:33 can we just get credit points for this lol 2011-10-22T06:33:04 *** bco has joined #aichallenge 2011-10-22T06:33:58 *** bco has left #aichallenge 2011-10-22T06:38:58 *** Mixailo has joined #aichallenge 2011-10-22T06:40:23 3 letter typo bug 2011-10-22T06:40:45 (╯°□°)╯︵ â”»â”â”» 2011-10-22T06:42:14 is there interest in tcp games? 2011-10-22T06:42:45 *** smiley1983 has joined #aichallenge 2011-10-22T06:44:33 ash0d: the server's broken, yes? 2011-10-22T06:44:51 *** goffrie has joined #aichallenge 2011-10-22T06:45:07 if there is interest, I'll put a new server up :) 2011-10-22T06:45:42 When I have a bot which isn't the starter kit :) 2011-10-22T06:45:51 *** wangchun has joined #aichallenge 2011-10-22T06:47:30 tools don't run python3.2? 2011-10-22T06:47:43 they do 2011-10-22T06:47:52 even the starter bot does 2011-10-22T06:48:19 hmmm 2011-10-22T06:49:07 i just downloaded tools 2011-10-22T06:49:17 and am running play_one_game.sh 2011-10-22T06:49:31 but i seem to be getting bugs 2011-10-22T06:50:03 __io.FileIO has no attribute read1 2011-10-22T06:50:19 am i doing something silly? 2011-10-22T06:50:48 ash0d: interest! 2011-10-22T06:51:06 :) 2011-10-22T06:51:19 ok, I'm doing some fixes to the code and testing locally 2011-10-22T06:51:26 ty 2011-10-22T06:51:30 I'll upload to my server and give you guys ip/port 2011-10-22T06:52:07 ash0d, that would be great, thx! 2011-10-22T06:52:24 no sweat :) 2011-10-22T06:54:47 Any news about the official server? 0 games per minute for the last 5 minutes, according to the stats page (http://aichallenge.org/server_stats.php) 2011-10-22T06:55:35 Mixailo: it says 0.2 games for me 2011-10-22T06:55:38 *** olexs has joined #aichallenge 2011-10-22T06:56:05 hi guys... what'up with the workers, only one online? 2011-10-22T06:56:22 ok got the bug 2011-10-22T06:56:33 there was a game which took 6 minutes to play out, so for a few seconds there weren't any games in the past 5 minutes 2011-10-22T06:56:35 python on my system runs python 3 as default 2011-10-22T06:56:35 yep, just updated... 0.2 too :) 2011-10-22T06:56:49 tools needs python 2 2011-10-22T06:56:52 * Anonymous19720 notes that the average over the past 5 minutes isn't very useful 2011-10-22T06:57:30 *** kaka_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T06:57:38 well yes, but only one worker is showing in http://aichallenge.org/server_stats.php. yesterday there were three. 2011-10-22T06:57:39 * Mixailo is wondering if 0.6 for the last hour is more useful 2011-10-22T06:58:10 olexs: indeed, I don't know why there aren't more workers running 2011-10-22T06:58:42 *** Tommygun has joined #aichallenge 2011-10-22T06:58:48 Hello 2011-10-22T06:59:07 Admins are in the usa right? Guess we will have to wait until they wake up. 2011-10-22T06:59:07 Hi 2011-10-22T06:59:30 I need some help submitting my bot 2011-10-22T06:59:37 Anyone willing to help? 2011-10-22T07:00:05 It was already dead last night, so I'm afraid we have to wait till monday 2011-10-22T07:00:22 Submission? 2011-10-22T07:00:32 dead? 2011-10-22T07:00:33 Tommygun: uploading, you mean? 2011-10-22T07:00:38 yeah 2011-10-22T07:00:38 I'm talking about running, submission seems to be ok. 2011-10-22T07:01:07 well I'm getting a compile error 2011-10-22T07:01:19 apparently it's not seeing the MyBot.java 2011-10-22T07:01:32 Does it run ok on your local host? 2011-10-22T07:01:35 Yes 2011-10-22T07:02:02 Tommygun: is your MyBot.java inside of any java packages (subfolders)? 2011-10-22T07:02:34 Nope, but I'll give you the results of my diagnosis 2011-10-22T07:02:50 I downloaded the ordinal java starter package 2011-10-22T07:03:01 which uploaded fine on my PC, but not my mac 2011-10-22T07:03:23 so i replaced the MyBot.java in that file with my edited version 2011-10-22T07:03:33 and the compile fails 2011-10-22T07:03:59 So, either the problem is in zipping, or with MyBot.java right? 2011-10-22T07:04:11 seems so. 2011-10-22T07:04:25 starter package not uploading from your mac is weird though... 2011-10-22T07:04:41 It's lion. 2011-10-22T07:04:42 different version of java maybe? 2011-10-22T07:04:45 crazy shit happens. 2011-10-22T07:05:15 Actually, different versions of java might be it 2011-10-22T07:05:28 Let me check netbeans 2011-10-22T07:05:32 If you compile with java 7 it won't run on java 6 unless target is specified during compile 2011-10-22T07:05:37 Anonymous19720: shouldn't cause incompatibility, unless you use new 1.7 features in your code 2011-10-22T07:05:50 Dispatch: you have to upload your code, not your compiled jar 2011-10-22T07:06:00 Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02-383 System: Mac OS X version 10.7.2 running on x86_64; MacRoman; en_US (nb) 2011-10-22T07:06:05 ah, yes, you're right 2011-10-22T07:06:09 I had that problem locally 2011-10-22T07:06:39 uh-hum, never mind me rambling 2011-10-22T07:07:10 Tommygun: java shouldn't be it... you say it won't compile, usually the contest server will show you the compile error message, what is it? 2011-10-22T07:07:39 Version Submission Time Status Skill Games Game Rate Language 6 Oct 22nd 10:49am Compile Error: error while compiling submission - Unknown Did not find a recognized MyBot.* file. Please add one of the following filenames to your zip file: 2011-10-22T07:07:43 *** UncleVasya has joined #aichallenge 2011-10-22T07:08:15 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T07:08:17 okay, and you're sure your MyBot.java is in the root of your zip file, not in a subfolder? 2011-10-22T07:08:20 *** azEf has joined #aichallenge 2011-10-22T07:08:27 Absolutely 2011-10-22T07:09:04 also written precisely MyBot.java, with capital M and B? 2011-10-22T07:09:12 yes sir. 2011-10-22T07:09:22 well that's really weird then :) 2011-10-22T07:09:32 Lovely :D 2011-10-22T07:10:07 Does OSX ever zip things weirdly? 2011-10-22T07:10:17 where does the stderr output of my bot go? (I'm using the tools to run my bot locally) 2011-10-22T07:10:19 you sure the capitalization is right inside the zip file? OS X does weird stuff with filename cases 2011-10-22T07:10:21 some of the admins might be able to help... my ideas run out at this point 2011-10-22T07:10:33 *** webgard has quit IRC (Ping timeout: 265 seconds) 2011-10-22T07:11:12 Tommy, you didn't rename the class? 2011-10-22T07:11:23 I didn't rename the class 2011-10-22T07:11:25 akosch: use the -E option for playgame.py, it will be saved in error_log files 2011-10-22T07:11:45 olexs: thanks 2011-10-22T07:12:00 I did copy the contents of java_starter though 2011-10-22T07:12:07 maybe osx did something weird there 2011-10-22T07:12:17 Im going to open it up and paste in my new code 2011-10-22T07:12:24 from a fresh package 2011-10-22T07:12:32 maybe file encoding? java files should always be UTF8... 2011-10-22T07:14:48 It's okay to import other java.util stuff right? 2011-10-22T07:15:12 *** replore has quit IRC (Remote host closed the connection) 2011-10-22T07:15:19 *** avers_ has joined #aichallenge 2011-10-22T07:15:27 Tommygun: perhaps if you could upload the zip file you were trying to submit to some site and we could see if there is anything wrong with it? 2011-10-22T07:16:20 Could do that, my code is nothing competetive 2011-10-22T07:16:41 i wonder how similar the top bots will end up being. everyone can see what the other bots are doing 2011-10-22T07:17:34 Well I watched a few of green tee's matches 2011-10-22T07:17:57 you can clearly see some similarities in the competition 2011-10-22T07:18:07 I think in the top it will be a battle about who have less bugs. 2011-10-22T07:18:17 *** Abrackadabra has quit IRC (Ping timeout: 265 seconds) 2011-10-22T07:18:17 *** Dispatch has quit IRC (Ping timeout: 265 seconds) 2011-10-22T07:18:36 cyphase: you can see what they are doing, but not why they decide to do it.. I'm quite sure the internals are very different in all of the top bots 2011-10-22T07:18:49 olexs, yea 2011-10-22T07:20:34 i have an idea for a potential strategy i haven't seen yet while watching games, but once i implement it it'll be fairly obvious what i'm doing 2011-10-22T07:20:41 http://www.mediafire.com/?1fdnwwewqd2hojw 2011-10-22T07:21:01 I noticed a distinct sending off of ants in the 8 obvious directions a lot 2011-10-22T07:21:24 *** Dispatch has joined #aichallenge 2011-10-22T07:21:43 So I just tried another vanilla java starter upload via my mac 2011-10-22T07:21:49 failed 2011-10-22T07:21:49 same error 2011-10-22T07:21:51 I imagine it'll be pretty soon that we see marching lines of ant formations 2011-10-22T07:22:00 *** BluePeppers has quit IRC (Ping timeout: 240 seconds) 2011-10-22T07:22:11 if only for the hell of it right Six? 2011-10-22T07:22:30 no man, it'll be damn powerful 2011-10-22T07:22:36 lol 2011-10-22T07:22:48 Who knows how the damage code works 2011-10-22T07:22:52 *** olexs has quit IRC (Quit: Leaving.) 2011-10-22T07:22:53 serious, that seems to be the best battle formation 2011-10-22T07:23:24 Is Reiji still around? 2011-10-22T07:24:04 spawn 8 ants and just hunt for hills, blitzkrieg 2011-10-22T07:24:07 I could see doing a quick spread to get food for a number of cycles, then having nearby ants form into lines that walk together being very successful 2011-10-22T07:24:10 would be interesting if the ants had to take the food back to a hill before it could spawn 2011-10-22T07:24:19 supply lines :P 2011-10-22T07:24:26 indeed 2011-10-22T07:24:35 yeah, as it is it's not very anty 2011-10-22T07:24:37 Ant lines would be broken by terrain alot 2011-10-22T07:24:44 to the point of uselessness 2011-10-22T07:25:12 Anyone want to take a look at that media fire link I posted? 2011-10-22T07:25:15 if there were set food locations and it needed to be returned to the hill, that would be more antlike 2011-10-22T07:25:18 look for oddities 2011-10-22T07:25:28 Tommygun: yes, I am still around. 2011-10-22T07:25:41 Tommygun: I'll take a look 2011-10-22T07:25:43 I posted the file on media fire 2011-10-22T07:25:44 http://www.mediafire.com/?1fdnwwewqd2hojw 2011-10-22T07:25:50 Tommygun: yeah so 2011-10-22T07:25:55 as they are, I can't help but imagine the dots as dorfs 2011-10-22T07:26:00 Tommygun: you need it in the top level directory 2011-10-22T07:26:10 Tommygun: the top level in this zip file is java_starter_package and __MACOSX 2011-10-22T07:26:18 Ahh 2011-10-22T07:26:20 yeah 2011-10-22T07:26:26 it's a mac issue then ;) 2011-10-22T07:26:39 I can't see that folder thing on here 2011-10-22T07:27:23 Thank Reiji, Ill try to find work around 2011-10-22T07:27:30 *** CodeMangler has joined #aichallenge 2011-10-22T07:27:46 Tommygun: just btw, you can get a random direction by doing Aim.values[rand.nextInt(4)] 2011-10-22T07:27:54 Tommygun: *.values() 2011-10-22T07:29:21 Oh, thanks 2011-10-22T07:29:32 I was meaning to look into that seeding business 2011-10-22T07:29:57 random walk yay 2011-10-22T07:30:24 =) 2011-10-22T07:31:52 I think if some of your ants don't know what to do it's better to send them always in one specified direction (west for example). 2011-10-22T07:32:03 *** Diede has joined #aichallenge 2011-10-22T07:32:26 Can someone help me in private chat with C# starting package ? 2011-10-22T07:34:23 I would agree 2011-10-22T07:34:47 Do you guys think updating unvisited locations each turn is overkill to help choose where to go when there's no nearby food? 2011-10-22T07:36:48 UncleVasya: so that's sort of true. I tried that approach but what you find is that you get some ants being retarded and just going left and right or w/e and missing turn offs in the maze like maps. 2011-10-22T07:36:59 wangchun: Do you mean keeping info about squares you don't see now but have seen before? 2011-10-22T07:38:29 ReijiMitsurugi: yep, that was a problem when I was on that stage. Now all my free ants spread out to the nearest boundary. 2011-10-22T07:38:47 http://www.mediafire.com/?2q4zzz37ibkrp11 2011-10-22T07:38:56 UncleVasya: excellent. 2011-10-22T07:38:57 okay remote desktop and notepad later 2011-10-22T07:39:06 wangchun: I keep info about hills out of the sight area and this is very helpf.ul. 2011-10-22T07:39:12 *** BluePeppers has joined #aichallenge 2011-10-22T07:39:32 Reiji, care to take another look? 2011-10-22T07:40:47 *** irchs has quit IRC (Quit: irchs) 2011-10-22T07:41:09 Tommygun: alright. this one also doesn't work? 2011-10-22T07:41:10 *** replore has joined #aichallenge 2011-10-22T07:41:26 Oh what the heck? 2011-10-22T07:41:30 I opened it on my PC 2011-10-22T07:41:40 Tommygun: yeah so I see you see the problem 2011-10-22T07:41:47 and java....within another java 2011-10-22T07:41:51 Tommygun: java_starter_package is still top level 2011-10-22T07:42:03 yeh i can't believe that 2011-10-22T07:42:03 lol 2011-10-22T07:42:13 then again he's only had 11 games? 2011-10-22T07:42:33 (holy crap his score went UP again) 2011-10-22T07:42:48 *** iris1 has joined #aichallenge 2011-10-22T07:42:52 Thank again reij 2011-10-22T07:43:11 wangchun: oh, sry. You said 'unvisited', not 'invisible'. Can not clearly understand what you mean but I think there are simplier ways to make a jobe for your ants. 2011-10-22T07:44:02 UncleVasya: I'm just thinking about how to move ants around when they have no hill or food to go to yet, randomly choosing a direction isn't working too great 2011-10-22T07:44:46 wangchun: how about moving them to a place they haven't seen yet? 2011-10-22T07:45:01 wangchun: I use following (and think it's a pretty good): 2011-10-22T07:45:07 Should take a look at the tutorials 2011-10-22T07:46:30 1. Make boundary list. This is a list of squares with the following condition: I see this square and it has a neighbour that I don't see. 2011-10-22T07:47:19 2. After food gathering I launching the search like for food list but for boundary lis. 2011-10-22T07:47:32 *I launch 2011-10-22T07:48:26 sry for my English, I try to speak correctly but some here are still some errors. 2011-10-22T07:48:30 *** DataWraith has quit IRC (Quit: Page closed) 2011-10-22T07:48:44 Oh interesting. I was thinking you'd have to keep track of the whole map for unvisited squares. But the squares just out of the viewing range is a lot easier 2011-10-22T07:50:59 Finally! It'sup and running! 2011-10-22T07:51:11 thanks for the help everyone! 2011-10-22T07:52:49 ДÑдÑ, а ты реальный поиÑк пути делаешь или Ñ Ð¾Ð³Ñ€Ð°Ð½Ð¸Ñ‡ÐµÐ½Ð¸Ñми? 2011-10-22T07:53:10 Does anyone happen to know how to compress folders like windows on osx? 2011-10-22T07:53:22 Mixailo: English please. 2011-10-22T07:53:34 *** drangon has joined #aichallenge 2011-10-22T07:53:38 *** drangon is now known as DataWraith 2011-10-22T07:53:38 UncleVasya: Or tanslit in private. 2011-10-22T07:54:41 *translit 2011-10-22T07:55:26 no thanx 2011-10-22T07:55:57 But you want to ask something? 2011-10-22T07:58:14 Just wanna ask you about pathfinding speed 2011-10-22T07:59:59 Can someone explain to me how to start working on making Ants in C# and running them local ? 2011-10-22T08:00:20 *** Tommygun has quit IRC (Ping timeout: 265 seconds) 2011-10-22T08:00:43 BFS is okay for me. The thing you must think about is how to decrease the number of search launches. 2011-10-22T08:03:06 It's much better to make one search from many sources simultaniously than do it from the beginning for every source. 2011-10-22T08:03:33 That sounds like B* would be perfectly suited for the challenge. 2011-10-22T08:04:29 Also is nice to figure out when you don't need to process invisible squares in the search. 2011-10-22T08:04:33 *** kaemo has quit IRC (Ping timeout: 245 seconds) 2011-10-22T08:05:27 *** ajhager has quit IRC (Quit: ajhager) 2011-10-22T08:05:50 *** ReijiMitsurugi has quit IRC (Quit: ReijiMitsurugi) 2011-10-22T08:06:05 *** ajhager has joined #aichallenge 2011-10-22T08:06:30 multi source/target a* <3 2011-10-22T08:07:10 multi source a*? 2011-10-22T08:07:17 * Mixailo went googling 2011-10-22T08:07:24 not sure if google will help 2011-10-22T08:07:26 but it works 2011-10-22T08:07:35 just add all ant locations to your search queue at the start 2011-10-22T08:07:41 movable ants anyway 2011-10-22T08:07:50 It's something antimatroid invented by himself :) 2011-10-22T08:08:01 i highly doubt it's original 2011-10-22T08:08:49 http://aichallenge.org/visualizer.php?game=2392&user=782 wow, i like how andrey moves in packs of four 2011-10-22T08:08:57 * Mixailo thinks he got the point 2011-10-22T08:09:02 Mixailo: http://aichallenge.org/forums/viewtopic.php?f=24&t=1486&sid=724665b47254934b4d94d6257714d214&start=10 see there 2011-10-22T08:10:44 < antimatroid> just add all ant locations to your search queue at the start ↠i'm doing something similar but adding targets to queue. because targets move less, i don't need to regenerate "direction map" so often (but then it's not a*) 2011-10-22T08:11:04 Thanks, I've already read this topic :) But I'm thinking about slightly different solution 2011-10-22T08:11:08 antimatroid: Haven't you heard about average server speed admins will try to keep? In games per minute. 2011-10-22T08:11:14 Fluxid: i think i do the same 2011-10-22T08:11:29 it's also easier to work out which direction the ant needs to go if you search from food to ants 2011-10-22T08:11:47 although it makes it slightly harder when you're searching with ants that are available in the future, but still alright 2011-10-22T08:11:57 UncleVasya: nope? :P 2011-10-22T08:12:53 i do everything from X to ants now: food, hills and unseen parts of map... but i need to change this, because now many ants at once can ruch to the same food, which does not make sense because i can dispatch one per food 2011-10-22T08:12:59 About 4 packs: you guys have missed a cool snake bot :P 2011-10-22T08:13:13 UncleVasya: where? 2011-10-22T08:13:30 *** DataWraith has quit IRC (Ping timeout: 260 seconds) 2011-10-22T08:13:35 *** choas has quit IRC (Ping timeout: 248 seconds) 2011-10-22T08:13:45 i saw bot which stopped at the top of ma in line (i guess programmer forgot to warp) 2011-10-22T08:13:54 of map* 2011-10-22T08:14:12 *** jph00 has joined #aichallenge 2011-10-22T08:14:14 *** djstrong has quit IRC (Ping timeout: 244 seconds) 2011-10-22T08:14:43 *** kaemo has joined #aichallenge 2011-10-22T08:15:05 *** DataWraith has joined #aichallenge 2011-10-22T08:15:35 *** UncleVasya has quit IRC (Read error: Connection reset by peer) 2011-10-22T08:15:37 *** |UncleVasya| <|UncleVasya|!kvirc@46-133-145-165.dialup.umc.net.ua> has joined #aichallenge 2011-10-22T08:16:11 *** Six has quit IRC (Ping timeout: 265 seconds) 2011-10-22T08:17:44 *** Arukim has quit IRC (Ping timeout: 265 seconds) 2011-10-22T08:17:49 <|UncleVasya|> Fluxid: During beta stage one guy wrote it. That bot was very funny. 2011-10-22T08:17:53 *** |UncleVasya| <|UncleVasya|!kvirc@46-133-145-165.dialup.umc.net.ua> has quit IRC (Read error: Connection reset by peer) 2011-10-22T08:22:41 *** wangchun has quit IRC (Quit: Page closed) 2011-10-22T08:23:01 *** UncleVasya has joined #aichallenge 2011-10-22T08:27:20 *** ifdef has joined #aichallenge 2011-10-22T08:27:22 *** Count_Niedar has quit IRC (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )) 2011-10-22T08:28:05 *** jph00 has quit IRC (Quit: Page closed) 2011-10-22T08:28:42 aichallenge: Pavel Vasin * rc7670c4 / ants/dist/starter_bots/java/Ants.java : java starter bot: we need flush only in finishTurn method - http://git.io/yL7mIg 2011-10-22T08:28:43 aichallenge: Pavel Vasin * r63054bf / (2 files): java starter bot: fix clearing map - http://git.io/xGNXxA 2011-10-22T08:28:43 aichallenge: Janzert * r748155a / (2 files): 2011-10-22T08:28:43 aichallenge: Merge pull request #316 from rat4/epsilon 2011-10-22T08:28:43 aichallenge: java starter bot - http://git.io/xFvGxA 2011-10-22T08:30:11 *** Redgis has quit IRC (Read error: Connection reset by peer) 2011-10-22T08:30:56 *** Redgis has joined #aichallenge 2011-10-22T08:31:45 *** ifdef has quit IRC (Ping timeout: 265 seconds) 2011-10-22T08:32:45 *** chris_0076 has quit IRC (Read error: Connection reset by peer) 2011-10-22T08:33:01 Who's up for a TCP game? 2011-10-22T08:33:50 I have a TCP server up... care to test it with me? 2011-10-22T08:33:54 *** Cowbandit has joined #aichallenge 2011-10-22T08:33:59 *** renzo has joined #aichallenge 2011-10-22T08:34:10 *** AlvinMinring has quit IRC (Ping timeout: 265 seconds) 2011-10-22T08:35:04 Dispatch, want to test the TCP server? 2011-10-22T08:35:40 *** delt0r_ has quit IRC (Ping timeout: 260 seconds) 2011-10-22T08:36:05 Hi ash 2011-10-22T08:36:06 sure 2011-10-22T08:36:11 give me an ip 2011-10-22T08:36:12 *** ReijiMitsurugi has joined #aichallenge 2011-10-22T08:36:13 and port 2011-10-22T08:36:38 ash0d: how is the tcp server going? 2011-10-22T08:36:54 great, waiting for people to join :) 2011-10-22T08:36:57 http://212.34.245.143:2080 2011-10-22T08:37:09 read the howto, download the client, connect 2011-10-22T08:37:17 ash0d: I don't remember you posting it to this channel 2011-10-22T08:37:30 ash0d: when did you? I was just signed out for about 10 minutes 2011-10-22T08:37:33 I just did 2011-10-22T08:37:36 ah, right 2011-10-22T08:37:40 lucky I asked :P 2011-10-22T08:37:51 ash0d: also, thanks! 2011-10-22T08:37:55 yea, I was waiting for interested party 2011-10-22T08:37:59 np :) 2011-10-22T08:38:09 I'll just start up my vm and put my bot on 2011-10-22T08:38:25 cool 2011-10-22T08:38:31 someone is already playing ! 2011-10-22T08:38:36 *** deltree_ has joined #aichallenge 2011-10-22T08:38:53 look at that, stuff is happening, cool :-) 2011-10-22T08:38:59 ash0d: what server is this? 2011-10-22T08:39:21 deltree_: ] http://212.34.245.143:2080 <---- TCP 2011-10-22T08:39:31 mine 2011-10-22T08:39:46 I just put something together based on the original code 2011-10-22T08:39:48 ok, but what does it do? 2011-10-22T08:39:51 thanks, I'll have to put together a client 2011-10-22T08:40:07 http://212.34.245.143:2080/howto 2011-10-22T08:40:11 I have a client on my machine 2011-10-22T08:40:19 Fluxid: It is for fast testing of your bot again another people. 2011-10-22T08:40:20 download a python client and connect and play against others :) 2011-10-22T08:40:30 so at least I can test for simple stuff 2011-10-22T08:40:36 well, i ask because i can't connect ;D 2011-10-22T08:40:39 let me know if you find any problems 2011-10-22T08:40:51 looking good, thx ash! 2011-10-22T08:40:53 Fluxid: You can test different version of your bot. 2011-10-22T08:40:56 and I have GOT to stop having my ants run into each other, looks like I'm sending multiple commands to 1 ant and that's the reason, gotta track it down 2011-10-22T08:41:09 Fluxid, you can't connect to the web server or the game server? 2011-10-22T08:41:15 web server 2011-10-22T08:41:29 curl: (7) couldn't connect to host 2011-10-22T08:41:36 which is strange because i can ping it 2011-10-22T08:41:40 *** aslvrstn has joined #aichallenge 2011-10-22T08:41:45 And it must be much faster than official server bacause all bots are playing from their owners computers. 2011-10-22T08:42:05 try again please 2011-10-22T08:42:17 the tcp is a tradition at AI Challenge 2011-10-22T08:42:17 ash0d: ok 2011-10-22T08:42:21 thanks for hosting it ash0d 2011-10-22T08:42:23 worke 2011-10-22T08:42:38 :) enjoy 2011-10-22T08:43:18 seems to have broken... http isn't responding, at least 2011-10-22T08:43:36 oh, it's back now. just very slow 2011-10-22T08:44:08 how do i register? 2011-10-22T08:44:13 are there plans to upgrade the official server count or capacity? 2011-10-22T08:44:50 ash0d: so I can run the tcp with other file types, right, not just python? 2011-10-22T08:45:25 yes 2011-10-22T08:45:36 you have to replace the runner with your command, whatever that is 2011-10-22T08:45:57 ash0d: how do i get user and password? it gets registered on the first try? 2011-10-22T08:46:10 just use any username and password 2011-10-22T08:46:22 make sure the username is unique, that's all 2011-10-22T08:46:49 ash0d: I should connect on port 2081 right? 2011-10-22T08:47:01 ah yes I've got a game 2011-10-22T08:47:05 yes 2011-10-22T08:47:08 :) 2011-10-22T08:47:16 *** delt0r_ has joined #aichallenge 2011-10-22T08:48:08 we got 3 games, do you guys see any progress? 2011-10-22T08:48:37 ash0d: yes, I can see the moves scrolling past :) 2011-10-22T08:48:42 I'm not seeing any games shown on the web interface 2011-10-22T08:48:43 thanks for setting up the server 2011-10-22T08:48:55 yea, I don't know what's up with that 2011-10-22T08:49:31 how many games have completed? 2011-10-22T08:49:54 duh, my bot fails to start.. (but it works in simulator) 2011-10-22T08:50:34 *** Arukim has joined #aichallenge 2011-10-22T08:50:44 smiley1983, hard to tell, we have 4, but I don't see them on the web 2011-10-22T08:51:32 oh my god 2011-10-22T08:51:36 just got a game on aichallenge.org ! 2011-10-22T08:51:41 ok, connected! 2011-10-22T08:51:41 my rank went from 950 to 100 2011-10-22T08:52:44 great! we have a game!! 2011-10-22T08:53:08 ash0d: it's on your home computer? 2011-10-22T08:53:14 yea 2011-10-22T08:53:15 ash0d: It seems that my bot crashing at turn 1. Can be my very-very slow gprs connection the reason of that? 2011-10-22T08:53:23 my stupid server wouldn't allow direct tcp 2011-10-22T08:53:33 I mean paid server 2011-10-22T08:53:51 I'm on optic 5mbps symmetric 2011-10-22T08:54:39 hmm, are the replays working for anyone? 2011-10-22T08:54:46 ash0d: I can't seem to view the replays 2011-10-22T08:54:47 Anything I can do? 2011-10-22T08:55:30 replays work for me 2011-10-22T08:55:50 ash0d: I've got player seed -1462313, is it ok? 2011-10-22T08:55:52 ash0d: it;s really slow :| i'll try from my remote server, maybe rout to host is long 2011-10-22T08:56:10 ash0d: incidentally, what do the numbers next to the players' names on the 'games' screen mean? 2011-10-22T08:56:14 *** TTE has joined #aichallenge 2011-10-22T08:56:15 ash0d: e.g. 'Edgeworth (3)' 2011-10-22T08:56:23 nope, random connection refused 2011-10-22T08:56:47 *** sigh_ has joined #aichallenge 2011-10-22T08:56:55 no idea :) let me read the code 2011-10-22T08:57:02 yea, the webserver is shitty 2011-10-22T08:57:04 don't know why 2011-10-22T08:57:10 I've got a code of the page instead of replay. 2011-10-22T08:58:25 nothing happens after connect... 2011-10-22T08:58:28 i give up 2011-10-22T08:58:41 ash0d: do you have this code in public? 2011-10-22T08:58:56 i have public dedicated serwer 2011-10-22T08:59:16 Fluxid: i sec 2011-10-22T08:59:16 if this is easy to setup i can put it online 2011-10-22T08:59:42 *** sigh has quit IRC (Ping timeout: 258 seconds) 2011-10-22T09:00:19 ash: /data/img/fog.png did not load. /data/img/toolbar.png did not load. 2011-10-22T09:00:25 on the replay page 2011-10-22T09:00:48 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T09:01:55 Fluxid: I'm guessing it's berak's code from here: https://github.com/berak/ants-tcp 2011-10-22T09:02:12 *** dsf has quit IRC (Ping timeout: 265 seconds) 2011-10-22T09:02:47 https://github.com/Ashod/ants-tcp 2011-10-22T09:02:53 cool, looks easy to setup 2011-10-22T09:02:55 one moment 2011-10-22T09:02:56 This is my fork and all my changes 2011-10-22T09:02:58 yea, it is 2011-10-22T09:02:59 hmm 2011-10-22T09:03:11 I just did some fixes and improvements in the past couple of hours 2011-10-22T09:03:12 my bot fails to start when i try to connect to your server 2011-10-22T09:03:36 if you get my fork, it should work out of the box 2011-10-22T09:04:25 ikaros: maybe firewall is a reason? 2011-10-22T09:04:36 hm good idea.. ill check 2011-10-22T09:04:41 router could be the issue 2011-10-22T09:05:13 I'll try to get it setup on my paid host 2011-10-22T09:05:33 wow, 10 turns without timeout :) 2011-10-22T09:06:13 Why is it going so slow? 2011-10-22T09:06:17 UncleVasya: I was matched up against you 4 times. 2011-10-22T09:06:21 my rank is now artificially inflated. 2011-10-22T09:06:29 LIke I uploaded my code last night and it's only played one game... 2011-10-22T09:06:45 Lithosphere: cause they don't have many workers 2011-10-22T09:06:49 Lithosphere: it's like that for everyone 2011-10-22T09:06:57 *** volkhin has joined #aichallenge 2011-10-22T09:07:03 Path is 4 tiles long, to find path the algorithm tests 355 tiles -.- 2011-10-22T09:07:21 hi guys 2011-10-22T09:07:34 hi 2011-10-22T09:07:41 that sucks... 2011-10-22T09:07:51 *** avers_ has joined #aichallenge 2011-10-22T09:08:10 littlewing: lol failed at tabcomplete 2011-10-22T09:08:15 Lithosphere: sorry failed at tab complete. 2011-10-22T09:08:24 hah yah man 2011-10-22T09:08:26 done 2011-10-22T09:08:35 littlewing: you should check out the tcpserver ash0d has going 2011-10-22T09:08:35 http://ants.fluxid.pl/ 2011-10-22T09:09:14 but it does not connect somehow... 2011-10-22T09:09:29 I connected to the web :) pretty fast 2011-10-22T09:09:40 Fuxid, same ports? 2011-10-22T09:09:51 good job with the howto patch ;) 2011-10-22T09:09:56 ok, it connects 2011-10-22T09:09:58 Dispatch: yes 2011-10-22T09:10:28 Fluxid: I connected to it! 2011-10-22T09:11:03 me too 2011-10-22T09:11:35 ERROR - broken game 4 (0 turns) 2011-10-22T09:11:41 i wonder what does it mean... 2011-10-22T09:12:07 some bot did something illegal? like crash? 2011-10-22T09:12:13 UncleVasya: your bot keeps on inflating my bots rank :P 2011-10-22T09:12:38 ReijiMitsurugi: It seems he likes you. 2011-10-22T09:13:00 Dispatch: it does that for all games... 2011-10-22T09:13:11 or mayhe not 2011-10-22T09:13:17 lol, at least now I can say I was number one for a while :-) 2011-10-22T09:13:40 http://ants.fluxid.pl/replay.6 wtf 2011-10-22T09:13:45 lone survivor? 2011-10-22T09:13:59 *** Larose has joined #aichallenge 2011-10-22T09:14:29 Fluxid: lone non-timeout-er 2011-10-22T09:14:30 looks like UncleVasya's bot has crashed 2011-10-22T09:15:05 ash0d: message I get from your server: "INFO: Edgeworth is already queued for game 40" 2011-10-22T09:15:21 he he 2011-10-22T09:15:29 that thing is smokin something 2011-10-22T09:15:33 no idea what it means 2011-10-22T09:15:50 hmm, webserver interface could use an overview showing games in progress 2011-10-22T09:15:53 also the top and bottom bots seem to get matched up way too much 2011-10-22T09:16:00 like we have dispatch playing unclevasya for 3 games 2011-10-22T09:16:04 with nobody else getting a game 2011-10-22T09:16:12 same thing happened to edgeworth on ash0d's server 2011-10-22T09:16:24 maybe that'w whats happening at the aichallenge server as well lol 2011-10-22T09:16:29 actuall 2011-10-22T09:16:30 y 2011-10-22T09:16:34 maybe the games are in progress 2011-10-22T09:16:36 but haven't finished yet 2011-10-22T09:16:36 ReijiMitsurugi: probably because there's only a few bots 2011-10-22T09:16:45 and the only reason there's so many for unclevasya is because his dies in 1 turn 2011-10-22T09:16:58 ReijiMitsurugi: when they finish, all the other bots are busy, so they get matched against each other again for lack of other opponents 2011-10-22T09:17:11 that sounds right. 2011-10-22T09:17:23 *** moai has joined #aichallenge 2011-10-22T09:17:36 Fluxid: what's with the replays missing? 2011-10-22T09:17:48 Fluxid: actually nevermind 2011-10-22T09:18:00 *** Larose has quit IRC (Ping timeout: 240 seconds) 2011-10-22T09:18:03 missing replays are because games failed 2011-10-22T09:18:06 dunno why 2011-10-22T09:18:10 *** ikaros has quit IRC (Quit: Ex-Chat) 2011-10-22T09:19:30 *** ikaros has joined #aichallenge 2011-10-22T09:19:53 ReijiMitsurugi: Let's join forces. My bot is playing against you all the time, you're getting first plays and 50% of prize is mine :D 2011-10-22T09:20:05 *** TTE has quit IRC (Ping timeout: 265 seconds) 2011-10-22T09:20:08 *first place 2011-10-22T09:20:40 this failed to start problem isn't about the port i guess 2011-10-22T09:21:28 Dispatch: I'm creepin up on you 2011-10-22T09:23:00 *** onensora has joined #aichallenge 2011-10-22T09:23:10 Diede: http://aichallenge.org/using_the_tools.php 2011-10-22T09:23:41 Yeah, I knew it wouldn't last :'-( 2011-10-22T09:23:57 *** Arukim has quit IRC (Ping timeout: 265 seconds) 2011-10-22T09:24:11 yeehaw, got the starter bot to stop walking into itself, alright, I'm going to clean that up and resubmit, then I'll start really building teh code 2011-10-22T09:24:11 black is the worst possible color for a player in the visualizer 2011-10-22T09:24:40 sighhh why didn't they just give ants unique identifiers :( 2011-10-22T09:25:04 bobbydroptable_: why? 2011-10-22T09:25:07 bobbydroptable_: of course it wouldn't be that hard to just do that in your client 2011-10-22T09:25:14 so i can track state easier lol 2011-10-22T09:25:17 they are uniquely identified by their position, no? 2011-10-22T09:25:23 what jmcarthur said 2011-10-22T09:25:33 and then you move it into another square and its no longer there 2011-10-22T09:25:34 i have to update it 2011-10-22T09:25:58 why do you need a persistent identifier? 2011-10-22T09:26:06 why do you care about persistent identity, rather? 2011-10-22T09:26:13 jmcarthur: if you have state associated with particular ants 2011-10-22T09:26:19 i don't see any reason that it should matter that this ant is the same ant from last turn 2011-10-22T09:26:38 if you're trying to do agent oriented, then it does 2011-10-22T09:26:51 because you assign a task to a particular ant 2011-10-22T09:27:11 *** mceier has joined #aichallenge 2011-10-22T09:27:14 why not dynamically assign the task to whichever ant is in the best position to perform it? 2011-10-22T09:27:41 i'm not trying to be argumentative. i'm just trying to simulataneously understand and also make some little suggestions :) 2011-10-22T09:28:06 because if i say... 2011-10-22T09:28:09 IndexError: list index out of range 2011-10-22T09:28:16 great, this server is a bit buggy 2011-10-22T09:28:17 i want Ant A to move to a particular position 2011-10-22T09:28:24 i need it to go there 2011-10-22T09:28:35 without remember where it is supposed to go "state" it'll just wander at the same spot 2011-10-22T09:29:25 maybe he want make an assumption that game state doesn't chnged much and good plan from last turns is still good and he doesn't need to re-calculate it. 2011-10-22T09:29:38 that's basically it 2011-10-22T09:29:50 else i'll be calculating a*star every turn for a hundred ants 2011-10-22T09:30:26 UncleVasya: i get ERROR - broken game 24 (0 turns) in games with you :| 2011-10-22T09:31:18 Fluxid: it is good for testing your system or I must stop bugging you? 2011-10-22T09:31:31 *** replore has quit IRC (Remote host closed the connection) 2011-10-22T09:31:54 *** svolkov has joined #aichallenge 2011-10-22T09:32:02 bobbydroptable_> The thing you must think about is how to decrease the number of search launches. It's much better to make one search from many sources simultaniously than do it from the beginning for every source. 2011-10-22T09:32:47 oh well, i've thought of another idea 2011-10-22T09:32:51 see how we go 2011-10-22T09:34:56 ash0d what's the command arguments for your tcp client again? 2011-10-22T09:35:24 nvm 2011-10-22T09:35:44 python tcpclient.py ants.fluxid.pl 2081 "python MyBot.py" username password 1 2011-10-22T09:35:55 this will connect to fluxid's server 2011-10-22T09:36:08 python tcpclient.py 212.34.245.143 2081 "python MyBot.py" username password 1 2011-10-22T09:36:12 to connect to mine 2011-10-22T09:38:42 What is the version of gcc used on the server? 2011-10-22T09:39:16 *** n4nd0 has joined #aichallenge 2011-10-22T09:39:21 there's a tcp client already? that was fast 2011-10-22T09:39:41 he he TWO :) 2011-10-22T09:40:44 But they require fast connection :( 2011-10-22T09:41:25 Pro Tip (for TCP players): You can have multiple games at the same time! 2011-10-22T09:41:50 http://ants.fluxid.pl/replay.31 the fuck is this map 2011-10-22T09:41:52 launch all the bots! 2011-10-22T09:41:55 look at row 20 col 86 2011-10-22T09:41:57 also, the last argument (which is 1 by default) is the number of games you want to play... 2011-10-22T09:42:17 *** Laventus has joined #aichallenge 2011-10-22T09:42:34 Fluxid killed me! 2011-10-22T09:42:40 sorry! 2011-10-22T09:43:16 *** avdg has joined #aichallenge 2011-10-22T09:43:16 20,86 is a trap :) 2011-10-22T09:43:33 *** eolhing has joined #aichallenge 2011-10-22T09:45:02 it's funny how my bot until turn 230 walked smoothly and after thet is started to move randomly (all map known, no enemy hills) 2011-10-22T09:45:16 *** yoden has joined #aichallenge 2011-10-22T09:45:46 smiley1983: Don't we need flush in the finish_turn function? 2011-10-22T09:47:11 btw, for some reason the TCP client is not working with python3 2011-10-22T09:51:17 *** Cowbandit has quit IRC (Quit: Page closed) 2011-10-22T09:52:07 *** Ashoka has joined #aichallenge 2011-10-22T09:52:13 Fluxid, what's your rank on the official site? 2011-10-22T09:52:31 darn dropped 2 ranks 2011-10-22T09:52:42 oh people overtook me 2011-10-22T09:54:02 ash0d: 1062 2011-10-22T09:54:04 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-10-22T09:54:15 ash0d: before upload it was 200something afair 2011-10-22T09:54:21 ash0d: what port do I need to open up? 2080? 2011-10-22T09:54:23 before third upload i mean 2011-10-22T09:54:28 *** csiz has joined #aichallenge 2011-10-22T09:54:29 Hmm. So the entire game state is being read/written at each step? 2011-10-22T09:54:34 deltree_ are you hosting? 2011-10-22T09:54:41 I'm now at 80 something 2011-10-22T09:54:45 I just wanted to play 2011-10-22T09:54:52 2081 2011-10-22T09:54:58 k 2011-10-22T09:57:02 who's QueasyOssifrage here? 2011-10-22T09:57:10 *** george has joined #aichallenge 2011-10-22T09:57:25 UncleVasya: adding %! to the end of the string fed to Printf.printf flushes the buffer 2011-10-22T09:57:47 you're right, though, it would be clearer to remove that and flush the buffer in a separate line of code 2011-10-22T09:57:50 ash0d: no connection could be made because the machine actively refused it. is that on my end? 2011-10-22T09:59:54 Fluxid: it might be me, why? 2011-10-22T10:00:14 *** csiz has quit IRC (Quit: Page closed) 2011-10-22T10:00:37 i overwhelmed my cpu... 2011-10-22T10:01:19 Anonymous19720: do you try to distribute ants on map equally? 2011-10-22T10:01:27 I made my bot smarter according to the tutorial and my rank dropped :( 2011-10-22T10:02:18 *** smarty has joined #aichallenge 2011-10-22T10:02:51 Saulzar: water tiles are only sent the first time you see them, and land tiles are not sent at all 2011-10-22T10:03:41 Then when you consume some food it gets written over by a land tile? 2011-10-22T10:04:16 deltree_: TCP server is up 2011-10-22T10:04:24 Anonymous19720: for example here http://ants.fluxid.pl/replay.62 at the end you have ants standing in place, keeping all of the map visible 2011-10-22T10:04:26 trying 2011-10-22T10:04:33 *** Anonymous19720 has quit IRC (Ping timeout: 265 seconds) 2011-10-22T10:04:58 and gathering lots of food thanks to that 2011-10-22T10:05:04 i like this strategy 2011-10-22T10:05:39 ash0d: same error, must be on my end other than opening that port, any other tricks? 2011-10-22T10:06:19 and my hive wasn't even seen once by you 2011-10-22T10:06:25 cool :D 2011-10-22T10:07:07 Saulzar: are you seeing my PMs? 2011-10-22T10:07:08 Saulzar: effectively, yes - the food won't be sent next time, and you know it's land because it's been seen and it's not water 2011-10-22T10:08:00 *** exezive has joined #aichallenge 2011-10-22T10:08:08 Fluxid, only once at turn 675 2011-10-22T10:08:29 try again 2011-10-22T10:08:41 I'm running 4 games and the server... pretty stupid, I know 2011-10-22T10:08:50 deltree_, try again 2011-10-22T10:08:53 also opened up the port directly to my machine 2011-10-22T10:08:57 cyphase: ok, but long time before he already sends lots of ants to my hive, i guess it's because it's not occupied/seen before 2011-10-22T10:09:13 i mean, this area of map 2011-10-22T10:09:15 who is skyramp? 2011-10-22T10:09:18 they're a pretty cool guy 2011-10-22T10:09:22 *** someone2013 has joined #aichallenge 2011-10-22T10:09:31 *** someone2013 has quit IRC (Client Quit) 2011-10-22T10:10:02 well, hasn't responded yet 2011-10-22T10:11:22 did I crash it? 2011-10-22T10:11:28 its me 2011-10-22T10:11:39 tried 2 connections at once, since the first one seems to be just idle (probably running the game) 2011-10-22T10:11:41 skyramp_: pretty cool guy 2011-10-22T10:12:12 *** ChrisH_ has joined #aichallenge 2011-10-22T10:12:51 janzert: ping 2011-10-22T10:13:10 thx, but my ant spreading still sucks.. 2011-10-22T10:13:58 ash0d: ? connection still idle on teh first call, may have crashed and not told me 2011-10-22T10:14:04 skyramp_: you're on top on both servers! 2011-10-22T10:14:11 skyramp: annoying to get good right? especially in mazes 2011-10-22T10:14:16 deltree_ there aren't enough players 2011-10-22T10:14:22 ah, k 2011-10-22T10:14:33 *** foRei has joined #aichallenge 2011-10-22T10:14:49 what's your nick? 2011-10-22T10:15:33 later tell McLeopold every now and then the URLS for the page links at the top of the current rankings page get messed up, for example, right now the page 14 link has this url: http://aichallenge.org/rankings.php/forum/forum/forum/forum/starter_packages.php?page=14 2011-10-22T10:15:47 @later tell McLeopold every now and then the URLS for the page links at the top of the current rankings page get messed up, for example, right now the page 14 link has this url: http://aichallenge.org/rankings.php/forum/forum/forum/forum/starter_packages.php?page=14 2011-10-22T10:15:47 ChrisH_: Ready to serve. 2011-10-22T10:16:45 this is so hacks 2011-10-22T10:16:47 *** ChrisH_ has quit IRC (Client Quit) 2011-10-22T10:16:51 one of my anthills was spawned in water! 2011-10-22T10:16:57 http://ants.fluxid.pl/replay.87 2011-10-22T10:17:06 lol 2011-10-22T10:17:10 two of them :\ 2011-10-22T10:17:27 actually a large proportion were 2011-10-22T10:17:29 had the same problem 2011-10-22T10:17:32 as well as ash0d's 2011-10-22T10:18:51 ash0d deltree is my nick 2011-10-22T10:19:13 *** dlila has joined #aichallenge 2011-10-22T10:19:40 python tcpclient.py 212.34.245.143 2081 "python MyBot.py" username password 10 2011-10-22T10:19:48 you 2011-10-22T10:19:57 *** Cowbandit has joined #aichallenge 2011-10-22T10:19:59 use python2 2011-10-22T10:20:36 hello i'm on the tutorial and was wondering how HashMap worked 2011-10-22T10:20:40 *** AlvinMinring has joined #aichallenge 2011-10-22T10:20:41 do u need a separate class for that? 2011-10-22T10:20:49 if u do it in java 2011-10-22T10:20:51 Cowbandit: hashmap. it associates keys with values. 2011-10-22T10:21:09 but is it like another class? 2011-10-22T10:21:17 CodeBlock: it computes a hash for each key which is an integer, which it maps via modular arithmetic to a set of 'buckets' 2011-10-22T10:21:24 Cowbandit: 2011-10-22T10:21:28 CodeBlock: sorry tab complete fail 2011-10-22T10:22:09 Cowbandit: sorry what? 2011-10-22T10:22:16 o i meant like 2011-10-22T10:22:21 do u have to write a HashMap class? 2011-10-22T10:22:26 no 2011-10-22T10:22:29 ash0d: k 2011-10-22T10:22:32 java std lib provides one 2011-10-22T10:22:41 ohh ok thanks. 2011-10-22T10:22:56 *** tonetheman has joined #aichallenge 2011-10-22T10:24:18 ash0d: there's a syntax error in that file 2011-10-22T10:24:25 which one? 2011-10-22T10:24:31 cpclient.py 2011-10-22T10:24:43 *** ReijiMitsurugi has left #aichallenge 2011-10-22T10:25:00 use the tcpclient.py with python2.x 2011-10-22T10:25:07 Problem with game end conditions and maze maps: how are we supposed to gather the food faster? http://ants.fluxid.pl/replay.97 2011-10-22T10:25:13 k 2011-10-22T10:25:24 I'll have to swap my path variable 2011-10-22T10:25:28 who is solifugid? 2011-10-22T10:25:46 smiley1983: keep as much of map visible as possible 2011-10-22T10:25:59 so when exploring map, using single ants, not whole groups 2011-10-22T10:26:06 that's what i want to implement now 2011-10-22T10:26:10 *** ZeroBrain has quit IRC (Ping timeout: 260 seconds) 2011-10-22T10:26:15 ash0d: did it work? 2011-10-22T10:26:21 *** perla has joined #aichallenge 2011-10-22T10:26:27 ash0d: solifugid is mine 2011-10-22T10:26:32 *** ZeroBrain has joined #aichallenge 2011-10-22T10:26:50 Fluxid: the problem is that in this case, the food is just not reachable in time 2011-10-22T10:27:03 because the map is so constricted 2011-10-22T10:27:06 smiley1983: cool, our bots are a good match 2011-10-22T10:27:13 smiley1983: look at queasy's fog of war at the end 2011-10-22T10:27:13 deltree_ you connected, but the game wouldn't start 2011-10-22T10:27:14 try again 2011-10-22T10:27:20 *** tonetheman has quit IRC (Client Quit) 2011-10-22T10:27:30 hee sees everything and ants are distributed so he can quickly get food 2011-10-22T10:27:31 is it okay to have 2 or 3 connections to the TCP servers going at one time? 2011-10-22T10:27:39 ash0d: done 2011-10-22T10:27:39 smiley1983: http://ants.fluxid.pl/replay.62 forgot link 2011-10-22T10:27:40 yes 2011-10-22T10:27:45 *** dangoodman has quit IRC (Ping timeout: 265 seconds) 2011-10-22T10:28:02 smiley1983: if the server is set for multiple connections, it'll work (and that's the default) 2011-10-22T10:28:11 I'm going to be terrible, still feeling out the starter bots, so my code isn't very pretty 2011-10-22T10:28:31 ooo, lots of stuff on my screen 2011-10-22T10:28:36 how long will that last? forever? 2011-10-22T10:29:07 deltree_: you're playing against smiley1983 :) 2011-10-22T10:29:13 oh dear 2011-10-22T10:29:17 I'm going to get wiped 2011-10-22T10:29:24 *** Everchanger has joined #aichallenge 2011-10-22T10:29:29 my bot is purely the starter package + the tutorial 2011-10-22T10:29:29 Fluxid: I know, and some versions of my bot do something like this - but in the link I pasted, I swear I could not have collected the food faster 2011-10-22T10:29:30 see your rank here: http://212.34.245.143:2080/ranking 2011-10-22T10:29:36 done in c# instead of python 2011-10-22T10:29:52 *** skyramp has quit IRC (Quit: Page closed) 2011-10-22T10:30:16 *** skyramp_ has quit IRC (Quit: Page closed) 2011-10-22T10:30:31 ash0d: when the game ends, does my connection get cut or will it just hold me and put me up against someone else? 2011-10-22T10:30:32 Huh, test_bot.sh errors out for me on the sample TestBot.py. 2011-10-22T10:30:36 *** skyramp has joined #aichallenge 2011-10-22T10:30:44 smiley1983: What is HashMap? Do I have to learn it? 2011-10-22T10:30:54 depends on the last argument, if it's 1, it'll just finish, otherwise you'll get another game 2011-10-22T10:30:59 woot, my first tcp game http://212.34.245.143:2080/replay.65 2011-10-22T10:31:53 UncleVasya: I don't know, but I think it relates to Java - so no 2011-10-22T10:31:54 that's one of the issues with the starter, your ants get stuck... 2011-10-22T10:31:59 Thece TCP games...Python only? 2011-10-22T10:32:02 These* 2011-10-22T10:32:06 *** Cowbandit has quit IRC (Ping timeout: 265 seconds) 2011-10-22T10:32:08 ok 2011-10-22T10:32:11 ls1024: python is only runner 2011-10-22T10:32:17 ls1024: no 2011-10-22T10:32:17 anything goes 2011-10-22T10:32:17 it runs your bot, in whatever language it is 2011-10-22T10:32:27 Ahh, nevermind. 2011-10-22T10:32:35 I am unsuccessful in viewing the game I just linked to, but it's there :) 2011-10-22T10:32:36 * ls1024 should read more carefully. 2011-10-22T10:32:40 ls1024: you can replace "python MyBot.py" with MyBot.exe 2011-10-22T10:32:50 inb4 more people gets interested in tcp games than in actual aichallenge 2011-10-22T10:33:05 re 2011-10-22T10:33:17 hm cant figure out why the runner fails to start my bot 2011-10-22T10:33:29 Fluxid, that's is so true 2011-10-22T10:33:50 it fails here: http://pastebin.com/F6yKSB3c 2011-10-22T10:34:06 ikaros: remove print 2011-10-22T10:34:10 ikaros: and insert raise there 2011-10-22T10:34:17 ok wait 2011-10-22T10:34:24 so you'll se the actual exception raised 2011-10-22T10:34:25 I'm so going to set the number to 9000 before i go to work 2011-10-22T10:34:34 ash0d I think the site is down 2011-10-22T10:34:39 *** Kingpin13 has joined #aichallenge 2011-10-22T10:34:43 deltree_: the web server sometimes give random error... try again and keep improving your bot and play more 2011-10-22T10:34:51 i had similar problem, made it working by making bot executable and giving absolute path to it 2011-10-22T10:35:44 *** UncleVasya has quit IRC (Read error: Connection reset by peer) 2011-10-22T10:35:45 http://pastebin.com/11dAGBLY am i missing a lib? 2011-10-22T10:36:10 http://212.34.245.143:2080/replay.69 2011-10-22T10:36:33 deltree_: that's was a win for you 2011-10-22T10:37:03 I can't see any of the replays, errors out every time 2011-10-22T10:38:00 *** HaraKiri has joined #aichallenge 2011-10-22T10:38:03 all MyBot needs to do is implement the communication protocol, right? no special functions or anything? 2011-10-22T10:38:45 cyphase: yes, it's all done using stdin and stdout 2011-10-22T10:39:06 ash0d, right, thanks :) 2011-10-22T10:39:49 *** adyxax has joined #aichallenge 2011-10-22T10:40:08 thanks ash0d, this is spectacular 2011-10-22T10:40:31 dang bot got trapped on thsi game 2011-10-22T10:40:41 I can see it in the interpretter (w e w e w e) 2011-10-22T10:41:01 :) you're welcome 2011-10-22T10:41:07 any python guru here who can help me with that tcpconnect script 2011-10-22T10:41:08 regarding "Hills not implemented yet" : Does it mean that the starter package just abit worse AI than the ones that have hills implemented? 2011-10-22T10:42:15 exezive: actually, the starter package doesn't DO anything with the hills, but having them implemented means the objects are already there for you to play with 2011-10-22T10:42:31 exezive: the starter package barely makes teh ants move 2011-10-22T10:42:55 deltree_, ah ok. so basically if I choose with no hills implementation I have to do just abit more work 2011-10-22T10:43:18 exezive: that's correct, you'll have to understand how to parse hills and implement them yourself 2011-10-22T10:43:34 deltree_, thanks! 2011-10-22T10:43:52 ikaros: do you just need a sample invocation, or is there another problem? 2011-10-22T10:44:39 well.. i'd think i understood how to start the script but.. perhaps i'm doing it wrong 2011-10-22T10:44:47 i start it like that.. (without acc) 2011-10-22T10:45:06 python tcpclient.py ants.fluxid.pl 2081 "luajit-2.0.0-beta8 MyBot.lua" ... 2011-10-22T10:45:14 ikaros the tcp script? you need to use python 2.X with the python 2 version 2011-10-22T10:45:20 hm 2011-10-22T10:45:36 i rarely use python.. thought its still 2.7 on ubuntu 2011-10-22T10:45:38 lets see 2011-10-22T10:45:51 paste the error somewhere? 2011-10-22T10:45:54 2.7.2 2011-10-22T10:45:56 i have 2011-10-22T10:45:59 moment 2011-10-22T10:46:04 http://pastebin.com/11dAGBLY 2011-10-22T10:46:21 this is raised by this part of the script http://pastebin.com/F6yKSB3c 2011-10-22T10:46:49 ash0d I keep getting a message that I'm queued for game 81 (I entered 10 instead of 1, so this would be my second game) 2011-10-22T10:47:12 ikaros: looks like it can't find luajit or MyBot.lua 2011-10-22T10:47:25 yea.. that's crazy :O 2011-10-22T10:47:28 deltree_ you've had 3 games already 2011-10-22T10:47:35 i even tried absolute path for MyBot.lua 2011-10-22T10:47:53 *** mrbond has joined #aichallenge 2011-10-22T10:47:58 heh, I entered 10 on the 3rd game 2011-10-22T10:48:00 *** perla has quit IRC (Quit: Page closed) 2011-10-22T10:48:09 Try connecting with one of the python sample bots, to see if that works 2011-10-22T10:48:29 i did.. same error :) 2011-10-22T10:48:31 Hey, why so slowly? (Next game should be within 530.4 minutes.) :P 2011-10-22T10:48:48 mrbond, this is why we have tcp servers 2011-10-22T10:49:03 seems to be working 2011-10-22T10:49:17 I was just paranoi 2011-10-22T10:49:30 my bot got stuck again though :( 2011-10-22T10:49:37 gonna have to work on that 2011-10-22T10:50:49 ikaros: not sure what to suggest... I'm pasting in the command I'm using, but reading yours it looks correct: 2011-10-22T10:50:53 python2 tcpclient.py ants.fluxid.pl 2081 /path/to/binary username pass 3 2011-10-22T10:51:21 whats the number at the end btw? 2011-10-22T10:51:26 i always use 1 2011-10-22T10:51:38 ash0d, tcp servers? where can I read about it? 2011-10-22T10:51:39 number of repeat rounds 2011-10-22T10:51:46 set it to 1000 to leave it running for a long time 2011-10-22T10:51:50 ok 2011-10-22T10:51:59 first gotta get it running :)) 2011-10-22T10:52:07 ants.fluxid.pl/howto 2011-10-22T10:53:05 ash0d, ty 2011-10-22T10:53:13 *** nogood has joined #aichallenge 2011-10-22T10:53:18 you can also connect to 212.34.245.143 2011-10-22T10:53:24 same port 2011-10-22T10:53:56 *** nogood has quit IRC (Client Quit) 2011-10-22T10:54:28 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T10:54:53 *** luizribeiro has joined #aichallenge 2011-10-22T10:55:25 *** Dispatch has quit IRC (Quit: Page closed) 2011-10-22T10:56:24 i assume that food will never spawn on a hill? 2011-10-22T10:57:03 jmcarthur, I think that's a fair bet 2011-10-22T10:57:15 also, food spawns symmetrically to all players 2011-10-22T10:57:45 beautiful, I set my tcp client thingy (built a gui for it) to my release builds, and that way I can test with my debug builds, awesome 2011-10-22T10:57:55 and now I never have to turn tcp off 2011-10-22T10:58:23 :) 2011-10-22T10:59:04 *** lrh9 has joined #aichallenge 2011-10-22T10:59:49 Good day. 2011-10-22T11:01:17 that it is 2011-10-22T11:01:35 *** avers_ has joined #aichallenge 2011-10-22T11:03:05 ash0d: our bots seem to be equals 2011-10-22T11:03:07 *** coachbudka has joined #aichallenge 2011-10-22T11:03:14 :) 2011-10-22T11:03:28 hi all -- what version of the .NET framework is supported in this challenge? 2011-10-22T11:03:31 either that or part of the tcp is you download the player's bot and pit it agaionst itself 2011-10-22T11:03:53 coachbudka: what version are you running? I'm using 4, but I'm fair certain 3.5 would work 2011-10-22T11:04:21 I was hoping for at least 3.5 -- gotta have my lambdas 2011-10-22T11:04:43 ashod, how do I know when the script finishes? 2011-10-22T11:04:59 I am using VS with 4.0, client framework even 2011-10-22T11:05:14 deltree_: great, thanks 2011-10-22T11:05:25 *** irchs has joined #aichallenge 2011-10-22T11:05:36 *** coachbudka has quit IRC (Client Quit) 2011-10-22T11:05:38 screw it.. no idea why this doesnt work 2011-10-22T11:05:48 also, I have a LOT of lambdas 2011-10-22T11:06:12 coachbudka http://aichallenge.org/starter_packages.php -> Mono version 2.6. 2011-10-22T11:06:27 ash0d, isn 2011-10-22T11:06:31 deltree_, you mean when a game ends? 2011-10-22T11:06:43 ash0d, isn't the script missing shell=True in the Popen invocation? 2011-10-22T11:06:58 well, when I select 1, how do I know when that 1 is done? when I select 10, how do I know when all 10 are done? 2011-10-22T11:07:42 deltree_ normally it should exit, but I can see that the code isn't really very mature, it has many issues 2011-10-22T11:07:50 *** GreenTea has joined #aichallenge 2011-10-22T11:07:58 *** awishformore has joined #aichallenge 2011-10-22T11:08:04 Alexer, I don't know... I've only hacked it to get it running in a couple of hours 2011-10-22T11:08:07 Hello there. 2011-10-22T11:08:15 what problem do you see that shell=True should solve? 2011-10-22T11:08:23 Hi 2011-10-22T11:08:32 ash0d, "your bot (python MyBot.py) failed to start!" 2011-10-22T11:08:36 I'm new to the AI challenge and am just setting up my environment so I can get started on the actual coding, but there are two remaining questions. 2011-10-22T11:08:50 apparently it thought "python MyBot.py" is a filename 2011-10-22T11:08:53 my bot timed out apparently, I imagine it was a connection issue 2011-10-22T11:09:08 Alexer, is MyBot.py in the path? 2011-10-22T11:09:25 my ants have a tendency to make congo lines 2011-10-22T11:09:59 ash0d, it's in the same directory. i got it working without shell=True by doing "chmod +x" on MyBot.py and using just "./MyBot.py" 2011-10-22T11:10:31 *** otzi has joined #aichallenge 2011-10-22T11:10:32 you're on a nix? you're probably right 2011-10-22T11:10:36 *** Chris_0076 has joined #aichallenge 2011-10-22T11:10:39 i only tested on wun 2011-10-22T11:10:42 *win 2011-10-22T11:11:01 ash0d, ah, that explains 2011-10-22T11:11:07 hey, what I do wrong? : ready Traceback (most recent call last): File "tcpclient.py", line 176, in main() File "tcpclient.py", line 170, in main tcp(host, port, botpath, pname, password, {}) File "tcpclient.py", line 111, in tcp bot.stdin.write(bot_input) IOError: [Errno 22] Invalid argument 2011-10-22T11:11:09 :) 2011-10-22T11:11:18 python tcpclient.py ants.fluxid.pl 2081 "php MyBot.php" login password 1 2011-10-22T11:11:30 wrong python version? 2011-10-22T11:11:51 no 2011-10-22T11:12:01 could be bad data 2011-10-22T11:12:02 1. If I provide a full path for my bot (on Windows), i.e. "C:\code\mybot.exe", there are errors in Python (http://pastie.org/2740719), it seems to only work if i put the bot in the same dir and provide "mybot.exe" - is there a way to fix that? 2011-10-22T11:12:03 deltree, when I run ot first time - game started correctly, but now... 2011-10-22T11:12:06 k, I'm going to stop trying to help 2011-10-22T11:12:19 ash0d - but data generated by my bot? 2011-10-22T11:12:32 no, server 2011-10-22T11:12:33 2. How do I change the name of my bot in the test tools? It only shows player1 - player4, is there a way to know which bot is mine other than his actions? 2011-10-22T11:12:36 awishformore: I don't have any issues and my exe isn't named mybot 2011-10-22T11:12:54 deltree_: I wasn't talking about the executable name if you read my message again. 2011-10-22T11:13:20 I was talking about the path 2011-10-22T11:13:21 I use fullpath 2011-10-22T11:13:23 awishformore: let me know if you figure it out 2011-10-22T11:13:25 ikaros: did you see the above discussion about getting a python bot to work in *nix? It might apply to your case as well 2011-10-22T11:13:33 wow.. thx smiley1983 .. when i write a shell script to wrap the luajit bla.. call it works 2011-10-22T11:13:33 I don't need anything in the same directory 2011-10-22T11:13:44 no but i just managed it i think 2011-10-22T11:13:49 great :) 2011-10-22T11:13:53 yea :)) 2011-10-22T11:14:06 now its time to let it fight *g 2011-10-22T11:14:33 deltree_: you're not being very helpful...I provided an exact problem description + error message, just saying it works for you doesn't contribute anything 2011-10-22T11:14:58 awishformore: if you had used proper grammar I'd UNDERSTAND your problem 2011-10-22T11:15:21 fluxid, nice server, thx:) 2011-10-22T11:15:59 based on your traceback, you're running *nix am I correct? 2011-10-22T11:15:59 *** danielharan has quit IRC (Read error: Connection reset by peer) 2011-10-22T11:16:01 deltree_: since you managed to take this to a personal level in record time, maybe if you had used a proper brain, you would not have problems understanding a perfectly clear problem description 2011-10-22T11:16:05 *** littlewing has quit IRC (Ping timeout: 265 seconds) 2011-10-22T11:16:23 and yet I continue to help you 2011-10-22T11:16:26 douchebag 2011-10-22T11:16:34 *** Cowbandit has joined #aichallenge 2011-10-22T11:16:35 *** danielharan has joined #aichallenge 2011-10-22T11:16:47 are you running *nix or not? 2011-10-22T11:17:06 you really seem to have trouble reading 2011-10-22T11:17:22 since i clearly state "(on Windows)" 2011-10-22T11:17:23 your trace shows ./ants.exe 2011-10-22T11:17:33 do you see it? 2011-10-22T11:17:56 that's (obviously) from the python script 2011-10-22T11:18:13 read your trace, more carefully, it's refering to files I'm guessing you don't have 2011-10-22T11:18:31 the sandbox 2011-10-22T11:18:33 etc? 2011-10-22T11:18:57 i think your competency kindof deprives you of even being capable of helping here 2011-10-22T11:19:03 it can't find ./ants.exe 2011-10-22T11:19:06 which is my executable 2011-10-22T11:19:07 *incompetency 2011-10-22T11:19:16 which is a problem in the python script 2011-10-22T11:19:23 hence why i'm in this channel in the first place 2011-10-22T11:19:52 you're not listening, fine fine, have fun 2011-10-22T11:19:52 now, of course you'd know that if you'd read the trace carefully 2011-10-22T11:19:57 *** infernal has joined #aichallenge 2011-10-22T11:20:37 you're not talking about the tcp server at all are you 2011-10-22T11:20:42 * deltree_ facepalms. 2011-10-22T11:20:58 awishformore, do you tried to set full path to exe? 2011-10-22T11:21:02 *** eptx has joined #aichallenge 2011-10-22T11:22:47 GreenTea: yes, I'm trying to pass the full path with the executable to the tools bot test so i don't have to move the executable to the tools path every time i recompile it 2011-10-22T11:22:53 *** Pilchard123 has joined #aichallenge 2011-10-22T11:22:57 *** danielharan has quit IRC (Remote host closed the connection) 2011-10-22T11:23:10 i don't see why you wouldn't want that to work when writing the test script 2011-10-22T11:23:33 is anyone else having trouble with getting the tools to work when using Java? 2011-10-22T11:23:35 *** danielharan has joined #aichallenge 2011-10-22T11:23:44 unfortunately i never used python before, so i can't simply hack a quickfix 2011-10-22T11:23:45 there's a problem with playgame.py on line 2011-10-22T11:24:02 *** ademar has joined #aichallenge 2011-10-22T11:24:03 sorry, line 232 2011-10-22T11:24:14 awishformore: I'm not sure about the exe-location problem, but you may find that renaming the .exe changes the name in the visualizer (e.g version001.exe) 2011-10-22T11:24:53 smiley1983: no, the visualizer always just displays player1-4, the exe name doesn't change that on my setup unfortunately 2011-10-22T11:25:14 awishformore, do you take full path in double quotes? 2011-10-22T11:25:25 GreenTea: yes 2011-10-22T11:25:28 ash0d, tcp server == awesome 2011-10-22T11:25:45 enjoy :) 2011-10-22T11:26:11 ash0d, oh, you don't have to ask me twice :] 2011-10-22T11:26:19 well it seems i'll have to learn python to fix the script -.- 2011-10-22T11:26:32 awishformore: okay, that's a nuisance. First question about your setup: did you clone the repository, or download tools.zip? 2011-10-22T11:26:35 Forgive my ignorance, but what is a tcp server and why is everyone talking about them? 2011-10-22T11:26:51 i just downloaded the tools 2011-10-22T11:27:04 lrh9: http://ants.fluxid.pl/howto 2011-10-22T11:27:44 So it's a system for people to complete outside of the official servers? 2011-10-22T11:27:52 s/complete/compete 2011-10-22T11:28:01 lrh9, that one and 212.34.245.143 2011-10-22T11:28:09 well i have to leave now, smiley1983 do you think some of that stuff got fixed in the rep? 2011-10-22T11:28:09 and assuming it was definitely not the .tar.bz2, the next question is: can I see a paste of the full command you're using to run the game when it fails? 2011-10-22T11:28:15 yes 2011-10-22T11:28:20 Thanks. 2011-10-22T11:28:26 awishformore: probably not 2011-10-22T11:28:49 awishformore: but if you had cloned the repo, the default setup might be tailored for *nix environments 2011-10-22T11:28:56 awishformore, make sure you use slash "/" in you path, like "C:/code/mybot.exe" 2011-10-22T11:29:37 *** volkhin has quit IRC (Ping timeout: 265 seconds) 2011-10-22T11:29:40 backslashes are not a problem in my experience 2011-10-22T11:29:45 ty GreenTea ;) 2011-10-22T11:29:52 so now i only need to have it display my botname 2011-10-22T11:30:08 *** lrh9_ has joined #aichallenge 2011-10-22T11:30:31 awishformore, problem 1 solved?) 2011-10-22T11:30:54 well 2011-10-22T11:30:55 *** HaraKiri has quit IRC (Ping timeout: 258 seconds) 2011-10-22T11:31:02 i was talking too quickly 2011-10-22T11:31:22 *** lrh9__ has joined #aichallenge 2011-10-22T11:31:48 *** olexs has joined #aichallenge 2011-10-22T11:32:02 for some reason it changes the error msg if you run the game live 2011-10-22T11:32:02 awishformore, im not an english speaker and don't understand what means "ty" ) 2011-10-22T11:32:09 thank you ;) 2011-10-22T11:32:38 from the little python syntax i understand 2011-10-22T11:32:52 *** lrh9 has quit IRC (Ping timeout: 256 seconds) 2011-10-22T11:32:56 it simply seems as if the script strips the path when trying to run it and then tries to run it in the current path 2011-10-22T11:33:03 i.e. the script path 2011-10-22T11:33:23 How do you do the step 2 part of the tutorial in Java? 2011-10-22T11:34:24 smiley1983: 2011-10-22T11:34:25 http://pastie.org/2740808 2011-10-22T11:34:36 that's the various commands as in the cmd files 2011-10-22T11:34:44 all producing the same error 2011-10-22T11:35:04 Enybody knows when new servers will be added? game rate sadden me :'( 2011-10-22T11:35:08 *** lrh9_ has quit IRC (Ping timeout: 256 seconds) 2011-10-22T11:35:22 i'll try to fix the python scripts tomorrow i guess 2011-10-22T11:35:25 i have to leave now 2011-10-22T11:35:28 awishformore, is it reporting a syntax error? 2011-10-22T11:35:29 GreenTea, use the tcp server! 2011-10-22T11:35:39 i've got that too 2011-10-22T11:35:42 Pilchard123: http://pastie.org/2740719 2011-10-22T11:35:53 *** awishformore has quit IRC (Quit: Page closed) 2011-10-22T11:36:04 Alexer, thank you, i will try) 2011-10-22T11:36:15 GreenTea, so we can get "some" challenge in there (since you're #1 on the official servers :) 2011-10-22T11:36:29 GreenTea, http://ants.fluxid.pl/howto 2011-10-22T11:37:03 *** moai has quit IRC (Ping timeout: 252 seconds) 2011-10-22T11:37:49 *** choas has joined #aichallenge 2011-10-22T11:38:41 *** todo314 has joined #aichallenge 2011-10-22T11:39:25 ash0d, any chance you could add the "shell=True" to the Popen so that it works for everyone? Relevant documentation at: http://docs.python.org/library/subprocess.html 2011-10-22T11:39:35 "On Unix, with shell=False (default): In this case, the Popen class uses os.execvp() to execute the child program. args should normally be a sequence. If a string is specified for args, it will be used as the name or path of the program to execute; this will only work if the program is being given no arguments." 2011-10-22T11:39:39 sure thing 2011-10-22T11:40:01 thanks :) 2011-10-22T11:40:05 :) 2011-10-22T11:42:35 Alexer, what password i need send to TCP server? 2011-10-22T11:42:55 *** eolhing has quit IRC (Quit: Page closed) 2011-10-22T11:42:57 GreenTea, just choose anything you like 2011-10-22T11:43:07 ) 2011-10-22T11:43:29 *** Cowbandit has quit IRC (Quit: Page closed) 2011-10-22T11:43:42 namely: it doesn't need to be (and shouldn't be) the same one as in the official server login :P 2011-10-22T11:43:48 *** irchs has quit IRC (Quit: irchs) 2011-10-22T11:45:47 *** pedrosorio has joined #aichallenge 2011-10-22T11:46:20 *** nickles has joined #aichallenge 2011-10-22T11:46:21 *** parsley_ has joined #aichallenge 2011-10-22T11:47:35 *** admp has joined #aichallenge 2011-10-22T11:47:44 *** nickles has quit IRC (Client Quit) 2011-10-22T11:47:51 *** admp has left #aichallenge 2011-10-22T11:48:35 *** CodeMangler has quit IRC () 2011-10-22T11:48:58 *** d310 has joined #aichallenge 2011-10-22T11:49:28 *** ChrisH_ has joined #aichallenge 2011-10-22T11:49:46 *** parsley__ has joined #aichallenge 2011-10-22T11:50:06 *** paulwal has joined #aichallenge 2011-10-22T11:50:37 hello. Anyone awake? 2011-10-22T11:50:53 *** parsley_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T11:51:58 *** ChrisH_ has quit IRC (Client Quit) 2011-10-22T11:52:00 yes 2011-10-22T11:52:06 yo 2011-10-22T11:52:09 I don't see my language of choice! 2011-10-22T11:52:15 then add it 2011-10-22T11:52:18 hey guys 2011-10-22T11:52:25 *** irchs has joined #aichallenge 2011-10-22T11:52:33 what language 2011-10-22T11:52:38 Tcl 2011-10-22T11:52:57 How do I add it? I'll make the starter package if that's all that needs to be done 2011-10-22T11:53:50 that's how you add it, basically add a starter package based on the other starter packages (don't come up with your own) so that everyone's on equal footing when they download and use it 2011-10-22T11:54:11 Another questions, I am new here and I am wondering what files in Java they edit in the tutorial 2011-10-22T11:54:16 once youv'e added it, if they need specific instructions for compiling it on the server (I don't know Tcl or how it works) let our benefactors know 2011-10-22T11:54:16 *** goffrie has quit IRC (Remote host closed the connection) 2011-10-22T11:54:26 GreenTea, btw, the last argument to tcpclient.py tells it how many games to play before stopping 2011-10-22T11:54:31 d310: welcome 2011-10-22T11:54:33 i'm wondering how to actually get it to work 2011-10-22T11:55:04 Alexer, thank you. it is handy parameter ^^ 2011-10-22T11:55:05 get what to work? 2011-10-22T11:55:06 GreenTea, so if you want to play more than just one game, use: python tcpclient.py ants.fluxid.pl 2081 "python MyBot.py" username password 10 2011-10-22T11:55:16 the tutorial/tools 2011-10-22T11:55:17 for a start :P 2011-10-22T11:55:31 *** KennyS has joined #aichallenge 2011-10-22T11:55:33 still get a syntax error, and changing the starter pack language to python doesn't seem to make any difference 2011-10-22T11:55:41 *** todo314 has quit IRC (Quit: Page closed) 2011-10-22T11:55:46 Alexer, can you help me view my replay? I tried opening it in the browser and I got an error. 2011-10-22T11:55:46 So the part of the starter package that needs to be written is basically an example bot... am I understanding correctly? 2011-10-22T11:56:08 Pilchard123: mind if I take a look at your problem? 2011-10-22T11:56:19 yea, sure 2011-10-22T11:56:23 how? 2011-10-22T11:56:27 what's the usual view radius for ants? 2011-10-22T11:56:41 lrh9__, i don't know much about that 2011-10-22T11:56:46 why do people make starter packages without hill support? It looks like that once you have ant and water support it shouldn't be any harder to implement hill support. 2011-10-22T11:57:00 paulwal: yes, and it needs to have the same interfaces as the other starter projects, basically, it needs to have anthills objects (if the language is oo) and such 2011-10-22T11:57:08 http://ants.fluxid.pl/replay.242 not loose any ant )) 2011-10-22T11:57:13 ikaros: sqrt(77) ~ 7.4 2011-10-22T11:57:14 *** d310 has quit IRC (Quit: Page closed) 2011-10-22T11:57:14 ok 2011-10-22T11:57:20 lrh9__, but if it's a red error with the word "JSON", i got rid of it by using firefox >:P 2011-10-22T11:57:30 thx skyramp is it always like that? 2011-10-22T11:57:41 thanks deltree_ 2011-10-22T11:57:53 Alexer, TypeError, but let me try FireFox. 2011-10-22T11:58:17 So the first time I run the python tcpclient, it will create my username/password pair on the server? 2011-10-22T11:58:30 lrh9__, you got a TypeError on a browser o.O 2011-10-22T11:58:40 that's my guess, it may just not care what the password is 2011-10-22T11:58:42 \o/ 2011-10-22T11:58:58 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-10-22T11:59:00 hi 2011-10-22T11:59:11 I have heard quite a lot lately about the TCP client 2011-10-22T11:59:18 ikaros: i don't think they would change that.. but afaik it is specified in game parameters (as viewradius2) 2011-10-22T11:59:20 what is its use exactly? 2011-10-22T11:59:36 yea right! thx i will need to use that 2011-10-22T11:59:37 is it for testing our bots? 2011-10-22T12:00:08 n4nd0, you run your bot on your own machine, so the tcp server is not loaded so much -> it can run games faster 2011-10-22T12:00:18 n4nd0: that, and if you use tcp, you get to play a lot more games, some players give more credit to the tcp ranking than the ai challenge ranking 2011-10-22T12:00:57 The ranking on the AI challenge really is useless unless you're in the top 200 or so. 2011-10-22T12:01:01 Alexer, thank you :-) 2011-10-22T12:01:01 It's basically luck below that. 2011-10-22T12:01:24 deltree_, thank you 2011-10-22T12:01:45 *** sigh_ has quit IRC (Remote host closed the connection) 2011-10-22T12:02:04 deltree_, so there is another tcp ranking? didn't hear about that. Then we get to play against other bots with it as well? 2011-10-22T12:02:16 *** sigh has joined #aichallenge 2011-10-22T12:02:32 yes 2011-10-22T12:03:49 n4nd0, if you just want to test your bot, you can always run it locally on your machine without any server against local bots 2011-10-22T12:03:54 *** Puj has joined #aichallenge 2011-10-22T12:03:58 n4nd0: http://212.34.245.143:2080/howto 2011-10-22T12:04:12 n4nd0, there's play_one_game_live.sh in the tools 2011-10-22T12:05:50 but running on the tcp server is more useful, since you can see how your bot behaves against smarter opponents 2011-10-22T12:06:30 *** danielha_ has joined #aichallenge 2011-10-22T12:06:35 * ls1024 benefits from this since most of the bots are smarter than his. 2011-10-22T12:06:46 *** sigh has quit IRC (Ping timeout: 258 seconds) 2011-10-22T12:06:59 *** vortex has quit IRC (Disconnected by services) 2011-10-22T12:07:22 *** ZiyaoWei has joined #aichallenge 2011-10-22T12:07:47 *** Skylot has joined #aichallenge 2011-10-22T12:08:43 *** smiley1983 has quit IRC (Quit: leaving) 2011-10-22T12:08:51 *** danielh__ has joined #aichallenge 2011-10-22T12:09:37 *** irchs has quit IRC (Quit: irchs) 2011-10-22T12:09:41 Alexer: are you running the tcp server? 2011-10-22T12:10:01 *** danielharan has quit IRC (Ping timeout: 258 seconds) 2011-10-22T12:10:07 *** Diede has quit IRC (Quit: Page closed) 2011-10-22T12:11:11 *** xathis has joined #aichallenge 2011-10-22T12:11:12 *** irchs has joined #aichallenge 2011-10-22T12:11:13 *** Saulzar has quit IRC (Ping timeout: 245 seconds) 2011-10-22T12:11:15 Rankings page for the tcp games seems down. 2011-10-22T12:11:29 But I can still play games. 2011-10-22T12:11:37 working for me 2011-10-22T12:11:38 ermau, no, afaik ash0d is 2011-10-22T12:11:56 *** danielha_ has quit IRC (Ping timeout: 258 seconds) 2011-10-22T12:11:58 ermau: 212.34.245.143:2080/ranking ? 2011-10-22T12:12:03 I'm running one and Fluxid another 2011-10-22T12:12:04 http://ants.fluxid.pl/ranking 2011-10-22T12:12:13 There's another! 2011-10-22T12:12:16 ermau: Thanks. 2011-10-22T12:12:21 :) 2011-10-22T12:12:21 oh there's two 2011-10-22T12:13:38 2 tcps? 2011-10-22T12:13:41 that's awesome 2011-10-22T12:13:48 cool. im first on tcp :) 2011-10-22T12:13:51 I'll have to build another gui 2011-10-22T12:13:58 GreenTea: As if that's a real surprise 2011-10-22T12:13:58 GreenTea: Congrats, you seem to be doing pretty well. :) 2011-10-22T12:14:21 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-10-22T12:14:37 Does the fluxid script just automatically keep playing games 2011-10-22T12:14:38 ? 2011-10-22T12:15:04 no offense ash0d but fluxid seems to be much faster, I think I'm going to switch my scripts 2011-10-22T12:15:16 that's cool 2011-10-22T12:15:37 I'm setting up a server in the US, I think fluxid is in Europe 2011-10-22T12:15:55 ash0d, where's the ranking page on yours? 2011-10-22T12:16:16 http://212.34.245.143/ranking 2011-10-22T12:16:32 alright, I'm breaking away from yours. I may come back later after I build out some multithreading 2011-10-22T12:16:37 ash0d, in that case, it doesn't work :P 2011-10-22T12:17:08 sorry, just took it down 2011-10-22T12:17:15 deltree_, if you have multiple cores, why not just run two bots on both? ;P 2011-10-22T12:17:18 i think Accoun also has a tcp server, no? 2011-10-22T12:17:21 ermau, the amount of games you play is parameterized, letting you specify how many games you want to play. 2011-10-22T12:17:54 lrh9__: Ah, thatmust be what the last number is, probably should actually exit the script when done then.. 2011-10-22T12:17:56 *** hacker007 has joined #aichallenge 2011-10-22T12:18:07 Bingo. 2011-10-22T12:18:12 Alexer: what? why? 2011-10-22T12:19:00 deltree_, i mean, one bot on Fluxid's server and one on ash0d's 2011-10-22T12:19:01 How can I get my password back or reset it? thanks. 2011-10-22T12:19:20 Alexer: that's what I said, later I'll build in multithreading 2011-10-22T12:19:24 *** irchs has quit IRC (Quit: irchs) 2011-10-22T12:19:34 deltree_, bot's can't have multithreading 2011-10-22T12:19:59 deltree_, http://aichallenge.org/rules.php "Use of multiple processes or OS threads are prohibited." 2011-10-22T12:20:03 Alexer: my gui to run the tcp can 2011-10-22T12:20:12 deltree_, ah 2011-10-22T12:20:18 I built out a gui so I don't have to type out long argument strings 2011-10-22T12:20:28 I do that with everything 2011-10-22T12:20:42 *** kakashi_ has quit IRC (Read error: Operation timed out) 2011-10-22T12:20:49 eh I just wrote a small .bat so I just pass in the bot name and # of times 2011-10-22T12:20:54 *** McLeopold has joined #aichallenge 2011-10-22T12:20:55 Hi is there anyone like me who did not receive the confirmation email after registration? THX! 2011-10-22T12:21:02 deltree_, why don't you just start two guis? 2011-10-22T12:21:44 Alexer: I considered it, but then I have to build out the ability to change the tcp server address, whereas multithreading will take just as long 2011-10-22T12:21:53 I just am going to be busy today, so I can't do it right now 2011-10-22T12:22:13 janzert: the issue is with the tmp_games join, I'm not sure how to fix it yet, but I'm looking at it 2011-10-22T12:22:34 deltree_, two guis just sounds saner and easier to me thatn multithreading :P 2011-10-22T12:22:50 *** nightmare has joined #aichallenge 2011-10-22T12:22:53 *** swinejihad has joined #aichallenge 2011-10-22T12:23:01 two consoles sounds more saner than two guis to me 2011-10-22T12:23:03 i dreamed whole night about ants, this is not good for me 2011-10-22T12:23:08 Alexer: nonsense 2011-10-22T12:23:11 ash0d, do you and Fluxid use the same codebase? is it on git somewhere or something? 2011-10-22T12:23:28 nightmare: Haha, I did the same. 2011-10-22T12:23:29 it's on git 2011-10-22T12:23:49 https://github.com/Ashod/ants-tcp 2011-10-22T12:23:51 ermau, well, that too :D unless you want live visualization 2011-10-22T12:23:58 yes, same code, but I'm maintaining it, so this is the latest 2011-10-22T12:24:07 it has some fixes for both the server and client 2011-10-22T12:24:09 yeah, fluxid is REALLY fast compared to ash0d 2011-10-22T12:24:10 Alexer: nah, just tell it to run 10 times and see what happens 2011-10-22T12:24:16 I'll catch up with yall later 2011-10-22T12:24:18 *** deltree_ has quit IRC (Quit: If you don't like it, don't suck at it) 2011-10-22T12:24:28 bitbrit to what extent? cause in my case, i was looping a ants-run whole night, and it woke me every 1 hour of the night, and then i fell asleep again and then i saw ants on a computer screen again and again going round and round 2011-10-22T12:24:30 ermau, yeah, that's what i do 2011-10-22T12:24:31 it made me insane 2011-10-22T12:25:01 ermau, but having it visualize all the games in realtime would be kinda fun, though 2011-10-22T12:25:09 *** Pilchard123 has quit IRC (Quit: Page closed) 2011-10-22T12:25:14 *** olexs has quit IRC (Quit: Leaving.) 2011-10-22T12:27:44 *** McLeopold has quit IRC (Quit: Leaving.) 2011-10-22T12:27:53 the images are still not being shown on my screen during the replay, does anyone have a fix for it ? 2011-10-22T12:28:52 *** vortex_ has joined #aichallenge 2011-10-22T12:29:05 *** McLeopold has joined #aichallenge 2011-10-22T12:29:53 is there a way that i can let the replay open with another browser like Google Chrome, instead of my standard browser ? 2011-10-22T12:31:24 if you normally use google chrome you could just set it to your default browser 2011-10-22T12:31:33 i dont want to change my default browser 2011-10-22T12:31:39 nightmare: set a BROWSER environment variable 2011-10-22T12:32:14 you could set google chrome to the default for opening .html files 2011-10-22T12:32:54 hm i'll see 2011-10-22T12:33:32 *** aeter has joined #aichallenge 2011-10-22T12:33:53 It'd be cool if you could edit your browser's right click context menu to have something like "Open link in " 2011-10-22T12:34:14 but again, i dont understand why it doesnt work in my firefox, it says firefox is up to date 2011-10-22T12:34:17 and everyone uses firefox 2011-10-22T12:34:21 then why doesnt it work here 2011-10-22T12:34:23 *** Sunshowers has joined #aichallenge 2011-10-22T12:34:53 *** Sunshowers has left #aichallenge 2011-10-22T12:35:29 another question, www.aichallenge.org and www.ai-contest.com , can someone confirm that one of the 2 is not a fake one? :P 2011-10-22T12:35:43 aichallenge.org is the new domain 2011-10-22T12:35:48 ai-contest.com is the old one, used in previous years 2011-10-22T12:35:55 ok thx 2011-10-22T12:36:04 *** phantom has joined #aichallenge 2011-10-22T12:36:17 Either works. 2011-10-22T12:36:19 *** hugo_dc has joined #aichallenge 2011-10-22T12:36:20 Someone should probably redirect ai-contest.com to aichallenge.org. 2011-10-22T12:36:30 *** phantom is now known as Guest77512 2011-10-22T12:36:48 *** swinejihad has quit IRC (Ping timeout: 265 seconds) 2011-10-22T12:38:02 *** Guest77512 has quit IRC (Client Quit) 2011-10-22T12:38:08 *** Skylot has quit IRC (Quit: Page closed) 2011-10-22T12:38:08 *** hugo_dc has quit IRC (Client Quit) 2011-10-22T12:39:08 jbroman: it does redirect for me... 2011-10-22T12:39:27 jmcarthur: I mean a 3xx redirect. 2011-10-22T12:39:33 As opposed to simply showing the same page. 2011-10-22T12:39:46 it's CNAMEd 2011-10-22T12:39:55 oh 2011-10-22T12:40:02 it's the same website 2011-10-22T12:40:04 Question: how is the aichallenge server running all of this uploaded code without getting hacked? 2011-10-22T12:40:17 *** hacker007 has quit IRC (Quit: Page closed) 2011-10-22T12:40:23 i agree with the redirect thing, though 2011-10-22T12:40:36 Zannick: It's clearer to users that they're in fact the same site (not one being a knockoff of the other) if you actually do cause the browser to redirect. 2011-10-22T12:40:38 lol, hacker007 is getting outta here 2011-10-22T12:40:49 Probably by disallowing the scripts to make internet connections. 2011-10-22T12:40:57 *** danielh__ has quit IRC (Remote host closed the connection) 2011-10-22T12:41:01 paulwal: There are sandboxing measures, but there's some measure of "don't hack us please" involved. 2011-10-22T12:41:17 who can try connecting to 209.62.17.40 with the tcpclient ? 2011-10-22T12:41:21 a good question might be "how do you know they aren't" 2011-10-22T12:41:34 good point, vortex_ 2011-10-22T12:41:53 where are the servers located? at google? i hope so cause then they are pretty good secured :D 2011-10-22T12:42:15 jbroman, do you know how the sandboxing measures are implemented? 2011-10-22T12:42:16 nightmare: No, they're Amazon EC2 instances. 2011-10-22T12:42:18 no, as far as I can tell google isn't involved beyond "sponsorship", whatever that means 2011-10-22T12:42:27 Google only sponsors the contest, and is not involved in its operation. 2011-10-22T12:42:33 oh 2011-10-22T12:42:42 paulwal: It's somewhere in http://github.com/aichallenge/aichallenge. 2011-10-22T12:42:46 <_flag> If you want to know how the website works you can go browse the source code: https://github.com/aichallenge/aichallenge 2011-10-22T12:43:24 ash0d, what port? 2011-10-22T12:43:28 same 2011-10-22T12:43:31 why do they make that public _flag ? 2011-10-22T12:43:32 2081 2011-10-22T12:43:43 <_flag> Why wouldn't they make it public? It's an opensource project 2011-10-22T12:43:47 nightmare: The AI Challenge is a volunteer-run project. 2011-10-22T12:43:52 Open source code only makes sense. 2011-10-22T12:44:04 besides, if they were running inside of google, it would be a great incentive to hacking. Even if google was helping setting up the servers I think they wouldn't want to have it running inside their network. 2011-10-22T12:44:27 <_flag> The same reason the linux kernel, firefox, vlc, and a thousand other programs that lots of people depend on are open source 2011-10-22T12:44:56 *** lrh9__ has quit IRC (Read error: Connection reset by peer) 2011-10-22T12:45:00 <_flag> They can all be hacked, sure, but everyone knows exactly what they're running and people can check for errors if they so choose 2011-10-22T12:45:04 but it's just a website, lolz 2011-10-22T12:45:07 ash0d, running 2011-10-22T12:45:14 yup :) 2011-10-22T12:45:16 against me 2011-10-22T12:45:28 *** lrh9__ has joined #aichallenge 2011-10-22T12:45:48 nightmare: on that repository there's the code for running the bots and taking scores, etc 2011-10-22T12:46:03 New TCP Server: http://ash.webfactional.com/howto 2011-10-22T12:46:05 oh ok 2011-10-22T12:47:55 what's the general range of turntime? 2011-10-22T12:48:01 Hi, is there a problem with unzipping? http://aichallenge.org/profile.php?user=288 2011-10-22T12:48:32 the several zip files I uploaded should have a MyBot file in there there 2011-10-22T12:48:35 Check out my bot so far :D http://paste.aichallenge.org/NXL80/ 2011-10-22T12:48:38 What does the "food eaten" message look like from the server? 2011-10-22T12:49:28 Puj: the food will not be mentioned in the next input. that means it is gone (or out of sight) 2011-10-22T12:49:51 *** zyberkiddy has joined #aichallenge 2011-10-22T12:49:55 congrats Puj, my bot still hasn't figured out how to find its food 2011-10-22T12:50:25 Thanks jmcarthur, so if food square saved from last turn is visible but not in the delta food list, then it has been eaten? Also, if an ant is next to a food which existed last turn it can be assumed eaten? 2011-10-22T12:50:44 nightmare, I'm sure you are well on your way (= 2011-10-22T12:51:01 Puj yeah, at least they dont eat eachother anymore, +1 2011-10-22T12:51:45 I like the "don't hack us please" karma-based security measure 2011-10-22T12:52:10 Actually my first statement can't be true, the premise would have to be that the food was visible last turn and the same square is visible this turn, but the food doesn't appear in the new data. 2011-10-22T12:52:15 Okay, thanks. 2011-10-22T12:52:55 *** amstan has joined #aichallenge 2011-10-22T12:52:55 *** ChanServ sets mode: +o amstan 2011-10-22T12:53:39 *** bitbrit has quit IRC (Quit: bitbrit) 2011-10-22T12:53:42 Guys, you can run multiple instances of your bot on the TCP server to get faster turnaround (assuming you have enough cores to avoid timeout) 2011-10-22T12:53:50 duh, my bot gets its ass beaten 2011-10-22T12:54:02 Fluxid, I'm running a new server :P 2011-10-22T12:54:11 i saw 2011-10-22T12:54:24 http://ash.webfactional.com 2011-10-22T12:54:36 it's only a bit sad though, well, not sad, this is still ALOT OF FUN, but that this is not real AI, this is not a bot learning actively and getting better, it's just the programmer who makes better functions 2011-10-22T12:54:41 *** zyberkiddy has quit IRC (Ping timeout: 265 seconds) 2011-10-22T12:54:44 ash0d: does it avoid self-games? 2011-10-22T12:54:46 this way we have redundency, in case one of us died :)) 2011-10-22T12:54:55 jmcarthur, yes 2011-10-22T12:55:03 afaik 2011-10-22T12:55:03 cool 2011-10-22T12:55:38 cool, it is. just modify your bot, run -> instant game. win-win. 2011-10-22T12:55:49 ash0d: i think creates problem that we start to battle on unofficial servers... they should speed up games on main server, there wouldn't be need for ours 2011-10-22T12:56:01 agreed 2011-10-22T12:56:10 but for now, this is a way to get us coding 2011-10-22T12:56:24 we can't wait for 1000 minutes between games to test our bot 2011-10-22T12:56:31 well, we still can do that :) 2011-10-22T12:56:40 nightmare: I agree, if it weren't for the rule which states that you can't save a file on the server we could actually write a bot that learns as it plays. I'm not sure why that's a rule. 2011-10-22T12:57:06 *** renzo has quit IRC (Ping timeout: 265 seconds) 2011-10-22T12:57:11 *** moai has joined #aichallenge 2011-10-22T12:57:12 Fluxid, you should update the code, running tcpclient.py on unix was fixed :P 2011-10-22T12:57:18 last I heard the problem had to do with the matcher... it was chocking with multiple servers, so they couldn't add more than one 2011-10-22T12:57:19 but I'm no organizer 2011-10-22T12:57:54 Alexer: ok, pulled and restarted web 2011-10-22T12:58:00 *** nicky40 has joined #aichallenge 2011-10-22T12:58:04 anyway, you could do your training offline if you're able to imitate the behaviour of other bots by looking at the replay. Though I'm not sure such a trained bot would be better than one a human coded from the games he has seen. 2011-10-22T12:58:08 why is there 557 minutes between games? it wasnt like that yesterday? 2011-10-22T12:58:12 but i won't restart tcp-server... 2011-10-22T12:58:15 or maybe 2011-10-22T12:58:18 sorry! restarting 2011-10-22T12:58:45 there 2011-10-22T12:58:54 Fluxid, yay :) 2011-10-22T13:00:45 <_flag> There's a ton of new people registering every minute and the game server prioritizes new people over old people so they get a game 2011-10-22T13:00:57 <_flag> Which means that anyone who registered yesterday isn't playing at all 2011-10-22T13:01:00 @later tell janzert confirmation email problems: http://aichallenge.org/forums/viewtopic.php?f=4&t=1544 2011-10-22T13:01:00 amstan: As you wish. 2011-10-22T13:01:11 Nice. 2011-10-22T13:01:50 *** ak0s has joined #aichallenge 2011-10-22T13:01:51 *** ak0s_ has joined #aichallenge 2011-10-22T13:02:09 *** ak0s has quit IRC (Client Quit) 2011-10-22T13:02:12 *** ak0s_ has quit IRC (Client Quit) 2011-10-22T13:02:34 *** twymer has quit IRC (Read error: Operation timed out) 2011-10-22T13:02:34 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T13:02:56 whath appens when 2 food is eaten in 1 tick? do 2 ants spawn? 2011-10-22T13:03:10 cause then they would spawn on eachother 2011-10-22T13:03:55 Puj, there is no food eaten message. Each turn the server sends what food is on the map. If food was on the map last turn and it isn't this turn, that means it was eaten. (Or is no longer visible.) 2011-10-22T13:04:42 *** aeter has quit IRC (Quit: Leaving.) 2011-10-22T13:05:03 nightmare, one hill is capable of spawning one ant each turn, if there is enough food. In fact, if there's an ant on top of the hill, it doesn't spawn an ant even if there is food there. 2011-10-22T13:05:19 So you can spawn 2 ants a turn, if you have 2 hills. 2011-10-22T13:05:25 (and the food, of course) 2011-10-22T13:05:34 oh ok thx 2011-10-22T13:05:50 *** kronos has joined #aichallenge 2011-10-22T13:06:07 how do you get more hills? 2011-10-22T13:06:14 Puj, food with ants next them get eaten. I wonder what the rules about eating food are though. If my ant and an enemy were on opposite sides of the food, who would get it? 2011-10-22T13:06:31 lrh9__, the food would disappear 2011-10-22T13:06:35 lrh9__, the food will disappear and neither of the teams would get it. 2011-10-22T13:07:13 do you start out with a set number of hills or can you build more hills? Or can you take over other player's hills? 2011-10-22T13:07:13 paulwal, I'm not sure...maybe if you raze an enemy ant hill? 2011-10-22T13:07:15 *** kronos has quit IRC (Client Quit) 2011-10-22T13:08:00 i've seen people killing a enemy ant hill end it didnt change in a friendly hill, but it just disappeared i think 2011-10-22T13:08:31 You don't get more 2011-10-22T13:08:38 *** zyberkiddy has joined #aichallenge 2011-10-22T13:09:00 which is good i guess, otherwise it's more about luck on where you spawn, if you spawn next to an easy bot, you can take his hill and spawn double as much, that would be unfair 2011-10-22T13:09:20 *** avers_ has joined #aichallenge 2011-10-22T13:10:25 *** mceier has quit IRC (Ping timeout: 260 seconds) 2011-10-22T13:10:56 i don't understand the fair/unfair symmetry thing. Randomness adds an interesting element and luck would even out over many games 2011-10-22T13:11:35 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T13:11:41 it's more about balance / unbalance 2011-10-22T13:11:52 but it's pretty good balanced as it is right now 2011-10-22T13:12:11 nightmare, you could implement one. 2011-10-22T13:12:14 I've written bots for the Risk boardgame. There is tons of luck involved. The strong bots still overpower the weaker ones 90% of the time. The luck factor makes for interesting games to watch. 2011-10-22T13:12:17 *** Areks has joined #aichallenge 2011-10-22T13:14:56 *** Heron has joined #aichallenge 2011-10-22T13:17:07 One thing I'm thinking about trying out is the natural way ants operate. They drop a chem signal as they walk. The quicker ants travel to and from a location, the more signal gets dropped. Eventually the shortest path will be determined. 2011-10-22T13:18:12 you wouldn't be able to spawn more unless you are also getting more food though 2011-10-22T13:18:31 paulwal, yuur bots play better than human? 2011-10-22T13:19:01 *** avers_ has joined #aichallenge 2011-10-22T13:19:16 <_flag> GreenTea: Are you playing on tcp right now? 2011-10-22T13:19:20 As t -> infinity, effect of luck -> 0. 2011-10-22T13:19:30 hey guys, I'm trying to connect to the tcp server 'ants.fluxid.pl', and am getting an error 'your bot (python MyMod.py) failed to start!' ... I'm sure I'm doing something dumb, can anyone point me towards my mistake? 2011-10-22T13:19:31 _flag, yes 2011-10-22T13:19:43 on this http://213.88.39.97 2011-10-22T13:19:55 <_flag> GreenTea: I'm trying to get a game against you :P 2011-10-22T13:20:04 ok )) 2011-10-22T13:20:58 GreenTea, there's not an easy way to gauge that, due to the nature of the game. For instance, I played my 8 year old cousins in a game of Risk and they easily destroyed me. They saw me as a threat so they ganged up on me. 2011-10-22T13:21:25 *** Mepisto has joined #aichallenge 2011-10-22T13:21:35 Fluxid: you run ants.fuxid.pl, right? 2011-10-22T13:21:39 i think i finally have a bot 2011-10-22T13:21:40 yeah 2011-10-22T13:21:42 *** zyberkiddy has quit IRC (Ping timeout: 260 seconds) 2011-10-22T13:21:56 paulwal, i play on http://warlight.net/ so this theme is interesting for me :) 2011-10-22T13:22:03 KennyS: but code is not mine 2011-10-22T13:22:06 Fluxid: any idea what I'm doing wrong, I can get my bot to run locally, but not on your server 2011-10-22T13:22:07 oh 2011-10-22T13:22:28 KennyS, try fluxid.pl 2011-10-22T13:22:37 KennyS: try giving absolute path to executable, and make bot executable 2011-10-22T13:22:39 *** kaemo has quit IRC (Ping timeout: 252 seconds) 2011-10-22T13:22:46 <_flag> For some reason every game I play is against someone called Macuyiko 2011-10-22T13:22:48 KennyS: so instead of python MyBot.py 2011-10-22T13:22:57 KennyS: do /home/.../bot/MyBot.py 2011-10-22T13:22:59 Fluxid: alright, i'll let you know what happend 2011-10-22T13:23:00 *** andy2011 has joined #aichallenge 2011-10-22T13:23:04 <_flag> I think he's running like 6 bots 2011-10-22T13:23:18 I haven't seen a Risk bot that can outsmart a good player. It's all about balance between players and manipulating it to your advantage, often by manipulating the emotions of the human players ;) 2011-10-22T13:23:37 *** amstan has quit IRC (Ping timeout: 258 seconds) 2011-10-22T13:23:57 GreenTea: cool, I haven't played there. have you tried dominategame.com? 2011-10-22T13:24:04 *** Everchanger has quit IRC (Quit: Page closed) 2011-10-22T13:24:10 Is it just me, or is anyone else getting a lot of lag? 2011-10-22T13:24:34 paulwal, creator of warlight propose on forum to make this game next theme of google ai contest. 2011-10-22T13:24:41 *** jtamer has joined #aichallenge 2011-10-22T13:24:56 paulwal, no yet 2011-10-22T13:24:57 Fluxid: there we go, thanks ... didn't need the ablolute patht hough, just chmod 700'd it and ran it as './MyBot.py' 2011-10-22T13:25:01 That would be awesome 2011-10-22T13:25:07 I would definitely get in on that 2011-10-22T13:25:16 ash0d: Getting an HTTP 502 on ash.webfactional.com now. 2011-10-22T13:25:24 KennyS: something is wrong in how author used subprocess but i was too lazy to inspect 2011-10-22T13:25:33 restarting server 2011-10-22T13:25:52 Woohoo... I've implemented pathfinding on php :P 2011-10-22T13:25:55 alright, fair enough ... i was also a bit too lazy 2011-10-22T13:25:56 ok, i've added repellin and grouping logic, i wonder how it works... 2011-10-22T13:25:59 A couple of other guys and I used to run bot tournaments at dominategame.com. fun stuff 2011-10-22T13:26:00 *** itelichko has joined #aichallenge 2011-10-22T13:26:25 *** lrh9__ has quit IRC (Read error: Connection reset by peer) 2011-10-22T13:26:31 its 5am yay 2011-10-22T13:26:40 argh my ants are running into one another 2011-10-22T13:26:41 Fluxid, KennyS: KennyS probably had the older version of tcpclient.py 2011-10-22T13:26:43 If anyone wants, I will upload pathfinding class to somewhere... 2011-10-22T13:27:02 put it on pastebin 2011-10-22T13:27:03 *** lrh9 has joined #aichallenge 2011-10-22T13:27:04 oh hai a1k0n 2011-10-22T13:27:10 hey 2011-10-22T13:27:12 server up 2011-10-22T13:27:13 Alexer: i downloaded it off his site around an hour ago 2011-10-22T13:27:24 http://pastebin.com/ 2011-10-22T13:27:24 i might as well upload something eh 2011-10-22T13:27:29 Fluxid, the new version just added shell=True to Popen. *nix needs it, else it interprets the whole string as filename 2011-10-22T13:27:34 *** ZiyaoWei has quit IRC (Quit: Page closed) 2011-10-22T13:27:39 KennyS, it's been updated recently 2011-10-22T13:27:48 TcpClient updated, get it from: http://ash.webfactional.com/ 2011-10-22T13:27:48 KennyS, 30min ago 2011-10-22T13:28:20 *** jtamer has quit IRC (Client Quit) 2011-10-22T13:28:31 Alexer: right, makes sense 2011-10-22T13:28:34 Latest version will add shell=True *only* on *nix (actually all posix) 2011-10-22T13:28:40 Alexer: alright, thanks 2011-10-22T13:29:09 paulwal, http://pastebin.com/qZGvS5Q1 2011-10-22T13:29:21 it'll also always kill the bot at the end of a game. (old version would leave the process running in some cases) 2011-10-22T13:29:37 eep 2011-10-22T13:31:06 _flag, maby play on http://ants.fluxid.pl/ this server looks like much faster 2011-10-22T13:31:22 and no Macuyiko 2011-10-22T13:33:23 ash0d, hmm, why? afaik windows ignores shell=xxx anyway, and since you're giving it a string, on other platforms you *need* shell=True so that it knows the string is not just the name of the executable. or did i miss something? 2011-10-22T13:33:23 GreenTea, your bot is damn good! 2011-10-22T13:33:47 python creates a new cmd.exe instance if you pass it shell=True 2011-10-22T13:33:57 ash0d, thx :) 2011-10-22T13:34:00 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T13:34:14 ash0d, ah o.O 2011-10-22T13:34:16 GreenTea, would love to have your bot on my server too :) 2011-10-22T13:34:30 don't do it! 2011-10-22T13:34:32 * AndrewBC paranoia 2011-10-22T13:34:45 *** Mepisto has quit IRC (Quit: Page closed) 2011-10-22T13:35:00 AndrewBC, we need every bit of challenge we can get :) 2011-10-22T13:35:31 mmm 2011-10-22T13:36:06 *** Saulzar has joined #aichallenge 2011-10-22T13:36:17 ash0d, challenge? GreenTea == massacre! ;) 2011-10-22T13:36:22 <_flag> GreenTea: Okay, I played some games with you btw on the other one 2011-10-22T13:36:26 <_flag> I'm ObligatoryShampoo 2011-10-22T13:36:28 <_flag> fyi 2011-10-22T13:36:47 btw, if you run TcpClient with a large game count, you can update your bot and the next game will play with the new version. 2011-10-22T13:36:49 ok im starting 50 games on http://ants.fluxid.pl/ 2011-10-22T13:36:52 *** rr5 has joined #aichallenge 2011-10-22T13:37:09 <_flag> Sounds good, I'll do the same :) 2011-10-22T13:37:19 *** UncleVasya has joined #aichallenge 2011-10-22T13:37:26 hey! now we know who ObligatoryShampoo is 2011-10-22T13:37:35 _flag, how's the server speed wise? 2011-10-22T13:37:53 <_flag> I don't know, are you ants.fluxid.pl? 2011-10-22T13:38:09 nope, that's Fluxid, I'm ash.webfactional.com 2011-10-22T13:38:11 *** svolkov has quit IRC (Ping timeout: 265 seconds) 2011-10-22T13:38:27 <_flag> I tried yours, but I couldn't really get too many good games tbh :( 2011-10-22T13:38:32 <_flag> But it seemed quick enough 2011-10-22T13:39:06 yea, we don't have as many players as fluxid... he stole my thunder :P 2011-10-22T13:39:12 *** levis501 has joined #aichallenge 2011-10-22T13:39:30 ash0d, i don't know what's the cause, but yours gives a lot less (or slower) games than Fluxid 2011-10-22T13:39:37 *** avers_ has joined #aichallenge 2011-10-22T13:39:38 <_flag> Well I think credit goes to berak for creating the server, but yeah, he did :) 2011-10-22T13:39:56 sure, I've only updated it 2011-10-22T13:40:03 original code is berak's 2011-10-22T13:40:05 ash0d, also, yours only does 1vs1? 2011-10-22T13:40:24 it's the same code, it can do up to 10 players 2011-10-22T13:40:25 ash0d: http://ash.webfactional.com 2081 ? 2011-10-22T13:40:35 no, that's the webserver only 2011-10-22T13:40:54 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T13:40:59 209.62.17.40 2081 2011-10-22T13:41:01 So still the http://212.34.245.143 2081 ? 2011-10-22T13:41:11 ash0d, if you look at your games and fluxids games, yours only seems to have 1vs1, fluxids has at least half of them >1vs1 2011-10-22T13:41:11 thanks 2011-10-22T13:41:28 <_flag> Alexer: That's because his can only do 1v1s as it has less people 2011-10-22T13:41:36 <_flag> It's the same server though 2011-10-22T13:41:37 right 2011-10-22T13:41:39 ....ah 2011-10-22T13:41:44 stupid me 2011-10-22T13:41:45 I have 5 players 2011-10-22T13:41:48 so matching is harder 2011-10-22T13:42:03 *** smarty has quit IRC (Ping timeout: 265 seconds) 2011-10-22T13:42:43 well, i'm running against both 2011-10-22T13:43:14 I'm on fluxid too 2011-10-22T13:43:15 timeout again :( 2011-10-22T13:43:22 209.62.17.40 2081 2011-10-22T13:43:29 shouldn't timeout 2011-10-22T13:43:47 "On day you will see I'm not your destiny, that we cannot be as a unity" - the words about me and TCP-server :) 2011-10-22T13:44:04 :)) 2011-10-22T13:45:20 UncleVasya, are you sure you're connecting to the right server? 2011-10-22T13:45:40 Next game should be within 2515.1 minutes. 2011-10-22T13:45:42 :( 2011-10-22T13:46:36 a1k0n, next game should be within 1 minutes if you used the tcp server ;) 2011-10-22T13:46:43 yes, setting it upnow 2011-10-22T13:46:43 I've got few games with alexer and timeouted all of them on the turn 1 (or during setup time). The same with fluxid's one. 2011-10-22T13:46:50 *** frosty has joined #aichallenge 2011-10-22T13:47:14 your connection is too slow 2011-10-22T13:47:15 UncleVasya, ping 209.62.17.40 and see what's the lag? 2011-10-22T13:47:43 Alexer, your bot is doing fine 2011-10-22T13:47:59 *** roflmao has joined #aichallenge 2011-10-22T13:48:03 *** avers_ has joined #aichallenge 2011-10-22T13:48:08 ash0d, meh, my ants are running around like headless chickens :D 2011-10-22T13:48:13 anyone got a formula for getting squares within a circle? 2011-10-22T13:48:16 on a grid 2011-10-22T13:48:21 it just works surprisingly well 2011-10-22T13:48:22 hey everyone! 2011-10-22T13:48:30 hi 2011-10-22T13:48:36 *** levis501 has quit IRC (Quit: levis501) 2011-10-22T13:48:40 ants are really stupid 2011-10-22T13:48:43 :( haha 2011-10-22T13:48:53 1576 2011-10-22T13:49:01 1883 2011-10-22T13:49:03 2296 2011-10-22T13:49:08 bobbydroptable_ should be easy if you consider the radius and square length, think about it 2011-10-22T13:49:24 And 4th was "big interval" :D 2011-10-22T13:49:31 i mean 2011-10-22T13:49:35 given 5,5 2011-10-22T13:49:37 UncleVasya, turntime is 5000, so half that time is your latency... hard to see how you can do TCP games 2011-10-22T13:49:39 and radius 3 2011-10-22T13:49:48 I'm confused about something. Ants can only see squares adjacent to them, so how can you implement a* if you have no idea where the food squares are? 2011-10-22T13:49:54 return a list of coordinates falling within that circle 2011-10-22T13:50:05 without iterating through the whole list and doing trig 2011-10-22T13:50:21 *** lrh9 has quit IRC (Read error: Connection reset by peer) 2011-10-22T13:50:21 there's probably a nify for loop for this, i just can't think of it at 5am 2011-10-22T13:50:32 roflmao, you get to see more if you have enough ants 2011-10-22T13:50:37 bobbydroptable_: it's implemented, at least in python bot 2011-10-22T13:50:39 bobbydroptable_, look at ants.py and search for "visible" 2011-10-22T13:50:39 roflmao: that's part of the challenge. you have to make educated guesses about what you can't see 2011-10-22T13:51:00 so at first it's kind of just random movement, keep record of what you've explored 2011-10-22T13:51:06 *** Abrackadabra has joined #aichallenge 2011-10-22T13:51:10 nt necessarily randpom 2011-10-22T13:51:11 and then re-feed the information you have into the algorithm 2011-10-22T13:51:13 that's one way to do it 2011-10-22T13:51:14 *not necessarily random 2011-10-22T13:51:19 roflmao: not nece... right 2011-10-22T13:51:25 yeah not necessarily random 2011-10-22T13:51:34 oh nice 2011-10-22T13:51:39 even from turn one there should be enough information to make some guesses about things you haven't seen yet 2011-10-22T13:52:21 this is the aspect of the game that i'm focusing on first. i'm working on making reasonable predictions about what i can't see 2011-10-22T13:52:30 yeah that's what I'm on too 2011-10-22T13:52:40 I've done a-star algorithms in the past, easy peasy. 2011-10-22T13:52:54 but I always am a God that knows everything that is going on in the map (my algorithm is), interesting. 2011-10-22T13:53:25 Q: you ARE allowed map-coordinates for the squares you are on, right? 2011-10-22T13:53:39 *** paulwal has quit IRC (Ping timeout: 265 seconds) 2011-10-22T13:53:54 yeah row col 2011-10-22T13:53:55 awesome. 2011-10-22T13:54:02 this thing is pretty awesome 2011-10-22T13:54:03 sure you know where your ants are, if that's what you mean 2011-10-22T13:54:20 right e.g. if the map is 20x20 and I'm on 19x19 I'm going to head north 2011-10-22T13:54:24 at the very beginning northwest 2011-10-22T13:54:40 *** Arukim has joined #aichallenge 2011-10-22T13:55:21 not really much point 2011-10-22T13:55:24 the map wraps 2011-10-22T13:55:32 oh 2011-10-22T13:55:40 so where you spawn won't impact the direction you're going 2011-10-22T13:55:41 roflmao: if you head south your ant will appear on the north side :) 2011-10-22T13:57:53 a1k0n: Hi. Can you give me a link to your profile on aichallenge.com? 2011-10-22T13:58:19 hehehe, i just realized my coworker shut down the server at our work during holiday last week and didn't restart it afterwards. i bet someone's gonna call me first thing on monday morning :P 2011-10-22T13:58:43 http://aichallenge.org/profile.php?user=432 2011-10-22T13:58:43 call in sick :P 2011-10-22T13:59:14 ty 2011-10-22T13:59:17 (i imagine you can't see my compiler error?) 2011-10-22T13:59:30 *** Guest50088 has quit IRC (Quit: Page closed) 2011-10-22T13:59:48 ash0d, oh, i work remotely 2011-10-22T14:00:09 no, I can't. You are lucker :D 2011-10-22T14:00:14 ash0d: your server keeps matching us together.. is nobody else playing? 2011-10-22T14:00:25 *** Heron has quit IRC (Ping timeout: 265 seconds) 2011-10-22T14:00:26 <_flag> a1k0n: Try ants.fluxid.pl 2011-10-22T14:00:40 *** djr_ has joined #aichallenge 2011-10-22T14:01:00 there are 2011-10-22T14:01:06 you're just unlucky I guess 2011-10-22T14:01:47 ash0d, i don't mind them calling me at 21:00 on a sunday, which they sometimes do. but they're gonna call me at 8:00 on a monday morning, how inhumane is that? :D 2011-10-22T14:02:05 :) I hear you 2011-10-22T14:03:32 *** UncleVasya has quit IRC (Read error: Connection reset by peer) 2011-10-22T14:04:10 ash0d, errr... what's the "Last Seen" column doing? you updated the server clock at some point or something? :P 2011-10-22T14:04:16 *** irchs has joined #aichallenge 2011-10-22T14:04:32 heh i'm playing on a map on ants.fluxid.pl where one of the hills is stuck in water 2011-10-22T14:05:07 Alexer, I have no idea what my server is doing :) 2011-10-22T14:05:51 a1k0n: that might have been my bad 2011-10-22T14:06:15 ash0d, btw, your bot is apparently better on maps with more players, if you compare rankings on fluxid's server and yours 2011-10-22T14:06:32 yes, I noticed 2011-10-22T14:07:05 Alexer, i think it's the last time you joined a game there 2011-10-22T14:07:21 http://ants.fluxid.pl/replay.425 2011-10-22T14:07:21 *** cirno_the_greate has joined #aichallenge 2011-10-22T14:08:21 g0llum, if you look at the newest times under "Games" and compare to the "Last seen" times of the top 2 players, you notice the "Last seen" times for those two are in the future 2011-10-22T14:08:39 timezones ;) 2011-10-22T14:08:53 :-) 2011-10-22T14:09:04 *** Palmik has joined #aichallenge 2011-10-22T14:09:22 but it works, if you just need to compare it 2011-10-22T14:10:34 *** Macuyiko has quit IRC (Read error: Connection reset by peer) 2011-10-22T14:10:52 *** xathis has quit IRC (Quit: Page closed) 2011-10-22T14:10:54 *** Macuyiko has joined #aichallenge 2011-10-22T14:11:44 *** he_the_great has joined #aichallenge 2011-10-22T14:12:19 ashod, where are you hosted ? 2011-10-22T14:12:53 *** kaka_ has joined #aichallenge 2011-10-22T14:13:18 in the US 2011-10-22T14:14:08 ah almost on the opposite side of Fluxit ;) 2011-10-22T14:14:14 oh my god my bot is stupid 2011-10-22T14:14:34 a1k0n: not so bad as mine 2011-10-22T14:14:38 ;p 2011-10-22T14:14:40 yup, that's part of the point 2011-10-22T14:15:17 *** anoek has joined #aichallenge 2011-10-22T14:15:45 a1k0n, it's 3rd on ash0d's server >:P 2011-10-22T14:15:55 yeah cuz all it does is play against ash0d 2011-10-22T14:16:03 not really a fair ranking 2011-10-22T14:16:15 *** mleise has quit IRC (Quit: Leaving.) 2011-10-22T14:16:32 a1k0n, hehe :D 2011-10-22T14:16:37 ah0d, Fluxit, btw thanks for hosting that ! 2011-10-22T14:17:21 there's no error/input/output logs available for recently played games is there? 2011-10-22T14:17:45 you can watch replays 2011-10-22T14:17:51 i've got a bot that's working great here, but is not moving or doing crap in the live site 2011-10-22T14:18:01 g0llum, you're welcome, enjoy :) 2011-10-22T14:18:15 ;) 2011-10-22T14:18:21 *** bobbydroptable_ has quit IRC (Quit: Page closed) 2011-10-22T14:18:57 does the python starterpack keep track of the last time each square was seen? 2011-10-22T14:18:58 Oh there is, recreate bot input.. dur 2011-10-22T14:19:10 cuz the C++ one doesn't but has some comments to the effect that it does 2011-10-22T14:19:24 *** Saulzar has quit IRC (Ping timeout: 258 seconds) 2011-10-22T14:19:47 *** bAnt has joined #aichallenge 2011-10-22T14:21:07 *** bAnt is now known as b4Ant 2011-10-22T14:21:51 *** KennyS has quit IRC () 2011-10-22T14:22:02 ash0d, ....okay, a1k0n has 11 games all played against just you o.O 2011-10-22T14:22:28 *** guily has joined #aichallenge 2011-10-22T14:22:42 hi 2011-10-22T14:22:53 a1k0n, I'm not playing now, you should get other players 2011-10-22T14:23:14 does anyone know what might be the problem in tutorial 2 - my ants are not moving at all, although i did everything as described 2011-10-22T14:23:34 *** moai has quit IRC (Read error: Connection reset by peer) 2011-10-22T14:23:47 guily already checked your command line for errors? 2011-10-22T14:24:06 no errors, everything runs fine 2011-10-22T14:24:12 *** moai has joined #aichallenge 2011-10-22T14:24:13 only problem is my ants do nothing ;) 2011-10-22T14:24:26 after tutorial 1 everything works, the two ants move 2011-10-22T14:24:27 @later tell janzert I know what the matchup issue is, but I can't spend any time on it until late tonight. Let's just keep 1 worker crawling until then 2011-10-22T14:24:27 McLeopold: Yep. 2011-10-22T14:24:36 but after the second part (search for food), they dont move 2011-10-22T14:24:46 hm i havent done tutorial 2 yet 2011-10-22T14:24:53 guily: check your bot output file 2011-10-22T14:24:58 wtf 2011-10-22T14:25:09 guily: add "-I -O -E" to the tutorial.sh command 2011-10-22T14:25:09 skyramp sets up this awesome defense around his hill perimeter 2011-10-22T14:25:16 and obligatoryshampoo takes the whole thing out with three ants 2011-10-22T14:25:17 where do i find a bot output file? 2011-10-22T14:25:18 a1k0n: link? 2011-10-22T14:25:25 okay thx 2011-10-22T14:25:37 http://ants.fluxid.pl/replay.444 turn 516, lower right 2011-10-22T14:25:43 guily: in game_logs, it's one of the commandline parameteres 2011-10-22T14:25:44 *** bloop has joined #aichallenge 2011-10-22T14:26:38 *** frosty has quit IRC (Quit: Page closed) 2011-10-22T14:27:02 McLeopold, it seems to produce turns "# turn 1 o 14 19 w # turn 2 o 14 18 e" 2011-10-22T14:27:13 awesome defense? he gets owned, that's not an awesome defense 2011-10-22T14:27:20 yeah, my bots lack some micro.. 2011-10-22T14:27:43 not tactically, but the fact that he lines up all those ants in order to defend 2011-10-22T14:27:43 blargh 2011-10-22T14:27:49 no scheme support 2011-10-22T14:27:50 ._. 2011-10-22T14:27:55 lol 2011-10-22T14:27:58 but yeah it doesn't work at all 2011-10-22T14:27:59 nice try though 2011-10-22T14:28:19 when does the contest END ? 2011-10-22T14:28:28 cause, i'm so slow, i still havent managed to gather food 2011-10-22T14:28:52 it seems like it thinks it is the opponent judging from the moves it generates? 2011-10-22T14:29:38 a1k0n, are you playing against anyone on ash0d's server? 2011-10-22T14:29:46 atm 2011-10-22T14:29:56 or does it just say "connected"? 2011-10-22T14:30:32 i am playing 2011-10-22T14:30:38 dunno who 2011-10-22T14:30:42 yay :) 2011-10-22T14:30:53 heh this is a small map. my moves take 12ms 2011-10-22T14:30:56 when is the end date of the challenge? i can't find it anywhere 2011-10-22T14:31:26 December 18th 2011-10-22T14:31:28 iirc 2011-10-22T14:32:03 i'll be happy to grab that $ 50k prize as a new years present 2011-10-22T14:32:41 a1k0n, hehe, now i'm playing against you :) 2011-10-22T14:33:09 *** skunx has joined #aichallenge 2011-10-22T14:33:13 i see that. i apparently zerg rushed you 2011-10-22T14:33:15 aaaaaand it was a short game in your favour :d 2011-10-22T14:33:22 *** theskumar has joined #aichallenge 2011-10-22T14:33:58 hey do you guys have any advice for how to implement part 2 of the tutorial in Java? 2011-10-22T14:35:26 has anyone done tutorial 2 in python? 2011-10-22T14:35:53 *** nightmare has quit IRC (Quit: Page closed) 2011-10-22T14:36:22 i timed out?! 2011-10-22T14:36:34 time taken: 21.049ms 2011-10-22T14:36:48 stupid internet 2011-10-22T14:38:38 *** dom7b5 has joined #aichallenge 2011-10-22T14:39:54 ash0d, how many players does the server need to use maps with more players? 2011-10-22T14:40:06 *** Larose has joined #aichallenge 2011-10-22T14:40:21 *** g0llum has quit IRC (Read error: Connection reset by peer) 2011-10-22T14:41:09 no idea, but I guess if some are already playing, it's pairing the ready ones, not waiting until they all finish 2011-10-22T14:41:38 i'm stuck on your server now. keeps saying i'm queued for game 212 2011-10-22T14:41:54 oh there it goes 2011-10-22T14:45:17 *** Astrogat has joined #aichallenge 2011-10-22T14:45:24 haha, i just noticed something 2011-10-22T14:45:24 *** roflmao has quit IRC (Read error: Connection reset by peer) 2011-10-22T14:45:35 *** roflmao has joined #aichallenge 2011-10-22T14:45:48 some tool has failed to shutdown one of my bots 2011-10-22T14:46:12 which has apparently been running for something like 4 hours straight with 100% cpu utilization 2011-10-22T14:47:01 *** levis501 has joined #aichallenge 2011-10-22T14:47:09 also, it's apparently using something like 10GB of memory atm 2011-10-22T14:47:16 no idea how that happened 2011-10-22T14:48:21 > 10GB 2011-10-22T14:48:25 * cirno_the_greate jealous 2011-10-22T14:49:02 *** Saulzar has joined #aichallenge 2011-10-22T14:49:03 cirno_the_greate, memory is cheap nowadays, so i took 16GB when i bought a new comp :P 2011-10-22T14:49:22 *** djr_ has quit IRC (Read error: Connection reset by peer) 2011-10-22T14:49:22 Alexer: yep, i know 2011-10-22T14:49:25 Whew. Finally got that genetic algorithm running. 2011-10-22T14:49:31 Anyone else using a self-improving bot? =) 2011-10-22T14:49:41 i think the whole comp cost something like 300e :D 2011-10-22T14:49:42 *** djr_ has joined #aichallenge 2011-10-22T14:49:47 24GB <3 2011-10-22T14:49:49 when i bought my comp the most expensive piece was 1gb memory plank 2011-10-22T14:49:50 Do you know which version of gcc is installed on the server? 2011-10-22T14:49:52 *** g0llum has joined #aichallenge 2011-10-22T14:50:00 it cost like 16gb today 2011-10-22T14:50:01 or more 2011-10-22T14:50:03 :S 2011-10-22T14:50:46 cirno_the_greate, yeah, it's "fun" to look at receipts of older computers :D 2011-10-22T14:51:39 *** pedrosorio has quit IRC (Ping timeout: 265 seconds) 2011-10-22T14:51:40 *** roflmao has quit IRC (Read error: Connection reset by peer) 2011-10-22T14:51:53 *** roflmao has joined #aichallenge 2011-10-22T14:51:54 *** bloop has quit IRC (Quit: Page closed) 2011-10-22T14:52:03 *** OrangeXP has joined #aichallenge 2011-10-22T14:52:15 hey guys, what is the best way to output debug information in python? 2011-10-22T14:52:22 using print does not seem to work 2011-10-22T14:52:35 guily: output debug info to stderr 2011-10-22T14:52:44 and launch playgame.py with -E option 2011-10-22T14:52:54 than take a look at game_logs folder 2011-10-22T14:53:20 with -eE it prints errors straight to the console 2011-10-22T14:53:30 with something like print >> stderr 2011-10-22T14:53:39 ? 2011-10-22T14:53:45 guily, yep, print >>sys.stderr, "stuff" 2011-10-22T14:53:53 *** anoek has left #aichallenge ("Leaving") 2011-10-22T14:53:53 okay thx, ill try that 2011-10-22T14:54:43 *** roflmao1 has joined #aichallenge 2011-10-22T14:54:44 *** roflmao has quit IRC (Read error: Connection reset by peer) 2011-10-22T14:54:53 *** djr_ has quit IRC (Ping timeout: 276 seconds) 2011-10-22T14:54:58 *** ryand has joined #aichallenge 2011-10-22T14:55:14 hmm, so i tried, but the 0.bot0.error file is empty 2011-10-22T14:56:04 *** bitbrit has joined #aichallenge 2011-10-22T14:56:26 any ideas? 2011-10-22T14:57:19 DataWraith: depends what you mean by self improving 2011-10-22T14:57:21 guily, i think, you 've got to say playgame.py -e o -E for that 2011-10-22T14:57:27 *** twymer has joined #aichallenge 2011-10-22T14:57:58 *** djr_ has joined #aichallenge 2011-10-22T14:58:10 DataWraith: my bot does in some sense evolve as the game progresses, but i wouldn't say that it's quite the same as "learning" as the game progresses 2011-10-22T14:58:23 *** Harpyon has joined #aichallenge 2011-10-22T14:59:20 DataWraith: it uses a little evolutionary algorithm to tune some parameters to the map, basically 2011-10-22T14:59:23 *** ryand has quit IRC (Ping timeout: 265 seconds) 2011-10-22T14:59:34 @g0llum -e o -E returned an error: need 2 bots, but got 3. I tried -e -o -E but the file is still empty 2011-10-22T14:59:35 guily: Run as fast as you can and don't look back. 2011-10-22T14:59:54 @contestbot :D yeah, that helped 2011-10-22T14:59:55 guily: Run as fast as you can and don't look back. 2011-10-22T15:00:13 GreenTea is still at the top with version 1 :P 2011-10-22T15:00:15 guily: @ triggers contestbot. looks like a malformed command or something 2011-10-22T15:00:39 guily, "this is irc, not twitter" ;) 2011-10-22T15:01:09 cyphase, with current game rate it can be forever) 2011-10-22T15:01:10 though usually bot commands are prefixed with '!' too.... 2011-10-22T15:01:22 !test 2011-10-22T15:01:24 whoops, sry 2011-10-22T15:01:25 *** n4nd0 has quit IRC (Ping timeout: 240 seconds) 2011-10-22T15:01:25 @test 2011-10-22T15:01:26 jmcarthur: I do not know about 'test', but I do know about these similar topics: 'scheduler_test' 2011-10-22T15:01:35 *** bb__ has joined #aichallenge 2011-10-22T15:01:35 *** Cowbandit has joined #aichallenge 2011-10-22T15:01:45 guily, of course, you need that other params, too 2011-10-22T15:01:49 *** bb__ has quit IRC (Client Quit) 2011-10-22T15:02:08 jmcarthur, i just meant that '!' is more often used than '@' from what i've seen 2011-10-22T15:02:09 like a map, playercmds, etc 2011-10-22T15:02:29 yeah i gotcha. i was just seeing if ! worked at all 2011-10-22T15:02:36 some bots support a few different ways 2011-10-22T15:02:46 this is my call python tools/playgame.py "python MyBot.py" "python tools/sample_bots/python/HunterBot.py" --map_file tools/maps/example/tutorial1.map --log_dir game_logs --turns 60 --scenario --food none --player_seed 7 --verbose -e o -E -I -O 2011-10-22T15:03:08 it runs, but I do not get errors to the log file 2011-10-22T15:03:41 guily, still lacking -m 'map' and the list of players 2011-10-22T15:04:19 this is from the tutorial 2011-10-22T15:04:19 guily, nothing to apologize :D fyi, some irc clients don't hilight when the line does not start with the nick, so in that sense not having '@' at the start is better, but otherwise it's just a matter of opinion 2011-10-22T15:04:25 phew 2011-10-22T15:04:29 the map is specified in --map_file isn't it? 2011-10-22T15:04:29 first real submission 2011-10-22T15:04:45 it's got some silly problems, but it's a lot better than the starter pack 2011-10-22T15:04:48 go go ant power 2011-10-22T15:05:09 looking forward to seeing it in real world battles too 2011-10-22T15:07:00 jmcarthur: Heh, I implemented a silly rule-system and am using a genetic algorithm to evolve rules for my ants to follow 2011-10-22T15:07:22 ah neat 2011-10-22T15:07:50 No, NEAT is too advanced for me. XD 2011-10-22T15:08:16 (sorry. NEAT evolver neural networks) 2011-10-22T15:08:29 *evolves 2011-10-22T15:10:33 anyway, cool ;) 2011-10-22T15:10:55 ^^ 2011-10-22T15:12:23 McLeopold: sounds good I don't have any time for a few hours probably either 2011-10-22T15:15:34 *** Saulzar has quit IRC (Ping timeout: 256 seconds) 2011-10-22T15:16:12 i think i do not get debug information, because i am running on a windows machine. Does anyone know how to get debug info from python on windows? 2011-10-22T15:16:17 *** nullkuhl has joined #aichallenge 2011-10-22T15:16:38 *** nullkuhl has joined #aichallenge 2011-10-22T15:16:54 hey, is last year ranking available anywhere ? 2011-10-22T15:19:05 *** Cowbandit_ has joined #aichallenge 2011-10-22T15:19:13 McLeopold: i added an extra page for the specs stuff in the github wiki 2011-10-22T15:19:22 how do i make sure that gets put on the site? 2011-10-22T15:19:35 it explains the process of harvesting food after battle resolution and before ant spawning 2011-10-22T15:20:13 you're welcome to /s/harvesting/something else that just seemed like a good word 2011-10-22T15:20:13 *** Astronautg117 has joined #aichallenge 2011-10-22T15:20:29 rofl 2011-10-22T15:20:32 Hey, I was wondering if someone could help me with login problems? 2011-10-22T15:21:04 *** Cowbandit has quit IRC (Quit: Page closed) 2011-10-22T15:21:15 my pathfinding "works", my ant promptly avoids every food ever despite walking right by several, and then gets stuck in a corner 2011-10-22T15:21:25 http://aichallenge.org/visualizer.php?game=2571&user=4 2011-10-22T15:21:28 way to go, ant 2011-10-22T15:22:32 lol 2011-10-22T15:22:36 @later tell McLeopold on the github wiki there is a page called "Ants food harvesting" which needs to go between cutoff rules and ant spawning on the specs page, how do I make that happen? Or could you... 2011-10-22T15:22:36 antimatroid: OK 2011-10-22T15:22:48 AndrewBC: Well, at least it's already in the corner, properly ashamed 2011-10-22T15:22:53 :P 2011-10-22T15:22:53 haha 2011-10-22T15:22:54 *** sorki has joined #aichallenge 2011-10-22T15:22:58 right? :P 2011-10-22T15:23:19 that's awesome 2011-10-22T15:23:19 *** nack has joined #aichallenge 2011-10-22T15:23:29 *** Astronautg117 has quit IRC (Client Quit) 2011-10-22T15:23:33 the pathfinding itself looks really good until it gets stuck 2011-10-22T15:23:39 Can an admin help me with a password reset? 2011-10-22T15:23:45 how is it determining a target? 2011-10-22T15:24:29 well it only picks food if it happens to see one in the beginning right now, otherwise it picks a randium place on its view radius and A*s to that 2011-10-22T15:24:38 *** thestinger has joined #aichallenge 2011-10-22T15:24:47 I need to have it reconsider food on every step, or at least when it reaches its destination 2011-10-22T15:25:24 ah 2011-10-22T15:25:31 I thought it'd be cute to introduce some jitter to the A* path, but obviously that means it misses food destination 2011-10-22T15:25:31 Hm. Maybe add food to the target-list whenever the server sends you the position? 2011-10-22T15:25:38 maybe that's why it's walking right by them 2011-10-22T15:25:46 *** olexs has joined #aichallenge 2011-10-22T15:26:00 *** cyphase has quit IRC (Ping timeout: 240 seconds) 2011-10-22T15:26:16 anyway, almost done with the forager behavior once I get this working :D 2011-10-22T15:26:32 *** EspenG has quit IRC (Read error: Connection reset by peer) 2011-10-22T15:26:47 AndrewBC: what's the purpose of the jitter 2011-10-22T15:27:19 ability to avoid my other ants 2011-10-22T15:27:25 which uh ... :D 2011-10-22T15:27:57 Any contest organizers or admins on? 2011-10-22T15:28:05 yeah I should just take that out since I can always analyze other ants' move_queues 2011-10-22T15:28:29 I just added a field to my map structure that says if an ant wants to go there already. 2011-10-22T15:29:00 I have a centralized movement mapping, but it assumes that ants allways move :/ 2011-10-22T15:29:06 I only store long shot destinations in the map, interim collisions would still be possible 2011-10-22T15:29:20 Hmyeah. 2011-10-22T15:29:26 _flag, not everyting is perfect ^^ http://ants.fluxid.pl/replay.566 2011-10-22T15:29:27 Didn't think about that, since my ants only use local information. 2011-10-22T15:29:50 *** Lokysan has joined #aichallenge 2011-10-22T15:30:25 <_flag> GreenTea: Yeah, I saw that game :( 2011-10-22T15:30:35 *** cyphase has joined #aichallenge 2011-10-22T15:30:39 <_flag> It's because my bot refuses to attack if it thinks it might take losses 2011-10-22T15:31:04 <_flag> But you're doing the same thing 2011-10-22T15:31:07 you need kamikaze ants 2011-10-22T15:31:10 <_flag> So I need to just rush you 2011-10-22T15:31:11 <_flag> Yup 2011-10-22T15:31:12 *** kaka has joined #aichallenge 2011-10-22T15:31:26 why there are no tools in starter packages? 2011-10-22T15:31:26 <_flag> A lot of that code is leftover from the beta contest 2011-10-22T15:31:27 GreenTea: you're really taking advantage of choke points thar 2011-10-22T15:31:29 <_flag> Which had no hills 2011-10-22T15:31:37 sorki, the tools are in a separate package 2011-10-22T15:31:47 cyphase: can you point me to the right place? 2011-10-22T15:31:55 sorki, one sec 2011-10-22T15:32:18 cyphase: text on http://ai-contest.com/starter_packages.php isn't correct 2011-10-22T15:33:11 *** choas has quit IRC (Ping timeout: 252 seconds) 2011-10-22T15:33:42 sorki, http://ai-contest.com/using_the_tools.php 2011-10-22T15:33:56 *** joed_ has joined #aichallenge 2011-10-22T15:34:13 AndrewBC, were you referencing a particular game? 2011-10-22T15:34:18 Hey, does anybody have a haskell starter package modified to incorporate Hills? 2011-10-22T15:34:24 cyphase: thank you 2011-10-22T15:34:30 cyphase: yeah, the one GreenTea linked 2011-10-22T15:34:32 sorki, sure 2011-10-22T15:34:45 AndrewBC, could you link it again, i just came back on 2011-10-22T15:34:50 oh you joined after. this one:14:29:26 < GreenTea> _flag, not everyting is perfect ^^ http://ants.fluxid.pl/replay.566 2011-10-22T15:34:55 thanks :) 2011-10-22T15:35:00 yar 2011-10-22T15:35:08 Not sure if anyone has already suggested it, but it would be cool if on a turn a bot could output the map each square with a color. This in turn could be displayed on the visualization tool so we could see what bots think of the world on each step 2011-10-22T15:35:11 *** Accoun has quit IRC () 2011-10-22T15:35:33 icefox: gonna emulate real ants? ;p 2011-10-22T15:35:51 *** Ashoka has quit IRC (Quit: Page closed) 2011-10-22T15:36:33 AndrewBC: well on each turn I calculate various things and then choose to go to the N for example. It would be neat if the visualization tool would let me see that say N was red hot because the enemy hill was that way and S was light red 2011-10-22T15:36:36 *** law_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T15:36:40 Order: Wave antennae wildly to distract the enemy 2011-10-22T15:37:01 icefox: yeah 2011-10-22T15:37:47 I wrote my own tool to show this, but I figure just about everyone will to and putting it in the visualizer is probably simpler 2011-10-22T15:38:32 *** itelichko has quit IRC (Ping timeout: 265 seconds) 2011-10-22T15:39:15 *** g0llum has quit IRC (Read error: Connection reset by peer) 2011-10-22T15:39:45 *** Antie has joined #aichallenge 2011-10-22T15:39:54 *** Antie has left #aichallenge 2011-10-22T15:40:49 *** swinejihad has joined #aichallenge 2011-10-22T15:44:35 *** jph00 has joined #aichallenge 2011-10-22T15:46:10 hi folks 2011-10-22T15:46:25 What's the average amount of games played per minute? Any reason for this to increase later? 2011-10-22T15:46:27 i submitted my 1st bot yesterday. just the c# starter package 2011-10-22T15:46:33 that was over 12 hours ago 2011-10-22T15:46:38 it still hasn't had a game! 2011-10-22T15:46:56 there seem to be a LOT of bots on the leaderboard with zero games right now 2011-10-22T15:47:24 *** mrbond has quit IRC (Quit: Page closed) 2011-10-22T15:48:13 might there be a bug that is causing new submissions to not get games? 2011-10-22T15:48:23 hmmm, I want to say something like "let N and {A_i: i \in N} be non-empty sets" but what i really mean is N and A_i are all non-empty, anyone got a nice way of stating that? 2011-10-22T15:48:28 oops wrong channel :P 2011-10-22T15:48:29 or am i doing something wrong? (profile shows it is ready to play) 2011-10-22T15:48:37 *** kaemo has joined #aichallenge 2011-10-22T15:49:26 hey, is last year ranking available anywhere ? 2011-10-22T15:49:52 antimatroid: oh you are here? how's the bbq :) 2011-10-22T15:50:10 ruser: yeah i've been here for a while but i'm thesising :P 2011-10-22T15:50:14 bbq was good but last night 2011-10-22T15:50:27 i wish i had sausages right now 2011-10-22T15:51:02 antimatroid: haha. what's wrong in saying for non-empy N and A_i let N be blah blah 2011-10-22T15:51:24 because i've only said that there exists at least one A_i, not that each A_i is non-empty 2011-10-22T15:51:43 ah 2011-10-22T15:53:08 *** dom7b5 has quit IRC (Quit: Page closed) 2011-10-22T15:53:19 oh nice someon posted tcp server 2011-10-22T15:53:24 GreenTea: thanks for the link 2011-10-22T15:53:55 *** Cowbandit_ has quit IRC (Quit: Page closed) 2011-10-22T15:54:01 are there going to be more workers at some point? 1 is extremely low for the amount of participants 2011-10-22T15:54:40 *** vortex_ has quit IRC (Quit: Page closed) 2011-10-22T15:54:49 *** dlila has quit IRC (Read error: Connection reset by peer) 2011-10-22T15:55:23 *** Lokysan has quit IRC (Quit: Page closed) 2011-10-22T15:55:56 antimatroid: man my gf is not letting me work on ants today :( and tomorrow i have a ful day of paintball :( 2011-10-22T15:56:04 *** dlila has joined #aichallenge 2011-10-22T15:56:10 haha, girlfriends 2011-10-22T15:56:22 * AndrewBC blows a raspberry at ruser 2011-10-22T15:56:36 ruser: you clearly have no idea what you're in for :P 2011-10-22T15:56:38 Airsoft > Paintball 2011-10-22T15:56:39 * ermau ducks 2011-10-22T15:56:47 give it two weeks and you'll be up all night like an addict 2011-10-22T15:56:50 olexs, IIRC there are 3 workers, but atm the matchmaking has a bug which is currently avoided by only running one of the workers, apparently they know what the problem is, and it'll be fixed later today 2011-10-22T15:56:55 or something 2011-10-22T15:57:19 *** law_ has joined #aichallenge 2011-10-22T15:57:21 okay... it's been one worker only for quite a while now, I hope they fix whatever it is soon 2011-10-22T15:57:41 *** skyramp has quit IRC (Quit: Page closed) 2011-10-22T15:57:56 ermau: paintball has a lot more people interested in it and can get huge battles going like 1000vs 1000 people 2011-10-22T15:58:28 pretty good launch so far, I'm sure they'll fix it soon 2011-10-22T15:58:36 we still have like 2 months left, hurr 2011-10-22T15:58:46 1000vs1000 paintball? omg 2011-10-22T15:58:53 cyphase: yep over several days 2011-10-22T15:58:54 1000 v 1000 is stupid. 2011-10-22T15:59:02 *** EspenG has joined #aichallenge 2011-10-22T15:59:13 *** Accoun has joined #aichallenge 2011-10-22T15:59:16 ermau: nah, not really. :) if you enjoy war sims :) 2011-10-22T15:59:24 massacre 2011-10-22T15:59:27 o_O 2011-10-22T15:59:38 Well, WW2 war sims maybe 2011-10-22T15:59:46 ermau: zerg rush! :) 2011-10-22T15:59:48 arrrrgh my ants made a suicide pact 2011-10-22T15:59:53 *** jph00 has quit IRC (Quit: Page closed) 2011-10-22T15:59:56 *** Regis has joined #aichallenge 2011-10-22T16:00:01 *** hello has joined #aichallenge 2011-10-22T16:00:02 The other point is that airsoft has no problem getting those kinds of numbers either so, that is kinda a moot point. 2011-10-22T16:00:09 *** venatiodecorus has joined #aichallenge 2011-10-22T16:00:13 *** hello has quit IRC (Client Quit) 2011-10-22T16:00:14 olexs, well, the "i know what the bug is" -message was just 1.5h ago 2011-10-22T16:00:37 ermau: fair enough. i'm just a casual player 2011-10-22T16:01:00 *** lrh9 has joined #aichallenge 2011-10-22T16:01:01 ruser: I'm a casual airsoft player who wishes he was more hardcore 2011-10-22T16:01:14 Hello all, I am using the C++ starter package which I built with g++ on windows, but when I try to test it with test_bot.cmd I get an error; IOError: [Errno 12] Not enough space. Does anyone have any idea what is up with that? 2011-10-22T16:01:18 *** Redgis has quit IRC (Ping timeout: 244 seconds) 2011-10-22T16:01:26 ermau: you gotta pick your own battles 2011-10-22T16:01:30 ermau: so yeah 2011-10-22T16:01:34 ruser: Need more time and this isn't the greatest area for it, more popular going north. 2011-10-22T16:01:51 ruser: Well, I have a couple grand invested, just ^ 2011-10-22T16:02:04 venatiodecorus, is your disk full? That'd be the most obvious reason for an IOError like that 2011-10-22T16:02:04 venatiodecorus, you've run out of disk space? 2011-10-22T16:02:14 ermau: lol. in that case i wont' call you casual :) 2011-10-22T16:02:21 i have plenty of disk space 2011-10-22T16:02:40 ruser: http://ermau.com/airsoft/both1.jpg <- about $1500 right there 2011-10-22T16:03:35 these folders are under my user folder, so it's like C:\Users\tony\Dev\GoogleAI\ and that is where my tools and source are. i have found user folder permissiosn to be funky on windows sometimes, could that have something to do with it maybe? 2011-10-22T16:04:38 *** swinejihad has quit IRC (Ping timeout: 265 seconds) 2011-10-22T16:05:38 *** guily has quit IRC (Quit: Page closed) 2011-10-22T16:06:15 no i moved it to a folder in c:\ and that didn't help 2011-10-22T16:06:41 the captcha on the forums is broken too it seems so i can't register >.> 2011-10-22T16:07:43 *** ajf|offline is now known as ajf 2011-10-22T16:08:20 *** djr_ has quit IRC (Ping timeout: 276 seconds) 2011-10-22T16:08:48 *** krishna has joined #aichallenge 2011-10-22T16:09:44 *** rockzombie2 has joined #aichallenge 2011-10-22T16:09:55 *** GreenTea has quit IRC (Quit: Page closed) 2011-10-22T16:10:24 venatiodecorus, what windows and python versions ? 2011-10-22T16:10:42 *** andy2011 has quit IRC (Quit: Page closed) 2011-10-22T16:10:56 ash0d, win7 sp1 and python27 2011-10-22T16:11:36 Does the play_one_game_live script work? 2011-10-22T16:11:57 yes 2011-10-22T16:12:10 with default parameters 2011-10-22T16:12:13 Woah there's lots of people in here. 2011-10-22T16:12:20 boo 2011-10-22T16:12:27 i've only tried to load my bot into test_bot 2011-10-22T16:12:33 but my bot is just the compiled starter kit so far 2011-10-22T16:12:53 hey has anybody else tried to upload their code and gotten the error: Test Error: compiled, but failed test cases 2011-10-22T16:13:16 my code works when I test it 2011-10-22T16:13:25 *** UncleVasya has joined #aichallenge 2011-10-22T16:13:36 If you are finding that some of the testing tools suck, please consider making better ones. We generally release whatever tools at the beginning, but the contestants always end up making better ones. 2011-10-22T16:14:23 venatiodecorus, so play_one_game_live works, but test_bot doesn't 2011-10-22T16:14:24 ? 2011-10-22T16:15:38 i haven't run play_one with my bot yet 2011-10-22T16:15:51 sorry, how do i include my bot? 2011-10-22T16:15:57 so.. what are the cases in which you might fail a test case? 2011-10-22T16:16:01 is there a command line for play_one or do i have to edit the file? 2011-10-22T16:16:16 for test_bot you need to add it as an argument to the command-line 2011-10-22T16:16:26 for play_one edit the file 2011-10-22T16:17:06 *** Nakyuant has joined #aichallenge 2011-10-22T16:18:35 ermau: sorry my ISP called some weird stuff is happeneing on my line within specific time frame. anyhow, that's cool. Can't tell waht's that replica on top? 2011-10-22T16:18:43 We have TCP Servers for live games: http://ants.fluxid.pl/howto and http://ash.webfactional.com/howto to connect. 2011-10-22T16:18:59 does anybody know what causes your bot to fail a test case? 2011-10-22T16:19:00 ruser: M14 SOCOM 2011-10-22T16:19:01 *** ramaprasanna has joined #aichallenge 2011-10-22T16:19:11 *** mleise has joined #aichallenge 2011-10-22T16:19:12 hmm, ash0d it would appear that play_one works 2011-10-22T16:19:23 ermau: and whta scope is that, bottom one likes mike m16 with rds 2011-10-22T16:19:30 oh !! lot of folks joined the challenge already .. !! 2011-10-22T16:19:31 rockzombie2 look at the output, you should get a clue 2011-10-22T16:19:38 *** mleise has quit IRC (Client Quit) 2011-10-22T16:19:42 Here is the output if I try to run play_one_game_live.sh https://gist.github.com/1306440 2011-10-22T16:19:52 venatiodecorus, ok, now run test_bot and pass it your bot 2011-10-22T16:20:02 *** mleise has joined #aichallenge 2011-10-22T16:20:12 same error 2011-10-22T16:20:15 ruser: Bottom is a M4A1 with a RS. Top is a 1.5x-6x Mil Dot scope 2011-10-22T16:20:17 *** ebo has joined #aichallenge 2011-10-22T16:20:23 IOError: [Errno 12] Not enough space 2011-10-22T16:20:28 *** Mixailo has quit IRC (Quit: Page closed) 2011-10-22T16:20:31 *** dangoodman has joined #aichallenge 2011-10-22T16:20:33 ruser: Neither are for sure, they both work damn well. 2011-10-22T16:20:40 *** ebo is now known as ebo^ 2011-10-22T16:20:45 ruser: s/sure/show 2011-10-22T16:20:48 it's on two write calls, line 171 and line 26 in engine.py 2011-10-22T16:20:49 ermau: heh. well i knew it was m4 variant 2011-10-22T16:20:54 may be it's a permission issue... test_bot reads files from submission_test/ 2011-10-22T16:20:58 *** ramaprasanna has quit IRC (Client Quit) 2011-10-22T16:21:01 ruser: Oops. s/RS/RDS 2011-10-22T16:21:23 i got the same error when i moved everything to a folder in c:\ 2011-10-22T16:21:38 krishna: are you running that without X? as the visualizer needs X it would appear.. 2011-10-22T16:22:01 *** DataWraith has left #aichallenge 2011-10-22T16:22:03 ermau: why do you preferr airsoft over paintball? i mena is there a godo reason to get into it? :) 2011-10-22T16:22:04 *** DataWraith has joined #aichallenge 2011-10-22T16:22:08 *** avers_ has quit IRC (Ping timeout: 252 seconds) 2011-10-22T16:22:14 rockzombie2, what else does it say? timed out? 2011-10-22T16:22:26 *** avers_ has joined #aichallenge 2011-10-22T16:22:44 ruser: No mess to cleanup, honor system tends to attract a different crowd, realistic weapons, cheaper ammo. 2011-10-22T16:22:52 *** Acorn has joined #aichallenge 2011-10-22T16:23:10 ruser: The realistic replicas is probably the biggest draw for me. 2011-10-22T16:23:23 ermau: fair enough. but gear is all $$ :( 2011-10-22T16:23:33 ermau: what FPS does your m14 has? 2011-10-22T16:23:35 ruser: So is pro airsoft gear 2011-10-22T16:23:51 ruser: My two rifles are top of the line stuff, you can far cheaper 2011-10-22T16:24:20 welterde: X is definitely running. I just remembered I am using a window manager that is known to have issues with Java apps though. I'll see if switching that helps. 2011-10-22T16:24:27 ruser: Both are ~280FPS. They're both Tokyo Marui, which can't legally manufacturer anything faster in Japan. 2011-10-22T16:24:29 ermau: jpw 2011-10-22T16:24:35 ermau: ho's the realiability? 2011-10-22T16:24:40 ruser: Flawless. 2011-10-22T16:24:48 ermau: despite the plastic body? 2011-10-22T16:24:51 and guts? 2011-10-22T16:24:51 *** Regis is now known as Redgis 2011-10-22T16:25:16 ruser: The M4A1 is full metal. The M14 has some metal, the rest is some really hard plastic.. you'd be hard pressed to break it. 2011-10-22T16:25:43 ruser: I've fallen on it going full speed, it didn't care. 2011-10-22T16:25:52 Well 2011-10-22T16:25:59 seems writing my own parser for the spec was a bad idea 2011-10-22T16:26:07 I'm using the starter kit now and following the tutorial 2011-10-22T16:26:09 ermau: links where you got them? :) igotta check 'em out, i've been meaning to strat investing but not at the moment :))) 2011-10-22T16:26:10 ruser: The internals are just really well engineered, I've never had a jam on either rifle. 2011-10-22T16:26:29 ruser: But it's also, besides the fact that they're imported, the reason you pay a lot more for them 2011-10-22T16:26:37 ruser: Where are you at? 2011-10-22T16:26:54 ermau: i can get someone to ship me from japan if needed but i'm canada, so i might be looking for some markers here 2011-10-22T16:27:10 "markers" is paintball ;) 2011-10-22T16:27:24 ermau: fine :))) 2011-10-22T16:27:35 ermau: you airsoft guns, w/e is the lingo :) 2011-10-22T16:27:59 krishna: hmm.. usually those don't result in an headless-exception.. you only get that if java fails to connect to the x-server... perhaps you unset DISPLAY by mistake or something with authentication problem or so? 2011-10-22T16:28:00 ruser: I just call them rifles. If not for the orange tip, you wouldn't be able to tell. 2011-10-22T16:28:19 ruser: Here's the M14: http://www.airsoftatlanta.com/Tokyo_Marui_M14_SOCOM_AEG_airsoft_gun_p/87148.htm and the M4A1: http://www.airsoftatlanta.com/airsoft_Tokyo_Marui_SOPMOD_M4A1_RIS_AEG_p/17086.htm 2011-10-22T16:28:31 ruser: the RDS and scope were separate 2011-10-22T16:28:50 *** lrh9 has quit IRC (Quit: Leaving) 2011-10-22T16:29:14 *** cirno_the_greate has quit IRC (Ping timeout: 256 seconds) 2011-10-22T16:29:15 ermau: thanks i'll bookmark when i'll come back to that 2011-10-22T16:29:35 ruser: No clue what the canadian laws are like about it though 2011-10-22T16:29:52 ermau: you mean FPS wise? 2011-10-22T16:29:54 ruser: Something you should definitely look into. Some people frown on them due to the realism. 2011-10-22T16:29:59 ruser: Or their legality at all. 2011-10-22T16:30:10 ermau: due to the fact that they are replica? 2011-10-22T16:30:36 ruser: Right. Paintball guns are generally instantly recognizable. You wouldn't be able to tell my M4A1 isn't a real one just by looking at it. 2011-10-22T16:31:45 ermau: do you get a lot of "cheaters"? since there is no mark 2011-10-22T16:31:46 welterde: Turns out I only had the headless version of the jre installed. Not sure how that happened. Thanks for helping me think about the problem :) 2011-10-22T16:32:16 ermau: also if you hit their weapon, will they continue? 2011-10-22T16:32:40 ruser: Depends on the rules 2011-10-22T16:32:49 ruser: And it does happen, but not enough that I worry about it 2011-10-22T16:32:53 krishna: ok... that I didn't see coming... 2011-10-22T16:33:07 hey 2011-10-22T16:33:21 is there a copy somewhere of the starter kit for python with the tutorial code added? 2011-10-22T16:33:23 ermau: i think we hijacked the channel :) 2011-10-22T16:33:30 I've gone through it but I think I made some mistakes 2011-10-22T16:33:32 ruser: yeah, probably should have moved to pm 2011-10-22T16:33:48 ash0d: how do i get a game replay out of that? 2011-10-22T16:34:09 in the games just click on replay 2011-10-22T16:34:24 ah online i c oj 2011-10-22T16:34:33 *** Palmik has quit IRC (Remote host closed the connection) 2011-10-22T16:34:34 welterde: Well you got me to actually read/interpret the error message and poke around my system instead of blindly googling. 2011-10-22T16:35:13 :) 2011-10-22T16:35:29 *** delt0r_ has quit IRC (Ping timeout: 258 seconds) 2011-10-22T16:36:22 rockzombie2, well, apparently you aren't here right now, but since i'm probably going away for a while, i'll tell you anyway 2011-10-22T16:37:06 oh hi 2011-10-22T16:37:08 in case it says "turn 0 bot 0 timed out" or something like that under the "Test Error: compiled, but failed test cases" error 2011-10-22T16:37:19 ah, you're here after all 2011-10-22T16:37:23 does it say so? 2011-10-22T16:37:43 it says turn 1 bot 0 timed out 2011-10-22T16:37:49 meh freaking netbook isn't fast enough for this 2011-10-22T16:37:54 okay 2011-10-22T16:37:56 <_flag> Can someone running a tcp server not cut off matches at 150 turns for "food not being gathered" like this: http://ants.fluxid.pl/replay.751 2011-10-22T16:38:09 <_flag> Most of the servers are just running 1v1s now, so I keep getting a ton of draws 2011-10-22T16:38:17 rockzombie2, do you by any chance use sockets (for logging or something) :P 2011-10-22T16:38:29 hehe... i don't know what those are 2011-10-22T16:38:33 so probably not 2011-10-22T16:38:37 rockzombie2, good 2011-10-22T16:38:56 rockzombie2, have you tried running test_bot.sh/test_bot.cmd locally? 2011-10-22T16:39:23 yeah, i edited the play_one_game.cmd into run.cmd so i just call that and it tests my bot automatically 2011-10-22T16:39:30 it works when i test it on my laptop 2011-10-22T16:39:41 i mean its still a dumb ai but it works 2011-10-22T16:39:57 rockzombie2, but have you tried test_bot.cmd, since that's what the server apparently uses to test your bot 2011-10-22T16:40:07 that is, for example, "./test_bot.sh MyBot.py" 2011-10-22T16:40:13 no i should try that 2011-10-22T16:40:51 if that works, add "--turntime 500" to the start of the commandline 2011-10-22T16:41:07 since apparently the default is higher but the real servers use 500ms 2011-10-22T16:41:45 and if that works too, try with 100ms for good measure :P 2011-10-22T16:42:11 and if it still works, then i really have no idea 2011-10-22T16:42:46 why doesnt my bot run? it says ready to run, but players ahead changes randomly to numbers 0-10. it's been like that for hours 2011-10-22T16:42:51 in my case, i used sockets to log locally, and when i uploaded to the server, it obviously couldn't connect to my local socket and timed out 2011-10-22T16:43:20 yeah my test bot times out when i test it using test_bot.cmd 2011-10-22T16:46:08 _flag, what's a good cutoff? 2011-10-22T16:46:12 *** Arukim has quit IRC (Ping timeout: 265 seconds) 2011-10-22T16:46:56 ebo^ too many players, servers can't keep up 2011-10-22T16:47:14 shouldn#t that put me somewhere at the end of the queue? 2011-10-22T16:47:37 ebo^, it prioritizes new submissions? 2011-10-22T16:47:46 new uploads get ahead of the queue 2011-10-22T16:47:47 minus the question mark 2011-10-22T16:47:51 *** jtamer has joined #aichallenge 2011-10-22T16:48:02 *** delt0r_ has joined #aichallenge 2011-10-22T16:48:10 <_flag> ash0d: It's not really the cutoff, the cutoff is fine, it just doesn't realize it's a maze map so it doesn't understand why the food is being gathered so slowly 2011-10-22T16:48:12 so it puts new submission in front but does not run them? 2011-10-22T16:48:14 Anyone else getting a Not enough space error? 2011-10-22T16:48:36 *** jtamer_ has joined #aichallenge 2011-10-22T16:48:36 *** jtamer has quit IRC (Read error: Connection reset by peer) 2011-10-22T16:48:41 *** frosty has joined #aichallenge 2011-10-22T16:48:44 <_flag> So I'd change how the cutoff works, so for example less food needs to be gathered by 150 2011-10-22T16:48:54 ebo^, probably it put you in front, but then a new submission came before it could run yours :P 2011-10-22T16:48:58 _flag, that's the point of the cutoff, if 150 turns pass without food being gathered it ends the game 2011-10-22T16:49:06 so how many turns is good, you think? 2011-10-22T16:49:07 <_flag> But food is gathered 2011-10-22T16:49:12 <_flag> Just less than it expects 2011-10-22T16:49:25 <_flag> So change the amount of food it expects for a certain amount of turns 2011-10-22T16:49:28 <_flag> Not the cutoff 2011-10-22T16:50:29 I think the expected number is 0. but without reading the code I couldn't know for certain 2011-10-22T16:50:44 if 0 food is gathered in cutoff turns (default 150), game ends. 2011-10-22T16:50:55 <_flag> It can't be 0 because I collect more than 0 every time and it still cuts me off 2011-10-22T16:51:00 make roving farmers 2011-10-22T16:51:18 make be other player(s) don't gather? 2011-10-22T16:51:28 optimize your food gathering coverage to use as few ants as effectively as possible while still staying above the cutoff 2011-10-22T16:51:33 <_flag> Look at the game I linked you 2011-10-22T16:51:42 <_flag> The other player did gather; they both gathered 2011-10-22T16:51:50 <_flag> The game still cut us off 2011-10-22T16:51:53 aichallenge: Marco Leise * r643f753 / (5 files in 3 dirs): Detect Firefox 7 + Windows bug (shadow + clipping = cut off button image) - http://git.io/15MsrQ 2011-10-22T16:51:56 ok, for the record i got my problem fixed 2011-10-22T16:52:12 *** jtamer_ has quit IRC (Client Quit) 2011-10-22T16:52:23 rockzombie2, yay 2011-10-22T16:52:29 :D 2011-10-22T16:52:51 _flag: orange didn't explore, you explored too much 2011-10-22T16:52:56 basically as my default direction, i had a while loop to keep checking random directions until one of them worked 2011-10-22T16:53:05 well, blue 2011-10-22T16:53:08 I dunno if that's you 2011-10-22T16:53:09 and i guess it made it time out 2011-10-22T16:53:12 not sure why I assumed 2011-10-22T16:53:14 _flag, right, something is wrong 2011-10-22T16:53:26 I just tried building the C# sample and i got the same error. so it must be something having to do with my python config 2011-10-22T16:53:26 <_flag> AndrewBC: How can you "explore too much" 2011-10-22T16:53:33 *** theskumar has quit IRC (Quit: Page closed) 2011-10-22T16:53:42 AndrewBC, but it says food not being gathered, which isn't true 2011-10-22T16:53:44 when food is spawned behind all your units and they're not there to pick it up quickly 2011-10-22T16:54:00 not enough food was being gathered, for the time passed 2011-10-22T16:54:07 <_flag> AndrewBC: That never happened 2011-10-22T16:54:08 orange failed completely, blue only a little bit 2011-10-22T16:54:21 am I looking at the same link you are? http://ants.fluxid.pl/replay.751 2011-10-22T16:54:21 <_flag> Food never spawned behind all my units 2011-10-22T16:54:42 <_flag> Yup 2011-10-22T16:54:51 yeah, there was one on the bottom left 2011-10-22T16:54:59 of the curve by your base 2011-10-22T16:55:01 @later tell amstan: I added detection for a Firefox bug. Could you update the tools.zip package? 2011-10-22T16:55:01 mleise: Ready to serve, my lord. 2011-10-22T16:55:14 approx turn 90 2011-10-22T16:55:17 <_flag> AndrewBC: That was out of vision 2011-10-22T16:55:26 AndrewBC, I don't think the engine keeps track of the geographic location of the food 2011-10-22T16:55:31 <_flag> Besides, the game would be stupid to cut off a bot because it missed one piece of food 2011-10-22T16:55:35 the engine just wants food 2011-10-22T16:55:35 it just counts gathered vs time 2011-10-22T16:56:09 I'm not saying not gathering -that- piece of food was a problem, just that not being able to gather it sooner contributed to the cutoff being reached 2011-10-22T16:56:16 it's a minor pedantic point to make :P 2011-10-22T16:56:17 ash0d, if you added a possibility of using -1 for the "rounds" parameter (for running continuously) and made that the default in the howto, it'd probably help the player shortage? >:P 2011-10-22T16:56:29 <_flag> Yes, but the cutoff is determined assuming there are no walls 2011-10-22T16:56:36 *** mawif has joined #aichallenge 2011-10-22T16:56:37 (but I make those points a lot, and don't mean anything negative by it) 2011-10-22T16:56:41 "If a game consists of bots that aren't capable of gathering food, then the game is cutoff. It is assumed that these are starter bots or very unsophisticated bots. If the total amount of food is 90% of the count of food and ants for 150 turns then the cutoff is invoked." 2011-10-22T16:56:59 *** mawif has quit IRC (Client Quit) 2011-10-22T16:57:01 <_flag> Yes, I could have gathered food slightly more optimally if I was omniscient, but that's not the point 2011-10-22T16:57:10 <_flag> AndrewBC: Okay, I understand :) 2011-10-22T16:57:17 mm, yeah, you know what, I agree with you that in this case the game shouldn't have been cut off 2011-10-22T16:57:31 Alexer, it might 2011-10-22T16:57:54 I can change the cuttoff to 200 2011-10-22T16:57:59 ash0d, i can do it too, if you think it's a good idea 2011-10-22T16:58:19 i've been meaning to try github >:P 2011-10-22T16:58:49 I still have to pull from you when you're done, then update the server 2011-10-22T16:59:16 yah 2011-10-22T16:59:20 i'll give it a try 2011-10-22T16:59:22 _flag, should I change the cuttoff to 200 or you think that's too artificial? 2011-10-22T16:59:31 Alexer, cool 2011-10-22T17:00:00 <_flag> Well next time I see a contest organizer I'll ask for a more permanent solution, but right now I think changing it to more if the map happens to be a maze map should work fine 2011-10-22T17:00:23 <_flag> Because that's the only type of map it'll happen on because they are so spaced out 2011-10-22T17:00:28 *** JTxt has joined #aichallenge 2011-10-22T17:00:52 *** pastiera has joined #aichallenge 2011-10-22T17:01:05 *** spect_ has joined #aichallenge 2011-10-22T17:01:36 the change is global, not per map 2011-10-22T17:02:38 *** ebo^ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T17:03:08 <_flag> Well then 300 should be fine -- It happens rather often at 150 so I don't think 200 will be enough 2011-10-22T17:03:45 *** troynt has joined #aichallenge 2011-10-22T17:04:07 I just changed to 200 and restarted the server 2011-10-22T17:04:11 let's see how it'll work 2011-10-22T17:04:41 _flag, but are you on my server? 2011-10-22T17:04:56 <_flag> I'll run a bot on it and see if it works 2011-10-22T17:05:26 ok 2011-10-22T17:06:03 *** BluePeppers has quit IRC (Read error: Connection reset by peer) 2011-10-22T17:06:39 *** swinejihad has joined #aichallenge 2011-10-22T17:07:45 <_flag> ash0d: http://ash.webfactional.com/replay.318 2011-10-22T17:08:06 yea 2011-10-22T17:08:10 and my bot froze :) 2011-10-22T17:08:41 does anybody have any experience with the haskell starter pack? 2011-10-22T17:10:13 _flag, it was my last change that broke my bot 2011-10-22T17:10:15 should be fine now 2011-10-22T17:10:42 swinejihad: i've peeked at it and don't really like it 2011-10-22T17:10:52 <_flag> ash0d: I shouldn't have to depend on your bot to work in order for it not to cut me off and draw the game though 2011-10-22T17:11:23 true 2011-10-22T17:11:30 *** nithin has joined #aichallenge 2011-10-22T17:11:34 <_flag> That's why I said 300 2011-10-22T17:11:50 <_flag> Here's an example with a working bot: http://ash.webfactional.com/replay.326 2011-10-22T17:12:00 <_flag> Still cut off 2011-10-22T17:12:07 I'm starting to think it wouldn't matter... because it's also adding new food 2011-10-22T17:12:30 <_flag> Eventually the new ants would gather the new food because there's more ants spread out around the map 2011-10-22T17:12:33 the point is that 90% of what food it creates must be gathered by all bots 2011-10-22T17:12:35 *** dlila has quit IRC (Quit: Leaving) 2011-10-22T17:12:39 <_flag> But yes, that's why I wanted to change the 90% number 2011-10-22T17:12:50 that's not configurable 2011-10-22T17:12:55 afaik 2011-10-22T17:12:59 <_flag> Well it is, you just have to edit the code :) 2011-10-22T17:13:41 <_flag> Go into ants.py 2011-10-22T17:13:50 <_flag> Search for "0.9" or "cutoff_percent" 2011-10-22T17:14:07 <_flag> Change the value 2011-10-22T17:14:28 :) 2011-10-22T17:15:29 I think it is configurable... it's 66% by default 2011-10-22T17:15:34 *** chezz has joined #aichallenge 2011-10-22T17:15:59 *** joed_ has quit IRC (Quit: Page closed) 2011-10-22T17:16:36 playgame.py takes it as command-line parameter. 2011-10-22T17:16:51 --cutoff_percent, default 0.9 2011-10-22T17:17:19 *** mawif has joined #aichallenge 2011-10-22T17:17:25 _flag, I changed it to 85% (to make it more challenging than the official server) 2011-10-22T17:17:31 try your luck my friend 2011-10-22T17:17:36 *** Abrackadabra has quit IRC (Quit: Page closed) 2011-10-22T17:17:56 *** crusher has joined #aichallenge 2011-10-22T17:18:03 *** Areks has quit IRC (Ping timeout: 252 seconds) 2011-10-22T17:18:35 *** AlvinMinring has quit IRC (Ping timeout: 265 seconds) 2011-10-22T17:18:45 <_flag> ash0d: I'm pretty sure it will still cut me off, it needs to be changed pretty dramatically 2011-10-22T17:19:00 it was 66, now 85 2011-10-22T17:19:18 *** bc3 has joined #aichallenge 2011-10-22T17:20:00 *** tr3v has joined #aichallenge 2011-10-22T17:20:10 <_flag> Oh, I see what you mean by more challenging than official, nevermind 2011-10-22T17:20:26 *** tr3v is now known as Guest59213 2011-10-22T17:20:45 *** Racko has quit IRC (Quit: Page closed) 2011-10-22T17:21:31 I died... 2011-10-22T17:22:04 *** troynt has quit IRC (Quit: Page closed) 2011-10-22T17:22:07 *** pastiera has left #aichallenge 2011-10-22T17:24:54 *** irchs has quit IRC (Quit: irchs) 2011-10-22T17:25:24 anyway, time to get some sleep 2011-10-22T17:25:45 gn8 :) 2011-10-22T17:25:58 :) 2011-10-22T17:26:34 We have TCP Servers for live games: http://ants.fluxid.pl/howto and http://ash.webfactional.com/howto to connect... 2011-10-22T17:26:48 *** rockzombie2 has quit IRC (Ping timeout: 265 seconds) 2011-10-22T17:27:15 *** cirno_the_greate has joined #aichallenge 2011-10-22T17:27:45 *** helkafen has joined #aichallenge 2011-10-22T17:27:52 *** KennyS has joined #aichallenge 2011-10-22T17:28:06 ash0d: dunno if i said it, but well done, thanks for getting this setup 2011-10-22T17:28:09 i will try 2011-10-22T17:28:12 it later :) 2011-10-22T17:28:59 night ride in subway from work and collision detect finally works 2011-10-22T17:29:28 cirno_the_greate: lol subway and collision detection are not the words i really want to hear in 1 sentance :) 2011-10-22T17:29:45 ruser: lol 2011-10-22T17:29:53 Next game should be within 1083.5 minutes. 2011-10-22T17:29:55 ._. 2011-10-22T17:29:58 yep 2011-10-22T17:30:08 tcp server, see above 2011-10-22T17:30:30 *** kronos has joined #aichallenge 2011-10-22T17:30:38 *** djstrong has joined #aichallenge 2011-10-22T17:30:44 just connected 2011-10-22T17:31:07 someone have selfhosted server? 2011-10-22T17:31:51 ash0d, added a pull request!!1 2011-10-22T17:31:54 as i recall there were 3 servers 2011-10-22T17:32:04 at aichallenge.org 2011-10-22T17:33:35 cirno_the_greate: < ash0d> We have TCP Servers for live games: http://ants.fluxid.pl/howto and http://ash.webfactional.com/howto to connect... 2011-10-22T17:33:59 *** soon has joined #aichallenge 2011-10-22T17:34:23 hi again 2011-10-22T17:34:44 DataWraith: this is for python bots? 2011-10-22T17:35:08 cirno_the_greate: I haven't used it, but I think it's a python script that connects your bot to the server. 2011-10-22T17:35:28 hmm 2011-10-22T17:35:31 cirno_the_greate: It still runs locally on your computer, in whatever language it is written in. 2011-10-22T17:35:39 *** Sunshowers has joined #aichallenge 2011-10-22T17:35:43 got distracted by 'Mybot.py' in description 2011-10-22T17:36:13 *** djr_ has joined #aichallenge 2011-10-22T17:37:13 yeah, the bots run locally, and the server just maintains game state, so the server can run games much faster 2011-10-22T17:37:16 *** tpod has joined #aichallenge 2011-10-22T17:37:49 but you still get to play with other peoples bots, like in the official servers 2011-10-22T17:38:11 wow 2011-10-22T17:38:13 it werks 2011-10-22T17:38:52 the only drawback is that if you have a slow (laggy) internet connection, your bot might time out because of that 2011-10-22T17:39:01 but at least i haven't run into that 2011-10-22T17:39:19 i have broadband everywhere, so it's fine 2011-10-22T17:39:24 somebody did at one point though, he had like 2000ms ping to the server :D 2011-10-22T17:40:27 *** Cowbandit has joined #aichallenge 2011-10-22T17:40:34 http://ants.fluxid.pl/replay.859 2011-10-22T17:40:39 what with food respawns? 2011-10-22T17:42:04 cirno_the_greate, it's just slower for that map than for some other maps 2011-10-22T17:42:59 quick question: how does hashmap work? 2011-10-22T17:43:11 is it like a tile for destination and tile for current location 2011-10-22T17:43:13 for each ant? 2011-10-22T17:43:14 *** bc3 has quit IRC (Ping timeout: 265 seconds) 2011-10-22T17:43:25 *** Blkt has quit IRC (Quit: cya) 2011-10-22T17:43:29 or is it like a cumulative list for every ant 2011-10-22T17:43:49 Alexer: is it really for that map? Looks like on all replays food spawn very slow 2011-10-22T17:43:56 *** lavalamp has joined #aichallenge 2011-10-22T17:44:12 *** spect_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T17:44:25 *** Racko has joined #aichallenge 2011-10-22T17:45:40 i'm trying to make sure my view radius stuff is working correctly. does anybody have a count of the number of pixels each ant can see? 2011-10-22T17:45:51 i'm coming up with 79, but mine might be wrong 2011-10-22T17:46:06 *** frosty has quit IRC (Quit: Page closed) 2011-10-22T17:46:32 that's for a viewradius2 of 55 2011-10-22T17:47:00 s/pixels/squares/ 2011-10-22T17:47:12 *** KennyS has quit IRC () 2011-10-22T17:47:22 *** Nakyuant has quit IRC (Quit: Page closed) 2011-10-22T17:47:30 *** Cowbandit has quit IRC (Quit: Page closed) 2011-10-22T17:47:50 jmcarthur: I'm calculating with the repl now 2011-10-22T17:48:52 *** moai has quit IRC (Read error: Connection reset by peer) 2011-10-22T17:48:57 thansk 2011-10-22T17:49:00 *thanks 2011-10-22T17:49:11 *** moai has joined #aichallenge 2011-10-22T17:49:48 jmcarthur: Hang on, I must've screwed that up. 2011-10-22T17:50:07 *** pedrosorio has joined #aichallenge 2011-10-22T17:50:20 lol, no i think i screwed up 2011-10-22T17:50:31 i got 177 or 148 2011-10-22T17:50:32 :P 2011-10-22T17:50:32 make that 177 2011-10-22T17:50:43 Alexer: why the "or"? 2011-10-22T17:51:16 jmcarthur, calculations said 177, counting squares on a replay got me 148 :P 2011-10-22T17:51:21 isn't it strange that the skill is mu - 3*sigma? 2011-10-22T17:51:22 ah 2011-10-22T17:51:52 pedrosorio: that is the normal trueskill formula 2011-10-22T17:51:53 pedrosorio: No, it's a conservative estimate 2011-10-22T17:52:06 pedrosorio: The system is 99% sure that you're better than what your skill says 2011-10-22T17:52:10 pedrosorio: your skill is a lower bound with some percent confidence 2011-10-22T17:52:19 but it seems to me that a bad bot 2011-10-22T17:52:30 that always performs the same 2011-10-22T17:52:33 jmcarthur, scratch that 177 or 241 2011-10-22T17:52:41 Alexer: o_O 2011-10-22T17:52:46 will sometimes have a better score 2011-10-22T17:52:57 Alexer: is the visualizer being inconsistent here? 2011-10-22T17:52:58 than a more unpredictable bot which is much better 2011-10-22T17:53:35 (for example, I wonder how there are so many bots worse than the "sample bots" provided) 2011-10-22T17:53:35 jmcarthur, on a replay, the area visible around a single ant is 17*17 squares minus the squares at the corners, which is 12*4 2011-10-22T17:53:39 DataWraith: if you are gettin 177 then we are probably right 2011-10-22T17:53:44 which comes to 241 2011-10-22T17:54:00 jmcarthur: Uh. Like I said, I screwed up somewhere, and am trying to figure out where. 2011-10-22T17:54:03 Alexer: that seems... wrong 2011-10-22T17:54:09 177 was calulated with the code in ants.py 2011-10-22T17:54:27 well, i'm getting 177 with my own code 2011-10-22T17:54:49 so: mx = int(math.sqrt(55)); sum([1 for d_row in range(-mx,mx+1) for d_col in range(-mx,mx+1) if d_row**2 + d_col**2 <= 55]) 2011-10-22T17:55:00 *** Puj has quit IRC (Ping timeout: 255 seconds) 2011-10-22T17:55:53 jmcarthur: 177 2011-10-22T17:56:16 *** kronos has quit IRC (Quit: Leaving) 2011-10-22T17:56:33 jmcarthur: Finally got it too. %) 2011-10-22T17:57:04 jmcarthur: Alexer's code is much more elegant though. 2011-10-22T17:57:56 my code gives 241 for viewradius2 of 74 2011-10-22T17:58:15 mine as well 2011-10-22T17:58:33 Yup, mine too. 2011-10-22T17:59:03 *** pvarga has joined #aichallenge 2011-10-22T17:59:15 pedrosorio: That's the nice thing about TrueSkill, this will even out over time. 2011-10-22T17:59:17 ash0d, I reinstalled python 2.7 and it works perfectly now :D 2011-10-22T17:59:36 jmcarthur, but yeah, i've no idea if you should trust that or the visualization :P 2011-10-22T17:59:38 pedrosorio: The server is just too busy, so it can't get enough data. 2011-10-22T17:59:52 Alexer: i'm guessing the visualization is wrong 2011-10-22T17:59:53 pedrosorio: ...to be accurate quickly. 2011-10-22T18:01:06 DataWraith, ....and that's why we're using the tcp server ;) 2011-10-22T18:01:07 *** crusher has quit IRC (Ping timeout: 265 seconds) 2011-10-22T18:01:18 ^^ 2011-10-22T18:01:37 DataWraith: Yeah I was thinking that exactly. But with too many people competing it's bound to be a problem (that the server can't run enough games to estimate the ability correctly) 2011-10-22T18:01:47 Alexer: I would connect my bot, but my computer is busy evolving new rulesets already. ^^ 2011-10-22T18:02:01 pedrosorio: The ability is just a rough guide. Actual placement will be done via a tournament. 2011-10-22T18:02:29 DataWraith: or does the server stop running games for "stable" bots after a while? (It seems to be the case for my sample bot) 2011-10-22T18:03:03 pedrosorio: I don't really know. From what I've seen, new uploads get to skip the queue, after that it's a queue. 2011-10-22T18:03:12 Gah, I should go to bed. %) 2011-10-22T18:03:20 *** erthrehgert has joined #aichallenge 2011-10-22T18:03:31 pedrosorio: I.e. you have to wait in line until it is your turn. 2011-10-22T18:03:48 DataWraith: Ah, must read the rules =) Btw, the ants.py in the github is the "canon" game right? 2011-10-22T18:04:11 pedrosorio: Uh... I don't know. Probably. 2011-10-22T18:05:04 pedrosorio: Someone said something earlier about updating the downloadable package on the website with that earlier. 2011-10-22T18:05:28 *** JTxt has quit IRC (Ping timeout: 265 seconds) 2011-10-22T18:06:11 damn, i have no idea how i should use github :( 2011-10-22T18:06:36 Alexer: They have a nice help system. 2011-10-22T18:06:45 *** lazer has joined #aichallenge 2011-10-22T18:06:52 Alexer: Other than that, don't worry much. Everything's reversible. 2011-10-22T18:07:12 why hasn't my bot played a game in over 24 hrs? 2011-10-22T18:07:24 DataWraith, being reversible doesn't mean it isn't going to be a pain in the a** ;) 2011-10-22T18:07:36 Alexer: Hm, true. :) 2011-10-22T18:08:00 lazer, < ash0d> We have TCP Servers for live games: http://ants.fluxid.pl/howto and http://ash.webfactional.com/howto to connect... 2011-10-22T18:08:25 *** erthrehgert has quit IRC (Quit: Page closed) 2011-10-22T18:09:10 DataWraith, i'm just not sure about the collaboration workflow 2011-10-22T18:09:27 forgive my ignorance, but my bot should be playing games aside from live games, right? 2011-10-22T18:09:41 lazer: Yes, but the servers are overloaded, so it's *very* slow. 2011-10-22T18:09:50 Alexer: That's mostly up to the repository maintainer. 2011-10-22T18:09:52 ok, just making sure that was the issue 2011-10-22T18:10:18 Alexer: Although the github guys recommend using pull requests as a conversation about an item. 2011-10-22T18:10:18 lazer, if you use the tcp servers, you can get games inside 2 minutes 2011-10-22T18:11:01 ok, thanks. are the live games scored/tracked and counted toward rankings? 2011-10-22T18:11:14 *** spect_ has joined #aichallenge 2011-10-22T18:11:16 *** parsley__ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T18:11:40 DataWraith, nevermind, i'm just tired and had a major random stupidity moment 2011-10-22T18:12:49 *** DataWraith has quit IRC (Read error: Connection reset by peer) 2011-10-22T18:13:04 *** drangon has joined #aichallenge 2011-10-22T18:13:09 (Re) 2011-10-22T18:13:10 can you upgrade ants into super ants ? so that 1 ant can see the whole map? 2011-10-22T18:13:13 *** drangon is now known as DataWraith 2011-10-22T18:14:04 *** azEf has quit IRC () 2011-10-22T18:14:26 DataWraith, i was thinking that if i push my changes to my github account, then someone else merges them to their own branch after they merge changes from somewhere else, then if i pull from him i can't update to github anymore wihtout forcing it 2011-10-22T18:14:36 but yeah, i had a brainfart there somewhere 2011-10-22T18:14:48 wtf a brainfart? 2011-10-22T18:15:08 Alexer: Git can rebase commits. I'm not sure how they're doing it with github, exactly, but I think pull requests do that. 2011-10-22T18:15:23 doesnt that only happen when you are dead and the people have cut a hole in your skull, that it starts emitting gasses? 2011-10-22T18:15:27 Alexer: Usually you fork a repo and make a branch for you change. That entire branch can then be merged. 2011-10-22T18:15:32 *** ChuOne has joined #aichallenge 2011-10-22T18:15:58 *** bluef00t has joined #aichallenge 2011-10-22T18:16:19 pull requests just notify maintainers that there are changes that can be merged into the mainline repository 2011-10-22T18:16:22 *** bluef00t has quit IRC (Client Quit) 2011-10-22T18:16:23 Alexer: When you're ready, open a pull request for that branch, which will automatically open an issue in the bugtracker, too. 2011-10-22T18:16:38 DataWraith, i forked and worked on master 2011-10-22T18:16:39 *** chezz has quit IRC (Quit: Page closed) 2011-10-22T18:16:43 :( 2011-10-22T18:16:43 Alexer: Then the maintainer can comment on your stuff, and you can add further commits on that branch if necessary. 2011-10-22T18:16:48 Alexer: That works too. 2011-10-22T18:16:53 Alexer: It's just not as convenient. 2011-10-22T18:17:12 *** icefox has quit IRC (Quit: icefox) 2011-10-22T18:18:18 Alexer: I haven't done all that many pull requests either, but I think they keep updating with new commits to the branch they're from. 2011-10-22T18:18:30 Good night/day everyone. Houston, we have a problem, can anyone help with not-working-but-ok-compiled bot? Status "Success: ready to play" and not even single game for long time.. 2011-10-22T18:18:31 *** swinejihad has quit IRC (Ping timeout: 265 seconds) 2011-10-22T18:18:33 Alexer: So you can't really work on multiple things at once in the master branch. 2011-10-22T18:18:49 ChuOne: The servers are overloaded, it will take time. 2011-10-22T18:19:12 *** lurbina has quit IRC (Ping timeout: 240 seconds) 2011-10-22T18:19:26 Ok, just cannot even test local, do i need to install python? 2011-10-22T18:19:32 DataWraith, i'm mostly concerned about what happens after the changes are merged and i try to update my forked repo 2011-10-22T18:19:41 *** lazer has quit IRC (Quit: Page closed) 2011-10-22T18:19:59 Alexer: git pull --rebase or something like that 2011-10-22T18:20:18 Alexer: git is fairly smart when merging stuff around, so it shouldn't be a big issue. 2011-10-22T18:20:33 i would be careful with rebase though 2011-10-22T18:20:43 a rebase after pull is okay 2011-10-22T18:20:48 ChuOne: I think so, yes. Python 2. 2011-10-22T18:20:50 soon: if you want to experiment with ants seeing full map just give the viewradius2 input sufficient to cover whole map 2011-10-22T18:21:07 but there's not much point in rebase after pull if you don't mind merge commits 2011-10-22T18:21:08 DataWraith, i bet git *can* merge the changes back, but the point is that i think my master should equal the master of the official repo 2011-10-22T18:21:37 Alexer: local repos carry mirrors of remote repos, for the record 2011-10-22T18:21:42 Alexer: If it comes to the worst, you can delete your fork and make a new one. 2011-10-22T18:21:46 ruser but then you can just, when you upload it, make sure the viewradius2 is always 10000 and see the whole map ? 2011-10-22T18:21:54 *** law_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T18:22:26 soon: no, the server dicattes the rules, you can test it localy but not against other ants 2011-10-22T18:22:35 Alexer: Âù íùã ëòùö öðù øû Èôäôòôê, 2011-10-22T18:22:36 DataWraith, heh :D 2011-10-22T18:22:39 oh ok 2011-10-22T18:22:39 sry 2011-10-22T18:22:48 Do you know who is Balanar? 2011-10-22T18:22:58 UncleVasya, me? no 2011-10-22T18:23:06 ok 2011-10-22T18:23:44 btw, we are playing now. 2011-10-22T18:23:52 jmcarthur, i know. i just can't get the workflow right in my head with a local repo, my github repo and an official github repo :( 2011-10-22T18:24:03 *** kronos has joined #aichallenge 2011-10-22T18:24:19 It is night in Ukraine, maybe this is a reason why I can play with you. 2011-10-22T18:25:09 UncleVasya, ha, what's the name of your bot? which server? 2011-10-22T18:25:30 ah, nevermind 2011-10-22T18:25:56 Alexer: You push to your own fork on github, and you pull from upstream, which you may have to add as a remote manually. 2011-10-22T18:26:57 Alexer: "git remote add upstream " 2011-10-22T18:27:44 and i should (have) probably keep my master in sync with the master on upstream... 2011-10-22T18:27:48 Alexer: Then you get the new stuff from the original repo with, I think, "git pull upstream master" 2011-10-22T18:28:38 Alexer: If you add the --rebase option, it will rebase your work on top of the commits from master. 2011-10-22T18:28:42 btw, do you happen to know what's the equal with "git pull upstream master" with fetch + merge? 2011-10-22T18:28:53 *** ChrisH_ has joined #aichallenge 2011-10-22T18:29:08 Hm, no. I usually just do pull and pull --rebase. 2011-10-22T18:29:13 *** levis501 has quit IRC (Quit: levis501) 2011-10-22T18:29:20 i thought pull was fetch + merge 2011-10-22T18:29:23 pull --rebase is a good idea just before you push. 2011-10-22T18:29:28 Yeah, it is. 2011-10-22T18:29:36 then i misunderstood the question 2011-10-22T18:29:55 jmcarthur, yeah, but what arguments do i give them if i use them separately to get the same effect as "git pull upstream master" 2011-10-22T18:30:23 *** xar0l has joined #aichallenge 2011-10-22T18:30:49 *** pedrosorio has quit IRC (Quit: Page closed) 2011-10-22T18:32:05 git fetch upstream master; git merge upstream/master # i think 2011-10-22T18:32:17 *** Islacrusez has joined #aichallenge 2011-10-22T18:32:55 ok, so approximately the same arguments then. thanks :P 2011-10-22T18:33:16 it's been a while since i used git in earnest, so don't trust everything i say about it ;) 2011-10-22T18:33:41 i'll have to play with it tomorr.. i mean today after ash0d (hopefully) merges my changes :P 2011-10-22T18:33:51 what are your changes? 2011-10-22T18:34:29 who are you on github? 2011-10-22T18:34:55 jmcarthur, ah, a simple change to enable bots to run continuously against the tcp server 2011-10-22T18:35:00 https://github.com/Ashod/ants-tcp/pull/1 2011-10-22T18:35:12 is there any plans to support compilation options? 2011-10-22T18:35:12 *** ChuOne has quit IRC (Quit: Page closed) 2011-10-22T18:35:15 oh i thought this was a patch for the main aichallenge project 2011-10-22T18:35:22 heh, no 2011-10-22T18:35:31 i was going to just see about merging it in 2011-10-22T18:35:33 *** Kingpin13 has quit IRC (Quit: quit) 2011-10-22T18:35:33 oh well 2011-10-22T18:35:36 i didn't let ash0d do it himself so i could finally try out github :P 2011-10-22T18:35:39 man can we increase the cookie timeout to like a week or something? 2011-10-22T18:35:51 a1k0n: yeah it's ridiculous 2011-10-22T18:36:09 who's running the server? 2011-10-22T18:36:10 also, so many starter bots 2011-10-22T18:36:20 *** ChrisH_ has quit IRC (Quit: Page closed) 2011-10-22T18:36:31 *** levis501 has joined #aichallenge 2011-10-22T18:36:31 a1k0n: Well, the tutorial says to upload them... 2011-10-22T18:36:38 i know... 2011-10-22T18:36:59 there used to be a "garbage collected" state for starter bots 2011-10-22T18:37:09 i'll have you know that i didn't upload a starter bot at any point!!1 2011-10-22T18:38:02 * dai-ra whistles innocently 2011-10-22T18:38:19 *** levis501 has quit IRC (Client Quit) 2011-10-22T18:39:02 pfft, not my fault I'm following instructions... 2011-10-22T18:39:23 well, i don't think the starter bots would matter that much if people actually updated them to non-starter-bots 2011-10-22T18:39:26 *** kronos has left #aichallenge ("Leaving") 2011-10-22T18:39:36 *** djr_ has quit IRC (Ping timeout: 240 seconds) 2011-10-22T18:39:53 but the servers are so slow people probably lose interest and as a consequence the servers are full of started bots :D 2011-10-22T18:40:08 still they could improve things by ignoring bots with 'errors' 2011-10-22T18:40:20 errors? 2011-10-22T18:40:32 not collecting food, etc 2011-10-22T18:40:48 That'd be very frustrating for a beginner. 2011-10-22T18:41:04 *** skyramp has joined #aichallenge 2011-10-22T18:41:05 That said, the server stops simulating when food is not being collected. 2011-10-22T18:42:14 *** jhines0042 has joined #aichallenge 2011-10-22T18:42:29 evening 2011-10-22T18:42:34 Too bad someone can't just spin up a couple of EC2 instances to help with simulation. 2011-10-22T18:43:08 evening. 2011-10-22T18:43:15 didn't we do that in the last contest? 2011-10-22T18:43:22 you would still be wasting cpu time with all those starter bots 2011-10-22T18:43:30 it could be better if the tutorial asked to run it with the local environment instead and added a "When you're happy with your bot against the example bots in the local environment, upload them to the server" 2011-10-22T18:43:40 Yeah. 2011-10-22T18:43:49 but eventually the servers would crawl to a halt anyway as people upload real bots 2011-10-22T18:43:55 i think the simulation is being done on EC2 instances anyway 2011-10-22T18:44:05 dai-ra: With trueskill, the starter buts should be delegated to the lower ranks and fight among themselves. Those fights the server can quickly cut short. 2011-10-22T18:44:10 *bots 2011-10-22T18:44:24 so i think there's a technical solution to run the simulations faster. whether there is a political/funding issue or not i can't say 2011-10-22T18:44:28 i agree, but one of the organizers is dead set on allowing people to get started with programming without having to install anything, hence the encouragement to just upload random stuff 2011-10-22T18:44:52 that was addressed to Alexer 2011-10-22T18:45:10 aw dude i got a second game and it took much less than the predicted 30 hours 2011-10-22T18:45:23 *** djr_ has joined #aichallenge 2011-10-22T18:45:31 *** UncleVasya has quit IRC () 2011-10-22T18:45:43 jmcarthur, but you have to install the local environment anyway, since testing your code on the official servers is slow (and stupid :D) 2011-10-22T18:46:09 other option could be to disable bots of users who haven't check out their profile page in X hours. (or to even have a manual option for it) 2011-10-22T18:46:36 Alexer: i didn't say i agree with this reasoning ;) 2011-10-22T18:46:46 that would probably help dai-ra 2011-10-22T18:47:03 jmcarthur, having the real server be a tcp server with some servers running uploaded bots for people who don't want to install their own environment could work too *hinthint* ;) 2011-10-22T18:47:18 in the meantime, anyone willing to help me out with getting started on OS X? 2011-10-22T18:47:26 *** nbest has joined #aichallenge 2011-10-22T18:47:29 Alexer: the issue with that is just that not everybody has equal computing power 2011-10-22T18:47:32 or for people whose connection is so laggy that their bots time out 2011-10-22T18:47:41 err wait 2011-10-22T18:47:47 oh i see 2011-10-22T18:48:04 well, that's not much different from the current situation though 2011-10-22T18:48:12 *** Macuyiko has quit IRC (Read error: Connection reset by peer) 2011-10-22T18:48:13 we already have the ability to fork off worker machines and stuff 2011-10-22T18:48:34 *** Macuyiko has joined #aichallenge 2011-10-22T18:48:49 jmcarthur, those of us who are fine with running our bots on our own machines would get games faster :) 2011-10-22T18:49:16 * jmcarthur defers back to his computing resources argument 2011-10-22T18:49:38 it's more fair if the official server keeps everybody on the same kind of hardware 2011-10-22T18:50:00 jmcarthur, of course if someone has monster hardware to run their bots on, they have more time to run their bot. then again, if someone uses c instead of python to code his bot, he has 20x more time to do calculations too ;) 2011-10-22T18:50:11 c vs python is a choice though 2011-10-22T18:50:12 jmcarthur: The real ranking is done in a tournament anyway, so that's not that great of an argument. ;-) 2011-10-22T18:50:18 *** Harpyon has quit IRC (Quit: Textual IRC Client: http://www.textualapp.com/) 2011-10-22T18:50:18 I guess not v.v 2011-10-22T18:50:19 computing hardware is not always a choice 2011-10-22T18:50:36 jmcarthur, and the final ranking will obviously have to be done on controlled hardware 2011-10-22T18:50:36 Islacrusez: Sorry, don't know about OS X. 2011-10-22T18:50:57 DataWraith: right. the point of running the official server right now is for things like compatibility testing, not really so much ranking 2011-10-22T18:51:02 Islacrusez: Maybe if you have a concrete question, we can help? 2011-10-22T18:51:13 DataWraith: which is one argument why it's not so important 2011-10-22T18:51:45 i do wish we would officially encourage people to test with one of these tcp servers though 2011-10-22T18:51:58 trying to follow the tutorial, using the tools > watching bots fight 2011-10-22T18:52:17 jmcarthur, would running an official tcp server be an option? 2011-10-22T18:52:19 *** spiderx42 has joined #aichallenge 2011-10-22T18:52:44 i don't know. that would certainly be nice 2011-10-22T18:53:12 i'm kind of a small contributer, but not an organizer, so i can't answer many questions like this authoritatively. 2011-10-22T18:53:13 indeed :) 2011-10-22T18:53:22 ah 2011-10-22T18:53:31 hows it going 2011-10-22T18:53:38 anyway, i g2g 2011-10-22T18:53:39 Islacrusez: Mac OS is unix-based, so most of it should work. You may need to install python though. 2011-10-22T18:53:47 bye :) 2011-10-22T18:53:58 have that, just not too clear on what the instructions are asking me to do 2011-10-22T18:54:27 example? 2011-10-22T18:54:43 is 1 game in 24 hours good or bad? 2011-10-22T18:54:49 *** cutoff has joined #aichallenge 2011-10-22T18:54:51 Islacrusez: Open the Terminal (Terminal.app?) and cd to the directory with the files. 2011-10-22T18:55:02 Islacrusez: Then you can type ./play_one_game.sh, hopefully. 2011-10-22T18:55:04 *** lurbina has joined #aichallenge 2011-10-22T18:55:11 jhines0042, it's the reality, atm :P 2011-10-22T18:55:31 as long as it is reality and not a bug then I'm ok 2011-10-22T18:55:59 jhines0042, use the tcp servers if you want to see your bot actually playing games against others 2011-10-22T18:56:14 < ash0d> We have TCP Servers for live games: http://ants.fluxid.pl/howto and http://ash.webfactional.com/howto to connect... 2011-10-22T18:56:20 are there instructions some ... thanks 2011-10-22T18:57:24 localhost:tools m4$ ./play_one_game.sh File "./playgame.py", line 232 print("Running profile and outputting to {0}".format(prof_file,), file=stderr) ^ SyntaxError: invalid syntax 2011-10-22T18:57:28 ummm o.O 2011-10-22T18:57:33 *** aradax has joined #aichallenge 2011-10-22T18:57:53 you morons don't know what the fuck your doing. If you create a good AI bot he will become self aware, and start trying to kill human beings. Just stop it now, before you get hurt! 2011-10-22T18:57:57 Islacrusez: python --version ? 2011-10-22T18:58:16 oh that could be interesting *whistles innocently* 2011-10-22T18:58:16 is there any way to delete my contest account? 2011-10-22T18:58:27 2.5 2011-10-22T18:58:37 *** Guest59213 has quit IRC (Ping timeout: 240 seconds) 2011-10-22T18:58:40 nbest, nah, that'll never happen. one dude had a weird bug at some point though, his bot kept asking for cake or something... 2011-10-22T18:58:51 Islacrusez: Hm. Then I don't know. :-/ I had trouble with Python 3.2.2 2011-10-22T18:58:52 I know it works on 2.6.6, though they recommend 2.7 2011-10-22T18:59:02 cake is just the first step, next they will be asking to fuck your wife 2011-10-22T18:59:10 GET A CLUE PEOPLE 2011-10-22T18:59:17 you are playing with fire here 2011-10-22T18:59:25 my ants just find food and try to kill anthills 2011-10-22T18:59:34 annoying rude guy is annoying and rude 2011-10-22T18:59:36 *** spect_ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T18:59:43 so far, my ants have yet to see an anthill 2011-10-22T18:59:56 who you calling annoying and rude you wannabee asswipe fag douchebag hillbilly moron 2011-10-22T19:00:04 STFU Islacrusez 2011-10-22T19:00:14 why dont you go be a poser somewhere else you cocksucker. 2011-10-22T19:00:21 Ah, good thing IRC has this /ignore command... 2011-10-22T19:00:22 Islacrusez, the code looks like it was written for python3, though. are you sure you downloaded stuff for python2? 2011-10-22T19:00:46 *** aradax has quit IRC (Client Quit) 2011-10-22T19:00:51 Alexer: It certainly doesn't work on python 3. I had to install python 2.7 2011-10-22T19:00:58 yea, because i wouldn't want to listen to obnoxious retards like datawaraith, 2011-10-22T19:01:06 /ban nbest 2011-10-22T19:01:23 aarossig: ping 2011-10-22T19:01:30 *** pvarga has quit IRC (Quit: pvarga) 2011-10-22T19:01:30 alexer you are just one of those fags with nothing better to do then pick on someone over the internet? 2011-10-22T19:01:35 LEAVE ME ALONE 2011-10-22T19:01:48 if you don't like it, leave 2011-10-22T19:02:03 anyway, it's clear alexer is just a troll looking for attention 2011-10-22T19:02:13 YOUZ TROLLING 2011-10-22T19:02:13 Oh the irony.. 2011-10-22T19:02:13 who the FUCK do you think you are to tell ME to leave 2011-10-22T19:02:21 bitch, if you don't like it you can SUCK MY COCK 2011-10-22T19:02:30 you are my little bitch, idon't take orders from you faggit 2011-10-22T19:02:33 it's the other way around 2011-10-22T19:02:40 I think I'm you, obviously; better than everyone else, and perfectly within my rights to tell everyone what to do 2011-10-22T19:02:40 ohh, lots of first times today 2011-10-22T19:02:45 now shut up like a good cunt and get sucking 2011-10-22T19:02:53 first i tried github 2011-10-22T19:03:01 now i'm gonna try /ignore ^^ 2011-10-22T19:03:05 ^^ 2011-10-22T19:03:11 well...why don't you just shove yourself up yours retard! nobody cares about a scummy asshole like you. 2011-10-22T19:03:25 yea /ignore me fag 2011-10-22T19:03:32 that's what all the scared little bitches do 2011-10-22T19:03:33 Alexer and nbest: http://www.youtube.com/watch?v=Cdiz0k0Rudw 2011-10-22T19:03:36 ant hills transmitted everytime when visible? 2011-10-22T19:03:47 cirno_the_greate: yes 2011-10-22T19:03:52 good 2011-10-22T19:03:54 cuz they can't handle a real argumentwith someone who can defend himself 2011-10-22T19:03:55 *** cutoff has quit IRC (Ping timeout: 260 seconds) 2011-10-22T19:03:59 * cirno_the_greate adding hill support to haskell starter pack 2011-10-22T19:04:06 soon, i'm not goona click on your gay pr0n 2011-10-22T19:04:18 absolute shit headed idot asshole 2011-10-22T19:04:23 cirno_the_greate: Just like food. It was a three-line change in the Ruby starter pack. 2011-10-22T19:04:28 we really don't have mods or admins around? 2011-10-22T19:04:40 no, I"M the hard cunt that rules this room fag 2011-10-22T19:04:51 if you don't like it it's called ALT F4 2011-10-22T19:04:53 retart 2011-10-22T19:05:03 retard is with a d 2011-10-22T19:05:06 DataWraith: yep, feels like it 2011-10-22T19:05:11 just add datatypes 2011-10-22T19:05:14 You can just type /ignore nbest, Islacrusez 2011-10-22T19:05:27 and write few helpers 2011-10-22T19:05:31 cirno_the_greate: Oh, yeah, that too. %) 2011-10-22T19:05:33 so the only way to give my ants another go is to upload again with a minor change? 2011-10-22T19:05:35 This room is overun by morons.. i KNOW it has a d, i purposefully misspell it to heighten your retartetness 2011-10-22T19:05:40 LOLLLL 2011-10-22T19:05:52 What A COMPLETE IDIOT!!!! 2011-10-22T19:05:53 + function to which updates game state 2011-10-22T19:05:55 spiderx42: You could test them locally. Or on the TCP servers. 2011-10-22T19:06:11 yea locally i dont have anyone else's bots to test against 2011-10-22T19:06:28 spiderx42: Fight against your own bot. ^^ 2011-10-22T19:06:37 well i never thought about that 2011-10-22T19:06:41 spiderx42: :P 2011-10-22T19:06:42 shut your cuntflaps , we don't want to hear what you thought about fag 2011-10-22T19:06:54 spiderx42: TCP server is a good alternative, apparently. 2011-10-22T19:06:58 clam damn goddamn shitfull fistfucked twat 2011-10-22T19:06:58 spiderx42, test it on the tcp server 2011-10-22T19:07:11 ill give it a shot 2011-10-22T19:07:14 hmm, so will this thing run? 2011-10-22T19:07:20 *** pedrosorio has joined #aichallenge 2011-10-22T19:07:22 fuckwits 2011-10-22T19:07:34 lick my nut sweat 2011-10-22T19:07:39 stupid pricks 2011-10-22T19:07:48 YOU ALL suck at life 2011-10-22T19:07:56 Islacrusez: You may need to upgrade python. :/ 2011-10-22T19:08:02 so you have to spend all your time playing your gayy ass little ant games 2011-10-22T19:08:03 hahahahhahaha 2011-10-22T19:08:07 sucks to be u 2011-10-22T19:08:10 is there a limit to how many games you play on the tcp server? 2011-10-22T19:08:11 *** tdubellz has joined #aichallenge 2011-10-22T19:08:12 get a life losers 2011-10-22T19:08:15 spiderx42, uploading again has the side-effect of resetting your rank 2011-10-22T19:08:17 nbest whats your best score? 2011-10-22T19:08:21 Islacrusez: The problem is, that your python is too old, and the current one is too new. %) 2011-10-22T19:08:23 or does me running the command literally just upload the code? 2011-10-22T19:08:24 my best score is your mumma 2011-10-22T19:08:31 i fucked her hard last night 2011-10-22T19:08:32 oh that's helpful xD 2011-10-22T19:08:34 it was a good score 2011-10-22T19:08:35 *** carera has joined #aichallenge 2011-10-22T19:08:38 *** Corey has joined #aichallenge 2011-10-22T19:08:40 implying that playing ant games something bad 2011-10-22T19:08:44 nbest my score is higher 2011-10-22T19:08:52 Islacrusez: Apparently version 2.7 is good for running this. 2011-10-22T19:08:55 implying that we actually play an an game? 2011-10-22T19:08:57 higher, than your mumma? you mean you fucked your grandmumma? 2011-10-22T19:08:58 ant* 2011-10-22T19:09:01 ewwww that's gross 2011-10-22T19:09:01 jhines0042, the bot runs on your own machine 2011-10-22T19:09:04 gross bitch 2011-10-22T19:09:14 nbest: Give it a rest, please. 2011-10-22T19:09:16 Islacrusez: You should just ignore the troll... 2011-10-22T19:09:22 Alexer: so a game should show up each time I run it? 2011-10-22T19:09:23 soon I get more action with my hot wife and two gf's then a little fuck like u will ever get in your sad lonely fucked up little dick life. 2011-10-22T19:09:23 2011-10-22T19:09:33 yeah, but he's soooo good 2011-10-22T19:09:33 nbest my score is around 38 2011-10-22T19:09:42 no, that's your iq dumbass 2011-10-22T19:09:45 jhines0042, you can specify on the command line how many games you want it to run 2011-10-22T19:09:51 or your yearly salary hahahahahhahah 2011-10-22T19:09:51 where are the mods anyway? 2011-10-22T19:09:56 asleep 2011-10-22T19:10:01 the mods are fucking your mumma 2011-10-22T19:10:11 *** carera has quit IRC (Client Quit) 2011-10-22T19:10:11 HAHHAHA the cat's away so the mice will playyyy 2011-10-22T19:10:13 nbest: like Corey said, give it a rest. 2011-10-22T19:10:18 MAKE ME 2011-10-22T19:10:20 so how old are you, four? 2011-10-22T19:10:25 make me you little fattity ass bitch 2011-10-22T19:10:26 or three? 2011-10-22T19:10:27 nbest: go sleep, if you're not smart enough to understand what's going on, just waste your time somewhere else 2011-10-22T19:10:30 why you like little kids? 2011-10-22T19:10:31 nah we don't need mods, we have IQ to ignore people like nbest 2011-10-22T19:10:34 jhines0042, https://raw.github.com/alexer/ants-tcp/master/clients/tcpclient.py <--- this version accepts "-1", so that it runs games until you tell it to stop 2011-10-22T19:10:35 *** amphetamine has joined #aichallenge 2011-10-22T19:10:43 ewww people Islacrusez is hitting on me because he thinks i'm 4 2011-10-22T19:10:52 I"M GONNA REPORT YOU TO THE COPS PEDO 2011-10-22T19:10:59 fucking sick sick fuck 2011-10-22T19:11:08 low life sewered cock-sucking, greased, sample of an idiot 2011-10-22T19:11:20 ^love 2011-10-22T19:11:43 such a gay response, i shouldn't be surprised coming from a fudge packer like u Islacrusez 2011-10-22T19:11:45 nbest you do realize that using such a words only works against people who actually do get offended by it, right? and i think everyone here is smart enough to see the words as just.... words 2011-10-22T19:12:01 nbest: there may not be mods online in this channel but there are plenty of freenode staff members online, just stop 2011-10-22T19:12:03 soon: don't feed the troll 2011-10-22T19:12:05 they are not just words they are truths 2011-10-22T19:12:12 what exactly is a sample of an idiot? being a sample of an idiot I don't have an understanding of the whole idiot, so don't know what a sample of an idiot is; could you enlighten me? 2011-10-22T19:12:16 i'm telling the whole world aboutg your faggotry 2011-10-22T19:12:27 *** njan has joined #aichallenge 2011-10-22T19:12:29 *** flightlevel69 has joined #aichallenge 2011-10-22T19:12:38 i've received a report there's a troll in here 2011-10-22T19:12:47 i am prepared to call him a faggot and counter-troll 2011-10-22T19:12:58 geez 2011-10-22T19:13:00 flightlevel69: not helpful. 2011-10-22T19:13:02 jhines0042 i only feed poison to trolls, i defeat them all the time 2011-10-22T19:13:17 testinger are you the looooser who goes around the internet threatening people of mods?? well...why don't you just shove yourself up yours retard! nobody cares about a scummy asshole like you...you had to make yourself famous upon threatening others...MORON..and don't fucking start shit with me...we will report you to the local authorities if you just fucking say a half threatening word...GOT IT ASSHOLE? 2011-10-22T19:13:18 njan: you are a faggot 2011-10-22T19:13:25 (njan is the troll, right?) 2011-10-22T19:13:30 flightlevel69: no. 2011-10-22T19:13:32 flightlevel69: GIve it a rest. 2011-10-22T19:13:39 ok 2011-10-22T19:13:45 i was just trying to help 2011-10-22T19:13:45 njan, can't even type 2011-10-22T19:13:49 what a fuckwit 2011-10-22T19:13:56 hahah maded me laugh 2011-10-22T19:14:01 what's the ai challenge. do you know that stanford university's online ai class just started? 2011-10-22T19:14:02 at least u good for something clown 2011-10-22T19:14:03 it's free 2011-10-22T19:14:08 *** SharkMonkey has joined #aichallenge 2011-10-22T19:14:11 eh, you all should just /ignore him too 2011-10-22T19:14:12 * DataWraith already enrolled 2011-10-22T19:14:26 just started? 2011-10-22T19:14:29 it's excellent. also, i think that IBM is taking the correct approach to AI 2011-10-22T19:14:29 flightlevel69 i'm having trouble with that class, i'm so bad with math lol 2011-10-22T19:14:33 i thought it started month ago 2011-10-22T19:14:34 Is there a good way to log or debug my bot without having it time out? 2011-10-22T19:14:37 i can't belive the people that say to ignore me it's outrageous that Malicious and ignorant verbal abuse like this is acceptable 2011-10-22T19:14:45 HOW FUCKING RUDE 2011-10-22T19:14:50 what's going on in here? 2011-10-22T19:14:52 cirno_the_greate: Well, a week or so ago. 2011-10-22T19:14:56 SharkMonkey: log to stderr 2011-10-22T19:14:56 *** goffrie has joined #aichallenge 2011-10-22T19:14:59 i mean that's like the rudest thintg you can do to ignore someone 2011-10-22T19:15:04 fucking ASSHOLES 2011-10-22T19:15:05 soon -- naw all you need to do is inform yourself enough so that the first people to monetize AI you will be able to identify and get in on the bottom floor. (probably will be Apple or IBM) 2011-10-22T19:15:06 SharkMonkey: launch playgame.py with -E 2011-10-22T19:15:10 i'm a human being for fuck sakes 2011-10-22T19:15:11 flightlevel69 indeed, the AI that we currently have didn't give us skynet yet 2011-10-22T19:15:13 SharkMonkey: look at game_logs 2011-10-22T19:15:14 but if you're going to brute force the problem anyway, AI is going to be a statistical approach 2011-10-22T19:15:17 like IBM's watson 2011-10-22T19:15:18 and you act like i don't even exist 2011-10-22T19:15:19 :(((( 2011-10-22T19:15:20 SharkMonkey, print to stderr, run playgame.py with -eE switches 2011-10-22T19:15:23 *cries* 2011-10-22T19:15:24 Alexer: looks like my bot only times out... do I need to open a firewall or something? 2011-10-22T19:15:24 *** flightlevel69 is now known as cholby 2011-10-22T19:15:25 waaaaaaaaaaaaaaaaaaaaaaaaaaaa! 2011-10-22T19:15:26 apparently 2011-10-22T19:15:27 lol 2011-10-22T19:15:32 well the freenode ops know so i might as well 2011-10-22T19:15:36 sup guys 2011-10-22T19:15:50 Alexer, cirno_the_greate, Thanks. 2011-10-22T19:15:54 jhines0042, does it say "connected" 2011-10-22T19:16:23 *** spiderx42 has quit IRC (Quit: Page closed) 2011-10-22T19:16:25 Alexer: yes, but my game replays only show that I timeout on turn 1... bot works fine on local test and ran fine for the regular site 2011-10-22T19:16:26 http://ants.fluxid.pl/replay.902 2011-10-22T19:16:34 looks like this maps for 8 people 2011-10-22T19:16:36 not two 2011-10-22T19:16:38 .__. 2011-10-22T19:16:40 flightlevel69 i would put my money on Jeff Hawkins 2011-10-22T19:16:47 ermau: you here? 2011-10-22T19:17:07 Alexer: so I think that it might be a network issue? 2011-10-22T19:17:22 jhines0042, try to ping the server and look at the lag 2011-10-22T19:17:24 *** tr3v has joined #aichallenge 2011-10-22T19:17:31 if its big, it could be the cause 2011-10-22T19:17:50 *** tr3v is now known as Guest92905 2011-10-22T19:17:51 *** ChanServ sets mode: +o Zannick 2011-10-22T19:17:59 Alexer: 104ms 2011-10-22T19:18:02 *** Zannick sets mode: +b *!*nbusern@*.vc.shawcable.net 2011-10-22T19:18:06 *** nbest was kicked by Zannick (nbest) 2011-10-22T19:18:10 \o/ 2011-10-22T19:18:12 *** Zannick sets mode: -o Zannick 2011-10-22T19:18:23 ninja kick 2011-10-22T19:18:54 hey everyone 2011-10-22T19:19:07 I want to run my bot directly to see my custom output 2011-10-22T19:19:16 but what the heck do I pass in when I run it directly? 2011-10-22T19:19:23 cause it just sits there waiting. 2011-10-22T19:19:35 what do you mean by 'run it directly'? 2011-10-22T19:19:42 "ruby MyBot.rb" 2011-10-22T19:19:53 it needs DATA 2011-10-22T19:20:00 read game specs 2011-10-22T19:20:03 there is protocol 2011-10-22T19:20:15 AH FOUND IT 2011-10-22T19:20:16 roflmao1: ...and a program that runs the bot. 2011-10-22T19:20:22 Ah, good. ^^ 2011-10-22T19:20:27 *** rowfur is now known as rofer 2011-10-22T19:20:28 if you ask this looks like you don't need it 2011-10-22T19:20:35 there is visualisator 2011-10-22T19:20:41 and simulator 2011-10-22T19:20:43 yeah but I want to see my own custom output 2011-10-22T19:20:47 not what the bot actually does 2011-10-22T19:20:53 roflmao1, just run it normally, output your data to stderr and pass -eE to playgame.py 2011-10-22T19:20:57 you can write to stderr 2011-10-22T19:21:03 ah gotcha 2011-10-22T19:21:03 and look at debug files 2011-10-22T19:21:21 what is STDERR an abrevation of? 2011-10-22T19:21:23 @stdout ? 2011-10-22T19:21:24 roflmao1: No! 2011-10-22T19:21:31 soon: standard error output 2011-10-22T19:21:34 soon, standard error 2011-10-22T19:21:51 oh ok 2011-10-22T19:22:12 roflmao1, stdout is for game commands to the game server, stderr is for your own custom output 2011-10-22T19:22:14 there are also standard input and standard output 2011-10-22T19:22:24 *** Macuyiko has quit IRC (Ping timeout: 240 seconds) 2011-10-22T19:22:24 they are used for communication between server and bot 2011-10-22T19:22:38 *** springs has joined #aichallenge 2011-10-22T19:22:41 ah 2011-10-22T19:22:58 *** olexs has quit IRC (Quit: Leaving.) 2011-10-22T19:23:01 ok, I'm gonna grab a cupa and update python 2011-10-22T19:23:02 I just don't see stderr declared anywhere in the framework 2011-10-22T19:23:04 cuppa, even 2011-10-22T19:23:07 I'm running off of ruby 2011-10-22T19:23:17 roflmao1: $stderr.puts 2011-10-22T19:23:43 *** lurbina has quit IRC (Ping timeout: 245 seconds) 2011-10-22T19:23:45 or "warn ..." 2011-10-22T19:24:04 *** simonmc has joined #aichallenge 2011-10-22T19:24:04 nope private method puts called for nil class 2011-10-22T19:24:08 the ruby framework doesn't seem to have it 2011-10-22T19:24:18 ur all niggerfaggots 2011-10-22T19:24:21 *** cholby has left #aichallenge 2011-10-22T19:24:39 Huh. Both warn and $stderr.puts works for me. 2011-10-22T19:24:45 Ruby 1.9, tho. 2011-10-22T19:24:50 yeah but you are running on the python framework right? 2011-10-22T19:24:57 oh 2011-10-22T19:25:13 hmm 2011-10-22T19:25:15 I see 2011-10-22T19:25:18 The ruby framework even uses 'warn'. 2011-10-22T19:25:20 I think I shall rewrite my bot in C 2011-10-22T19:25:29 Sorry I assumed you were running python and therefore changed the $ to @ 2011-10-22T19:25:33 I've realised it won't be as difficult as I thought 2011-10-22T19:25:36 anyway, goodnight 2011-10-22T19:25:39 roflmao1: Oh. ^^ 2011-10-22T19:25:42 *** ajf is now known as ajf|offline 2011-10-22T19:25:53 $ is a global variable. 2011-10-22T19:25:58 roflmao1, what o.O? 2011-10-22T19:25:58 right 2011-10-22T19:26:00 Ruby inherited that from perl, I think. 2011-10-22T19:26:11 no 2011-10-22T19:26:29 Or maybe PHP. I don't know. 2011-10-22T19:26:40 roflmao1, "I assumed you were running python and therefore changed the $ to @" <--- i don't know ruby, but... what? how? why? :D 2011-10-22T19:26:53 don't all python variables begin with a $ ala php? 2011-10-22T19:26:54 ok, woop it runs 2011-10-22T19:27:03 roflmao1, nope 2011-10-22T19:27:12 *** jhines0042 has quit IRC (Quit: Page closed) 2011-10-22T19:27:12 except... err, how long is "one game" supposed to run for? 2011-10-22T19:27:15 man, ignorance ftw 2011-10-22T19:27:18 ftl** 2011-10-22T19:27:22 are there seperate contests that only run PHP bots for example to see who has the best PHP bot ? 2011-10-22T19:27:22 turn-wise? 2011-10-22T19:27:27 roflmao1, what's '@' in ruby? 2011-10-22T19:27:39 instance variable 2011-10-22T19:27:47 @@ is class variable 2011-10-22T19:27:48 roflmao1: I'm sorry Dave, err roflmao1; I cannot '@'. 2011-10-22T19:27:48 soon: Bots can be written in many languages, they just have to communicate via text 2011-10-22T19:28:15 and no '@' is a local variable 2011-10-22T19:28:16 soon, http://aichallenge.org/language_profile.php?language=PHP 2011-10-22T19:28:32 cool thx Alexer :D 2011-10-22T19:28:47 I should've made it run with the live display... 2011-10-22T19:29:13 Islacrusez: You can try to CTRL-C it. 2011-10-22T19:29:48 *** dangoodman has quit IRC (Quit: Page closed) 2011-10-22T19:29:49 roflmao1, i don't know anything about ruby either, so it's all good :P 2011-10-22T19:29:54 Man I keep on going to the framework and wanting to add things 2011-10-22T19:30:02 and then I'm like "wait, I can't do that" 2011-10-22T19:30:08 roflmao1: Why not? 2011-10-22T19:30:12 roflmao1: I did. 2011-10-22T19:30:24 huh? I thought that the server only recieves my bot 2011-10-22T19:30:26 I'll wait to see if it finishes before my tea is done... but I think I'm at turn 1000 or so and still running? surely it should be done by now? 2011-10-22T19:30:30 i was just baffled by the fact that you changed $ to @, but if you thought python used $ like php it makes perfect sense 2011-10-22T19:30:41 Islacrusez: Probably, yeah. 2011-10-22T19:30:44 yes I was deeply confused Alexer 2011-10-22T19:30:53 do you upload bot AND framework? 2011-10-22T19:30:54 roflmao1: The server gets a zip with all your files. 2011-10-22T19:31:05 ah okay okay *slaps head* 2011-10-22T19:31:07 roflmao1: yeah, ants.rb is part of your bot 2011-10-22T19:31:56 personally i rewrote ants.py so that you can inherit the bot from the Ants-class 2011-10-22T19:31:58 MyBot.ext is the main and only file that the server will execute, anything that you include within that file will be imported 2011-10-22T19:32:05 as far as i know 2011-10-22T19:32:12 roflmao1: I would recommend adding hill support to ants.rb to get an idea of how it works 2011-10-22T19:32:39 roflmao1: Hint: 'h' also needs to be added to the regex. That one had me scratching my head for a while... 2011-10-22T19:32:52 wow the two hunterbots failed 2011-10-22T19:33:08 I just might datawraith :) 2011-10-22T19:33:18 # Map, as an array of arrays. 2011-10-22T19:33:18 attr_accessor :map 2011-10-22T19:33:27 I was half expecting that to give me all map info so I can program a really nice a* 2011-10-22T19:33:33 but alas wishful thinking dissapointed me :P 2011-10-22T19:33:42 Heh. 2011-10-22T19:33:51 Well, except for the hills, everything else is there. 2011-10-22T19:34:00 Just to clarify, you ONLY know the squares your ants are next to right? 2011-10-22T19:34:01 player_seed is not really _that_ important. 2011-10-22T19:34:08 roflmao1: Yes. 2011-10-22T19:34:16 *** swinejihad has joined #aichallenge 2011-10-22T19:34:28 so what's a hunterbot designed to do? 2011-10-22T19:34:29 roflmao1: You do have a view distance 2011-10-22T19:34:31 :( so I'm confused, doesn't ants.rb read the map? 2011-10-22T19:34:32 roflmao1: Those that are within Math.sqrt(view distance) 2011-10-22T19:34:51 Islacrusez: It hunts. Food. Unknown tiles. Not sure about other ants. 2011-10-22T19:35:02 Islacrusez: I'd guess it's a python version issue again... 2011-10-22T19:35:12 well, these two just sat in the corner and refused to come out 2011-10-22T19:35:29 Islacrusez: Hm. :/ 2011-10-22T19:35:31 they went for the food, when they saw it, but not for anything else it seems 2011-10-22T19:35:47 roflmao1: No, the map is on the server. ants.rb just is a nice interface to that. 2011-10-22T19:36:00 roflmao1: It saves what the server has told it so far. 2011-10-22T19:36:04 I see 2011-10-22T19:36:23 leftybot ended up dominant... greedy and the two hunters stayed home, one hunter died, hit round limit 2011-10-22T19:36:47 Islacrusez: Oh, I thought they had thrown an Exception or something. 2011-10-22T19:37:07 all ran correctly, they just sucked, lol 2011-10-22T19:37:18 oh so hang on 2011-10-22T19:37:31 i can just get the neighbors of neighbors of neighbors of squares adjacent to ant 2011-10-22T19:38:10 roflmao1: Every ant can see a certain distance, the distance can be different in different games 2011-10-22T19:39:02 roflmao1: The formula is on this page: http://aichallenge.org/specification.php 2011-10-22T19:39:11 but how does the game engine prevent me from doing ant.square.neighbor(:E).neighbor(:E).neighbor(:E) ala infinity? 2011-10-22T19:39:18 oh man everytime you write "roflmao1:" i think you are making a joke and then i read the sentence and i think "whats funny about it" and then i read again and i see you are just talking to "roflmao1" 2011-10-22T19:39:41 roflmao1: The server just doesn't tell you what is there, so the squares will look empty to you. 2011-10-22T19:39:55 kk 2011-10-22T19:40:03 soon: Yeah, that's a little confusing. %) 2011-10-22T19:40:17 *** roflmao1 is now known as roflmao 2011-10-22T19:40:31 just to be awkward, lol 2011-10-22T19:40:42 I think a lot of my deep confusion is coming from not understanding what ants.rb does 2011-10-22T19:40:51 *** soon is now known as letmetellyou 2011-10-22T19:40:51 I think I need to sit down and dissect the engine to really get my head straight 2011-10-22T19:41:01 yeah it helps to read through ants 2011-10-22T19:41:18 I really should be designing a game, not screwing with AI... 2011-10-22T19:41:47 i really should be studying for the AI class at Stanford, not screwing with AI challenge 2011-10-22T19:42:00 so all ants.rb really does is interpret text from the server 2011-10-22T19:42:02 nice 2011-10-22T19:43:03 roflmao: Yep, you should read this: http://aichallenge.org/specification.php#Bot-Input 2011-10-22T19:43:11 you guys are awesome 2011-10-22T19:43:12 are you taking the online class they offer? 2011-10-22T19:43:38 and read_intro and read_turn in ants.rb 2011-10-22T19:43:44 right right right 2011-10-22T19:43:53 and ants.rb as I can see automatically stores shit into it's map var 2011-10-22T19:44:00 so I don't have to be saving what I discover rofl 2011-10-22T19:44:08 its* 2011-10-22T19:44:33 *** kaka has quit IRC (Ping timeout: 265 seconds) 2011-10-22T19:44:33 *** Astrogat has quit IRC (Ping timeout: 265 seconds) 2011-10-22T19:45:56 *** infernal has quit IRC (Quit: Page closed) 2011-10-22T19:45:57 it actually clears a lot of it (food and hills IIRC) every turn and re-updates it 2011-10-22T19:46:00 *** Islacrusez has quit IRC (Ping timeout: 265 seconds) 2011-10-22T19:46:13 but as everyone says current ruby algorithm doesn't support hills 2011-10-22T19:46:24 but i assume that's simply modifying the read input to get it in 2011-10-22T19:46:29 all that's required 2011-10-22T19:46:39 roflmao: Yeah, and that regex, and clear the hills out like the food is cleared. 2011-10-22T19:46:47 I'm not sure why they even have so many packages with such crippling errors 2011-10-22T19:46:49 doesn't the regex read it in? 2011-10-22T19:47:01 DataWraith you said you were using ruby? 2011-10-22T19:47:14 The regex above the case statement prevents the 'h' from being parsed. 2011-10-22T19:47:16 I had to fix my own java starter pack because it wasn't clearing the food 2011-10-22T19:47:19 *** Guest92905 has quit IRC (Ping timeout: 260 seconds) 2011-10-22T19:47:26 Yeah, I'm using ruby. 2011-10-22T19:47:35 would you mind sending me your ants.rb file? I'm curious :P 2011-10-22T19:47:36 *** gnok has joined #aichallenge 2011-10-22T19:47:40 if you mind I totally understand 2011-10-22T19:47:57 Hm, I wouldn't mind per se. I'm not sure if the contest rules allow it. 2011-10-22T19:48:11 *** Islacrusez has joined #aichallenge 2011-10-22T19:48:17 just lazy to code in the hill parsing myself that's all but it's okay 2011-10-22T19:48:19 DataWraith: they ask not to share code until the contest is open 2011-10-22T19:48:21 I hate my modem 2011-10-22T19:48:23 I probably should to get a grip of the code 2011-10-22T19:48:36 ...I think I can paste the one line with the regex. 2011-10-22T19:48:45 that's all that's required? 2011-10-22T19:49:00 DataWraith, i think fixes to the starter pack are okay :PP 2011-10-22T19:49:06 No, but that's the hard-to-miss part. 2011-10-22T19:49:22 Alexer: Yeah, but the entire file does contain some things from my bot... 2011-10-22T19:49:30 DataWraith, swinejihad: actually, if you have fixed things in the starter packs, you should probably make a pull request on github 2011-10-22T19:49:38 DataWraith, ah, okay then 2011-10-22T19:49:45 _, type, row, col, owner = *rd.match(/(w|f|a|d|h) (\d+) (\d+)(?: (\d+)|)/) 2011-10-22T19:50:00 The |h in there needs to be added before you can add to the case statement. 2011-10-22T19:50:09 err, DataWraith, how do I run my bot? 2011-10-22T19:50:24 huh 2011-10-22T19:50:26 mine already has this: rd.match(/(w|f|h|a|d) (\d+) (\d+)(?: (\d+)|)/) 2011-10-22T19:50:36 maybe they already fixed it? 2011-10-22T19:50:40 Hm, maybe it got fixed since I downloaded mine? 2011-10-22T19:50:43 when 'h' 2011-10-22T19:50:44 @map[row][col].hill=owner 2011-10-22T19:50:47 apparently so 2011-10-22T19:51:03 someone needs to update the website then 2011-10-22T19:51:41 I think it was already sometimes after I posted on the forums 2011-10-22T19:51:51 Alexer: I thought about contributing changes to the Ruby starter, but I would probably have rewritten it from scratch... not even the indentation is proper... 2011-10-22T19:51:51 I redownloaded the starterpack and didn't have the same problem 2011-10-22T19:52:13 DataWraith, hehe :D 2011-10-22T19:52:34 No, seriously. The ruby community pretty much agrees that tabs are a bad idea in ruby code. ^^ 2011-10-22T19:52:46 DataWraith, i prefer indenting with tabs (though the python recommendation is to use spaces), so i re-indented it too 2011-10-22T19:52:49 yeah this lib kind of sucks tbh :P 2011-10-22T19:52:52 and seriously rewrote it 2011-10-22T19:52:56 no commenting 2011-10-22T19:53:09 https://github.com/aichallenge/aichallenge/tree/epsilon/ants/dist/starter_bots/lolcode 2011-10-22T19:53:10 lol 2011-10-22T19:53:28 cirno_the_greate: Well, I'd be worried if there was one for brainfuck... 2011-10-22T19:53:42 ^^ 2011-10-22T19:53:43 *** jcdjcd has quit IRC (Quit: Leaving) 2011-10-22T19:53:49 cirno_the_greate, dear god :D 2011-10-22T19:54:00 there are a good deal many esoteric languages for which i would be worried if someone wrote a starter 2011-10-22T19:54:07 more so than lolcode 2011-10-22T19:54:28 *** jcdny has joined #aichallenge 2011-10-22T19:54:29 brainfuck, shakespeare, ... malbolge 2011-10-22T19:54:38 Ugh. malbolge... 2011-10-22T19:54:39 malbolge indeed 2011-10-22T19:54:47 meow? 2011-10-22T19:55:13 Islacrusez, a cat is fine too? 2011-10-22T19:55:27 *** bitbrit has quit IRC (Quit: bitbrit) 2011-10-22T19:55:36 Islacrusez: You can edit the scripts in that folder to call your bot instead of the hunter bot 2011-10-22T19:55:38 I'm trying to figure out how to run the bot, can someone walk me through it please? 2011-10-22T19:55:56 or rather, follow the tutorial where it says 2011-10-22T19:56:14 the only problem with a brainfuck starter would probably be that it wouldn't probably help anyone wanting to code the bot in brainfuck :D 2011-10-22T19:56:26 XD 2011-10-22T19:56:31 *** nithin has quit IRC (Quit: Page closed) 2011-10-22T19:57:00 q DataWrait 2011-10-22T19:57:08 ai.run do |ai| is that loop per turn? 2011-10-22T19:57:14 Yeah. 2011-10-22T19:57:30 oh, i have to go get food before the fast food restaurant closes (it's 03:00 here) 2011-10-22T19:57:32 and last q i promise (I think) 2011-10-22T19:57:45 is the map you're given only represent what you can CURRENTLY see? 2011-10-22T19:57:46 only 1am here, woop 2011-10-22T19:57:52 or does what you saw before remain 2011-10-22T19:58:01 despite it being out of LOS 2011-10-22T19:58:03 Water remains, because the server does not update that. 2011-10-22T19:58:05 Islacrusez, btw, you stopped mid-sentence there 2011-10-22T19:58:11 < Islacrusez> or rather, follow the tutorial where it says 2011-10-22T19:58:15 Everything else is cleared at the beginning of the round. 2011-10-22T19:58:39 >At this point you'll probably want to test your own bot in a match. First you'll have to know how to run the bot. 2011-10-22T19:58:43 it loses me after this point 2011-10-22T19:58:53 or rather, I try to follow, and what I try gives an error 2011-10-22T19:59:02 what are you doing? 2011-10-22T19:59:10 so I'm either doing it wrong, or getting an error, generally it's likely to be the former 2011-10-22T19:59:28 Islacrusez, what are you doing and what error does it give? 2011-10-22T20:00:09 play_one_game does not output warnings or stderr or does it? 2011-10-22T20:00:18 localhost:java_starter_package m4$ java mybot.class Exception in thread "main" java.lang.NoClassDefFoundError: mybot/class 2011-10-22T20:00:24 *** twymer has quit IRC (Ping timeout: 240 seconds) 2011-10-22T20:00:40 are you calling it with -jar option? 2011-10-22T20:00:56 roflmao: No, but you can just add the -e switch to the ./playgame.py commandline inside 2011-10-22T20:01:04 the first half of the line is the full command as I wrote it, so that'd be a nope 2011-10-22T20:01:08 I see 2011-10-22T20:01:10 what am I supposed to type? 2011-10-22T20:01:11 vnice 2011-10-22T20:01:57 *** djr_ has quit IRC (Ping timeout: 252 seconds) 2011-10-22T20:02:14 it's weird, but the game starts by calling python, not your bot 2011-10-22T20:02:36 yeabh 2011-10-22T20:02:39 try looking at the tutorial.cmd file in the tutorial 2011-10-22T20:02:58 that should give you an idea about how to start and configure it. 2011-10-22T20:02:59 swinejihad, but if the bot gives him an error, there's probably something else wrong too 2011-10-22T20:03:16 I'm totally running this shit through rubymine if I can get it to work 2011-10-22T20:03:24 <3 my debugger 2011-10-22T20:04:03 also when I downloaded the starter pack, it unzipped it by itself; when I zipped it and uploaded, it didn't compile; while the original zip did? is that supposed to happen? 2011-10-22T20:04:36 Hm, not really. 2011-10-22T20:05:24 *** pvarga has joined #aichallenge 2011-10-22T20:06:34 What is the spawn radius value for? 2011-10-22T20:06:50 manhattan a* ftw here we come! 2011-10-22T20:07:45 *** skyramp has quit IRC (Ping timeout: 265 seconds) 2011-10-22T20:08:42 Does it represent the number of squares away an ant has to be from a spot for something to spawn there? 2011-10-22T20:09:54 SharkMonkey: Good question. 2011-10-22T20:10:35 SharkMonkey: The only other thing might be the radius around the hill that food is spawned at the beginning. 2011-10-22T20:11:40 SharkMonkey: Or maybe the area around a hill where ants can spawn, with the default being 1 (only on top). 2011-10-22T20:12:10 *** djr__ has joined #aichallenge 2011-10-22T20:12:35 I'd imagine it's that 2011-10-22T20:12:52 the documentation is *so* helpful =/ 2011-10-22T20:13:09 :/ 2011-10-22T20:13:49 " "spawnradius2" # spawn radius squared " right. 2011-10-22T20:14:14 that is the extent of the information given xD 2011-10-22T20:14:26 it's also mentioned elsewhere, but reads much the same 2011-10-22T20:15:41 *** gnok has quit IRC (Quit: Page closed) 2011-10-22T20:15:49 Anyway, it's past 2am here, so I better go to bed. 2011-10-22T20:16:04 Cya :) 2011-10-22T20:16:14 aww =[ 2011-10-22T20:16:22 Islacrusez: Sorry. :/ 2011-10-22T20:16:23 *** ikaros has quit IRC (Quit: Ex-Chat) 2011-10-22T20:16:35 any idea what's wrong with this thing before you go? 2011-10-22T20:16:45 *** tr3v has joined #aichallenge 2011-10-22T20:16:51 Java. It's using Java. :P 2011-10-22T20:16:56 Islacrusez: try doing it with the -jar option 2011-10-22T20:16:57 =P 2011-10-22T20:17:10 if you don't get an error from that, it means your bot's fine 2011-10-22T20:17:11 *** tr3v is now known as Guest95694 2011-10-22T20:17:33 then look at the tutorial for the python command 2011-10-22T20:17:55 swinejihad: assuming that means "java mybot.class -jar", it gives the same error 2011-10-22T20:18:17 well, gnight DataWraith 2011-10-22T20:18:29 I don't really know all that much about Java, but wouldn't it be 'java mybot.java' ? 2011-10-22T20:18:41 thx. :) 2011-10-22T20:19:04 I hope you can figure it out. 2011-10-22T20:19:15 nah, you have to target the compiled .class or the jar 2011-10-22T20:19:21 Ah, okay. 2011-10-22T20:19:33 change "mybot.class" to "mybot.jar" 2011-10-22T20:19:38 Anyway, I'm off. n8. 2011-10-22T20:19:43 and make sure you have the right directory on 2011-10-22T20:19:45 *** DataWraith has quit IRC (Quit: leaving) 2011-10-22T20:20:28 the directory of the sample bot? 2011-10-22T20:20:36 mmhmm 2011-10-22T20:21:20 so how do I get play_one-game to show my output? 2011-10-22T20:21:23 that's the one I'm in; should I have the tools folder in there as well? 2011-10-22T20:21:38 and changing it to .class still gives me Exception in thread "main" java.lang.NoClassDefFoundError: mybot/class 2011-10-22T20:22:04 correct 2011-10-22T20:22:15 *** helkafen has quit IRC (Ping timeout: 265 seconds) 2011-10-22T20:22:20 wait what, *reads harder* 2011-10-22T20:22:35 have you compiled it into a jar yet? 2011-10-22T20:22:41 one sec 2011-10-22T20:23:22 right, let's see; I have "mybot.java" which is what it came with; what am I supposed to do with it? 2011-10-22T20:23:54 if you know how to compile it and wrap it into a .jar file then do that 2011-10-22T20:24:03 otherwise just pop over to the tutorial and copy the make.cmd file 2011-10-22T20:24:14 running make.cmd will take care of it for you 2011-10-22T20:24:24 *** Guest95694 has quit IRC (Ping timeout: 256 seconds) 2011-10-22T20:24:59 a .cmd? meep 2011-10-22T20:26:09 is there a way to run the live visualizer AND keep cmd output? 2011-10-22T20:26:09 also, am I missing something stupid like a java dev kit? 2011-10-22T20:26:41 *** pvarga has quit IRC (Quit: pvarga) 2011-10-22T20:28:15 you might be if you've never compiled a java file before 2011-10-22T20:28:40 * cirno_the_greate updated haskell starter kit at github with hills support 2011-10-22T20:28:52 awesome 2011-10-22T20:28:59 I'm on OS X, so can't run a cmd from here anyway, lemme see if I can grab the JDK 2011-10-22T20:29:05 can I have the link to that? 2011-10-22T20:29:21 swinejihad: https://github.com/qacek/ants-haskell/pull/1 2011-10-22T20:29:29 *** kloeri has joined #aichallenge 2011-10-22T20:29:29 thx 2011-10-22T20:29:50 swinejihad: you writing bot in haskell? 2011-10-22T20:30:09 I was considering it 2011-10-22T20:30:17 I'm learning it right now 2011-10-22T20:30:33 me too :) 2011-10-22T20:31:00 read 1 year ago gentle-introduction-into-haskell-98.pdf and abandoned it 2011-10-22T20:31:06 *** njan has left #aichallenge 2011-10-22T20:31:09 oh great, there isn't a complete JDK for OSX? like I need another source of potential failure... should I just switch to a different language? 2011-10-22T20:31:37 cirno_the_greate, Considering it too or actually using it? 2011-10-22T20:32:14 I'm pretty sure OSX has a jdk, some classmates of mine did their hw on a macbook 2011-10-22T20:32:39 SharkMonkey: consdering and tinkering 2011-10-22T20:32:50 i really would like to write working bot 2011-10-22T20:32:53 *** pvarga has joined #aichallenge 2011-10-22T20:32:58 well, i have already collision detection 2011-10-22T20:33:03 through dirty IORef 2011-10-22T20:33:26 there's a developer preview with a huge warning label saying it's a work in progress 2011-10-22T20:34:20 but I really don't want to introduce another potential source of errors since I don't know where they're coming from as it is 2011-10-22T20:34:39 *** vladimirk_ has joined #aichallenge 2011-10-22T20:34:57 *** pedrosorio has quit IRC (Quit: Page closed) 2011-10-22T20:35:17 SharkMonkey: well, i'm actually using it :) 2011-10-22T20:35:26 I'll give it a go 2011-10-22T20:35:59 cirno_the_greate, I'm thinking of switching to a statically typed language. Using python now. 2011-10-22T20:36:20 I figure C++ will be too much headach 2011-10-22T20:36:37 Haskell is looking attractive 2011-10-22T20:36:57 what's the best choice if I'm most familiar with AS2? 2011-10-22T20:37:09 Islacrusez, javascript maybe? 2011-10-22T20:37:09 *** pedrosorio has joined #aichallenge 2011-10-22T20:37:55 though it really doesn't matter; has been years since I last touched raw code; all I can write nowadays is pseudocode 2011-10-22T20:38:19 SharkMonkey: c++ itself just a bunch of headache 2011-10-22T20:38:27 i would suggest also ocaml 2011-10-22T20:38:59 *** springs has left #aichallenge 2011-10-22T20:39:05 i'm newbie with haskell, and sometimes just running around with its pureness 2011-10-22T20:39:29 Islacrusez, People say python is "executable psuedocode". I think that's too much of a stretch, but maybe you'll feel that way too. 2011-10-22T20:40:12 what's java like; ever used that? 2011-10-22T20:40:27 i think a little bit understand why you want to switch over python 2011-10-22T20:40:33 initially i wanted ruby 2011-10-22T20:40:47 but thought it's runtime could be a little bit slow 2011-10-22T20:41:08 Islacrusez: java not hard 2011-10-22T20:41:31 java's boring but relatively fast and mature 2011-10-22T20:41:41 "boring"? 2011-10-22T20:42:07 like all other mainstream computer languages 2011-10-22T20:42:19 may be a little bit more boring than other 2011-10-22T20:42:31 it's unexciting. It doesn't support a lot of particularly innovative features but it has IMO a very good OO system 2011-10-22T20:42:42 *** vladimirk_ has quit IRC (Quit: Page closed) 2011-10-22T20:43:03 just look through wikipedia pages and choose what you like from first sight :) 2011-10-22T20:43:09 sudo mkdir should be fairly harmless, right? 2011-10-22T20:44:24 "The current game rate is about 0.0 players per minute." :? 2011-10-22T20:44:56 That's under 9000 2011-10-22T20:46:07 goffrie: you can play at http://ants.fluxid.pl/ 2011-10-22T20:46:39 that looks cool! thanks 2011-10-22T20:47:12 \q 2011-10-22T20:47:23 *** So8res has quit IRC (Quit: Lost terminal) 2011-10-22T20:47:26 looks like these bot are generally better by average :p 2011-10-22T20:48:09 ok, I have a JDK, now what o.O 2011-10-22T20:48:30 *** UltraMegaSupreme has joined #aichallenge 2011-10-22T20:48:37 *** ChrisH_ has joined #aichallenge 2011-10-22T20:48:43 I guess you'll have to figure out how to compile all of your files and make it into a jar 2011-10-22T20:50:09 Can water change in the middle of a game? 2011-10-22T20:50:15 *** djr_ has joined #aichallenge 2011-10-22T20:50:24 SharkMonkey: no 2011-10-22T20:50:29 pretty sure it never changes, and is never updated 2011-10-22T20:51:00 almost done with my barebones a* 2011-10-22T20:51:03 :) 2011-10-22T20:51:18 huh, permission denied? 2011-10-22T20:51:48 http://ants.fluxid.pl/replay.1094 row 18 col 27 2011-10-22T20:52:33 Islacrusez, If you aren't familiar with java you could maybe save yourself the trouble and not use it. :). OSX right? Odds are that's already installed and ready to go on your system. 2011-10-22T20:52:51 its preinstalled, but the sdk isn't 2011-10-22T20:53:00 *** bobbydroptable has joined #aichallenge 2011-10-22T20:53:08 *** ChrisH_ has quit IRC (Client Quit) 2011-10-22T20:53:09 Err sorry. I meant odds are python is already installed 2011-10-22T20:53:11 *** swinejihad has quit IRC (Ping timeout: 265 seconds) 2011-10-22T20:53:12 except for lion, which may be needed to be installed separated 2011-10-22T20:53:12 *** keith_ has joined #aichallenge 2011-10-22T20:53:29 hello? 2011-10-22T20:53:35 I think I'm still on leopard 2011-10-22T20:53:46 *** sigh has joined #aichallenge 2011-10-22T20:53:49 is the server broken? 2011-10-22T20:53:58 all the python stuff seems to work so far, so I guess I could try python 2011-10-22T20:54:24 i got PHP working, it's the most fun to play with 2011-10-22T20:54:28 *** pvarga has quit IRC (Quit: pvarga) 2011-10-22T20:54:28 i've done mine in python 2011-10-22T20:54:32 3.2.1 2011-10-22T20:54:34 RUBY FTW 2011-10-22T20:54:35 PHP it's like super simple 2011-10-22T20:54:35 no problems 2011-10-22T20:54:36 * avdg is doing it in js 2011-10-22T20:54:42 letmetellyou are you insane? 2011-10-22T20:54:49 but I know php better actually 2011-10-22T20:54:59 roflmao why? 2011-10-22T20:55:03 Let's not have language pissing contests here :) 2011-10-22T20:55:31 SharkMonkey is wise, but ruby is much easier 2011-10-22T20:55:35 lol 2011-10-22T20:55:37 if you want to talk about sheer ease of use 2011-10-22T20:55:43 setting aside performance and other things 2011-10-22T20:55:49 ruby is quite easier than php 2011-10-22T20:56:02 usage makes your language better or worst ;-) 2011-10-22T20:56:12 why isn't there an assembly starter pack pfft 2011-10-22T20:56:13 what i dont understadn is why that ruby can be any easier than PHP already is 2011-10-22T20:56:24 avdg, That's why every language I use is terrible :) 2011-10-22T20:56:28 I have more PHP knowledge than ruby but loving ruby way more :P 2011-10-22T20:56:40 i want to do my bot in m68k 2011-10-22T20:56:41 I'll take it to PMs with letmetellyou 2011-10-22T20:56:42 SharkMonkey: agree 2011-10-22T20:57:54 So the game server is running okay right now? My profile says the game rate is 0 per minute. 2011-10-22T20:58:04 i went to bed , woke up, and had only 1 game 2011-10-22T20:58:07 *** Xokker has joined #aichallenge 2011-10-22T20:58:08 lol 2011-10-22T20:58:12 * Islacrusez gives up on java 2011-10-22T20:58:14 *** dungeonduke has joined #aichallenge 2011-10-22T20:58:14 hello 2011-10-22T20:58:20 I'm lucky to have a few games 2011-10-22T20:58:36 yeh i'm a little worried about updating my bot because i don't want to have to wait ages to get to that level again 2011-10-22T20:58:45 so i'm gonna make sure my next bot will be super super awesome 2011-10-22T20:58:49 test it locally? 2011-10-22T20:58:57 or use other servers? 2011-10-22T20:59:09 at least, be sure its unreadable 2011-10-22T20:59:29 i submitted my code 11 hours ago, and it has played just once. Is it ok? 2011-10-22T20:59:41 that's not really ok 2011-10-22T20:59:55 from what i've heard, they prioritise 10 games for new bots? 2011-10-22T21:00:09 if you look at all the top bots, they all have 11-12 games 2011-10-22T21:00:22 i know it's a bad idea to start posting totally irrelevant stuff here but it's for science: http://www.youtube.com/watch?v=Ws6AAhTw7RA 2011-10-22T21:00:30 my bot is second version 2011-10-22T21:00:42 oh that may be why? : 2011-10-22T21:00:58 to stop people from repeatedly submitting 2011-10-22T21:01:00 maybe 2011-10-22T21:01:03 my bot is like fifth version, because in several hours it didn't play a single game...was worried I was silently broken. 2011-10-22T21:01:13 or maybe the server's just broken 2011-10-22T21:01:57 just a thought, i think the game actually scales your timeout depending on the number of ants you have 2011-10-22T21:02:04 *** eric has joined #aichallenge 2011-10-22T21:02:09 letmetellyou: lovely :-) 2011-10-22T21:02:19 so certain games end up with you having like 200-300 ants, that's a lot of cpu being taken up lol 2011-10-22T21:02:25 *** levis501 has joined #aichallenge 2011-10-22T21:02:27 *** eric is now known as Guest83523 2011-10-22T21:02:32 *** Guest83523 is now known as heeltoehero 2011-10-22T21:03:03 looks like most recent games have stopped as of 11:30 server time. 2011-10-22T21:05:21 I don't think my bot even played a game o.O 2011-10-22T21:05:50 admittedly he's just a sample bot, but still 2011-10-22T21:06:04 *** lurbina has joined #aichallenge 2011-10-22T21:06:38 my last run was on 4:48pm server time 2011-10-22T21:06:47 Nor has mine. I think the server broke about 1.5 hours ago. 2011-10-22T21:07:15 so i get to keep my rank for a while longer :D 2011-10-22T21:07:29 It's like 1:05am server time and the last game was 11:30 server time. 2011-10-22T21:07:30 ugh, ok, now I have a python bot... what am I supposed to type in console? python mybot.py ? 2011-10-22T21:08:01 *** levis501 has quit IRC (Quit: levis501) 2011-10-22T21:08:02 to test it 2011-10-22T21:08:10 wait 2011-10-22T21:08:13 @Islacrusez the tutorial shows how to make a script to run the engine and load your bot. 2011-10-22T21:08:14 keith_: An error occured while trying to show the previous error. 2011-10-22T21:08:15 windows or linux? 2011-10-22T21:08:23 osx 2011-10-22T21:08:27 oh then go 2011-10-22T21:08:38 keith_: you'd be surprised how unhelpful the tutorial is 2011-10-22T21:08:38 ./test_bot.sh "python MyBot.py" 2011-10-22T21:08:40 I use os x 2011-10-22T21:08:43 quotes are needed 2011-10-22T21:09:06 there's also play_one_game.sh 2011-10-22T21:09:10 *** Laventus has quit IRC (Quit: Leaving) 2011-10-22T21:09:11 which plays a 100 turn game 2011-10-22T21:09:16 so 2011-10-22T21:09:21 < bobbydroptable> from what i've heard, they prioritise 10 games for new bots? 2011-10-22T21:09:24 1000 turn game, actually :S 2011-10-22T21:09:36 oh yeh i changed it 2011-10-22T21:09:36 afaik they just prioritize the first submission 2011-10-22T21:09:38 lol 2011-10-22T21:09:39 i made a copy 2011-10-22T21:09:45 play_one_game and play_full_game hehe 2011-10-22T21:09:50 ./play_one_game.sh -I "python MyBot.sh" 2011-10-22T21:09:59 python ../tools/playgame.py "java -jar AntsImplementation/dist/aichallengeKWB.jar" "python ../tools/sample_bots/python/HunterBot.py" --map_file ../tools/maps/example/tutorial1.map --log_dir ../game_logs --turns 200 --scenario --food none --player_seed 7 --verbose -e 2011-10-22T21:09:59 the -I is useful because it creates input files for you 2011-10-22T21:10:11 (my mac shell script to look at what my bot is doing) 2011-10-22T21:10:20 then once you have the input files 2011-10-22T21:10:38 python MyBot.sh < game_logs\0.bot0.input 2011-10-22T21:10:45 bobbydroptable, it took me 4 hours to get my second game back when the server was not totally stuck (10 players per minute) 2011-10-22T21:11:00 if you output debugging text to sys.stderr you will be able to see it that way 2011-10-22T21:11:09 or any crashes will show up 2011-10-22T21:11:28 *** pedrosorio has quit IRC (Quit: Page closed) 2011-10-22T21:11:29 unless its a timeout ;-) 2011-10-22T21:11:36 Alexer that's what i heard too. the server's been crumbling since yesterday 2011-10-22T21:11:52 avdg if it is a timeout, you will be able to see through the debugging messages where it's timing out 2011-10-22T21:12:03 if it is an infinite loop 2011-10-22T21:12:14 its simply harder to debug 2011-10-22T21:12:18 honestly, i've not yet had to seriously optimise anything as of yet. 2011-10-22T21:12:22 lets keep it on that :-) 2011-10-22T21:12:33 lol 2011-10-22T21:12:34 meh, I wrote code too quickly 2011-10-22T21:12:45 i started learning python 2 days ago so i can't comment :D 2011-10-22T21:13:02 debugging messages are a pain ,agreed. give me a proper debugger anyday 2011-10-22T21:13:25 I'm trying to solve it with a more stable api 2011-10-22T21:13:57 *** Purrp has joined #aichallenge 2011-10-22T21:14:04 I simply have no good base to script in js 2011-10-22T21:14:12 but that opens a challenge :-) 2011-10-22T21:14:58 yeh i don't like the starter packs in some aspects 2011-10-22T21:15:01 gotta go 2011-10-22T21:15:03 *** bobbydroptable has quit IRC (Quit: Page closed) 2011-10-22T21:15:03 *** capa has joined #aichallenge 2011-10-22T21:15:14 *** amstan has joined #aichallenge 2011-10-22T21:15:14 *** ChanServ sets mode: +o amstan 2011-10-22T21:15:21 anything on fire? 2011-10-22T21:15:37 maybe the servers? 2011-10-22T21:15:51 tumblr monsters attacking them? 2011-10-22T21:15:53 :D 2011-10-22T21:15:56 it looks like there aren't many games running (from hearing) 2011-10-22T21:16:04 *** amphetamine is now known as COCKAINE 2011-10-22T21:16:11 yup, running at the brisk pace of 0.0 per minute 2011-10-22T21:16:24 *** COCKAINE is now known as amphetamine 2011-10-22T21:17:33 *** keith_ has quit IRC (Quit: Page closed) 2011-10-22T21:18:13 *** Redgis has quit IRC (Ping timeout: 240 seconds) 2011-10-22T21:18:51 *** slaftos has joined #aichallenge 2011-10-22T21:19:25 *** Xunie has quit IRC (Ping timeout: 240 seconds) 2011-10-22T21:19:59 *** dc has joined #aichallenge 2011-10-22T21:20:17 amphetamine, "AINE" means "stuff" in finnish *thumbsup* ;) 2011-10-22T21:20:45 yes, my nicknames are the best. i know. 2011-10-22T21:21:11 *** dc has quit IRC (Client Quit) 2011-10-22T21:21:13 *** ztfw has quit IRC (Remote host closed the connection) 2011-10-22T21:23:00 *** vardd has joined #aichallenge 2011-10-22T21:23:38 *** slaftos has quit IRC (Ping timeout: 265 seconds) 2011-10-22T21:23:56 *** djr_ has quit IRC (Ping timeout: 258 seconds) 2011-10-22T21:27:41 *** he_the_great has quit IRC (Remote host closed the connection) 2011-10-22T21:27:46 oh well this failed 2011-10-22T21:27:58 Islacrusez, the fact that none of the three workers are online could have something to do with it :D 2011-10-22T21:28:44 tried this, as per the tutorial thing... 2011-10-22T21:28:45 localhost:tools m4$ ./play_one_game.sh -So | java -jar visualizer.jar 2011-10-22T21:29:13 can you guess what happened? 2011-10-22T21:29:38 The heavens opened up and showered you with gold. 2011-10-22T21:29:39 notSoInterestingException? 2011-10-22T21:29:44 Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:676) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.n 2011-10-22T21:29:57 *** amstan has quit IRC (Read error: Operation timed out) 2011-10-22T21:30:11 o.o 2011-10-22T21:30:40 oh, i guess amstan noticed the servers are on fire and fled to a tropical island somewhere far, far away... 2011-10-22T21:31:18 ty you organisation :p 2011-10-22T21:31:54 (just kidding, but that should be obvious right?) 2011-10-22T21:32:17 so should I just give up on coding forever? everything I touch seems to break xD 2011-10-22T21:32:33 avdg, that does not compute 2011-10-22T21:33:03 Islacrusez, just java stuff 2011-10-22T21:33:12 Islacrusez, i stick to python, it never seems to break :-) 2011-10-22T21:33:33 except that one time i found the __getattribute__ bug 2011-10-22T21:33:53 I'm trying to make the python bot run now, but wanted to try this first and it died 2011-10-22T21:34:18 ok, I'm in my bot directory, with my tools in a folder in it, and a python sample bot... 2011-10-22T21:35:55 You should be able to use everything but the live visualizer thingy 2011-10-22T21:36:44 I tried the line of code that bobby suggested, and now it's complaining I have 5 bots instead of 4 2011-10-22T21:37:07 Islacrusez: copy and edit the script? 2011-10-22T21:37:27 you should use it without parameters 2011-10-22T21:38:15 should I just give up on the "using the tools" tutorial? it doesn't seem to be helping at all >< 2011-10-22T21:38:37 Islacrusez, Edit the script and replace one of the four bots mentioned there with yours. 2011-10-22T21:38:46 And you will be good to go 2011-10-22T21:41:31 *** Xokker has quit IRC (Ping timeout: 265 seconds) 2011-10-22T21:43:01 *** doh_ has joined #aichallenge 2011-10-22T21:43:12 *** FusionX has quit IRC (Excess Flood) 2011-10-22T21:44:03 *** letmetellyou has quit IRC (Quit: Page closed) 2011-10-22T21:44:42 *** andy2011 has joined #aichallenge 2011-10-22T21:45:05 *** FusionX has joined #aichallenge 2011-10-22T21:47:06 *** dangoodman has joined #aichallenge 2011-10-22T21:48:10 hmm, so should I have my bot folder inside the tools, not the other way around? 2011-10-22T21:49:08 Islacrusez, i have them side-by-side, ants/tools/ and ants/bot/ 2011-10-22T21:49:34 but it of course comes down to personal preference 2011-10-22T21:49:55 it might be easier to zip up if the tools arent inside the bot folder.. 2011-10-22T21:50:15 ok, so how do I tell the script to use the bot in the other folder? 2011-10-22T21:50:20 and to be clear, which script? 2011-10-22T21:51:05 *** amphetamine has quit IRC (Ping timeout: 256 seconds) 2011-10-22T21:51:15 'python ../bots/MyBot.py' 2011-10-22T21:51:26 ah 2011-10-22T21:51:39 well, every .sh script calls playgame.py under the hood 2011-10-22T21:51:41 .., didn't know you could do that like that 2011-10-22T21:51:54 *** ashoka has joined #aichallenge 2011-10-22T21:52:25 *** amstan has joined #aichallenge 2011-10-22T21:52:25 *** ChanServ sets mode: +o amstan 2011-10-22T21:53:22 so he's not enjoying some tropical island after all 2011-10-22T21:53:26 or they have free wifi there 2011-10-22T21:53:27 amstan, in case you haven't noticed, none of the workers seem to be online :P 2011-10-22T21:54:35 (which could explain why no games have been played) 2011-10-22T21:56:11 ok, now my bot appears to be running 2011-10-22T21:56:11 any suggestions for making A* not suck for maze maps? 2011-10-22T21:56:17 only 2 hours later 2011-10-22T21:56:36 does this stupid library redefine ants every turn? 2011-10-22T21:56:38 cause that would suck yknow 2011-10-22T21:56:56 I take that back, my bot crashed 2011-10-22T21:56:59 it does.... 2011-10-22T21:57:02 What do you mean redefine ants? 2011-10-22T21:57:03 that sucks serious ass 2011-10-22T21:57:04 :-) I'm already trying to avoid recomputing, its a hard work 2011-10-22T21:57:11 as in if every turn all my ant objects are recreated 2011-10-22T21:57:21 they are new instances 2011-10-22T21:57:49 (mine goes directly on top of the code that controls the stream) 2011-10-22T21:57:50 because for a* to work I need to store an array of "walked" tiles for the objective 2011-10-22T21:58:01 that gets updated every turn after an ant makes a move 2011-10-22T21:58:15 but since my ants are being reset by the framework, the walked tiles multi-dimensional array is always empty 2011-10-22T21:58:19 L( 2011-10-22T21:58:21 :( 2011-10-22T21:59:19 roflmao - the problem isn't overly difficult, but each round you have to map your ants to their new location. 2011-10-22T21:59:39 I use the ants from the framework (tiles with MY_ANTS) to update my own data structure. 2011-10-22T21:59:47 They don't always follow the orders 2011-10-22T21:59:56 *** smiley1983 has joined #aichallenge 2011-10-22T22:00:01 Then figure out whether they moved, failed or died. 2011-10-22T22:00:12 guys, how do I make my bot not crash? =/ or rather, how do I find out why it did? 2011-10-22T22:00:17 basically I'm going to have to rewrite the way the framework reads in the data 2011-10-22T22:00:19 which kind of sucks 2011-10-22T22:00:42 Islacrusez, Does the final state say crashed? 2011-10-22T22:00:45 Islacrusez, add -eE to the playgame.py invocation 2011-10-22T22:00:55 yes SharkMonkey 2011-10-22T22:01:02 on read_turn @my_ants=[] 2011-10-22T22:01:28 in other words the ants array is completely reset and all the ant objects are completely remade 2011-10-22T22:01:41 shouldn't be too hard to fix I guess 2011-10-22T22:02:10 It's not like they have unique identifiers or anything 2011-10-22T22:02:17 *** ants9384 has joined #aichallenge 2011-10-22T22:02:45 *** cutoff has joined #aichallenge 2011-10-22T22:02:45 conceptually, my_ants is really 'current occupied tiles with my ants' 2011-10-22T22:03:02 yeah but what algorithm are you using to determine their pathfinding 2011-10-22T22:03:07 different than what you want, which is probably 'thing i really believe is an ant and persist over each ply' 2011-10-22T22:03:11 *** steve_uvic has joined #aichallenge 2011-10-22T22:03:25 yeah has to persist for the a* to work 2011-10-22T22:03:38 I use A* but it sucks in maze maps...hence my maze map question. 2011-10-22T22:03:51 well do you keep track of already walked tiles? 2011-10-22T22:04:06 do you really need to keep track of already walked tiles? 2011-10-22T22:04:10 of course 2011-10-22T22:04:12 I don't keep track of walked tiles and do A* 2011-10-22T22:04:13 otherwise the entire thing breaks down 2011-10-22T22:04:22 *** steve_uvic has quit IRC (Client Quit) 2011-10-22T22:04:28 because the ant will bounce back and forth between two tiles 2011-10-22T22:04:30 I precompute a path with A* and throw away nodes in the path 2011-10-22T22:04:31 surely not keeping them tracked is equivalent to always pathing with your current position as the start location 2011-10-22T22:04:39 As I traverse them 2011-10-22T22:04:45 sorta. my 'intent' is to remember paths each ant has taken. 2011-10-22T22:04:52 same here doh_ 2011-10-22T22:04:59 *** savge has joined #aichallenge 2011-10-22T22:05:01 easier than precomputing sort of 2011-10-22T22:05:20 my ant doesn't walk during A*. I use A* to find a path a priori to a destination i'd like to reach. 2011-10-22T22:05:29 * avdg tries to use "heat maps" 2011-10-22T22:05:36 then my ant remembers the path that the A* planner found. 2011-10-22T22:05:40 but I didn't implement it yet 2011-10-22T22:05:45 how do you get it to remember the path see that's the thing 2011-10-22T22:05:55 OH GOD 2011-10-22T22:05:56 since every turn i'm dealing with new ant objects 2011-10-22T22:05:56 what a fail 2011-10-22T22:05:58 Then inevitably something changes and it replans. 2011-10-22T22:06:14 * Islacrusez facepalms and quietly corrects his directory 2011-10-22T22:06:27 Islacrusez, do tell :)) 2011-10-22T22:06:45 roflmao: have your array of ant objects, and then on each new turn have them check to see if they're still alive (i.e., is there an ant of your color in the expected location) 2011-10-22T22:06:45 Each 'ply' I map the current world ant states to the 'persisted' ant that most likely is now there. 2011-10-22T22:06:52 *** yoyoo has joined #aichallenge 2011-10-22T22:07:00 I have AI challenge> bot, tools; but also bot > tools 2011-10-22T22:07:20 I set my script to find my bot at ../bot/mybot 2011-10-22T22:07:25 guess where the script was 2011-10-22T22:07:57 in AI/bot/tools, not AI/tools 2011-10-22T22:08:00 (rmmh said it more succintly) 2011-10-22T22:08:07 yeah 2011-10-22T22:08:13 >:P 2011-10-22T22:08:21 I think I'm going to define a seperate class 2011-10-22T22:08:26 roflmao: if you mark the distance from the source at each step of the search (whether A* or bfs or something else) you can just step back along the path to whichever tile has the lowest distance value 2011-10-22T22:08:27 AntHelper or so that has the persistent information only 2011-10-22T22:08:39 smiley: that's exactly what I'm doing 2011-10-22T22:09:12 games still seem to be stalled on server. 2011-10-22T22:09:13 and then map the persistent information to the new ant objects, I guess that'll work. 2011-10-22T22:09:47 that's what I do. It can be a bit tricky ... 2011-10-22T22:09:57 Alexer: programming:1 - noob:0 2011-10-22T22:09:59 pretend two ants are so stupid they both move to the same square 2011-10-22T22:10:07 right 2011-10-22T22:10:12 each has an ant directly behind it, following it. 2011-10-22T22:10:31 *** simonmc has quit IRC (Ping timeout: 265 seconds) 2011-10-22T22:10:35 when everything moves, the 'specific' ant may not be correct. 2011-10-22T22:10:56 ...but you'll make more, so does it really matter if it's joey or tommy that really remained alive? 2011-10-22T22:11:11 (in my case it does...because they have decidedly different ant personalities) 2011-10-22T22:11:19 Mutual ant suicide :( 2011-10-22T22:11:24 hahaha 2011-10-22T22:11:41 see what I'm currently doing is just a* but spread out on each turn 2011-10-22T22:11:49 I don't calculate the full path before a single move 2011-10-22T22:11:51 I just take it move at a time 2011-10-22T22:11:53 *** ChrisH_ has joined #aichallenge 2011-10-22T22:11:58 *** savge has quit IRC (Ping timeout: 265 seconds) 2011-10-22T22:11:59 in case I want to modify the path due to new info or whatevs 2011-10-22T22:12:05 is it possible to measure ant density? 2011-10-22T22:12:16 Aaah...I do full path, then no A* search unless I have to replan. 2011-10-22T22:12:29 If A* open list gets too big, I return partial plan 2011-10-22T22:12:32 which is the proper way of doing A* 2011-10-22T22:12:39 but I figured that since the food never moves from its place 2011-10-22T22:12:47 its not really necessary to calculate everything a priori 2011-10-22T22:12:49 turn 629 bot 3 invalid actions: o 49 75 w # not player ant o 38 82 s # not player ant 2011-10-22T22:12:51 Humm 2011-10-22T22:12:59 can get me into trouble, but hasn't so far. 2011-10-22T22:13:29 (islacrusez) don't order tiles to move for you...they don't listen :) 2011-10-22T22:13:36 but but but 2011-10-22T22:13:42 ='[ 2011-10-22T22:13:55 and that's just the sample bot! 2011-10-22T22:13:57 I'm going to float my hive 2011-10-22T22:14:35 i assume it's a starcraft reference...otherwise I'm clueless. 2011-10-22T22:15:36 and I've crashed anyway? :S 2011-10-22T22:16:05 *** ants9384 has quit IRC (Quit: Page closed) 2011-10-22T22:16:08 *** danielharan has joined #aichallenge 2011-10-22T22:16:33 so the server isn't even compiling uploads now...bummer :( 2011-10-22T22:17:42 *** diego_diego has joined #aichallenge 2011-10-22T22:17:48 *** Xunie has joined #aichallenge 2011-10-22T22:18:09 *** Transformer has joined #aichallenge 2011-10-22T22:18:21 *** Transformer has quit IRC (Excess Flood) 2011-10-22T22:18:23 Alexer: do you mean add -eE to the script I'm already editing? and where does it go? 2011-10-22T22:18:25 *** smiley1983 has quit IRC (Quit: leaving) 2011-10-22T22:18:45 *** J0KRESTER has joined #aichallenge 2011-10-22T22:18:57 Islacrusez, -eE to the playgame.py invocation 2011-10-22T22:19:17 *** J0KRESTER has quit IRC (Client Quit) 2011-10-22T22:19:26 that's inside play_one_game.sh and the other scripts (whichever you use) 2011-10-22T22:20:07 I wish I didn't have to remember my user name to log in 2011-10-22T22:20:25 if I did that correctly, what would it be doing? 2011-10-22T22:20:26 use a psw manager ;-) 2011-10-22T22:21:21 Islacrusez, it outputs the stderr from the bots to the console 2011-10-22T22:21:35 so if the code throws an exception, you'll see it 2011-10-22T22:22:08 You might also want to direct stdout to /dev/null or something 2011-10-22T22:22:44 *** Xunie has quit IRC (Ping timeout: 276 seconds) 2011-10-22T22:22:48 localhost:tools m4$ ./play.sh running for 100 turns turn 0 bot 0 crashed 2011-10-22T22:22:51 I'm doing something wrong 2011-10-22T22:22:57 lemme dig for a minute... 2011-10-22T22:23:12 *** exezive has quit IRC (Ping timeout: 255 seconds) 2011-10-22T22:23:16 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T22:24:09 localhost:tools m4$ ./play.sh running for 100 turns turn 0 bot 0 crashed /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't find '__main__' module in '..' 2011-10-22T22:24:10 erm? 2011-10-22T22:24:29 everything I touch breaks >< 2011-10-22T22:24:58 Islacrusez, paste the command line you use for playgame.py 2011-10-22T22:25:23 ./playgame.py -eE --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 100 --map_file maps/maze/maze_04p_01.map "$@" "python mybot.py" "python sample_bots/python/LeftyBot.py" "python sample_bots/python/HunterBot.py" "python sample_bots/python/GreedyBot.py" 2011-10-22T22:25:27 *** andy2011 has quit IRC (Quit: Page closed) 2011-10-22T22:25:50 Islacrusez, so you have mybot.py in the same directory as playgame.py, right? 2011-10-22T22:25:59 yeah 2011-10-22T22:26:36 well I do now, I was trying it earlier with it in a separate directory, but figured I might have botched the location again 2011-10-22T22:26:37 ugh, then, no idea. i'm haven't used modern macs 2011-10-22T22:26:54 *** danielharan has quit IRC (Remote host closed the connection) 2011-10-22T22:27:05 is it just me or does the tutorial not exactly work properly 2011-10-22T22:28:28 I've given up on the tutorial 2011-10-22T22:28:49 but then again, I'm about ready to call it quits altogether 2011-10-22T22:29:00 cutoff, I suppose that's part of the challenge. 2011-10-22T22:29:08 xD 2011-10-22T22:30:16 *** avers_ has joined #aichallenge 2011-10-22T22:30:33 # o 9 66 e # not player ant 2011-10-22T22:30:35 What is the skill value in the profile? 2011-10-22T22:30:39 b-b-b-b-ut 2011-10-22T22:31:02 My rank has gone up but my skill is donw 2011-10-22T22:31:04 *down 2011-10-22T22:31:27 localhost:tools m4$ ./test_bot.sh Traceback (most recent call last): File "/Users/m4/Downloads/AI_Challenge/tools/engine.py", line 92, in run_game sandbox.start(bot_cmd) File "/Users/m4/Downloads/AI_Challenge/tools/sandbox.py", line 383, in start cwd=working_directory) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/Libra 2011-10-22T22:31:29 Do we actually write new methods and classes for our bot or just modify the default code a bit 2011-10-22T22:31:32 this any more helpful? 2011-10-22T22:32:14 got an index error too if you'd like 2011-10-22T22:32:51 cutoff, If you want to be competitive, I think you have to modify th hell out of everything :) 2011-10-22T22:33:44 It's saturday night, I suppose the aichallenge staff are out doing more fun things, than server maintenence 2011-10-22T22:33:52 And player support 2011-10-22T22:34:47 fuck this a* thing doesn't work 2011-10-22T22:34:57 what's more fun than server maintenance and dealing with newbies? 2011-10-22T22:35:04 roflmao: what's going wrong? 2011-10-22T22:35:08 A* works well 2011-10-22T22:35:10 *** aslvrstn has quit IRC (Ping timeout: 265 seconds) 2011-10-22T22:35:30 it did a full 360 circle 2011-10-22T22:35:41 S W S E E N N W 2011-10-22T22:35:56 because the food was to the left but wall was seperating 2011-10-22T22:36:10 it will because A* is not 'building' a route. 2011-10-22T22:36:33 A* is traversing a search space (broadening it) until it finds a path around the wall. 2011-10-22T22:37:04 yeah but isn't the basic a* algorithm = go to square that takes you closest to objective square (use manhattan blocks to calculate directions) 2011-10-22T22:37:07 hence, you'll walk to every part of the wall before finding the first tile that moves you around it. 2011-10-22T22:37:15 NONONO 2011-10-22T22:37:16 yeah that's what should happen 2011-10-22T22:37:28 *** levis501 has joined #aichallenge 2011-10-22T22:37:56 think of depth first search 2011-10-22T22:38:13 you prune off branches when you know you're 'broken' 2011-10-22T22:38:36 A*'s heurisitic (manhatten distance) let's you prune sooner. 2011-10-22T22:38:48 ah, right, so S W S E E N N W would be one of the branches 2011-10-22T22:38:54 but since it breaks it would be pruned off by the algorithm 2011-10-22T22:38:56 yes. 2011-10-22T22:39:00 DUH 2011-10-22T22:39:14 thank you sir for pointing out this very obvious fact 2011-10-22T22:39:35 no problem. I spent most of yesterday screaming at my A* implementation. 2011-10-22T22:39:48 so yes ideally you go to square that takes you closest to objective square based on manhatten distance 2011-10-22T22:39:53 but that could lead you to a dead end 2011-10-22T22:40:04 so you have to explore all branches to find the most optimal solution that doesn't dead end 2011-10-22T22:40:08 gotcha 2011-10-22T22:41:02 I originally thought 'fixup' path planning would work better (go until you can't, then plot path around) 2011-10-22T22:41:13 *** iemand has joined #aichallenge 2011-10-22T22:41:21 haven't tried it though, and I think Mazes make that a really bad idea. 2011-10-22T22:41:31 yes exactly that's what I was doing 2011-10-22T22:41:45 a* works great but I definitely now see why you must calculate the full path apriori and can't just go following the "fix it" way 2011-10-22T22:41:53 cause the potential for dead ends is ENORMOUS 2011-10-22T22:42:37 i think so on mazes, but you might have a computational advantage on maps with fewer 'deadends' 2011-10-22T22:43:24 right exactly 2011-10-22T22:44:46 aight I'll do that part tomorrow 2011-10-22T22:45:00 hopefully the server will be running by then... 2011-10-22T22:45:07 my tests are running just fine 2011-10-22T22:45:12 by running play_one_turbn 2011-10-22T22:45:17 play_one_game sorry 2011-10-22T22:45:34 do you know if 'blocked' moves automatically disqualify your bot? 2011-10-22T22:45:59 (blocked by food) 2011-10-22T22:46:48 I don't 2011-10-22T22:47:15 *** djr__ has quit IRC (Ping timeout: 265 seconds) 2011-10-22T22:47:30 my 'latest' version is too stupid to update if food spawns at a target one move before. 2011-10-22T22:47:31 it only displays nice errors, but nothing more happens afaik 2011-10-22T22:47:36 even in strict mode 2011-10-22T22:47:55 thanks...that's good to know. 2011-10-22T22:48:55 thanks for the help doh_ 2011-10-22T22:48:58 I'm off to waste time 2011-10-22T22:49:06 have a good evening. 2011-10-22T22:52:10 *** ChrisH_ has quit IRC (Quit: Page closed) 2011-10-22T22:52:16 *** doh_ has quit IRC (Quit: Page closed) 2011-10-22T22:53:56 *** FranPeruzzi has joined #aichallenge 2011-10-22T22:55:48 *** astronautg117 has joined #aichallenge 2011-10-22T22:56:08 is there anyone that can help me with login troubles? 2011-10-22T22:56:26 *** Islacrusez has quit IRC (Ping timeout: 265 seconds) 2011-10-22T22:56:38 *** roflmao has quit IRC (Quit: Leaving.) 2011-10-22T22:57:42 *** xunie-laptop has joined #aichallenge 2011-10-22T22:58:35 *** rr5 has quit IRC (Remote host closed the connection) 2011-10-22T22:59:02 astronautg117, It's not looking likely at this time/day 2011-10-22T22:59:44 would you possibly have info for who I could contact regarding that? 2011-10-22T23:02:25 Say, uhm.. Why are no more games being played? :S 2011-10-22T23:03:26 xunie-laptop, Everything seems to be broken at the moment :) 2011-10-22T23:03:53 astronautg117, I know amstan here is aichallenge staff. I'd guess the other guy with an @ is too. 2011-10-22T23:04:01 D: But but but! D: 2011-10-22T23:05:23 cool, thanks. I'm guessing they're away right now though 2011-10-22T23:05:39 *** aciobanu has joined #aichallenge 2011-10-22T23:06:01 *** onensora has quit IRC (Read error: Connection reset by peer) 2011-10-22T23:07:04 astronautg117, Yeah, I'm not seeing any official contact info on the site. You might want to make a post on the forum. Looks like that has a separate login system 2011-10-22T23:08:01 lol, the ironic thing is that I tried to create an account on the forum, but it seems the captcha system wasn't working, so I can't post on the forums right now 2011-10-22T23:09:05 Hah, maybe it's the same server running the games that aren't playing. 2011-10-22T23:11:34 hmm, maybe 2011-10-22T23:11:35 *** pvarga has joined #aichallenge 2011-10-22T23:13:00 *** amstan has quit IRC (Ping timeout: 260 seconds) 2011-10-22T23:15:46 *** capa has quit IRC (Ping timeout: 265 seconds) 2011-10-22T23:17:05 *** icefox has joined #aichallenge 2011-10-22T23:17:43 *** jtamer has joined #aichallenge 2011-10-22T23:19:25 bleh, it looks like my ai is using 100mb for only the tutorial map, without moving ants 2011-10-22T23:21:54 avdg, try a neural network. :P 2011-10-22T23:22:14 Also: does anyone have their ants powered neurally? 2011-10-22T23:22:20 oh well, I have some code to remove 2011-10-22T23:22:45 avdg, question. How much lines is your bot ATM? 2011-10-22T23:23:16 I can only rely 191 loc 2011-10-22T23:23:37 say the code is at least 8 times bigger 2011-10-22T23:24:07 (including most overhead) 2011-10-22T23:24:16 avdg, i found a stuck instance of my bot at some point, that had been using the processor for 4 hours at 100% utilization. 2011-10-22T23:24:24 avdg, it was using 10GB of memory :D 2011-10-22T23:24:29 *** foRei has quit IRC (Read error: Connection reset by peer) 2011-10-22T23:24:33 :p 2011-10-22T23:24:58 I don't even know if optimizing array indexes optimizes the memory consumption... 2011-10-22T23:25:22 or if any garbage collections have been used 2011-10-22T23:25:22 My bot seems to be pretty space efficient. 2011-10-22T23:25:30 Not very time effecient though 2011-10-22T23:25:34 Often times out 2011-10-22T23:25:44 *** Guest__ has joined #aichallenge 2011-10-22T23:25:51 bleh, I'm writing from scratch 2011-10-22T23:25:55 *** astronautg117 has quit IRC (Ping timeout: 265 seconds) 2011-10-22T23:26:00 well, other than the stuck bot, the bots i currently have running seem to use 5-13MB of memory 2011-10-22T23:26:12 nice 2011-10-22T23:26:36 is there an enforced memory limit? 2011-10-22T23:26:44 yes 2011-10-22T23:26:58 what is it? 2011-10-22T23:27:01 but I don't know the limit (it was said 1gb) 2011-10-22T23:27:03 1 GB 2011-10-22T23:28:01 *** Six has joined #aichallenge 2011-10-22T23:28:04 What do you do for combat tactics? I just don't know where to begin 2011-10-22T23:28:36 *** Larose has quit IRC (Quit: Leaving.) 2011-10-22T23:28:46 I like to crush my enemies, see them driven before me, and to hear the lamentation of their women. 2011-10-22T23:29:05 Hope that helps. 2011-10-22T23:29:09 umm, the server doesn't seem to be playing games anymore. 2011-10-22T23:29:16 i imagine i'm not the first to point this out 2011-10-22T23:29:18 *** vardd has quit IRC (Ping timeout: 265 seconds) 2011-10-22T23:29:42 indeed 2011-10-22T23:30:57 bleh, the error stream seems to be closed before I can submit the memory consumption 2011-10-22T23:31:26 a1k0n, none of the workers seem to be online, which could help explain it >:P 2011-10-22T23:33:23 where's the worker status page? 2011-10-22T23:33:33 prolly got killed by ec2 for being overbudget or something 2011-10-22T23:33:45 <- totally ignorant 2011-10-22T23:33:53 http://aichallenge.org/server_stats.php the one at the bottom: "games per minute per server" 2011-10-22T23:34:06 ah 2011-10-22T23:34:38 *** garlicnation has joined #aichallenge 2011-10-22T23:35:51 *** ChrisH_ has joined #aichallenge 2011-10-22T23:36:22 *** icefox has quit IRC (Quit: icefox) 2011-10-22T23:36:47 a1k0n: i think match making broke and someone is going to fix it at some point 2011-10-22T23:39:03 *** djr_ has joined #aichallenge 2011-10-22T23:39:05 *** msk has joined #aichallenge 2011-10-22T23:39:14 Is the chance of timing out cpu dependent? 2011-10-22T23:39:46 Is my bot more likely to timeout on a netbook atom processor than it is on a high end server? 2011-10-22T23:40:05 *** djr__ has joined #aichallenge 2011-10-22T23:40:11 isn't timeout 1 second by default? 2011-10-22T23:40:59 The starter kits seem to check for one second and then abandons ship. 2011-10-22T23:41:35 hmm, it looks like my bot consumes 18mb of memory, but reserved 100mb memory 2011-10-22T23:41:43 SharkMonkey : yes, your assumption is correct. 2011-10-22T23:43:52 Thanks ashoka 2011-10-22T23:44:00 SharkMonkey : from the code, you should capture the bot input for turntime, record the turn start time, then do the math and get the remaining time. then the code can appropriately exit b4 it times out. that seems to be the only reliable way. 2011-10-22T23:45:42 *** djr__ has quit IRC (Quit: Leaving) 2011-10-22T23:45:55 msk, on the server it's 500ms 2011-10-22T23:46:08 *** chris_ has joined #aichallenge 2011-10-22T23:46:34 *** chris_ is now known as Guest27411 2011-10-22T23:46:51 oh wow, really 2011-10-22T23:47:08 I hadn't notice the turn time input parameter 2011-10-22T23:47:14 It's hard coded in the starter kits 2011-10-22T23:47:27 Or at least the one I'm looking at now 2011-10-22T23:47:54 *** Guest27411 has quit IRC (Client Quit) 2011-10-22T23:48:00 DOh, I misread it 2011-10-22T23:48:04 *** Nakyuant has joined #aichallenge 2011-10-22T23:48:36 seems there is a configuration turntime to tell you how much time you get to complete the job 2011-10-22T23:48:38 *** msk has quit IRC (Quit: Page closed) 2011-10-22T23:49:14 aichallenge: janzert * r3bfc647 / worker/worker.py : Make sure submission files are readable after unpacking - http://git.io/n8fnxw 2011-10-22T23:49:21 *** avers_ has quit IRC (Remote host closed the connection) 2011-10-22T23:50:59 Hey maybe that's a bug fix to get everything working! 2011-10-22T23:51:07 Ah the savior has come! :-) 2011-10-22T23:53:43 * avdg isn't very optimistic about it 2011-10-22T23:53:54 yay 2011-10-22T23:54:07 janzert: thx 2011-10-22T23:54:09 hooray 2011-10-22T23:54:38 oh, its running :-) 2011-10-22T23:54:57 hi all 2011-10-22T23:54:57 that only just gets the one worker back up, not a fix to pairing so we can get more workers going again :/ 2011-10-22T23:55:10 how many workers are there? 2011-10-22T23:55:14 Yay, and here's the guy that can fix the latter 2011-10-22T23:55:15 (normally) 2011-10-22T23:55:21 hey guys, i can't figure out what the ranges for the setup parameters are. for example, attackradius2. is this always set to the same value? if so, what is the value? 2011-10-22T23:55:25 janzert: did you do any patches? 2011-10-22T23:55:29 and if not, what are the min and max values? 2011-10-22T23:55:41 not at the moment 2011-10-22T23:55:55 working on tracking down another worker exception though 2011-10-22T23:55:59 jtamer: did you read the game spec? 2011-10-22T23:56:05 the one in the matchup table 2011-10-22T23:56:16 avdg: i did, yes. i read that the value will be passed in during setup. 2011-10-22T23:56:18 oh, did I do any 2011-10-22T23:56:22 *** garlicnation has quit IRC (Ping timeout: 265 seconds) 2011-10-22T23:56:29 avdg: but i didn't see anywhere that gave normal ranges of these values 2011-10-22T23:56:32 just the worker unpack fix I just committed 2011-10-22T23:56:34 *** avers_ has joined #aichallenge 2011-10-22T23:56:35 ok 2011-10-22T23:56:56 I'll start to dive into getting a fix soon. Probably an hour before I have something working 2011-10-22T23:57:02 ok 2011-10-22T23:57:03 i mean, can attackradius2 = a million? 2011-10-22T23:57:11 jtamer: just sqrt the value 2011-10-22T23:57:17 I think that should be enough 2011-10-22T23:57:17 I'd like to hear what is going wrong when you get a chance to 2011-10-22T23:57:19 avdg: i don't think you're understanding my question 2011-10-22T23:57:36 I tracked it down to problems in the picking out the rest of the players stage 2011-10-22T23:57:49 but didn't narrow it beyond that point 2011-10-22T23:58:08 avdg: i know that my bot will see the value for the setup parameters. but *I* want to know it so that i can program the bot better 2011-10-22T23:58:42 jtamer: take a look at http://aichallenge.org/game_settings.php 2011-10-22T23:58:46 jtamer : so far attackradius has been 5. 2011-10-22T23:58:49 jtamer: i highly doubt it will ever change from the one value but it's possible some maps might have slightly a different one 2011-10-22T23:59:20 *** NotCoffeeTable has joined #aichallenge 2011-10-22T23:59:22 janzert: thank you! 2011-10-22T23:59:35 Hey, is anyone doing the challenge in clojure? 2011-10-22T23:59:40 the main thing that will vary in there from game to game is max turns