Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] Re: (PR#10567) pubserver crash: ai-controlled unit has no
Home

[Freeciv-Dev] Re: (PR#10567) pubserver crash: ai-controlled unit has no

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#10567) pubserver crash: ai-controlled unit has no goto destination
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Oct 2004 16:35:21 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10567 >

Some interesting info from gdb.

(gdb) p punit->ai.ai_role
$1 = AIUNIT_DEFEND_HOME
(gdb) p punit->goto_tile
$2 = (struct tile *) 0x0
(gdb) p punit->tile
$3 = (struct tile *) 0x401e2748
(gdb) p punit->homecity
$4 = 257
(gdb) p punit->tile->city
$5 = (struct city *) 0x889adc0
(gdb) p punit->tile->city->id
$6 = 266

-jason




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