[Freeciv-Dev] Re: [RFC][Patch] Unit agents
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Jul 13, 2002 at 09:56:17PM +0200, Christian Knoke wrote:
> On Tue, Jul 09, 2002 at 08:29:04PM +0200, Raimar Falke wrote:
> >
> > The attached patch is a snapshot of a tree which consists of the
> > following parts:
> > - path_finding13
> > - map decoration
> > - goto agent (GA)
> > - exploring agent (EA)
> > - settler management agent (SMA)
> > - and lot of other changes
> >
> > You may notice that you will see both paths (one calculated by the old
> > code and the other by the new path_finding) if you goto a unit. The
> > execution of the goto will be done by the goto agent. You cen see the
> > path which is executed by pressing the middle mouse button. If you
> > press shift together with the middle mouse button the popup will be
> > smaller (I haven't been able to remove it altogether).
> >
> > EA and SMA should be easy to use. Since they also use the GA you also
> > see the paths which the units follow with the middle mouse button.
> >
> > If you press shift-x you can see all tiles which the current unit may
> > attack.
> >
> > This is work in progress. Missing are mostly user interfaces (you
> > currently have to change the code in control.c by hand) for the
> > parameters. Also some parameters are missing (the exploring agent for
> > example should have a parameter controlling hut behaviour and one for
> > empty cities). It may also happen that the client may core dump any
> > time ;)
>
> 2: SMA-170: control
> 2: SMA-170: handle_unit()
> 2: SMA-170: created 1009 actions for a unit at (10,44)
> 2: SMA-170: all known tiles of the continent can be reached by this unit in
> 17 turns
> 2: SMA: added 0 external actions
> 2: action ACTION_ADD_TO_CITY not handled
> 2: action ACTION_ADD_TO_CITY not handled
> 2: building ACTION_IRRIGATE at (10,39)=center of Karachi would yield
> (f=1,s=-1,t=1)
> civclient: sma.c:571: calc_terrain_improvement_yields: Zusicherung »0« nicht
> erfüllt.
> Abgebrochen (core dumped)
I have no idea why this assert is at this position. The transformation
Forrest -> Plains is valid.
> reproducible with gandhi1.sav.gz: press return and activate SMA for blinking
> settler; happens every time I want to activate SMA.
> shift-MMB doesn't work when settler is in city
No idea what causes this. Odd.
> when EA + GA is switched off for a settler, the unit display left of the map
> still shows old state.
Known issue.
> No way to switch off EA for explorer because I can't activate it.
Why can't you activate it?
> when GA unit arrives target it is still shown with GA; clicking the
> map around fixes this.
Known issue.
> EA with explorer is not very keen to visit unknown territory
This depends on the parameters. There is still a GUI missing.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
BSD: Are you guys coming or what?
|
|