[Computer-go] kgs bot interface question
Francois van Niekerk
flash.slash at gmail.com
Sat Jan 21 04:36:02 PST 2012
You can workaround the long reconnect period by turning off kgsGtp's
reconnect option and having a wrapper script that does it for you.
--
Francois van Niekerk
Email: flash.slash at gmail.com | Twitter: @francoisvn
Cell: +2784 0350 214 | Website: http://leafcloud.com
2012/1/21 Petr Baudis <pasky at ucw.cz>:
> On Mon, Jan 16, 2012 at 08:53:47AM +0100, Rémi Coulom wrote:
>> I have this problem too. I think the problem is not resignation. The problem is when several player challenge at the same time. You can tell kgsgtp to write a log. Below is such a log for CrazyStone.
>>
>> So it must be a bug in kgsgtp. Maybe wms reads this. Otherwise, we could send a message to him.
>
> I'm cc'ing admin at gokgs.com. If the race condition is tricky to fix,
> a trivial workaround would be if the kgsGtp interface would at least
> have a lot shorter reconnect interval, e.g. 30 seconds instead of
> five minutes.
>
>> 30 déc. 2011 01:32:12 com.gokgs.client.gtp.GtpClient c
>> FIN: Game ended. Starting another.
>> 30 déc. 2011 01:32:12 com.gokgs.client.gtp.GtpClient a
>> PLUS FIN: No games to join. Creating an open game.
>> 30 déc. 2011 01:32:12 com.gokgs.client.gtp.f a
>> PLUS FIN: Joined challenge
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.f a
>> PLUS FIN: Got challenge from "xiaosugi", testing engine response.
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.GtpClient d
>> LE PLUS FIN: Command sent to engine: boardsize 19
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.GtpClient d
>> LE PLUS FIN: Got successful response to command "boardsize 19": =
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.f a
>> LE PLUS FIN: Board size 19 is acceptable
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.GtpClient d
>> LE PLUS FIN: Command sent to engine: time_settings 135 0 0
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.GtpClient d
>> LE PLUS FIN: Got successful response to command "time_settings 135 0 0": =
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.f a
>> LE PLUS FIN: Time system is acceptable
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.f a
>> LE PLUS FIN: Sending challenge back to server
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.f a
>> PLUS FIN: Got challenge from "agotaoxin", testing engine response.
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.GtpClient d
>> LE PLUS FIN: Command sent to engine: boardsize 19
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.GtpClient d
>> LE PLUS FIN: Got successful response to command "boardsize 19": =
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.f a
>> LE PLUS FIN: Board size 19 is acceptable
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.GtpClient d
>> LE PLUS FIN: Command sent to engine: time_settings 135 0 0
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.GtpClient d
>> LE PLUS FIN: Got successful response to command "time_settings 135 0 0": =
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.f a
>> LE PLUS FIN: Time system is acceptable
>> 30 déc. 2011 01:32:20 com.gokgs.client.gtp.f a
>> LE PLUS FIN: Sending challenge back to server
>> 30 déc. 2011 01:32:21 com.gokgs.client.gtp.GtpClient e
>> GRAVE: Unexpected disconnect: The connection to the server has been closed unexpectedly. You must log in again.
>> 30 déc. 2011 01:32:21 com.gokgs.client.gtp.GtpClient go
>> FIN: Will wait 5 minutes, then try to connect again.
>
> --
> Petr "Pasky" Baudis
> The goal of Computer Science is to build something that will
> last at least until we've finished building it.
> _______________________________________________
> Computer-go mailing list
> Computer-go at dvandva.org
> http://dvandva.org/cgi-bin/mailman/listinfo/computer-go
More information about the Computer-go
mailing list