Bug in Time Control?

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Bug in Time Control?

Postby John Cheetham » 29 Jun 2011, 18:43

This relates to xboard from the savannah git master branch.
I set the TC to a fixed 8 seconds per move by selecting time control, click the fixed max button, enter 8 in the max sec/move box, click OK.
This works fine.

The problem is when I want to switch back to classical TC it won't do it. I select new game, go into time control, click the classical button, select 40 moves in 5 mins and click OK. However xboard still uses the old 8 seconds per move from the previous fixed settings.
John Cheetham
 
Posts: 11
Joined: 28 Mar 2011, 07:36

Re: Bug in Time Control?

Postby H.G.Muller » 29 Jun 2011, 19:47

Indeed, a bug in the new TC dialog. I forgot to reset 'searchTime' when another mode ended up being chosen on OK, and when searchTime > 0 is the signal for XBoard to use fixed time per move, no matter what the other parameters are.

Fixing it also drew my attention to another bug, writing searchTime to the tournament file. So we got two in one blow. I pushed the patches to hgmaster branch in hgm.nubati.net (which by now also contains some fixes I rebased out of the aliennew branch, where the corresponding problems became apparent).

Thanks for spotting this!
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 1 guest