<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39365 >

William Allen Simpson wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39365 >
> 
> Recent (2006 May 2) MacOS compile of freeciv-2.1.0-beta4.tar.bz2.
> 
> This is a very obscure error, and likely not worth fixing before release,
> unless a new beta is produced.  It should be fixed in any subsequent
> 2.1.n release.
> 
> Reproduce using the default.ruleset:
> 
>   1. Save just before hitting a hut, or building/naming a city, or whatever.
> 
>   2. Hit the hut (or whatever), and note result.
> 
>   3. Quit, and load the saved game.
> 
>   4. Do the same action again, and note the different result.
> 
>   5. Quit, and load the saved game.
> 
>   6. Do the same action again, and note the same result as the reload.
> 
>   7. Repeating seems to confirm the latter result.
> 
> Correctly saving/restoring the seed state is essential to testing.
> 
> Note that civ1 and civ2 did not save the state, and that was a common
> cheat method (reload for a different result).  However, civ3 does this
> correctly and is highly reproducible.

There is a whole sequence of tickets devoted to this bug.  It is a
well-known bug but no progress toward fixing it has been made in quite
some time.  The problem is the sequence of random calls in the reload is
different than it was before the continuation after the game was saved.

Making a log of all random calls and comparing them could help point
toward fixes.

-jason



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to