1<html>
2<head>
3<title>Using the Ultimate Stunts server program</title>
4</head>
5<body>
6
7<h1>Using the Ultimate Stunts server program 0.6.x</h1>
8
9<h3>Starting the program</h3>
10To use the server, just start the "ustuntsserver" program. You can set initial
11values on the commandline with the syntax <i>variable=value</i>. For example:
12<pre>
13ustuntsserver port=4302
14</pre>
15Values that can be set on the commandline can also be changed within the program. The
16advantage of the commandline is that you know the initial value. For example, if some
17other application has already reserved the default port number 4301, then the ustuntsserver
18program might fail to start when the port number is not changed on the commandline.
19
20<h3>Usage</h3>
21Directly after starting the server, it start listening on the network port so
22that clients can connect to it. Every time a client is added, this will be
23displayed to you.<br>
24While waiting for clients to be added, you can give commands to the server. The
25"help" command shows which commands are available on your version of the server.
26<p>
27Usually, you should do the following things in this order:
28<ul>
29	<li>Start the server program. It is recommended to set the <i>port</i> and
30	<i>serverName</i> variables on the commandline if you need to change them.</li>
31
32	<li>Then (optionally) set all the variables that need to be changed with the
33	set command. With the help command you can see a list of variables and
34	commands.</li>
35
36	<li>Now you can tell all the players that they can join the game</li>
37
38	<li>Most variables can still be changed after other players have joined.
39	It is only not recommended to change the port number or server name.</li>
40	<li>You can add AI players with the "addai" command</li>
41
42	<li>When everything is set up correctly, then you can call the "start"
43	command. The game will not start before:
44	<ul>
45		<li>you have given the "start" command</li>
46		<li>at least <i>minRequests</i> number of players are added to
47		the player list (either as AI player or remotely over a network
48		connection). Remote players are added when the "Drive!" option
49		in the main menu is activated on the remote computer.</li>
50	</ul></li>
51
52	<li>The game can be stopped with the "stop" command</li>
53
54	<li>You can repeat the last steps if you wish to, so you do not need
55	to restart the server if you want to play a new game.</li>
56
57	<li>You can terminate the server program with "exit" or "quit"</li>
58</ul>
59</body>
60</html>
61
62