Possible bug...

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Possible bug...

Postby Fermin Serrano » 05 May 2011, 22:41

Is This a bug in ICS mode? I set contempt draw score based on rating at start of the game and printing a line with a comment (#) but winboard seens to send a draw offer .....

Code: Select all
>ICS: \012
2107523 <first : # Draw contemp score set to MG: -30, EG: -15
GameEnds(27, Draw, 5)
>ICS: /
>ICS: draw\012
User avatar
Fermin Serrano
 
Posts: 72
Joined: 10 Apr 2008, 18:20
Location: Madrid (Spain)

Re: Possible bug...

Postby H.G.Muller » 06 May 2011, 04:08

Are you sure that your engine sends feature debug=1 at startup?
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Possible bug...

Postby Fermin Serrano » 06 May 2011, 08:45

OK thank you. I didn't take account of that feature. In fact I dont see why it is necessary. Why don't assume always a line with # is a comment independently of the feature notification??? I see it redundant. It is obvious that if I send a line with # it is because I want it to be a comment.
User avatar
Fermin Serrano
 
Posts: 72
Joined: 10 Apr 2008, 18:20
Location: Madrid (Spain)

Re: Possible bug...

Postby H.G.Muller » 06 May 2011, 10:02

Backward compatibility of the protocol. There might be other GUI implementations that choke on lines starting with '#'. So the engine can negociate with the GUI for their use. If the GUI replies rejected debug in stead of accepted debug, the engine knows that the GUI doesn't implement this feature, and that it should refrain from sending any potentially offensive output, as the '#' won't disarm it.

Some people are still using WinBoard 4.2.7, and the 'Draw' in your message would cause the reported error there, # or no #.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 23 guests