****************************************************************************************

	Rally Masters dedicated server 1.7,  June 27, 2000
	(C)Digital Illusions CE 1998-2000

****************************************************************************************

************
SUPPORT:
************

Check out 'www.dice.se' and 'www.rallymasters.com' for news/updates.

Feedback can be sent to: rm_feedback@dice.se

*********
NOTES:
*********

Rally Masters Win32 dedicated server.
The server uses only one port and it's own protcol based on WinSock UDP.

**********************************
Server fixes since version 1.61:
**********************************
* Protocol version updated.
* Server logging lap number bug fixed.

**********************************
CHANGES SINCE VERSION 1.4:
**********************************
* GameSpy masterserver heartbeats now work as expected.
* Timer precision bug fixed.
* Random gamemodes don't repeat the same location and track.
* AI driver momentum curve fixed.
* Race results logging. To enable the results logfile remove the "//" infront of the "ResultsLog" tag in the "server.cfg" file.
* Lobby gameroom refresh bug fixed.
* The gameserver now filters out the playername characters that make the clients crash.
* Removed '-' at the end of the name if no team specified.
* Maximum number of gamemode script files increased.
* Holding left mouse button on a gameroom didn't show the correct playerlist in some cases.
* Special stage tracks were called ST in the results log instead of SS.
* Random SSS gamemode added.
* Some other minor fixes.

**********
SERVER:
**********
                 
1. Open and edit the config file "server.cfg" to your liking.
   Server config explaination:

Name		<31 char string>
The name of the server to be seen when pinging etc.

Topic		<127 char string>
Main lobby topic, usually server news and stuff like that.

Password	<15 char string>
Server password.

AdminPassword	<15 char string>
Admin password.

IPAddress	<internet address>
Local IP address, used for multihorned machines(with more than one IP address).

Port		<port number>
Main server port, default 16500.

MasterAddress	<internet address>
Address to the GameSpy type master server.

MaxPlayers	<number>
Max connections to lobbyserver.

MaxGames	<number>
Max games/gamerooms on the lobbyserver.

MaxRaceTime	<time>
Max race time in minutes.

MaxRate		<rate>
Max updates/second the clients may set, ex: LAN = 160, INET = 40.

Ban		<dotted IP address>
Insert this IP address in the banlist

ServerInfo	<keyname>	<string>
Server information that will be shown when pinging the server.

GameSetting	<name>
Game specific settings to be listed in the lobby. Usually not a good idea to change.

*************************

2. Start the server by running "lobbyserver.exe".
   IMPORTANT! The "gameserver.exe" will be launched automatically when a gamemode
   is selected and started in a gameroom on the lobbyserver.
   This means that there is no need for multiple lobbyservers on the same machine,
   just add more games with "MaxGames" if you want more servers in parallell.
   The "MaxPlayers" value includes spectators and is divided over all games.

*************************

3. The Rally Masters dedicated server should now be up and running. It runs in the background
   and is only visible on the Win32 taskbar and in the Windows taskmanager.

*************************

4. Use the Windows taskmanager to terminate the server.

*********************
BANDWIDTH INFO:
*********************

8 drivers in a race with an average Rate of 20 (2 modem drivers and 2 with T1 connections).
512 KBit maximum peak when racing.

4 drivers in a race with an average Rate of 20 (2 modem drivers and 2 with T1 connections).
128 KBit maximum peak when racing.

8 drivers in a race with an average Rate of 10 (8 modem drivers).
256 KBit maximum peak when racing.

This is the maxium peak bandwidth, usually during the start of the race when the cars are close together.
You can limit the maximum rate a player can set by changing the MaxRate value in the "server.cfg" file.

The MaxPlayers value in the "server.cfg" file controls how many players that can be connected to the lobby. The players can then be divided over a number of gamerooms. The players can be drivers or spectators. One race can have a maximum of 8 players and up to 24 spectators. Spectators usually consumes less bandwidth than drivers.

The MaxGames value in the "server.cfg" file controls how many races the server can have going in parallel i.e. maximum number of gamerooms.

Example:
MaxPlayers	16
MaxGames	2
MaxRate		20

2 races with 8 drivers in both. All drivers play with maximum Rate set to 20.
2*512 KBit = 1024 KBit = 1 MBit

Players who stay and chat in the lobby don't consume much bandwidth.

***************************
FIREWALL/PROXY INFO:
***************************

The "lobbyserver.exe" uses only the main connection UDP port defined in "server.cfg".
Any launched "gameserver.exe" will use any available UDP port just above the main connection port number.
Example(main port 16666):

lobbyserver.exe	port = 16666
gameserver.exe #1	port = 16667
gameserver.exe #2	port = 16668
gameserver.exe #3	port = 16669
gameserver.exe #4	port = 16670


MS Proxy "wspcfg.ini" file example with max 5 gamerooms:

[LobbyServer]
RemoteBindUdpPorts=16666
Persistent=1
KillOldSession=1

[GameServer]
RemoteBindUdpPorts=16667-16671
Persistent=1
KillOldSession=1

Of course these ports must be opened up on the proxy for this to work...

*******************************
ADMIN LOBBY COMMANDS:
*******************************

"/admin <password>"
Gain admin status.

"/broadcast <message>"
Send a message to all players connected to the lobby, including all gamerooms.

"/users"
List the connected clients together with their ID numbers.

"/kick <client ID number>"
Kick and ban(10 minutes) client from the server.

"/topic <text>"
Change topic in main lobby.

************
RACE LOG:
************

The racelog should be easy to load into a database program like Microsoft Excel.
One line for every race and TAB separation.

Format:

Date(yyyymmdd) Time(hh:mm) Location Track Condition Reverse(On/Off) Laps Name1 Car1 Bestlap1(mmm:ss:00) Racetime1(mmm:ss:00) Name2 Car2... e.t.c.

Track explaination:

Short = Circular rally-cross-style race
Medium = Circular rally-cross-style race
Long = Circular rally-cross-style race
SSS = Super Special Stage, Circular Side-by-side race
SS1 = Special Stage 1, Regular rally-style from A to B
SS2 = Special Stage 2, Regular rally-style from A to B
SS3 = Special Stage 3, Regular rally-style from A to B
SS4 = Special Stage 4, Regular rally-style from A to B
SS5 = Special Stage 5, Regular rally-style from A to B

***********************
KNOWN PROBLEMS:
***********************

Not possible to install the server as a Win32 service. Will be added in a future server update.

**************
GREETINGS:
**************

This dedicated server is dedicated to all internet gamers :)

DICE and Infogrames test crew
The GameSpy guys
Phat
The Seal
PiX
Micke
Trix
Jim Profit
Mikko

****************************************************************************************
