[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/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 Apr 19, 2018 9:50 am Advanced search

TCP Server

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

Re: TCP Server

Postby olex.s » Sat Sep 18, 2010 10:37 pm

Suggestion: display a player's ELO (and maybe ranking) on his game list page (http://www.benzedrine.cx/planetwars/get ... player=xxx). As it is now, one has to look in the logs or find the bot in the main rankings.
olex.s
Captain
 
Posts: 26
Joined: Tue Sep 14, 2010 6:51 pm

Re: TCP Server

Postby temp_dummy » Sun Sep 19, 2010 12:22 am

temp_dummy
Colonel
 
Posts: 87
Joined: Sat Sep 11, 2010 6:00 pm

Re: TCP Server

Postby Accoun » Sun Sep 19, 2010 8:35 am

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

Re: TCP Server

Postby dhartmei » Sun Sep 19, 2010 5:48 pm

To solve the lag and timeout problems, I moved the TCP server to a host with better connectivity (Amazon EC2 instance in region US east).

Please adjust your scripts to connect to 72.44.46.68 port 995.
User avatar
dhartmei
Colonel
 
Posts: 65
Joined: Sun Feb 07, 2010 3:58 pm
Location: Basel, Switzerland

Re: TCP Server

Postby RebelXT » Mon Sep 20, 2010 7:47 pm

dhartmei, great, games have been flying since the move.

i also set up my own TCP server using your source code, and it worked great!
RebelXT
Colonel
 
Posts: 81
Joined: Fri Sep 10, 2010 2:05 pm

Re: TCP Server

Postby Torquemada » Tue Sep 21, 2010 12:51 pm

You made a great work, thanks guys. But can anyone help and give more detail instructions? How to use server, visualizer, how to debug. I work in MS Visual Studio 2005, under Windows XP.

Thanks a lot,
Viktor
Torquemada
Major
 
Posts: 30
Joined: Tue Sep 21, 2010 12:39 pm

Re: TCP Server

Postby fleandr » Tue Sep 21, 2010 9:45 pm

timeout for java client
Connected...
Your opponent is...
Timed out
Lost...
(I recieve only IN commands do not send any OUT)
Maybe use another game parser which differs from original?

no use for CygWin
tcp.exe 72.44.46.68 995 fleandr -p 123456 java MyBot

execv: 123456 no such file or directory
fleandr
Cadet
 
Posts: 9
Joined: Thu Sep 16, 2010 2:47 pm

Re: TCP Server

Postby Olathe » Wed Sep 22, 2010 3:23 pm

A Java client for dhartmei's TCP server:
A Haskell starter package:
Olathe
Cadet
 
Posts: 7
Joined: Fri Sep 10, 2010 2:51 pm

Re: TCP Server

Postby Olathe » Wed Sep 22, 2010 6:42 pm

A Java client for dhartmei's TCP server:
A Haskell starter package:
Olathe
Cadet
 
Posts: 7
Joined: Fri Sep 10, 2010 2:51 pm

Re: TCP Server

Postby Mistmanov » Fri Sep 24, 2010 6:56 pm

I'm having a bit of a weird situation where I get to play on the same map a lot of the time..

http://72.44.46.68/canvas?game_id=142815
http://72.44.46.68/canvas?game_id=142787
http://72.44.46.68/canvas?game_id=142488
http://72.44.46.68/canvas?game_id=142458
http://72.44.46.68/canvas?game_id=142406
http://72.44.46.68/canvas?game_id=142352

At of the time of writing, my last 6 games against this player were all on the same map. Any reason for that?
Mistmanov
Colonel
 
Posts: 70
Joined: Fri Sep 24, 2010 6:50 pm

PreviousNext

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests

cron