[Freeciv-Dev] Re: (PR#12888) testing rulesets integrity
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
|
|