gcode-mirror / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 1 forks source link

Python Bot loosing when almost winning #172

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I m always loosing with mine bot, even if almost all planets are already mine.
Can anyone test it on yours?
I dont find any errors in mine code. It is definitly not turn time limit 
problem (i tested with limit 10 secs), is there some memory limits and silent 
murdering of bots that overriding them?

according to my_log.txt which is mine logfile(created in cwd starter pack dir), 
output to file is suddenly stopped (not log line complited),
can PlayGame.jar just kill my bot silently????

bot "Kabal.pyc" in Kabal.zip, compiled with 2.5 on Windows 7

running from starter package dir with following command:

java -Duser.language=en -jar tools/PlayGame.jar maps/map3.txt 1000 1000 log.txt 
"java -jar example_bots/BullyBot.jar" "python Kabal.pyc" | java -jar 
tools/ShowGame.jar

Please help me, as YOU ALL I want to win that contest ;)))

Original issue reported on code.google.com by cluster.master@gmail.com on 19 Sep 2010 at 6:54

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by cluster.master@gmail.com on 19 Sep 2010 at 7:15

Attachments:

GoogleCodeExporter commented 8 years ago
I had a go at running your bot but my python install was not stable (your bot 
crashed on startup).

If you run
java -Duser.language=en -jar tools/PlayGame.jar maps/map3.txt 1000 1000 log.txt 
"java -jar example_bots/BullyBot.jar" "python Kabal.pyc" > kabal.out

then you can upload kabal.out and we can run it using 
cat kabal.out > java -jar tools/ShowGame.jar
and have a look a the end of kabal.out to see it there are any illegal 
instructions (send bots form a planet you don't one, etc)

Original comment by pap...@gmail.com on 20 Sep 2010 at 3:34

GoogleCodeExporter commented 8 years ago
This particular issue might be better-answered in the forums instead, if it's 
not a particular issue with the game engine or associated tools.

http://ai-contest.com/forum/index.php

Original comment by dar...@technofovea.com on 20 Sep 2010 at 4:55

GoogleCodeExporter commented 8 years ago
Kabal.out.zip as requested, this is really strange. Pappes, please test! Thanks

Original comment by cluster.master@gmail.com on 20 Sep 2010 at 9:12

Attachments:

GoogleCodeExporter commented 8 years ago
Closing since it would be better addressed in the forums

Original comment by janzert on 6 Nov 2010 at 3:47