Complete.Org: Mailing Lists: Archives: freeciv-ai: November 2002:
[freeciv-ai] Re: ripped out active diplomats patch...
Home

[freeciv-ai] Re: ripped out active diplomats patch...

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: ripped out active diplomats patch...
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Thu, 7 Nov 2002 20:49:09 +0000 (GMT)

On Thu, 7 Nov 2002, Per I. Mathisen wrote:

> Ok, Greg, here is the active ai diplomats patch ripped out from the
> massive ai patch. It isn't tested except for an autogame... but it sure is
> small outside the aidiplomat files :)

I don't think I can say anything now, but I printed it out and will read 
and comment during the weekend I hope.

One question: in ai_diplomat_city, you have
if (pplayer->ai.control) { 
  gold_avail -= est.upkeep
}

later you also (effectively) subtract upkeep.

Is this intended?  How you picture the situation when pplayer is not under 
AI control?

Also, in my trial runs I saw diplomat stepping onto a square occupied by 
an enemy _without_ converting the enemy.  Also, on another occasion, 
Alpine stepped onto a square with enemy cravan without destroying it.

It might not be related to diplomats though, but please check.

I couldn't reproduce it :(

G.




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