 |
|
Blues
|
|
Is there a way to get rid of the command line control? I want to run the freeciv-server on a real, remote server. That means the console-connection can't be used to control the server.
Additionally it would be nice to start the server automatically and let it continue with the last saved position.
|
|
|  |
 |
|
telex4
|
|
Reading
Aug 2003 time: 05:31
|
|
You can do this to start a process and detach it from the shell:
civserver &
So to load a server eith a savegame or set of rules, you can do this:
civserver -r ruleset &
civserver -f savegame.gz &
The rule sets are just plain text files with one "set" command per line, e.g.:
normal
set aifill 6
set maxplayers 6
etc.
|
|
|  |
 |
|
Blues
|
|
Thats the method I found too, but using it I have no possibility to modify game-settings afterwards (e.g. removing a user) because I have no access to the console?
It looks for me that the Freeciv-server doesn't really works like a real server software.
|
|
|  |
 |
|
telex4
|
|
Reading
Aug 2003 time: 05:31
|
|
I think you can make a user connected to the server an admin of sorts, making it work the same was as most other game servers, but I don't know how this works.
|
|
|  |
 |
|
geeslaka
|
 |
of the purple hand
Jun 2003 time: 22:31
|
|
I believe these are the commands you are looking for:
quote: > help firstlevel
Command: firstlevel - Grab the 'first come' command access level.
Synopsis: firstlevel
Level: info
Description:
If 'cmdlevel first come' has been used to set a special 'first come'
command access level, this is the command to grab it with.
> help cmdlevel
Command: cmdlevel - Query or set command access level access.
Synopsis: cmdlevel
cmdlevel
cmdlevel new
cmdlevel first
cmdlevel
Level: hack
Description:
The command access level controls which server commands are available
to users via the client chatline. The available levels are:
none - no commands
info - informational commands only
ctrl - commands that affect the game and users
hack - *all* commands - dangerous!
With no arguments, the current command access levels are reported.
With a single argument, the level is set for all existing connections,
and the default is set for future connections.
If 'new' is specified, the level is set for newly connecting clients.
If 'first come' is specified, the 'first come' level is set; it will be
granted to the first client to connect, or if there are connections
already, the first client to issue the 'firstlevel' command.
If a connection name is specified, the level is set for that connection
only.
Command access levels do not persist if a client disconnects, because some
untrusted person could reconnect with the same name. Note that this command
now takes connection names, not player names. |
|
|
|  |
 |
|
Blues
|
|
Yes, these commands are exactly what I need! Thank you :-)
|
|
|  |
All times are GMT. The time now is 05:31. Apolyton Time is 00:31. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|