On Sun, Jul 30, 2006 at 02:41:23PM -0500, Alex Midgley wrote: > I dug a little deeper, and it turns out that the form of the time > command that Knights is using is correct by the xboard specification, > and Crafty handles it correctly when it is in xboard mode. > > The problem appears to be the st command, which sets the search time > limit, equivalent to a time limit per move. I commented out the line > which sends this command in proto_xboard.cpp (line 368) and now Crafty > runs just fine under Knights. This command is sent with a smaller value > when the chess engine strength is set to easy, which is why that > appeared to fix the problem. > > If the st command isn't removed as I did, it should at least send a time > that is less than the remaining time as set by the time command. The > default settings send "st 131072" which sets a time per move of over 21 > minutes. Clearly this is nonsensical if the engine has only fifteen > minutes (for example) to complete the entire game. > > -alex
Thanks for your invaluable help! I will shortly upload a new debian revision of knights with the modification you suggested. By the way, I saw that similar problems were reported to the knights bug tracking system at sourceforce.net, but unfortunately they haven't been fixed. Thanks again for your support. Regards, -- Tommaso Moroni [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]