Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2267) Bug in ai_manage_military?
Home

[Freeciv-Dev] Re: (PR#2267) Bug in ai_manage_military?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2267) Bug in ai_manage_military?
From: "Per I. Mathisen via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 1 Nov 2002 07:32:50 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, 1 Nov 2002, Raimar Falke via RT wrote:
> The attached patch removed the unconditional
> handle_unit_activity_request(punit, ACTIVITY_IDLE) call in
> ai_manage_military. We don't want to go idle for two reasons:
>
>  - reduce bandwidth: the unit will be set here:
>     if (unit_list_find(&(map_get_tile(punit->x, punit->y)->units),
>         punit->ai.ferryboat))
>       handle_unit_activity_request(punit, ACTIVITY_SENTRY);
>     else
>       handle_unit_activity_request(punit, ACTIVITY_FORTIFYING);
>  to ACTIVITY_FORTIFYING and so the activity is switching between
>  ACTIVITY_FORTIFYING and ACTIVITY_IDLE causing unnecessary transfers
>  with the new delta protocol.
>
>  - it may even improve the AI if the AI won't unconditional wake
>  fortified units.

This is all fixed in massive ai patch.

*sigh*

  - Per




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#2267) Bug in ai_manage_military?, Per I. Mathisen via RT <=