Complete.Org: Mailing Lists: Archives: freeciv-ai: June 2004:
[freeciv-ai] Re: (PR#8827) bad use of ferries by AI
Home

[freeciv-ai] Re: (PR#8827) bad use of ferries by AI

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#8827) bad use of ferries by AI
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxxx>
Date: Tue, 1 Jun 2004 03:15:14 -0700
Reply-to: rt@xxxxxxxxxxx

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

On Mon, 31 May 2004, Gregory Berkolaiko wrote:

> While observing new settlers I discovered some more bugs in the ferry
> code.  Attached is the patch which incorporates the previous one and
> make the following amendments:
> 1. find_ferry will not return ferries owned by someone else (doh!)
> 2. once a unit found a ferry, it will not ask for more, because
> 3. ferries are more faithful, they will go towards the passenger that
> contacted them previously, unless they are carrying someone right now.

Upon much consideration I concluded that 3 above is too risky: a ferry
might be stuck waiting for the passenger which no longer wants a boat, but
just forgot to un-request it.  I will prepare a patch which will only fix
real bugs but will not chnge behaviour much.

G.




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