Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2003:
[Freeciv-Dev] Re: (PR#4331) Bug in cm.c
Home

[Freeciv-Dev] Re: (PR#4331) Bug in cm.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#4331) Bug in cm.c
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Fri, 6 Jun 2003 15:13:28 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, 6 Jun 2003, Raimar Falke wrote:
> With cm3.diff and this savegame I this core dump:
>
> civserver: timing.c:241: start_timer: Assertion `t != ((void *)0)' failed.

You need to move the cm_init() and cm_done() calls in server/srv_main.c.
cm4 fixes this.

> With cm4.diff I have problems taking "a".
>
> I take
> take hawk a
> ai a
> ai b
> list
> and get:
> List of players:
> ------------------------------------------------------------------------------
> a (user hawk, AI, difficulty level hard, nation Latvians) 1 connection:
> hawk from localhost.localdomain (command access level ctrl), bufsize=40kb
> b (user Unassigned, Human, nation Swedes)
> ------------------------------------------------------------------------------

Weird. This is not a problem of the patch, though, I am sure.

> If I than start the game it just runs. Without waiting for my
> turn-done. Weird.

Did you remember to tick that 'turn done in AI mode' client option? :-)

Anyway, cm4 doesn't trigger the cm bug described in this ticket. It routes
around the damage. You'll have to add the cm3 change to common/aicore/cm.c
manually.

  - Per




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