bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] [bug #8847] Moving backward while examining on FICS not


From: Tim Mann
Subject: Re: [Bug-XBoard] [bug #8847] Moving backward while examining on FICS not reported to engine
Date: Tue, 20 Oct 2009 11:03:27 -0700

Sorry, I should have tested with 4.4.x, but I didn't have it handy.  I
only tested with 4.2.7.  Also, I didn't go into analysis mode, so there
was no good reason for the engine to be participating at all.  It was
just sitting there in force mode looking at the moves and complaining
if it thought they were illegal.

It sounds like things have progressed a lot and this bug doesn't exist
anymore.

On Tue, 20 Oct 2009 13:36:29 +0200, "h.g. muller" <address@hidden> wrote:
> I found this code in parse_board12():
> 
>      /* [DM] If we found takebacks during icsEngineAnalyze try send to 
> engine */
>      if (!newGame && appData.icsEngineAnalyze && moveNum < forwardMostMove) {
>          takeback = forwardMostMove - moveNum;
>          for (i = 0; i < takeback; i++) {
>               if (appData.debugMode) fprintf(debugFP, "take back move\n");
>               SendToProgram("undo\n", &first);
>          }
>      }
> 
> This seems aimed at fixing the reported problem, so it seems Daniel
> has been working on it already. I don't see any flaws in the code;
> (well, perhaps if the number of undos was very large, it would make
> more sense to start a new game and load it from the begining...),
> so if the problem occurs despite of it, it must be because the ICS
> does not send a board.

-- 
Tim Mann  address@hidden  http://tim-mann.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]