[Top][All Lists]

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

[gnugo-devel] Re: bug?

From: Paul Miller
Subject: [gnugo-devel] Re: bug?
Date: Sat, 22 Feb 2003 18:23:18 -0500
User-agent: Mutt/


I got a really good answer to the question below.  I've
upgraded to 3.3ish.


I have one more question.  I wish to show the dead stones
after the game is over.

I know i should be using gtp... But I'm not.

if you were to:

sh$ wget
sh$ echo dead | gnugo --level 1 --quiet --mode ascii -l 105.sgf

It shows all stones as dead...  :(

If you were then to:

sh$ gnugo --level 1 --quiet --mode ascii -l 105.sgf

black(58): force pass
white(59): force pass

You'd get:

Segmentation fault


My existing code is noticably not gtp, but it's already
working.  Nevertheless I'm not opposed to gtp (or other)
hints that I could use to sort out this problem.

I did try introducing a new command in the play_ascii.c that
would CMD_PASS twice then go to endgame(), but I had little
luck.  It didn't show anything as dead.  Not the same as
ending the game and doing a count anyway.  Advice here would
be helpful also...  Unfortunately I already (stupidly)
deleted my modified .c ;)

On Sat, Feb 22, 2003 at 09:08:35AM -0500, Paul Miller wrote:
> I'm happilly using gnugo 3.2 to build an adorable little web
> interface.  It's at .
> I ran into a problem where if I generate a game thusly:
> sh$ alias gtest='gnugo --color white --handicap 2 --boardsize 9 --mode ascii'
> sh$ echo save filename.sgf | gtest
> Mr. bug shows up here:
> sh$ echo e5\;save filename.sgf | gtest -l filename.sgf
> Apparently gnugo doesn't want to load those black handicap
> peices.  The experiment runs fine in reverse however.
> sh$ alias gtest='gnugo --color black --handicap 2 --boardsize 9 --mode ascii'
> sh$ echo save filename.sgf | gtest
> sh$ echo e5\;save filename.sgf | gtest -l filename.sgf
> I'm actually using the ascii output to draw my goban, so ...
> this bug turned out to be a little frustraiting.  I'm likely
> to try to fix it on my own, there may be too much code there
> for me to find a good starting point.

If riding in an airplane is flying, then riding in a boat
is swimming.  32 jumps, 6.7 minutes of freefall, 14.3 ff miles.

reply via email to

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