[Freeciv-Dev] Re: Map loading error with old saved games (PR#1214)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, 8 Jan 2002 jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
> Vasco Alexandre Da Silva Costa wrote:
>
> > I've tried loading a couple of old games on
> > <ftp://ftp.freeciv.org/pub/freeciv/contrib/development/saved_game>
> >
> > Like 'capital.sav' and the savegame with 1000 cities 'now.sav' and i get
> > this:
> >
> > This is the server for Freeciv version 1.12.1-devel
> > You can learn a lot about Freeciv at http://www.freeciv.org/
> > 2: Loading saved game: ../capital.sav
> > 2: Loading rulesets
> > 0: Invalid map line for y=0. This may be a bug in FreeCiv; see
> > http://www.freeciv.org/ if you think so.
>
> The attached patch should fix this.
>
> The comments in the code explain it all...
'now.sav' now outputs this:
This is the server for Freeciv version 1.12.1-devel
You can learn a lot about Freeciv at http://www.freeciv.org/
2: Loading saved game: ../now.sav
2: Loading rulesets
1: The save file contains incomplete map data. This can happen with old
saved games, or it may indicate an invalid saved game file. Proceed at
your own risk.
1: last message repeated 2 times
1: last message repeated 2 times (total 4 repeats)
1: last message repeated 4 times (total 8 repeats)
1: last message repeated 8 times (total 16 repeats)
1: last message repeated 16 times (total 32 repeats)
1: last message repeated 32 times (total 64 repeats)
1: last message repeated 64 times (total 128 repeats)
civserver: city.c:179: set_worker_city: Assertion `type ==
C_TILE_UNAVAILABLE' failed.
Aborted
BTW: here's the header version field just in case that helps:
[game]
version=10801
You can find that savegame here:
<http://www.freeciv.org/cgi-bin/bugs/wishlist?id=104;page=1;user=guest>
click "download message" to download.
'capital.sav' loads ok despite the (expected) warning messages. This has:
[game]
version=11001
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
|
|