Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: Randomness restoring after loading a saved game

[Freeciv-Dev] Re: Randomness restoring after loading a saved game

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Randomness restoring after loading a saved game
From: Christian Knoke <ChrisK@xxxxxxxx>
Date: Fri, 30 Nov 2001 14:47:35 +0100

On Fri, Nov 30, 2001 at 10:59:05AM +0100, Petr Baudis wrote:
>   I have weird problem with loading of a save game. When I ran an autogame 
> with
> both original and my version of AI, and it started to differ around year 
> +1000,
> I thought I will be able to just reload the saved games from year +0800, turn
> on debug logging and happily hunt the problem down. However, when I will just
> load the saved game at year +0800 and start it, in year +1000 it is different
> than old saved game in year +1000 (both obviously ran with same civserver).  
> As
> one of the things which differ is random state, it looks to me that it is
> either not restored correctly or there is different count of myrand() calling.
> Is this a known issue? Can anyone please help me to find the problem?

I know from playing, that if I reload a saved game, the AI sometimes
starts fighting against my units. This happens after (re)start, before
it's on me to move. There seems to be a partial AI phase after start,
that would mean that save and load is not exactly at the same time.



* Christian Knoke                           +49 4852 92248 *
* D-25541 Brunsbuettel                  Wurtleutetweute 49 *
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

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