Author: Robert Hyatt
Date: 10:48:21 02/28/01
Go up one level in this thread
On February 28, 2001 at 02:16:41, Peter McKenzie wrote: > >oh darn, looks like I got the wrong end of the stick! > >> >>Someone (I forget who) had a bug where he parsed winboard output without regard >>to newlines, and he didn't implement all the commands. In particular, he didn't >>implement the "name" command. So, suppose someone named "quit" on ICS were to >>play his engine, leading winboard to send the command >> >> name quit >> >>This would cause his engine to quit! (Perhaps after generating an error message > >Yes, as we discussed on ICC today, if an engine had a name of "crafty quit" (not >very likely - right Bob?) then the string: "name crafty quit\n" gets sent to the >engine. This would cause MY engine to quit!! Looks like I've got some fixing >to do... > >I wonder if anyone else has this bug :-) > You can bet that future versions of crafty will use the "name" feature to set its name to "crafty xxx" where xxx is any element of the set {quit, resign, sd=1, st=1, ponder=off, easy, book off, etc} just hoping for someone to mis-parse the "name" command and either quit, resign, set the search depth to 1 ply, the time limit to 1 second, turn pondering off, turn book off, etc. :)
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.