Using the Ultimate Stunts server program 0.5.x
Starting the program
To use the server, just start the "stuntsserver" program. You can set initial
values on the commandline with the syntax variable=value. For example:
stuntsserver port=1600
Values that can be set on the commandline can also be changed within the program. The
advantage of the commandline is that you know the initial value. For example, if some
other application has already reserved the default port number 1500, then the stuntsserver
program might fail to start when the port number is not changed on the commandline.
Usage
Directly after starting the server, it start listening on the network port so
that clients can connect to it. Every time a client is added, this will be
displayed to you.
While waiting for clients to be added, you can give commands to the server. The
"help" command shows which commands are available on your version of the server.
Usually, you should do the following things in this order:
- Start the server program. It is recommended to set the port and
maxRequests variables on the commandline if you need to change them.
- Then (optionally) set the port and maxRequests variables if you
still need to do that. port is the UDP port number where client programs can
connect to, and maxRequests is the maximum number of remote players that is
allowed to join a game.
- Now you can tell all the players that they can join the game
- You can select a track by setting the track variable
- You can add AI players with the "addai" command
- When all players have pushed the "start game" button, then you can give the
"start" command
- The game can be stopped with the "stop" command
- You can repeat the last steps if you wish to
- You can terminate the server program with "exit" or "quit"