mjlef wrote:I cannot seem to get winboard_x to use my chess engine via Polyglot when connected to ICC. It does work starting with the other option (to play against the engine). In that case it runs fine showing engine output and making moves. I can connect to ICC and challenge people, but the engine never makes any move. Can someone tell me what I am doing wrong?
Hmm, things are a little bit more complicated.
Here is an exemple of how to have WB log in on ICC and post a "seek" offer for a blitz rated game at 5 min + 3 sec / move. It will repost the same offer after each game end and will reconnect automatically if the connection closes accidentally.
You should have an additional ini file in your WB folder with the following items :
- Code: Select all
MyICCpseudo
MyICCpassword
seek 5 3 r
You can add any other valid ICC command that you wish to be sent at logon in this file (such as changing your online parameters, issuing other "seek" calls and so on). You can also log in in this way without issuing any "seek".
The file can have any name (let's say "logon53.ini" as an example)
And here the batch :
- Code: Select all
:loop
start /w winboard_x.exe -zp -ics -fd "C:\Program Files\winboard" -fcp "MyChessProg.exe" -icshost chessclub.com -icshelper timestamp -icslogon logon53.ini -zippyGameEnd='say Thanks\nseek 5 3 r\n'
goto loop
a few comments :
-zp means that you intend to use "zippy" commands (see after)
-ics you will use winboard in ICS mode
-icshost address or IP of the chess server
-icshelper timestamp the timestamp.exe prog needs to be in WB directory (it is by default). It adjusts thinking times of both opponents according to real transmission time.
-icslogon logon53.ini sends one after another each line of the ini file to the server at logon so you do not need to enter your username and password at each reconnection.
-zippyGameEnd sends the following commands at the end of each game (in the exemple : calls for a new opponent). requires the -zp switch at the beginning of the line
... But you should find many more details in WB excellent help file
Once you are online through such a batch you can also issue any other command by hand, and any game that you begin there will be plyaed by your engine.
Hope this helps a bit
This is only the basis. I suggest you play a little bit with these parameters before any real automated activity on ICC or FICS.
Among other options : specifying on the command line a name for the file in which you will record your games, stating that you wish to save WB debug files, ...
Marc