Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2502) new savegames on 1.13.0
Home

[Freeciv-Dev] Re: (PR#2502) new savegames on 1.13.0

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ChrisK@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2502) new savegames on 1.13.0
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Sat, 7 Dec 2002 01:43:47 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, Dec 06, 2002 at 03:27:25PM -0800, Jason Short via RT wrote:
> On Fri, 2002-12-06 at 18:24, Raimar Falke via RT wrote:
> > On Fri, Dec 06, 2002 at 05:41:49AM -0800, Raimar Falke via RT wrote:
> > > On Fri, Dec 06, 2002 at 01:49:19AM -0800, ChrisK@xxxxxxxx via RT wrote:
> > > > 
> > > > Freeciv 1.13.0 GTK 1.2
> > > > 
> > > > It is not possible to load a 1.14 savegame with Freeciv 1.13.0
> > > > On start, the client crashes:
> > > > 
> > > > civclient: attribute.c:193: unserialize_hash: Assertion `preamble[1] ==
> > > > data_length' failed.
> > > > Abgebrochen (core dumped)
> > > 
> > > The attribute format has changed from 1.13.0 to 1.14.0. (it is now
> > > 64bit clean) However I can't patch all the 1.13 servers out
> > > there. Solutions welcome.
> > 
> > Davide provided one: we save the new attributes in the savegame under
> > a new name. The old server won't find it. So after loading the clients
> > have no attributes (CMA settings) but this isn't a big problem.
> > 
> > Patch is tested. Should be applied to both branches.
> 
> Another solution: use an optional capability to see if the new attribute
> form is supported.  If it's not, just ignore the attribute block.

When is this test done? New server saving? We can't test if the next
server which loads the game does support the new format.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  The trick is to keep breathing.




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