[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/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - GameEngine/Viewer/Replay/Human/TCP in one. [updated]

It is currently Mon Jul 23, 2018 4:24 am Advanced search

GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Code won't compile? Found a bug? Post here!

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby aerique » Fri Oct 08, 2010 9:45 pm

aerique
Brigadier-General
 
Posts: 131
Joined: Fri Feb 05, 2010 3:23 pm
Location: Netherlands

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby delt0r » Sat Oct 09, 2010 8:19 am

I did look into the turn count issue. I can't easily fix it. It depends if its a "replayed" game, or a game the engine played itself, and that changes the "indexing" just slightly. I just add the increment in my head. ;)
It was like that when I got here.
User avatar
delt0r
Colonel
 
Posts: 89
Joined: Sun Sep 12, 2010 8:03 am

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby delt0r » Sat Oct 09, 2010 11:08 am

So a new version is up. I have included the submitted patch. Personally i don't like the wider lines in the plot window, but if no one else complains i will leave as is.

Other things added. A stop button in the human interface, and a "preview your are going to attack here" in the gui. There was some other things added to ensure that things exit and that you don't get "dangling" process.

Finally I have fixed the turn count issue properly. Turn 0 is the "map" before any fleets are sent. Turn 1 is the turn *after* fleet dispatch and combat resolution. Like the web one.
It was like that when I got here.
User avatar
delt0r
Colonel
 
Posts: 89
Joined: Sun Sep 12, 2010 8:03 am

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby delt0r » Tue Oct 12, 2010 11:37 pm

Just added some cosmetic changes. It now has arrows for fleets like the web visualizer and it animates smoothly in "play" mode.
It was like that when I got here.
User avatar
delt0r
Colonel
 
Posts: 89
Joined: Sun Sep 12, 2010 8:03 am

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby Accoun » Wed Oct 13, 2010 11:34 am

Accoun
Colonel
 
Posts: 82
Joined: Tue Mar 02, 2010 10:11 am

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby delt0r » Wed Oct 13, 2010 12:29 pm

It does have sleep in the loop. But if the bots use 100% then its going to use 100%. And i want it too. I don't want it to run slower than it needs too.
It was like that when I got here.
User avatar
delt0r
Colonel
 
Posts: 89
Joined: Sun Sep 12, 2010 8:03 am

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby Accoun » Wed Oct 13, 2010 2:23 pm

Accoun
Colonel
 
Posts: 82
Joined: Tue Mar 02, 2010 10:11 am

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby delt0r » Wed Oct 13, 2010 7:36 pm

I also forgot that there is a command line mode of "batching" bots and maps. It like this

java -cp JBotManager.jar deltor.AIGamePlayer [-t turnLimit] [-o timeout] [-save] {-m map1:map2:map3:...| map} bot bot2 bot3 ...

this will play the first bot against all other bots and on all maps listed.
It was like that when I got here.
User avatar
delt0r
Colonel
 
Posts: 89
Joined: Sun Sep 12, 2010 8:03 am

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby Celica » Thu Oct 14, 2010 8:27 am

Your utility is much better than PlayGame/ShowGame, great work!

/Celica
Celica
Lieutenant
 
Posts: 11
Joined: Fri Sep 10, 2010 9:52 am

Re: GameEngine/Viewer/Replay/Human/TCP in one. [updated]

Postby delt0r » Sun Oct 17, 2010 12:54 pm

yet another small bug fix.

If you tried to run a game with a file that wasn't a map... no game or error would happen and you couldn't start a game on that panel again. This is now fixed. A invalid map will now give an error.
It was like that when I got here.
User avatar
delt0r
Colonel
 
Posts: 89
Joined: Sun Sep 12, 2010 8:03 am

PreviousNext

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron