Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g
Home

[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Thue <thue@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/108
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Tue, 07 Aug 2001 00:48:31 +0200

On Mon, 6 Aug 2001, thue@xxxxxxx wrote:
> I can't figure out how this happens. Looking at the core and the
> savegame in the directory somehow the settler south-east of the city
> ends up inside the city.

Are you sure?  The core dump happens because dist == 0, but this does
not necessarily mean that the settler is in the city.  dist comes from
assess_distance(), which is non-trivial.  I'd suggest breakpointing
assess_distance() and step through it to see what happens.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
I need to discuss BUY-BACK PROVISIONS with at least
 six studio SLEAZEBALLS!!


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