Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
December 2002: [Freeciv-Dev] Re: [RFC][Patch] Unit agents |
[Freeciv-Dev] Re: [RFC][Patch] Unit agents[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Dec 08, 2002 at 06:20:31PM +0100, Christian Knoke wrote: > On Sun, Dec 08, 2002 at 04:37:24PM +0100, Raimar Falke wrote: > > > > Attached is another snapshot. Changes to the previous version are: > > - town management agents (TMA), this agent has currently only hack > > status. It will check if there is work for an extra settler and will > > build one as fast as possible using CMA. > > - master, it will set the cities under TMA and the units under SMA or > > EA. > > - turn done agent. It will press the turn done button 50 turns and so > > give a continuous game play. > > > > This snapshot does the step from a helpers-only human-supporting to a > > very small and stupid but self-contained AI. > > srv_main.c: In function `end_turn': > srv_main.c:515: parse error before `int' > srv_main.c:525: `total' undeclared (first use in this function) > srv_main.c:525: (Each undeclared identifier is reported only once > srv_main.c:525: for each function it appears in.) > make[2]: *** [srv_main.o] Error 1 > make[2]: Leaving directory /home/chris/freeciv/patched/agents2/server' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory /home/chris/freeciv/patched/agents2' > make: *** [all-recursive-am] Error 2 Attached patch fixes the compile error. Attached savegame gives a runtime assert in civclient just after start. Christian -- Christian Knoke * * * http://www.enter.de/~c.knoke/ * * * * * * * * * Ceterum censeo Microsoft esse dividendum.
agents2patch-fix.diff
mygame+1600.sav.gz
|