Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#3546) "Arhus is bugged:" - crash
Home

[Freeciv-Dev] Re: (PR#3546) "Arhus is bugged:" - crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#3546) "Arhus is bugged:" - crash
From: "ChrisK@xxxxxxxx" <ChrisK@xxxxxxxx>
Date: Fri, 28 Feb 2003 13:16:25 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, Feb 28, 2003 at 05:38:58AM -0800, Raimar Falke wrote:
> On Fri, Feb 28, 2003 at 03:41:55AM -0800, ChrisK@xxxxxxxx wrote:
> > > The savegame is invalid. The size of Århus is 5 and there are indeed 7
> > > workers assigned.
> > > 
> > > Can you reproduce the steps which lead to this savegame?
> > 
> > Oh man, I love you coders. Can you tell me at least how do I know
> > whether a savegame is valid or invalid in this respect?
> 
> Sure:
> 
> $ zcat power+0360.sav.gz | grep rhus
> 135,11,22,"Århus",0,5,0,1,0,0,0,0,0,0,10,28,120,13,0,28,0,0,0,0,0,0,17,0,0,15,"2101201010201002200220002",0,13,"00000000000000000000000000000000000001000000000000000000000000000000",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
> 135,11,22,"Århus",5,0,0
> 135,11,22,"Århus",5,0,0
> 135,11,22,"Århus",5,0,0
> $
> 
> We are interrested in the first line and here the 6th item (size),
> 8th-10th (elvises, scientists, taxmans) and the citymap (second string
> "2101201010201002200220002"). Workers are here marked by "1". But the
> central one shouldn't be counted.
> 
>   size = elvises + scientists + taxmans + workers
>    5   =    1    +     0      +    0    +   (5-1)
> 
> So this savegame is correct in this respect.

Thank you.

> I can reproduce the problem.
> 
> I'm not able to solve it.

I have filtered all my existing savegames with the attached script
but found only a single occurence of this bug. Hhm think it would crash
anyway?

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

Attachment: arhus.tcl
Description: arhus.tcl


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