[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[computer-go] Slight glitch on "undo" as handled by kgsgtp
Just a quick bug report (mainly to wms, but others may have hit this and
wondered what went wrong).
I don't handle "undo" requests in Dumbbot yet. As I don't advertise this
in "list_commands", the kgsgtp wrapper does it for me every time a human
loser hits undo during a Free game (2 or 3 times a game isn't rare - it's
surprising DB ever gets to win!) It does this by sending a boardsize
command which clears everything down, resends komi, time_settings etc and
then sends "play" commands to repopulate the board as it was just prior to
the "undo" move. All very clever and seems to work fine.
However - if the game is a handicap one, the wrapper fails to resend the
"place_free_handicap n" command after the "boardsize" command clears the
game. This leaves the server out of sync with the engine which eventually
comes up with an illegal move; this illegal move causes kgsgtp to dump the
engine in disgust ;-)
It took me a while to track this one down. I presumed it was another one
of the many daft mistakes I've made in DB so far. I've got all the
logfile output if needed, but I'm guessing it was one of those
unthought-of combinations that slipped through and won't take long to fix.
Maybe DB is the only Bot that doesn't honour the "undo" command?
HTH
John
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/