Closed GoogleCodeExporter closed 8 years ago
Original comment by gbtami
on 4 Jan 2011 at 4:41
I'd like to add while this is a minor change (I added it to my local pychess
version by replacing "nopost" with "nopost\nnew"), it is definitely a blocker
for the engine I write (at least for all currently released versions).
Original comment by jonas.thiem@gmail.com
on 5 Mar 2011 at 11:46
Actually I'm surprised we don't already do this.
Would you like "new" to be sent just after "xboard", or rather after features
have been sorted out?
If you create a patch, we'll probably include it. It doesn't really hurt
anything.
Original comment by lobais
on 6 Mar 2011 at 11:12
My fix was rather a dirty 2 seconds hack, I am not really familiar enough with
PyChess to write a clean one easily (I think mine might cause "new" to get sent
more often than necessary since it is just hacked into another sequence that
was actually not intended to include it).
new should be really send after the features have been sorted out. Doing it
earlier could make an engine think that the GUI doesn't support the feature
procedure at all (not uncommon, e.g. old PyChess or old Arena only partially)
and might break things consequently. Also I think the specs want "xboard",
"feature" etc to happen first before anything else, so I'd not do it
differently if not really necessary.
Original comment by jonas.thiem@gmail.com
on 7 Mar 2011 at 1:35
Yes. We don't need no time hacks, CECP initing is messy enough already ;)
"new" seams like it should fire just before CECPEngine emits "readyForMoves".
This is the state, where features have just been sorted out, and we haven't yet
started playing.
So.. Try putting it in the middle of __onReadyForMoves. I'm pretty sure that
should work.
Original comment by lobais
on 7 Mar 2011 at 2:24
Original comment by jonas.thiem@gmail.com
on 18 Sep 2012 at 2:39
Original issue reported on code.google.com by
jonas.thiem@gmail.com
on 31 Dec 2010 at 10:24