Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2004:
[freeciv-ai] Re: (PR#8770) AI doesn't let units fortify
Home

[freeciv-ai] Re: (PR#8770) AI doesn't let units fortify

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [freeciv-ai] Re: (PR#8770) AI doesn't let units fortify
From: "Karl Fishman" <cdf30@xxxxxxxxxxx>
Date: Fri, 21 May 2004 09:41:54 -0700
Reply-to: rt@xxxxxxxxxxx

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

Looking at what happens when the AI does give up, there is an unrelated
problem here - it attacks the archer on the hill when it is very unlikely to
win, rather than the archers on the grassland, which it has about an even
chance of winning against.

Karl Fishman
cdf30@xxxxxxxxxxx
----- Original Message ----- 
From: "Per Inge Mathisen" <per@xxxxxxxxxxx>
To: <cdf30@xxxxxxxxxxx>
Sent: Wednesday, May 19, 2004 9:54 PM
Subject: [freeciv-ai] Re: (PR#8770) AI doesn't let units fortify


>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8770 >
>
> I looked at the savegame and found the problem. This case is rather
> special. The poor chariot was surrounded by archers and could not move
> anywhere. When it tried, it immediately broke off its goto because it had
> nowhere to go. But first it had to lift its fortification so that it could
> attempt to move.
>
> This problem will be fixed once we move this code over to pf, since then
> we can actually find out whether we can move to the target before we try
> to do so.
>
> So I do not think this shows that the AI does not fortify. Looking inside
> AI cities, I see clearly that the AI _is_ fortifying properly in the main.
> Of course, we still have corner cases to handle.
>
>   - Per
>
>
>
>




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