Page 1 of 1

MOVE NOW comand

PostPosted: 04 Nov 2009, 17:26
by matematiko
Hi all,

As silly as the question might sound, can somebody explain what is the purpose, limitations, and requesites of the "Move Now" button?

The thing is that this button is not working for me (latest 4.4.1 release) when using Rybka 3 and in ICS mode. Perhaps the engine froze and does not response to commands, or was not intended for ICS mode. In reality, this is happening to a friend of mine, therfore I dont have log files to post here, but if necessary and based in the answer I will try to reproduce the error and produce the logs (both: WinBoard and Polyglot).

Regards and thanks in advance,

Re: MOVE NOW comand

PostPosted: 04 Nov 2009, 17:37
by H.G.Muller
XBoard sends the move-now commnd to Polyglot, when you run a UCI engine. I don't know how Polyglot handles it. According to W protocol specs, it is allowed to ignore the move-now command.

Re: MOVE NOW comand

PostPosted: 04 Nov 2009, 18:33
by Michel
It should normally just work. PG just sends "stop" to the engine which should reply with a bestmove command.

Re: MOVE NOW comand

PostPosted: 04 Nov 2009, 19:34
by matematiko
Well....then it looks like the engine is freezing for whatever other reason. Mr Muller, can you please verify that this command is supported in ICS mode.

Thanks,

Re: MOVE NOW comand

PostPosted: 05 Nov 2009, 04:43
by dene
Hi,

Sometimes when using the CTG Adapter with Rybka 3 and ICS mode the engine can stop for some reason, (or more likely it doesnt start after you come out of book). This doesnt happen all the time, but it happens quite often. Its as though its lost communication somewhere.

The only way to force the engine to move when this happens is to use the command ctrl+n (new game), but this doesnt work all of the time. Nothing happens when you enter the command ctrl+m (move now) to try and force the engine to move.

I was wondering if it would be possible to create a command in winboard to force the engine to restart and make an instand move when this happens.

Cheers

Dene

Re: MOVE NOW comand

PostPosted: 05 Nov 2009, 08:34
by H.G.Muller
Run WinBoard with the -xreuse parameter, and ask for a new game. That kills the engine process, and starts a new one.

Re: MOVE NOW comand

PostPosted: 06 Nov 2009, 01:07
by dene
Thanks for the advice Mr Muller.

Re: MOVE NOW comand

PostPosted: 06 Nov 2009, 06:40
by Olivier Deville
dene wrote:Hi,

Sometimes when using the CTG Adapter with Rybka 3 and ICS mode the engine can stop for some reason, (or more likely it doesnt start after you come out of book). This doesnt happen all the time, but it happens quite often. Its as though its lost communication somewhere.

The only way to force the engine to move when this happens is to use the command ctrl+n (new game), but this doesnt work all of the time. Nothing happens when you enter the command ctrl+m (move now) to try and force the engine to move.

I was wondering if it would be possible to create a command in winboard to force the engine to restart and make an instand move when this happens.

Cheers

Dene


There is also a bug in the Aquarium book adapter. Adding SyncStop = true to polyglot.ini seems to help.

Olivier

Re: MOVE NOW comand

PostPosted: 06 Nov 2009, 07:41
by Michel
There is also a bug in the Aquarium book adapter. Adding SyncStop = true to polyglot.ini seems to help.


If SychStop=true helps then the the bug should not appear with ponder off. Is that correct?

SyncStop=true makes PG wait with launching a new search until the bestmove command arrives.

Re: MOVE NOW comand

PostPosted: 06 Nov 2009, 08:10
by Olivier Deville
Michel wrote:
There is also a bug in the Aquarium book adapter. Adding SyncStop = true to polyglot.ini seems to help.


If SychStop=true helps then the the bug should not appear with ponder off. Is that correct?

SyncStop=true makes PG wait with launching a new search until the bestmove command arrives.


Correct. I always test with ponder on here.

Olivier