Author: Thomas Mayer
Date: 07:35:08 05/24/05
Go up one level in this thread
Hi Daniel, >I'll just looked in my source what happend with a newgame command: > > if (!strcmp(command, "ucinewgame")) { > NewGame(); > InitHashTable(); > continue; > } >I'll reset all things. Well, that's what I expect when sending 'ucinewgame'... :) > A bigger problem is more the handling "set option <x>" while engine thinking: > > Fritz8: Make it without any changes. > Arena: Allow it in some special cases (clear hash for example) > S9: Send even a "stop" before the command. hm... In my opinion they are NOT allowed to send a setoption when the engine search, at least that is what I recognize in the standard. Let me take a look: * setoption name <id> [value <x>] this is sent to the engine when the user wants to change the internal parameters of the engine. For the "button" type no value is needed. One string will be sent for each parameter and this will only be sent when the engine is waiting. as you can see a 'setoption' is definitely NOT allowed during the search process. First you MUST get a 'stop'. I think Stefan can't define it more clear and still some misunderstand it... :) Seems that strict specification does not prevent from missuse... Same problem which makes it so complicate to make a winboard engine working under all available GUIs with winboard support. Greets, Thomas
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.