Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: Map loading error with old saved games (PR#1214)
Home

[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]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Map loading error with old saved games (PR#1214)
From: jdorje@xxxxxxxxxxxxxxxxxxxxx
Date: Tue, 8 Jan 2002 21:16:09 -0800 (PST)

Vasco Alexandre Da Silva Costa wrote:

On Tue, 8 Jan 2002 jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:

Vasco Alexandre Da Silva Costa wrote:

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

I tested out capital.sav but couldn't find now.sav. BTW: how do you download an attachment from jitterbug?

This could be happening because the data isn't being initialized properly/at all, but I don't think the LOAD_MAP_DATA patch changed this. Or it could be unavoidable, since data that's truly required isn't present in the savegame. This saved file is over 2 years old...

What happens if you build freeciv without debugging and run it? You may get quite unpredictible behavior, but it could work.

jason




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