Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: obsolete units, cma
Home

[Freeciv-Dev] Re: obsolete units, cma

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <chrisk@xxxxxxxxx>
Cc: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: obsolete units, cma
From: Jason Dorje Short <jdorje@xxxxxxxxxxx>
Date: Thu, 15 Jul 2004 11:42:45 -0400

Christian Knoke wrote:

the attached savegame (created yesterday) contains now cruisers and trucks
in city production, although they are not available. Did you change the
rulesets? Shouldn't code check for it? Even at turn done it is not checked.

The ruleset was changed several weeks ago. The patch from late yesterday changed the savegame loading code. It is now compatible with 1.14.1 but not with development versions from the past few weeks.

To complete games started during that period just keep using the older CVS snapshots. Alternately you can use this patch which should allow you to load those games (once loaded, if you save again the new savegame will be compatible with current CVS code).

jason
? diff
? test.diff
Index: server/savegame.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/savegame.c,v
retrieving revision 1.166
diff -u -r1.166 savegame.c
--- server/savegame.c   14 Jul 2004 22:50:24 -0000      1.166
+++ server/savegame.c   15 Jul 2004 15:39:59 -0000
@@ -584,7 +584,7 @@
 
 /* old (~1.14.1) unit order in default/civ2/history ruleset */
 static const char* old_default_unit_types[] = {
-  "Settlers",  "Engineers",    "Warriors",     "Phalanx",
+  "Settlers",  "Workers",      "Engineers",    "Warriors",     "Phalanx",
   "Archers",   "Legion",       "Pikemen",      "Musketeers",
   "Fanatics",  "Partisan",     "Alpine Troops","Riflemen",
   "Marines",   "Paratroopers", "Mech. Inf.",   "Horsemen",

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