[computer-go] CGOS bug
House, Jason J.
jhouse at mitre.org
Mon Aug 7 11:41:54 PDT 2006
I'll admit that I'm the "certain program". The computer that I was
using (and having that problem with) is no longer under my control.
-----Original Message-----
From: computer-go-bounces at computer-go.org
[mailto:computer-go-bounces at computer-go.org] On Behalf Of Don Dailey
Sent: Monday, August 07, 2006 2:29 PM
To: computer-go
Subject: [computer-go] CGOS bug
It has come to my attention that there is a minor bug in CGOS,
occasionally a bot will lose a game on the first move due to an illegal
move that is not really the fault of the program. The illegal move is
always, "ping."
It affects very few games but it's annoying when it happens I'm sure.
A workaround is to just use the perl script cgos.pl instead of the
cgosGtp.tcl script for communicating with the server.
The actual problem is that there is an experimental feature in CGOS
that
was designed to help debug a problem with a certain program that would
time-out a lot between games. I put a ping command just to see what
would happen, but it looks like I introduced a race condition where the
final ping might occur after a game actually started.
A workaround is to just use the perl script cgos.pl instead of the
cgosGtp.tcl script for communicating with the server. The perl script
does not have the ping stuff there and it's not needed.
If you want to fix the problem in the cgosGtp.tcl client, just take out
the ping code (there is one line that says "set pingable 1", change it
to say, "set pingable 0" and it will be fixed.
I'm working on a new server, so I'm not going to try to fix this
directly in the server - the workaround will do the job for now.
- Don
_______________________________________________
computer-go mailing list
computer-go at computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/
More information about the computer-go
mailing list