[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /feed.php on line 173: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /feed.php on line 174: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums Falls 2011, sponsored by Google 2010-11-27T03:55:42+00:00 http://forums.aichallenge.org/feed.php?f=18&t=534 2010-11-27T03:55:42+00:00 2010-11-27T03:55:42+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=7762#p7762 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> Statistics: Posted by Terr — Sat Nov 27, 2010 3:55 am


]]>
2010-11-27T01:35:47+00:00 2010-11-27T01:35:47+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=7760#p7760 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> s.exe (instead of MyBot.exe) and is in the current directory?

I copied and pasted your command line and got your error message and I don't have a "MyBot s .exe"

Statistics: Posted by glevee — Sat Nov 27, 2010 1:35 am


]]>
2010-11-26T07:53:40+00:00 2010-11-26T07:53:40+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=7712#p7712 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> but dont cant test local, why?
try:
java -jar tools/PlayGame.jar maps/map7.txt 1000 1000 log.txt MyBots.exe "java -jar example_bots/DualBot.jar" | java -jar tools/ShowGame.jar

in output:
ERROR: failed to start client: MyBots.exe
Exception in thread "Thread-2" java.lang.ArrayIndexOutOfBoundsException: 1
at ViewerPanel.run(ViewerPanel.java:85)
at java.lang.Thread.run(Unknown Source)


what wrong? (testing 2 java bots again each other was good)

Statistics: Posted by qulinxao — Fri Nov 26, 2010 7:53 am


]]>
2010-11-22T11:50:23+00:00 2010-11-22T11:50:23+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=7544#p7544 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]>
The bot sais the distance between my planet and the destination is 2, but in PlayGame.jar/ShowGame.jar the distance is actually 1, because on turn 1 I send the fleets to this planet and in turn 2 I already have it

edit:
calculated manually
distance is supposed to be 1.6241512550567194309118650732308 before ceil, so something must be wrong with the PlayGame.jar/ShowGame.jar right? or am I missing something?

edit2:
nevermind I didnt realize the visualizer shows the gamestate AFTER the actions has been made >_<

Statistics: Posted by JimmFlimm — Mon Nov 22, 2010 11:50 am


]]>
2010-11-13T23:09:16+00:00 2010-11-13T23:09:16+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=7238#p7238 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> putting the code below or changing the value of XXX changes the number of turns to disappear. Lower values of XXX takes longer to disappear:

if (pw.MyFleets().size() >= XXX) {
return;
}

(after this I execute the bot normally, so if the size is < XXX, I start fleets without watching the condition again so I can start more fleets than XXX)
(used command: java -jar tools/PlayGame-1.2.jar maps/map7.txt 1000 1000 log.txt "java MyBot" "java -jar example_bots/BullyBot.jar" | java -jar tools/ShowGame-1.2.jar)

here they are some test with different values of XXX:

without the code:
Turn 16
Player 2 Wins!

XXX=10:
Turn 18
Player 2 Wins!

XXX=5:
Turn 77
Player 2 Wins!

XXX=4:
game finishes correctly
Turn 98
Player 1 Wins!


EDIT: Solution found, it was my error, an illegal move. For debugging you can use the solution posed in

Statistics: Posted by mago10 — Sat Nov 13, 2010 11:09 pm


]]>
2010-11-08T08:46:17+00:00 2010-11-08T08:46:17+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=7020#p7020 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> Statistics: Posted by SamothRefoe — Mon Nov 08, 2010 8:46 am


]]>
2010-11-07T14:30:53+00:00 2010-11-07T14:30:53+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=7010#p7010 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> Statistics: Posted by n.podbielski — Sun Nov 07, 2010 2:30 pm


]]>
2010-11-03T20:27:08+00:00 2010-11-03T20:27:08+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=6941#p6941 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> Statistics: Posted by ito725 — Wed Nov 03, 2010 8:27 pm


]]>
2010-10-27T02:51:40+00:00 2010-10-27T02:51:40+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=6655#p6655 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> Statistics: Posted by 71_FIL — Wed Oct 27, 2010 2:51 am


]]>
2010-10-27T02:48:22+00:00 2010-10-27T02:48:22+00:00 http://forums.aichallenge.org/viewtopic.php?t=534&p=6654#p6654 <![CDATA[Re: Having problems with PlayGame.jar or ShowGame.jar?]]> Statistics: Posted by 71_FIL — Wed Oct 27, 2010 2:48 am


]]>