From memory, when something goes wrong (engine crash?), the client incorrectly sends the previous move. This then causes the server to boot the bot due to an illegal move. Everything then shuts down, leaving a confused programmer :)

Sent from my iPhone

On Apr 18, 2009, at 3:51 PM, "Brian Sheppard" <sheppar...@aol.com> wrote:

I have observed a few times that cgosGtp.kit sends a command to my engine, but my engine does not receive it. I am wondering if anyone else has seen such behavior, and can tell me how it happens.

Some possibly relevant background info:

- I am shamelessly stealing the GTP code (and pondering code) from Fuego
   - Um, thanks Martin!
   - Running on Vista
- I invoke as follows: tclkitsh cgosGtp.kit -c cgos-config.txt -k Quit.txt 1>log.txt
   - the file log.txt ends with some command, like 'genmove w'
- my engine's log of commands received ends with the previous command, like 'time_left w 70 0' - The behavior is intermittent. Out of almost 400 games, I have seen it 3 times.

The result of this state is that my engine is pondering, and cgosGTP.kit is waiting for the engine to respond.

This will continue until CGOS times out the game.

Now, losing the game on time doesn't bother me. It bothers me that the hang-up between my engine and cgosGtp.kit will persist, so my engine *never* plays another game until I restart. This wastes a whole night.



Any ideas?

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to