Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2001:
[Freeciv-Dev] Re: Profiling Civserver again
Home

[Freeciv-Dev] Re: Profiling Civserver again

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Thue Janus Kristensen <thue@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Profiling Civserver again
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Mon, 30 Jul 2001 01:21:23 +0200

On Sun, 29 Jul 2001, thue@xxxxxxxxxxxxxxxxxxxxxxx wrote:
> On Sun, Jul 29, 2001 at 10:46:45PM +0200, Gaute B Strokkenes wrote:
>> Would it be possible to change the code so that one can run ai
>> games non-interactively, i.e. without ever having to start a
>> client?  That would make it a lot easier to do this sort of thing
>> on a regular basis.  In particular, it would make it easy for me to
>> run test games on the nice and fast SRCF rather then the old and
>> slow computer I have at home.  I'd do it myself, but I'm not very
>> familiar with this part of the code.
> 
> No need to change any code.
> 
> create aiplayer
> set aifill 5
> set timeout 1
> start

Then all we need is a command to quit the server immediately when the
game ends.

  set eog_quit

or something like that.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Zippy's brain cells are straining to bridge synapses...


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