2010-12-16T00:10:24 SmkMnstr: http://codepad.org/klmyLWOC 2010-12-16T00:10:34 that's what i've been trying to use for a process object 2010-12-16T00:19:21 *** amriedle has quit IRC (Quit: Lost terminal) 2010-12-16T00:27:37 *** bhasker has quit IRC (Quit: bhasker) 2010-12-16T00:36:33 bah, i can't even call fork? :\ 2010-12-16T00:40:51 *** bhasker has joined #aichallenge 2010-12-16T00:42:18 SmkMnstr: you still around? 2010-12-16T00:44:32 *** Palmik has joined #aichallenge 2010-12-16T00:49:06 *** Epona has joined #aichallenge 2010-12-16T00:51:02 bah, i'm going to have to try pstreams 2010-12-16T01:02:59 i see 2010-12-16T01:05:37 *** bhasker has quit IRC (Quit: bhasker) 2010-12-16T01:06:27 i'm on windows too, so i can't use fork anyway aye? 2010-12-16T01:07:03 my friend said he got pstreams to communicate between processes, although he's unsure whether i can connect multiple processes to a stream, or multiple streams to a process 2010-12-16T01:07:27 i've got to get cygwin working first, cause i'm lazy and just use mingw 2010-12-16T01:09:03 ah yah it would be diff in windows 2010-12-16T01:09:52 hey antimatroid, hows the map going 2010-12-16T01:10:09 Epona: maps are fine 2010-12-16T01:10:18 i even have a bot to play, all i need is an engine and visualiser 2010-12-16T01:10:23 and frontier mostly has a visualiser 2010-12-16T01:10:40 i can't for the life of me get processes to communicate though 2010-12-16T01:10:44 good to hear 2010-12-16T01:11:37 *** janzert has left #aichallenge 2010-12-16T01:15:52 antimatroid: why don't you have a look at the tcp.c file? half that program is just communicating with the process 2010-12-16T01:16:26 I can't imagine your requirements are much different to what it is doing 2010-12-16T01:17:26 sigh: i'll take a look, but i imagine it uses fork 2010-12-16T01:17:30 which i don't have on windows 2010-12-16T01:17:47 ah, yeah it would 2010-12-16T01:18:17 is it easier to create a process in python? 2010-12-16T01:18:49 yeah, it's easy... although I haven't done it on windows :) 2010-12-16T01:19:04 ideally i want to be able to connect a stream to multiple processes and multiple processes to a stream 2010-12-16T01:19:32 *** janzert has joined #aichallenge 2010-12-16T01:19:48 *** tapwater_ has joined #aichallenge 2010-12-16T01:22:08 *** tapwater has quit IRC (Ping timeout: 240 seconds) 2010-12-16T01:22:09 *** tapwater_ is now known as tapwater 2010-12-16T01:30:42 hey heres what u wanted on linux 2010-12-16T01:31:24 http://cpp.pastebin.com/TRn8ASph 2010-12-16T01:31:27 however windows is differe 2010-12-16T01:31:32 but ill do it now 2010-12-16T01:31:35 im just going to add an 2010-12-16T01:31:37 #ifdef _WIN32 2010-12-16T01:31:42 and rewrite the open() function for windows 2010-12-16T01:31:50 and that will work for u on win,mac,lin 2010-12-16T01:34:35 SmkMnstr: <3 2010-12-16T01:38:10 *** sigh has quit IRC (Ping timeout: 276 seconds) 2010-12-16T01:46:27 SmkMnstr: i'm going to need to switch between which process i need to pipe to 2010-12-16T01:46:29 is that possible? 2010-12-16T01:46:45 and is it possible to switch it to multiple at once? 2010-12-16T01:51:21 *** Utkarsh has quit IRC (Ping timeout: 276 seconds) 2010-12-16T01:51:32 *** jaspervdj has joined #aichallenge 2010-12-16T01:55:00 *** Utkarsh has joined #aichallenge 2010-12-16T02:31:41 *** sigh has joined #aichallenge 2010-12-16T02:32:29 *** Azrathud has quit IRC (Read error: Operation timed out) 2010-12-16T02:32:57 *** Azrathud has joined #aichallenge 2010-12-16T02:33:23 ok heres relatively protable ver 2010-12-16T02:33:27 http://cpp.pastebin.com/em9p4GPr 2010-12-16T02:34:03 i didnt test that much, but that should definitely get u started 2010-12-16T02:36:48 thanks 2010-12-16T02:36:50 i'll play around 2010-12-16T02:36:53 np 2010-12-16T02:37:16 i'm amazed no one has already done this for me standard 2010-12-16T02:42:29 for some reason i was readling a blank line at first 2010-12-16T02:42:32 on windows 2010-12-16T02:42:38 _open_osfhandle 2010-12-16T02:42:40 i just read the output of ipconfig and declared success 2010-12-16T02:42:42 heh yeah 2010-12-16T02:42:43 doesn't seem to be able to find that? 2010-12-16T02:42:48 oh 2010-12-16T02:42:53 #include maybe > 2010-12-16T02:43:12 that open osfhandle crap is what took me so long to find 2010-12-16T02:43:22 no love 2010-12-16T02:43:44 fcntl.h it says 2010-12-16T02:44:23 hmmm 2010-12-16T02:45:07 oh another doc says io.h 2010-12-16T02:45:15 im sure ull find it 2010-12-16T02:46:13 windows.h if not already 2010-12-16T02:48:28 hmm, compiles when i use mingw 2010-12-16T02:48:44 i'll just use mingw for the moment and see where i get 2010-12-16T02:48:47 cheers again :) 2010-12-16T02:49:55 word 2010-12-16T02:51:22 will it work if i try to make the pipe between a process and stringstream? 2010-12-16T02:56:11 wait, nevermind, i'm being silly, i don't even need that 2010-12-16T03:04:36 SmkMnstr: the created process still doesn't seem to want to take stuff from print 2010-12-16T03:11:40 it works for me i just tested it 2010-12-16T03:11:48 running cmd.exe 2010-12-16T03:11:58 and printing "dir\r\n" 2010-12-16T03:12:09 make sure u put the newline after ur string 2010-12-16T03:12:44 got it 2010-12-16T03:12:53 yeah, just realised i wasn't adding \n 2010-12-16T03:12:56 :):):) 2010-12-16T03:13:38 cool 2010-12-16T03:13:55 its pretty nice impl because the FILE* is the same only need the ifdef for open 2010-12-16T03:14:19 normally you would do the read / write a little bit different 2010-12-16T03:14:42 the get_input() and print() 2010-12-16T03:14:48 yeah, i just want to get this working at this point, i'll worry about making it nice later 2010-12-16T03:14:55 it may come up later, needing to determine if data is available to be read 2010-12-16T03:14:57 i might overload << and >> 2010-12-16T03:15:20 yeah 2010-12-16T03:15:20 yeah, i need to work out how to read from people iff there is something to be read 2010-12-16T03:15:54 yeah there is probably somre more similar code for doin that :) 2010-12-16T03:16:28 again with ifdefs for windows 2010-12-16T03:16:48 i think you can use select() on fileno(in) and fileno(out) on win,mac,lin 2010-12-16T03:17:12 but by time u get to select u might change it from even being FILE* 2010-12-16T03:17:16 or who knows, it may never come to that for u 2010-12-16T03:17:33 i need it before i can finish my engine 2010-12-16T03:17:38 but i'll worry about that when i get there 2010-12-16T03:18:06 *** delt0r_ has joined #aichallenge 2010-12-16T03:18:12 actually, i can do it without that if i do each player incrementally for the moment 2010-12-16T03:18:14 if i need 2010-12-16T03:19:43 *** delt0r___ has quit IRC (Ping timeout: 255 seconds) 2010-12-16T03:29:43 *** yasith has joined #aichallenge 2010-12-16T03:34:03 *** Rubicon-|-Cross has quit IRC (Quit: Leaving) 2010-12-16T03:39:06 *** delt0r___ has joined #aichallenge 2010-12-16T03:40:15 *** delt0r_ has quit IRC (Ping timeout: 240 seconds) 2010-12-16T03:45:01 *** Epona has quit IRC (Quit: Leaving) 2010-12-16T03:46:38 *** aerique has joined #aichallenge 2010-12-16T03:48:27 *** tapwater has quit IRC (Quit: tapwater) 2010-12-16T04:06:35 *** Frontier has joined #aichallenge 2010-12-16T04:17:55 *** mceier has joined #aichallenge 2010-12-16T04:21:10 *** Utkarsh has quit IRC () 2010-12-16T04:21:14 *** delt0r___ has quit IRC (Ping timeout: 272 seconds) 2010-12-16T04:35:20 my first engine is going to just stall if a bot gets stuck in an infinite loop, but i should have it going be the end of the night 2010-12-16T04:35:29 by* 2010-12-16T04:42:55 *** mega1 has joined #aichallenge 2010-12-16T04:46:09 *** Mathnerd314 has quit IRC (Ping timeout: 260 seconds) 2010-12-16T04:59:39 *** mega1 has joined #aichallenge 2010-12-16T05:06:44 *** mega1 has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2010-12-16T05:15:49 *** Naktibalda has joined #aichallenge 2010-12-16T05:19:31 *** yasith has quit IRC (Remote host closed the connection) 2010-12-16T05:21:50 *** boegel has joined #aichallenge 2010-12-16T05:39:42 *** Accoun has quit IRC (Ping timeout: 260 seconds) 2010-12-16T05:45:32 *** boegel has quit IRC (Quit: *poof!*) 2010-12-16T05:46:51 *** Error323 has quit IRC (Read error: Operation timed out) 2010-12-16T05:47:15 *** Accoun has joined #aichallenge 2010-12-16T06:04:09 *** Accoun has quit IRC (Ping timeout: 264 seconds) 2010-12-16T06:22:57 *** dmj111 has quit IRC (Quit: ERC Version 5.3 (IRC client for Emacs)) 2010-12-16T06:24:32 *** Accoun has joined #aichallenge 2010-12-16T06:28:07 *** Mathnerd314 has joined #aichallenge 2010-12-16T06:28:13 *** Mathnerd314 has quit IRC (Client Quit) 2010-12-16T06:45:11 *** Accoun has quit IRC (Ping timeout: 276 seconds) 2010-12-16T06:45:15 *** nullkuhl has quit IRC (Remote host closed the connection) 2010-12-16T06:45:43 *** nullkuhl has joined #aichallenge 2010-12-16T06:51:56 *** Accoun has joined #aichallenge 2010-12-16T06:58:35 *** Accoun has quit IRC (Ping timeout: 240 seconds) 2010-12-16T07:01:55 *** perror has joined #aichallenge 2010-12-16T07:09:04 *** Accoun has joined #aichallenge 2010-12-16T07:18:03 *** Accoun has quit IRC (Ping timeout: 240 seconds) 2010-12-16T07:27:38 *** sigh has quit IRC (Remote host closed the connection) 2010-12-16T07:51:56 *** delt0r_ has joined #aichallenge 2010-12-16T07:54:15 *** mega1 has joined #aichallenge 2010-12-16T08:09:09 *** fgump has joined #aichallenge 2010-12-16T08:09:42 Frontier: i shall have an engine for you within 24 hours 2010-12-16T08:09:50 i have processes up and running and well into writing it 2010-12-16T08:18:08 *** perror has quit IRC (Quit: Bye all !) 2010-12-16T08:30:54 antimatroid: 24h eh? 2010-12-16T08:30:58 can i time you ;) 2010-12-16T08:31:11 well i just gave my talk at the stats department... 2010-12-16T08:31:24 so now i have xmass parties and free time on my hands.. 2010-12-16T08:31:48 delt0r_: sure :) 2010-12-16T08:31:51 Think i mite do the "squad" RTS game engine/bot package 2010-12-16T08:31:53 how'd the talk go? 2010-12-16T08:31:58 good 2010-12-16T08:32:06 i'm terrible at public speaking 2010-12-16T08:32:11 I was 2010-12-16T08:32:22 i get really really nervuous when it's my time to stand up 2010-12-16T08:32:26 nervous* 2010-12-16T08:32:45 *** delt0r_ has quit IRC (Remote host closed the connection) 2010-12-16T08:36:04 *** delt0r_ has joined #aichallenge 2010-12-16T08:36:13 Sorry crashed my client 2010-12-16T08:36:30 was tring to see how my system works without swap 2010-12-16T08:36:41 the answer is not well once you run out of ram 2010-12-16T08:38:10 run out of dodge ram 2010-12-16T08:40:08 i've got a bug, it's claiming i'm giving multiple definitions of an >> operator when i'm not 2010-12-16T08:50:38 you have that before --no? 2010-12-16T08:55:26 yeah, different place 2010-12-16T08:55:31 i just got rid of them 2010-12-16T08:56:41 *** Accoun has joined #aichallenge 2010-12-16T09:02:02 delt0r_: you're in favour of ignoring invalid moves aren't you? 2010-12-16T09:02:08 to what degree of invalid? 2010-12-16T09:02:17 mistakes... 2010-12-16T09:02:23 not clear cheating 2010-12-16T09:02:36 okay 2010-12-16T09:02:46 but all input data should be fully sanitized anyway 2010-12-16T09:03:02 void buffer overflows etc so it can't be hacked 2010-12-16T09:03:07 i'm going to create vectors of strings of "bad" moves and just ignore them for the moment 2010-12-16T09:03:39 but really... just ignoring a command --with perhaps a warning...is easier for beginners. 2010-12-16T09:03:44 i was thinking of allowing ants to walk onto a wall and die, but then i was going to let them attack a wall or empty square, which didn't seem right 2010-12-16T09:03:59 it means one little bug isn't "I keep "timeing out...etc 2010-12-16T09:04:46 *** amriedle has joined #aichallenge 2010-12-16T09:05:23 i think my engine would be easyish to crash if one tried, but it'll work if the bot isn't malicious which will do as an example 2010-12-16T09:07:40 *** yasith has joined #aichallenge 2010-12-16T09:11:05 do you just take the first move they issue for an ant? 2010-12-16T09:12:28 usally the last 2010-12-16T09:12:47 yep, that's just as easy 2010-12-16T09:13:09 its nice to set it as the last... 2010-12-16T09:13:22 and permit orders/instructing to change 2010-12-16T09:13:51 this way they can refine orders it there are cpu cycles to do with 2010-12-16T09:15:39 yep 2010-12-16T09:17:49 i basically have to process my moves in 3 steps, but if i do that it works fine 2010-12-16T09:31:50 *** Azrathud has quit IRC (Quit: Leaving) 2010-12-16T10:01:17 *** bhasker has joined #aichallenge 2010-12-16T10:03:27 i'm not too far away from debug time 2010-12-16T10:03:44 but i've given myself a lot of slack time there with your timer :P 2010-12-16T10:14:25 *** JamesMG has joined #aichallenge 2010-12-16T10:16:40 it can actually be optimal to attack your own ant in my game 2010-12-16T10:17:04 is that good or bad, i think i can make it go either way 2010-12-16T10:22:43 *** bhasker has quit IRC (Quit: bhasker) 2010-12-16T10:37:26 *** smellyhippy has quit IRC (Ping timeout: 260 seconds) 2010-12-16T10:40:49 *** aerique has quit IRC (Quit: ...) 2010-12-16T10:47:36 *** narnach_mb has quit IRC (Quit: Leaving.) 2010-12-16T10:50:28 *** spz has joined #aichallenge 2010-12-16T10:58:55 *** smellyhippy has joined #aichallenge 2010-12-16T10:58:55 *** smellyhippy has joined #aichallenge 2010-12-16T11:26:07 *** Rubicon-|-Cross has joined #aichallenge 2010-12-16T11:55:36 *** smellyhippy has quit IRC (Ping timeout: 265 seconds) 2010-12-16T11:59:26 *** smellyhippy has joined #aichallenge 2010-12-16T11:59:26 *** smellyhippy has joined #aichallenge 2010-12-16T12:12:33 *** smellyhippy has quit IRC (Quit: BUT WAIT! What are those penguins up to?!) 2010-12-16T12:24:27 *** smellyhippy has joined #aichallenge 2010-12-16T12:25:10 *** narnach has joined #aichallenge 2010-12-16T12:26:03 *** yasith has quit IRC (Ping timeout: 265 seconds) 2010-12-16T12:38:19 *** yasith has joined #aichallenge 2010-12-16T12:59:21 *** bhasker has joined #aichallenge 2010-12-16T13:03:47 *** fgump has quit IRC (Quit: Leaving) 2010-12-16T13:04:41 i'm onto debugging 2010-12-16T13:04:46 so i guess it must be bedtime 2010-12-16T13:16:19 *** yasith has quit IRC (Ping timeout: 265 seconds) 2010-12-16T13:23:01 *** narnach1 has joined #aichallenge 2010-12-16T13:23:01 *** narnach1 is now known as narnach_mb 2010-12-16T13:25:03 *** mega1 has quit IRC (Ping timeout: 240 seconds) 2010-12-16T13:42:49 *** tapwater has joined #aichallenge 2010-12-16T14:14:36 *** delt0r_ has quit IRC (Read error: Operation timed out) 2010-12-16T14:14:44 *** delt0r_ has joined #aichallenge 2010-12-16T14:17:25 *** janzert has quit IRC (Ping timeout: 264 seconds) 2010-12-16T14:19:42 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]) 2010-12-16T14:30:58 *** boegel has joined #aichallenge 2010-12-16T14:38:52 *** amstan_ has joined #aichallenge 2010-12-16T14:38:53 *** ChanServ sets mode: +o amstan_ 2010-12-16T14:44:07 *** amstan_ has quit IRC (Ping timeout: 276 seconds) 2010-12-16T14:51:15 *** Apophis_ has joined #aichallenge 2010-12-16T14:51:15 *** nann has joined #aichallenge 2010-12-16T14:51:26 *** nann is now known as Apophis__ 2010-12-16T14:51:31 *** Apophis_ has quit IRC (Client Quit) 2010-12-16T14:56:20 *** amstan_ has joined #aichallenge 2010-12-16T14:56:20 *** ChanServ sets mode: +o amstan_ 2010-12-16T15:00:06 *** amstan_ has quit IRC (Read error: Connection reset by peer) 2010-12-16T15:00:11 *** amstan__ has joined #aichallenge 2010-12-16T15:00:11 *** ChanServ sets mode: +o amstan__ 2010-12-16T15:00:52 *** Naktibalda has joined #aichallenge 2010-12-16T15:04:30 *** amstan__ has quit IRC (Client Quit) 2010-12-16T15:04:50 *** amstan__ has joined #aichallenge 2010-12-16T15:04:50 *** ChanServ sets mode: +o amstan__ 2010-12-16T15:11:03 *** boegel has quit IRC (Quit: Leaving) 2010-12-16T15:27:48 *** sigh has joined #aichallenge 2010-12-16T15:36:57 *** iFire has quit IRC (Read error: Connection reset by peer) 2010-12-16T15:37:14 *** iFire has joined #aichallenge 2010-12-16T15:40:49 *** Accoun has quit IRC () 2010-12-16T15:43:13 *** amstan_ has joined #aichallenge 2010-12-16T15:43:13 *** ChanServ sets mode: +o amstan_ 2010-12-16T15:43:18 *** amstan__ has quit IRC (Quit: Konversation terminated!) 2010-12-16T15:43:26 *** boegel has joined #aichallenge 2010-12-16T15:51:47 *** Accoun has joined #aichallenge 2010-12-16T15:52:35 *** amriedle has quit IRC (Read error: Connection reset by peer) 2010-12-16T15:55:27 *** amstan_ has quit IRC (Read error: Connection reset by peer) 2010-12-16T15:55:48 *** amstan_ has joined #aichallenge 2010-12-16T15:55:48 *** ChanServ sets mode: +o amstan_ 2010-12-16T15:56:32 *** sigh has quit IRC (Remote host closed the connection) 2010-12-16T15:57:09 *** boegel has quit IRC (Quit: This computer has gone to sleep) 2010-12-16T15:57:57 *** amriedle has joined #aichallenge 2010-12-16T16:02:01 *** amriedle has quit IRC (Read error: Connection reset by peer) 2010-12-16T16:07:59 *** amriedle has joined #aichallenge 2010-12-16T16:11:38 *** p4p4p4 has joined #aichallenge 2010-12-16T16:16:08 *** amstan_ has quit IRC (Quit: Konversation terminated!) 2010-12-16T16:16:24 *** amstan_ has joined #aichallenge 2010-12-16T16:16:24 *** ChanServ sets mode: +o amstan_ 2010-12-16T16:21:31 *** p4p4p4 has quit IRC (Quit: ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]) 2010-12-16T16:37:11 *** davidjliu has joined #aichallenge 2010-12-16T16:50:48 *** delt0r___ has joined #aichallenge 2010-12-16T16:51:11 *** b0ng01_ has joined #aichallenge 2010-12-16T16:51:47 *** ChanServ has quit IRC (*.net *.split) 2010-12-16T16:51:47 *** Accoun has quit IRC (*.net *.split) 2010-12-16T16:51:47 *** bhasker has quit IRC (*.net *.split) 2010-12-16T16:51:47 *** Rubicon-|-Cross has quit IRC (*.net *.split) 2010-12-16T16:51:48 *** acieroid has quit IRC (*.net *.split) 2010-12-16T16:51:48 *** greghaynes has quit IRC (*.net *.split) 2010-12-16T16:51:48 *** pgpaskar_ has quit IRC (*.net *.split) 2010-12-16T16:51:49 *** a1k0n_ has quit IRC (*.net *.split) 2010-12-16T16:51:50 *** rabidus has quit IRC (*.net *.split) 2010-12-16T16:51:50 *** antimatroid has quit IRC (*.net *.split) 2010-12-16T16:51:50 *** Sylph2 has quit IRC (*.net *.split) 2010-12-16T16:51:50 *** Zannick has quit IRC (*.net *.split) 2010-12-16T16:51:50 *** yellowseed has quit IRC (*.net *.split) 2010-12-16T16:51:51 *** delt0r_ has quit IRC (*.net *.split) 2010-12-16T16:51:51 *** tapwater has quit IRC (*.net *.split) 2010-12-16T16:51:51 *** smellyhippy has quit IRC (*.net *.split) 2010-12-16T16:51:51 *** spz has quit IRC (*.net *.split) 2010-12-16T16:51:52 *** wh1teside_ has quit IRC (*.net *.split) 2010-12-16T16:51:52 *** eregon has quit IRC (*.net *.split) 2010-12-16T16:51:52 *** Apophis__ has quit IRC (*.net *.split) 2010-12-16T16:51:53 *** amstan has quit IRC (*.net *.split) 2010-12-16T16:51:53 *** BtbN has quit IRC (*.net *.split) 2010-12-16T16:51:53 *** zerd has quit IRC (*.net *.split) 2010-12-16T16:51:53 *** b0ng01 has quit IRC (*.net *.split) 2010-12-16T16:51:55 *** javagamer has quit IRC (*.net *.split) 2010-12-16T16:51:56 *** jmpespxoreax has quit IRC (*.net *.split) 2010-12-16T16:51:56 *** j3camero has quit IRC (*.net *.split) 2010-12-16T16:51:56 *** eburnette has quit IRC (Ping timeout: 265 seconds) 2010-12-16T16:52:10 *** SmkMnstr has quit IRC (Ping timeout: 256 seconds) 2010-12-16T16:54:08 *** BtbN has joined #aichallenge 2010-12-16T16:59:27 *** Accoun has joined #aichallenge 2010-12-16T16:59:27 *** Apophis__ has joined #aichallenge 2010-12-16T16:59:27 *** tapwater has joined #aichallenge 2010-12-16T16:59:27 *** bhasker has joined #aichallenge 2010-12-16T16:59:27 *** smellyhippy has joined #aichallenge 2010-12-16T16:59:27 *** Rubicon-|-Cross has joined #aichallenge 2010-12-16T16:59:27 *** spz has joined #aichallenge 2010-12-16T16:59:27 *** a1k0n_ has joined #aichallenge 2010-12-16T16:59:27 *** rabidus has joined #aichallenge 2010-12-16T16:59:27 *** antimatroid has joined #aichallenge 2010-12-16T16:59:27 *** amstan has joined #aichallenge 2010-12-16T16:59:27 *** acieroid has joined #aichallenge 2010-12-16T16:59:27 *** Sylph2 has joined #aichallenge 2010-12-16T16:59:27 *** Zannick has joined #aichallenge 2010-12-16T16:59:27 *** zerd has joined #aichallenge 2010-12-16T16:59:27 *** greghaynes has joined #aichallenge 2010-12-16T16:59:27 *** ChanServ has joined #aichallenge 2010-12-16T16:59:27 *** wh1teside_ has joined #aichallenge 2010-12-16T16:59:27 *** pgpaskar_ has joined #aichallenge 2010-12-16T16:59:27 *** javagamer has joined #aichallenge 2010-12-16T16:59:27 *** yellowseed has joined #aichallenge 2010-12-16T16:59:27 *** eregon has joined #aichallenge 2010-12-16T16:59:27 *** jmpespxoreax has joined #aichallenge 2010-12-16T16:59:27 *** j3camero has joined #aichallenge 2010-12-16T16:59:27 *** lindbohm.freenode.net sets mode: +oo amstan ChanServ 2010-12-16T17:01:03 *** sigh has joined #aichallenge 2010-12-16T17:05:08 *** SmkMnstr has joined #aichallenge 2010-12-16T17:17:43 *** amstan_ has quit IRC (Ping timeout: 260 seconds) 2010-12-16T17:45:37 *** Palmik has quit IRC (Remote host closed the connection) 2010-12-16T17:57:42 *** amriedle has quit IRC (Quit: Lost terminal) 2010-12-16T18:08:40 *** JamesMG has quit IRC (Quit: home) 2010-12-16T18:10:51 *** mega1 has joined #aichallenge 2010-12-16T18:15:57 *** mceier has quit IRC (Quit: leaving) 2010-12-16T18:16:35 *** Azrathud has joined #aichallenge 2010-12-16T18:28:36 *** mega1 has quit IRC (Ping timeout: 265 seconds) 2010-12-16T18:41:21 *** Cyndre has quit IRC (Ping timeout: 240 seconds) 2010-12-16T18:42:14 *** CyndreBot_ has quit IRC (Ping timeout: 276 seconds) 2010-12-16T18:42:24 *** Cyndre has joined #aichallenge 2010-12-16T18:45:50 *** Mathnerd314 has joined #aichallenge 2010-12-16T18:48:39 *** Apophis__ has quit IRC (Read error: Connection reset by peer) 2010-12-16T18:49:06 *** Rubicon-|-Cross has quit IRC (Quit: Leaving) 2010-12-16T18:55:38 *** Apophis_ has joined #aichallenge 2010-12-16T18:58:19 *** Rubicon-|-Cross has joined #aichallenge 2010-12-16T19:26:06 *** davidjliu has quit IRC (Ping timeout: 265 seconds) 2010-12-16T19:26:32 *** Cyndre has quit IRC (Read error: Connection reset by peer) 2010-12-16T19:27:21 *** Cyndre has joined #aichallenge 2010-12-16T19:42:20 *** fgump has joined #aichallenge 2010-12-16T19:48:35 *** Azrathud has quit IRC (Ping timeout: 260 seconds) 2010-12-16T20:01:26 *** javagamer has quit IRC (Ping timeout: 245 seconds) 2010-12-16T20:03:06 *** Mathnerd314 has quit IRC (Ping timeout: 240 seconds) 2010-12-16T20:16:39 *** javagamer has joined #aichallenge 2010-12-16T20:17:40 Wait, there'll be a contest in February!? That's not enough time to be productive! 2010-12-16T20:19:12 you can skip one :) 2010-12-16T20:19:30 come back in the autumn 2010-12-16T20:20:30 There'll be one in autumn? I give up. 2010-12-16T20:23:35 hehe 2010-12-16T20:25:28 oh joy 2010-12-16T20:25:32 time to start the day of debugging 2010-12-16T20:25:35 *** Naktibalda has quit IRC (Remote host closed the connection) 2010-12-16T20:27:02 I'm finally getting around to learning Git 2010-12-16T20:27:11 i need to do that at some point 2010-12-16T20:27:37 I've just learned enough to sync my current project from my laptop to my desktop without a central server 2010-12-16T20:28:02 Which is nice because before I just SFTP'd it over every time I wanted to switch, and I had no versioning so I was commenting stuff out a lot 2010-12-16T20:31:27 summer* 2010-12-16T20:31:45 *** Mathnerd314 has joined #aichallenge 2010-12-16T20:32:44 *** antimatroid1 has joined #aichallenge 2010-12-16T20:33:47 *** antimatroid has quit IRC (Ping timeout: 265 seconds) 2010-12-16T20:37:11 *** antimatroid1 has quit IRC (Ping timeout: 265 seconds) 2010-12-16T20:38:12 *** antimatroid has joined #aichallenge 2010-12-16T20:41:50 *** nullkuhl has quit IRC (Read error: Connection reset by peer) 2010-12-16T20:54:34 *** Mathnerd314 has quit IRC (Ping timeout: 240 seconds) 2010-12-16T21:05:28 *** bhasker has quit IRC (Ping timeout: 240 seconds) 2010-12-16T21:06:09 *** iNtERrUpT has joined #aichallenge 2010-12-16T21:06:29 *** janzert has joined #aichallenge 2010-12-16T21:20:55 *** Mathnerd314 has joined #aichallenge 2010-12-16T21:29:48 *** Accoun has quit IRC (Ping timeout: 240 seconds) 2010-12-16T21:34:02 *** Accoun has joined #aichallenge 2010-12-16T21:34:48 :w 2010-12-16T21:34:55 err... ignore that :P 2010-12-16T21:35:04 :< 2010-12-16T21:44:35 *** fgump has quit IRC (Ping timeout: 240 seconds) 2010-12-16T22:06:22 *** Kingpin13 has joined #aichallenge 2010-12-16T22:14:50 *** delt0r_ has joined #aichallenge 2010-12-16T22:16:11 *** delt0r___ has quit IRC (Ping timeout: 260 seconds) 2010-12-16T22:36:38 *** Cyndre_ has joined #aichallenge 2010-12-16T22:37:11 *** Cyndre has quit IRC (Ping timeout: 260 seconds) 2010-12-16T23:19:21 debugging is the worst 2010-12-16T23:19:27 askbot what is the worst 2010-12-16T23:20:12 askbot what do you think is the worst 2010-12-16T23:20:41 *** Cyndre has joined #aichallenge 2010-12-16T23:20:48 *** Cyndre_ has quit IRC (Quit: Leaving) 2010-12-16T23:21:05 *** CyndreBot_ has joined #aichallenge 2010-12-16T23:21:11 askbot what is the worst 2010-12-16T23:21:12 thing, ever, tv, promotion, language, history, antm, ive, who, state, fact, really, could, more, seen, say, happened, early, cycle, cnn, 80s, starting, 0, news, thta, others, while, react, passed, mom 2010-12-16T23:23:31 mom, aha 2010-12-16T23:27:17 I like thing - that thing is the worst 2010-12-16T23:28:36 CyndreBot_: debugging is the worst 2010-12-16T23:28:37 CyndreBot_: debugging is the worst 2010-12-16T23:28:39 CyndreBot_: debugging is the worst 2010-12-16T23:28:39 CyndreBot_: debugging is the worst 2010-12-16T23:28:40 CyndreBot_: debugging is the worst 2010-12-16T23:28:41 CyndreBot_: debugging is the worst 2010-12-16T23:28:42 CyndreBot_: debugging is the worst 2010-12-16T23:28:43 CyndreBot_: debugging is the worst 2010-12-16T23:28:43 CyndreBot_: debugging is the worst 2010-12-16T23:28:44 CyndreBot_: debugging is the worst 2010-12-16T23:28:45 CyndreBot_: debugging is the worst 2010-12-16T23:28:54 askbot what is the worst 2010-12-16T23:28:54 thing, ever, tv, promotion, language, history, antm, ive, who, state, fact, really, more, could, seen, say, happened, early, cycle, 80s, news, starting, thta, cnn, 0, others, while, road, passed, mome 2010-12-16T23:29:19 if you repeat it ignores it 2010-12-16T23:29:28 that's silly 2010-12-16T23:29:29 so when training have 2 ways of saying the same thing 2010-12-16T23:29:32 i'm reinforcing it's learning :P 2010-12-16T23:29:40 debugging is the worst 2010-12-16T23:29:44 debugging code is the worst 2010-12-16T23:29:50 debugging is the worst 2010-12-16T23:29:51 debugging code is the worst 2010-12-16T23:29:55 askbot what is the worst 2010-12-16T23:29:55 thing, ever, tv, promotion, language, history, antm, ive, who, state, fact, really, more, could, seen, say, happened, early, cycle, 80s, news, starting, thta, cnn, 0, others, while, road, passed, mome 2010-12-16T23:30:02 scoreme 2010-12-16T23:30:02 Cyndre, your current score is 109. 2010-12-16T23:30:14 scoreme 2010-12-16T23:30:14 antimatroid, your current score is 105. 2010-12-16T23:30:18 jew 2010-12-16T23:30:23 debugging is a colourless unicorn 2010-12-16T23:30:33 so I spent last night diagramming my new bot 2010-12-16T23:30:51 no longer will he split anything up - Im going to make it read character by character and output character by character 2010-12-16T23:31:41 i'm getting frustrated with my engine 2010-12-16T23:31:47 so each character will be like a neuron and have a memory. When activated it will store the previous 30 characters that were activated 2010-12-16T23:32:00 scoreme 2010-12-16T23:32:01 sigh, your current score is 97. 2010-12-16T23:32:05 it's stalling sometimes when collectng something from a bot 2010-12-16T23:32:13 not from the bot stalling either 2010-12-16T23:32:21 are you dong nonblocking io? 2010-12-16T23:32:30 *doing 2010-12-16T23:32:33 does the bot need to flush anything for the engine to accept? 2010-12-16T23:32:43 hmm, that's a good point 2010-12-16T23:32:44 or do you have a command termination string? 2010-12-16T23:33:15 so ifbot1 process couts something and i don't shut off io for bot 2 there then bot2 will see that? 2010-12-16T23:33:27 go is my command termination string 2010-12-16T23:34:26 antimatroid: I don't see how that could happen 2010-12-16T23:35:21 http://pastebin.com/z04Z3epm 2010-12-16T23:35:21 this is my current specification stuff 2010-12-16T23:35:39 i removed maxHarvest 2010-12-16T23:35:54 why? 2010-12-16T23:36:08 because it just made it even more complicated without adding much strategy wise 2010-12-16T23:36:26 you still want to set up supply lines so you don't send all ants back to the base 2010-12-16T23:36:41 and if you have an ant carrying lots of grains, they can come steal them from you 2010-12-16T23:36:43 what if it overflows INT_MAX? 2010-12-16T23:36:57 don't add that many grains to the board :P 2010-12-16T23:37:01 :( 2010-12-16T23:37:16 not all squares start with grains 2010-12-16T23:37:32 you can still have heaps of grain 2010-12-16T23:42:10 i'm thinking bases will start with an ant and 9 grains 2010-12-16T23:42:39 an ant spawns every move there are grains there too now, if you left an ant sitting there, they fuse 2010-12-16T23:45:16 i don't actually use cout/cin from the engine to communicate with the other process, i just use string streams to pass stuff to the processes with fgets and fputs 2010-12-16T23:57:49 fgets is blocking, IIRC 2010-12-16T23:58:18 it's jut going to hang if the stream hasn't finished but there is no more data yet