Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Fwd: (PR#12888) testing rulesets integrity
Home

[Freeciv-Dev] Fwd: (PR#12888) testing rulesets integrity

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Fwd: (PR#12888) testing rulesets integrity
From: "Peter Schaefer" <peter.schaefer@xxxxxxxxx>
Date: Mon, 25 Apr 2005 14:10:44 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12888 >

oops sorry somehow my reflexes sometimes trigger the gmail send when I
hit TAB accidently .. message below completed..

---------- Forwarded message ----------
From: Peter Schaefer <peter.schaefer@xxxxxxxxx>
Date: Apr 25, 2005 11:07 PM
Subject: Re: [Freeciv-Dev] (PR#12888) testing rulesets integrity
To: bugs@xxxxxxxxxxx


Yes, okay, I see how you do it,

but I sort of expected that one or more of the following is true:

- aifill overrides minplayer, so that:
      - minplayer is always less than aifill
- minplayer actually means minhumanplayer

The method you propose creates one player who is actually an AI and
somehow this AI player satisfies the condition min(human)player at
start is >=1

Perhaps you understand that this doesn't really make sense to me,
altho because it is coded in the server code I guess it somehow makes
sense to the server. But I'm not the first one to come up with this,
am I ..

On 4/25/05, Vasco Alexandre da Silva Costa <vasc@xxxxxxxxxxxxxx> wrote:
>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12888 >
>
> On Mon, 25 Apr 2005, Peter Schaefer wrote:
>
> > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12888 >
> >
> > starting the client to test a ruleset is a pain, since the game
> > requires at least one client to start, OR using the gui, the server
> > output is not copied
>
> Yes, you can start a game without any clients whatsoever:
>
> $ civserver
>
> This is the server for Freeciv version 2.0.99-devel
> You can learn a lot about Freeciv at http://www.freeciv.org/
> 2: Now accepting new client connections.
>
> For introductory help, type 'help'.
> > create 1
> > start
> Starting game.
> >
> 2: Loading rulesets
> 2: AI is controlling the Serbians ruled by 1.
> >
>
> If even typing those two commands is two much, you can make a text file
> with the command list and load it automagically on server bootstrap thus:
>
> $ civserver -r myfile
>
> > better would be:
> > - make commandline options that make the server read a ruleset and
> > other data before game starts solely for the purpose of testing
>
> See above.
>
> > - allow setting minplayers to zero
>
> See above.
>
> > - make server give some info to clients about why the server aborts
>
> If you are on the server console, you don't need that.
>
> ---
> Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
>
>





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