Article View: gnu.chess
Article #3506Zippy bug resuming adjourned games
From: Tim Mann
Date: Tue, 13 May 1997 00:00
Date: Tue, 13 May 1997 00:00
24 lines
1468 bytes
1468 bytes
Zippy in xboard 3.6.0 and WinBoard 3.6.0 can't resume adjourned games.
Here is the fix. If you cannot apply this fix and recompile, you
can work around the bug with the -xmoves flag. That reverts to
the old way of resuming adjournments, by stuffing the position into
the chess engine instead of the moves.
--Tim
--- backend.c 1997/05/09 04:26:59 1.90
+++ backend.c 1997/05/13 05:34:05
@@ -3289,6 +3306,8 @@
EP_UNKNOWN, fromY, fromX, toY, toX, promoChar,
parseList[boardIndex]);
CopyBoard(boards[boardIndex + 1], boards[boardIndex]);
+ strcat(currentMoveString, "\n");
+ strcpy(moveList[boardIndex], currentMoveString);
boardIndex++;
ApplyMove(&moveType, fromX, fromY, toX, toY,
boards[boardIndex]);
--
Tim Mann <mann@pa.dec.com>
http://www.research.digital.com/SRC/personal/Tim_Mann/
Technical Details
Message-ID:
<5l8v3f$vt8@src-news.pa.dec.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,751a7051fdb51543,start X-Google-Attributes: gid10d71d,public X-Google-Thread: 100b20,751a7051fdb51543,start X-Google-Attributes: gid100b20,public X-Google-Thread: 110df2,751a7051fdb51543,start X-Google-Attributes: gid110df2,public From: mann@pa.dec.com (Tim Mann) Subject: Zippy bug resuming adjourned games Date: 1997/05/13 Message-ID: <5l8v3f$vt8@src-news.pa.dec.com> X-Deja-AN: 241228697 Organization: Digital Equipment Corp., Systems Research Center Reply-To: mann@pa.dec.com Newsgroups: gnu.chess,alt.chess.ics,rec.games.chess.computer