[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/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 - TCP Server

It is currently Thu Jun 21, 2018 10:43 am Advanced search

TCP Server

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

Re: TCP Server

Postby __init__ » Fri Sep 10, 2010 6:06 pm

The algorithm of resolving three-way battle is very different from the original one.

For example, in the battle http://www.benzedrine.cx/planetwars/can ... hsBot10.01 on turn 44:

A neutral planet with 41 ships is attacked by 29+9=38 Reds and 47 Blues. The result is quite strange - the planet remains neutral with 7 ships.

Using the algorithm implemented in trunk (http://code.google.com/p/ai-contest/sou ... /engine.py), the planet should be conquered by Blues with about 20 ships (more or less, depending on the order of moves).
With an alternate algorithm described in Issue 64 (http://code.google.com/p/ai-contest/issues/detail?id=64), the result should be +6 for Blues.
__init__
Cadet
 
Posts: 2
Joined: Wed Sep 08, 2010 12:16 pm

Re: TCP Server

Postby dhartmei » Fri Sep 10, 2010 8:23 pm

User avatar
dhartmei
Colonel
 
Posts: 65
Joined: Sun Feb 07, 2010 3:58 pm
Location: Basel, Switzerland

Re: TCP Server

Postby buzz » Sun Sep 12, 2010 11:55 am

buzz
Cadet
 
Posts: 6
Joined: Sun Sep 12, 2010 9:17 am

Re: TCP Server

Postby dhartmei » Sun Sep 12, 2010 1:36 pm

User avatar
dhartmei
Colonel
 
Posts: 65
Joined: Sun Feb 07, 2010 3:58 pm
Location: Basel, Switzerland

Re: TCP Server

Postby greghaynes » Sun Sep 12, 2010 11:35 pm

I just created a Qt GUI which works with tcp server:

http://github.com/greghaynes/QTcpPlanetWars

Its hot off the press so don't come after me with pitchforks when you find bugs, but I will fix the ones you find.
greghaynes
Cadet
 
Posts: 4
Joined: Mon Feb 01, 2010 6:34 am

Re: TCP Server

Postby Queue29 » Mon Sep 13, 2010 1:12 am

Queue29
Lieutenant-Colonel
 
Posts: 41
Joined: Sat Feb 06, 2010 5:43 am

Re: TCP Server

Postby greghaynes » Mon Sep 13, 2010 3:44 am

It worked for me off of github just now.

I dont want to post a zip until it gets to a 'stable' version.
greghaynes
Cadet
 
Posts: 4
Joined: Mon Feb 01, 2010 6:34 am

Re: TCP Server

Postby Tracer » Mon Sep 13, 2010 5:21 am

Tracer
Captain
 
Posts: 29
Joined: Sat Sep 11, 2010 7:32 pm

Re: TCP Server

Postby dhartmei » Mon Sep 13, 2010 11:12 am

I updated , it now supports (optional) user passwords as well as passing argument lists (i.e. calling tcp ... java MyBot.java now works without a wrapper script).

Everything's backwards compatible, so old clients continue to run. If you want to password protect your user, update.

Do NOT use the same password as anywhere else, it's sent in plaintext and I can see them.

Cheers,
Daniel
User avatar
dhartmei
Colonel
 
Posts: 65
Joined: Sun Feb 07, 2010 3:58 pm
Location: Basel, Switzerland

Re: TCP Server

Postby aerique » Mon Sep 13, 2010 12:11 pm

Thanks dhartmei, your TCP server is awesome (as is all the other work you (and the others!) are doing for the tournament).
aerique
Brigadier-General
 
Posts: 131
Joined: Fri Feb 05, 2010 3:23 pm
Location: Netherlands

PreviousNext

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 3 guests

cron