Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2002:
[freeciv-ai] Re: [Freeciv-Dev] Errors found in Latest CVS (Aug-10) (PR#1
Home

[freeciv-ai] Re: [Freeciv-Dev] Errors found in Latest CVS (Aug-10) (PR#1

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jordi Negrevernis i Font <jorneg@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx, <bugs@xxxxxxxxxxxxxxxxxxx>
Subject: [freeciv-ai] Re: [Freeciv-Dev] Errors found in Latest CVS (Aug-10) (PR#1906)
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Mon, 12 Aug 2002 19:40:08 +0000 (GMT)

On Sun, 11 Aug 2002, Jordi Negrevernis i Font wrote:
>   Save game in
> ftp://ftp.freeciv.org/pub/freeciv/incoming/bugs-cvs-Aug10.sav.gz
>
>   Join as 'jorneg' and enjoy.
>
>   1th. You have the city of Lleida produce one pikemen that does NOT
> rest in the city
> to protect it from the musketeer.
...
>   2nd. There are two pikemen near Barcelona that go to Lleida but does
> not move
> eventhough there are in GOTO.

It took me a while to figure out what was going on, but here is the
beginnings of an answer:

In 1.13.1 (at least, not tested earlier versions), every pikeman that an
AI has in its possession magically turns into a caravan type unit. To
reproduce, take a savegame where you have pikemen, and set yourself to AI
for one turn. *poof* pikemen that act as caravans generated.

This is a very bad error and very hard to find where the bug is generated.

Eg "Game: Your Pikemen from Barcelona has arrived in Tarragona, and
revenues amount to 27 in gold and research."

> And sooner or later you will get in the server ->
>
> Game saved as civgame+1230.sav.gz
>  > civserver: aitools.c:122: ai_unit_attack: Assertion
> `is_tiles_adjacent(punit->x, punit->y, x, y)' failed.
> Abortado

I am unable to reproduce this, however.

Yours
Per



[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] Re: [Freeciv-Dev] Errors found in Latest CVS (Aug-10) (PR#1906), Per I. Mathisen <=