Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2006:
[Freeciv-Dev] Re: strange ai behaviour
Home

[Freeciv-Dev] Re: strange ai behaviour

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: strange ai behaviour
From: banjo <banjo@xxxxxxxxxx>
Date: Fri, 23 Jun 2006 04:39:37 +1200

banjo wrote:
Program received signal SIGSEGV, Segmentation fault.
0x080ffe4a in military_advisor_choose_build (pplayer=0x827a454, pcity=0x8bfd528, choice=0x8bfde60)
    at advmilitary.c:740
740       if (!walls && best_unit_type->move_type == LAND_MOVING) {
(gdb) bt
#0 0x080ffe4a in military_advisor_choose_build (pplayer=0x827a454, pcity=0x8bfd528, choice=0x8bfde60)
    at advmilitary.c:740
#1  0x08107077 in ai_manage_cities (pplayer=0x827a454) at aicity.c:1302
#2  0x0810bd5e in ai_do_last_activities (pplayer=0x827a454) at aihand.c:449
#3  0x08051c53 in main_loop () at srv_main.c:692
#4  0x08052439 in srv_main () at srv_main.c:1937
#5  0x0804aa8c in main (argc=3, argv=0xbfe58c34) at civserver.c:256

i think i found the reason for this, it seems to fail if there are no
FirstBuild units available.

The ruleset has been fixed in rndCiv version 0.9.0.
It seems to work now, touch wood.

-banjo



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