So if this is the engine's reaction on "stop", does Polyglot ignore "bestmove d5f4 ..." here? For me it looks as if it does, and therefore I'm afraid I don't get the point yet, in why setting SyncStop might make any difference in this case.
So if this is the engine's reaction on "stop", does Polyglot ignore "bestmove d5f4 ..." here? For me it looks as if it does, and therefore I'm afraid I don't get the point yet, in why setting SyncStop might make any difference in this case.
Probably caused by my UCI blindness so far
Sven
i guess "stop|" just means stop,from the protocol:
* stop
stop calculating as soon as possible,
don't forget the "bestmove" and possibly the "ponder" token when finishing the search
notice that there was a pondermiss
(Engine->Adapter: info depth 9 time 765 nodes 681518 score cp 147 pv d5f4 e2f4 f8f4 d2d4 f4f8 h1f1 f8f1
Engine->Adapter: bestmove d5f4 ponder e2f4)
and that the move was still from that search.
1:to activate draw offers the engine has to define the "UCI_DrawOffers" parameter with the option command at startup.
2:to offer a draw or accept a draw offer:just send
"info string DrawOffer" to polyglot.
3:if winboard sends "draw" polyglot sends
"setoption DrawOffer draw" to the engine.
FYI it seems the 1.4w5 is missing the copying.txt file that I'm supposed to refer to. Will the 1.4w6 source be up soon? I'd like to give the draw features a try as well.
krazyken wrote:FYI it seems the 1.4w5 is missing the copying.txt file that I'm supposed to refer to. Will the 1.4w6 source be up soon? I'd like to give the draw features a try as well.
The zip now contains source and exe of the 1.46w version.
Including "copying.txt".
$ g++ -O4 -pthread -o polyglot *.cpp
adapter.cpp: In function ‘void adapter_loop()’:
adapter.cpp:192: error: ‘adapter_step’ was not declared in this scope
adapter.cpp: In function ‘bool xboard_step()’:
adapter.cpp:256: error: ‘xboard_get’ was not declared in this scope
In file included from pipe.cpp:4:
pipe.h:1:21: error: windows.h: No such file or directory
In file included from pipe.cpp:4:
pipe.h:37: error: ‘HANDLE’ does not name a type
pipe.h:38: error: ‘BOOL’ does not name a type
pipe.cpp: In member function ‘void PipeStruct::Open(const char*)’:
pipe.cpp:141: error: ‘nInput’ was not declared in this scope
pipe.cpp:142: error: ‘nOutput’ was not declared in this scope
pipe.cpp:158: error: ‘nInput’ was not declared in this scope
pipe.cpp:159: error: ‘nOutput’ was not declared in this scope
pipe.cpp: In member function ‘void PipeStruct::Close() const’:
pipe.cpp:165: error: ‘nInput’ was not declared in this scope
pipe.cpp:166: error: ‘nOutput’ was not declared in this scope
pipe.cpp: In member function ‘void PipeStruct::ReadInput()’:
pipe.cpp:170: error: ‘nInput’ was not declared in this scope
pipe.cpp: In member function ‘Boolean PipeStruct::CheckInput()’:
pipe.cpp:178: error: ‘nInput’ was not declared in this scope
pipe.cpp:181: error: ‘nInput’ was not declared in this scope
pipe.cpp: In member function ‘void PipeStruct::LineOutput(const char*) const’:
pipe.cpp:199: error: ‘nOutput’ was not declared in this scope
search.cpp: In function ‘void search_perft(const board_t*, int)’:
search.cpp:162: error: ‘my_timer_elapsed_cpu’ was not declared in this scope
$ g++ -O4 -pthread -o polyglot *.cpp
adapter.cpp: In function ‘void adapter_loop()’:
adapter.cpp:192: error: ‘adapter_step’ was not declared in this scope
adapter.cpp: In function ‘bool xboard_step()’:
adapter.cpp:256: error: ‘xboard_get’ was not declared in this scope
In file included from pipe.cpp:4:
pipe.h:1:21: error: windows.h: No such file or directory
In file included from pipe.cpp:4:
pipe.h:37: error: ‘HANDLE’ does not name a type
pipe.h:38: error: ‘BOOL’ does not name a type
pipe.cpp: In member function ‘void PipeStruct::Open(const char*)’:
pipe.cpp:141: error: ‘nInput’ was not declared in this scope
pipe.cpp:142: error: ‘nOutput’ was not declared in this scope
pipe.cpp:158: error: ‘nInput’ was not declared in this scope
pipe.cpp:159: error: ‘nOutput’ was not declared in this scope
pipe.cpp: In member function ‘void PipeStruct::Close() const’:
pipe.cpp:165: error: ‘nInput’ was not declared in this scope
pipe.cpp:166: error: ‘nOutput’ was not declared in this scope
pipe.cpp: In member function ‘void PipeStruct::ReadInput()’:
pipe.cpp:170: error: ‘nInput’ was not declared in this scope
pipe.cpp: In member function ‘Boolean PipeStruct::CheckInput()’:
pipe.cpp:178: error: ‘nInput’ was not declared in this scope
pipe.cpp:181: error: ‘nInput’ was not declared in this scope
pipe.cpp: In member function ‘void PipeStruct::LineOutput(const char*) const’:
pipe.cpp:199: error: ‘nOutput’ was not declared in this scope
search.cpp: In function ‘void search_perft(const board_t*, int)’:
search.cpp:162: error: ‘my_timer_elapsed_cpu’ was not declared in this scope
Compiles with Cygwin with the following small changes >