Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: Playing continuously vs saving+loading (PR#436)
Home

[Freeciv-Dev] Re: Playing continuously vs saving+loading (PR#436)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: caz@xxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Playing continuously vs saving+loading (PR#436)
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Thu, 6 Jul 2000 12:36:30 +1000 (EST)

Marko Lindqvist <caz@xxxxxxxxxxxxxxxx> wrote:

>  Game state is not completely same after loading savegame than what it was
> before saving. I think some checks normally made only at start of turn is
> also made when savegame is started (even if it's almost end of turn).

Do you have any AI players in the game?  Including barbarians, I guess.  
If so, this is a known problem which has existed forever :-(

I think one part of solution would be to change when autosaves
are made, so they occur just before (or after) "interactive mode",
and then at least the things which should (or shouldn't) be done
for reloading to be consistent will be the same for manual saves
and autosaves.  Still have to be careful about when necessary AI
and other initialisations are done, and not calling rand() extra 
times, etc.

-- David



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