[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]
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.
jason
|
|