Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[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: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/44610
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 24 Oct 2002 20:43:19 +0200

On Thu, Oct 24, 2002 at 03:39:31PM +0000, Per I. Mathisen wrote:
> On Wed, 23 Oct 2002 freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
> > #30x42022ecb in __assert_fail () from /lib/i686/libc.so.6
> > #40x08068e97 in do_unit_goto (punit=0x8218ce8, restriction=GOTO_MOVE_ANY,
> >   trigger_special_ability=1) at gotohand.c:1326
> > #50x08056afe in update_unit_activity (punit=0x8218ce8) at unittools.c:995
> > #60x08055b93 in update_unit_activities (pplayer=0x81353a8) at 
> > unittools.c:597
> > #70x08071995 in update_player_activities (pplayer=0x81353a8) at 
> > plrhand.c:180
> > #80x0804c534 in end_turn () at srv_main.c:421
> 
> The assert came from here:
> 
>       is_real = MAPSTEP(x, y, punit->x, punit->y, dir);
>       assert(is_real);
> 
> as is_real=0, where x=27, y=35, punit->x=27, punit->y=34, dir=0,

This is expected if map.ysize=35. However the step from (27,34) to
(27,35) isn't correct for this direction dir=0=DIR8_NORTHWEST.

So can you please give map.xsize and map.ysize?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Life is too short for reboots."


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