Or is it a bug?
Sometimes a program will lose on time on a chess server under
Polyglot. This happend to Telepath occasionally. The odd thing is that
it was occasional. So, I looked into the logs.
Here is the issue:
Polyglot doesn't send the winc and binc UCI commands if the inc is 0.
Other interfaces like Arena and Chessbase do.
So, lets say your engine doesn't reinitialize the winc and binc values
to 0 at newgame. Then this happens: After playing a game with
somebody and the game has an inc of 10, then engine thinks the
next game and all that follow with an inc of zero have an inc of 10.
Such a scenario can cause the engine to lose on time.
My fix was to adjust Telepath, but it should probably be fixed in
Polyglot.
Polyglot Bug
Moderators: hgm, Dann Corbit, Harvey Williamson
-
CRoberson
- Posts: 2053
- Joined: Mon Mar 13, 2006 2:31 am
- Location: North Carolina, USA
-
F. Bluemers
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: Polyglot Bug
It's not polyglot,it is uci,from the engine-interface.txt:CRoberson wrote:Or is it a bug?
Sometimes a program will lose on time on a chess server under
Polyglot. This happend to Telepath occasionally. The odd thing is that
it was occasional. So, I looked into the logs.
Here is the issue:
Polyglot doesn't send the winc and binc UCI commands if the inc is 0.
Other interfaces like Arena and Chessbase do.
So, lets say your engine doesn't reinitialize the winc and binc values
to 0 at newgame. Then this happens: After playing a game with
somebody and the game has an inc of 10, then engine thinks the
next game and all that follow with an inc of zero have an inc of 10.
Such a scenario can cause the engine to lose on time.
My fix was to adjust Telepath, but it should probably be fixed in
Polyglot.
Code: Select all
* go
start calculating on the current position set up with the "position" command.
There are a number of commands that can follow this command, all will be sent in the same string.
[b]If one command is not sent its value should be interpreted as it would not influence the search.[/b]
Fonzy