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

[pbmserv-dev] Re: [pbmserv] Chushogi problems



(Replying to myself, because it's 5pm Friday, and I'm going to be gone for
the weekend.)

I've backed out the change below, and recompiled the shogi games.
Hopefully that will get ChuShogi working again for now.

I'll look closer at it Monday, if no one has replied by then...

~ John Williams


On Fri, 4 Jun 2004, John Williams wrote:

> It appears that the following change to game.cpp is playing havoc with the
> chushogi engine.  Does anyone know the purpose of this change?
>
> Judging by "ls -ltr" it was made on 31-May-2004, when tenjikushogi was
> installed, and only the *shogi games have been recompiled with it.
>
> ~ John Williams
>
>
> --- game.cpp	26 Jan 2004 14:38:59 -0000	1.5
> +++ game.cpp	1 Jun 2004 01:19:42 -0000
> @@ -501,7 +501,6 @@
>              pending.Init(players.Count());
>              InitClock(gamefile.Modified());
>              status.SetNormal();
> -            Init();
>          } else if (!clock.Read(gamefile) &&
>              !random.Read(gamefile) &&
>              !timer.Read(gamefile) &&
> @@ -524,6 +523,7 @@
>              !subscribers.Read(gamefile) &&
>              !boardnotifiers.Read(gamefile) &&
>              !comment.Read(gamefile)) {
> +            Init();
>              if ((br = ReadBoard(gamefile)) != 0) {
>                  if (br == 1)
>                      board_read = 1;
>
>
>
> On Fri, 4 Jun 2004 RGSnatzke@aol.com wrote:
>
> > For all the Chushogi games in which I moved today I did not get an answer
> > from the system. I tried it several times, in different games, several hours
> > later, still no answer from system. I can still look at these games (they say
> > it's still me to move), I can move in Amazons and get answers, just  Chushogi
> > does not answer. Anyone else experiencing the same problem?
> >
> > rgsnatzke
> >