info string

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

info string

Postby Michel » 10 Aug 2009, 09:40

I have implemented relaying of info string commands to the GUI (trivial!). However I have not
found any engines that actually emit such commands.

So is this an empty feature?
Michel
 
Posts: 513
Joined: 01 Oct 2008, 12:15

Re: info string

Postby F.Huber » 10 Aug 2009, 09:49

Michel wrote:I have implemented relaying of info string commands to the GUI (trivial!). However I have not
found any engines that actually emit such commands.

So is this an empty feature?

Take for example Rybka: it displays a lot of "info string ..." (whenever you change any of its options).

Not to speak of ChestUCI of course ... :wink:
User avatar
F.Huber
 
Posts: 229
Joined: 27 Sep 2004, 14:29
Location: Austria

Re: info string

Postby Michel » 10 Aug 2009, 09:53

Ok. I tried Rybka.

setoption name UCI_LimitStrength value true
info UCI_LimitStrength set to true


Shouldn't that be

info string UCI_LimitStrength set to true

Or am I misreading the UCI protocol?
Michel
 
Posts: 513
Joined: 01 Oct 2008, 12:15

Re: info string

Postby F. Bluemers » 10 Aug 2009, 09:54

Michel wrote:I have implemented relaying of info string commands to the GUI (trivial!). However I have not
found any engines that actually emit such commands.

So is this an empty feature?

As far as i know it is not (much) used.
Certainly not in the fruit/toga family.
It is a nice feature while debugging...
F. Bluemers
 
Posts: 175
Joined: 04 Sep 2008, 16:56
Location: Netherlands

Re: info string

Postby F. Bluemers » 10 Aug 2009, 10:01

Michel wrote:Ok. I tried Rybka.

setoption name UCI_LimitStrength value true
info UCI_LimitStrength set to true


Shouldn't that be

info string UCI_LimitStrength set to true

Or am I misreading the UCI protocol?

That is also the way I understand it.However maybe its possible to understand it in a different manner:
If there is no string keyword ,the gui might interprete and reformat whatever is send as info commands.
Even if it did not start with one of the info commands.


Anyway info string UCI_LimitStrength set to true is the better choice.
Last edited by F. Bluemers on 10 Aug 2009, 10:05, edited 1 time in total.
F. Bluemers
 
Posts: 175
Joined: 04 Sep 2008, 16:56
Location: Netherlands

Re: info string

Postby F.Huber » 10 Aug 2009, 10:03

Michel wrote:Ok. I tried Rybka.

setoption name UCI_LimitStrength value true
info UCI_LimitStrength set to true


Shouldn't that be

info string UCI_LimitStrength set to true

Or am I misreading the UCI protocol?


No, of course you are right, but you seem to have used Rybka 2.3.2, and in this old version it was really done wrong (i.e. omitting 'string' after 'info').
User avatar
F.Huber
 
Posts: 229
Joined: 27 Sep 2004, 14:29
Location: Austria

Re: info string

Postby Michel » 10 Aug 2009, 11:05

Well I implemented it. I restricted to info that is shown during searching (that is PG's current philosophy).
The other info seems to disappear very quickly anyway.
Michel
 
Posts: 513
Joined: 01 Oct 2008, 12:15


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 18 guests