Live for Speed S1 0.3H7 DEDICATED HOST
======================================


www.lfs.net - Welcome to Live for Speed!


Important :
-----------
This is a special dedicated host program for Live for Speed S1.

It can operate in S1 mode or DEMO mode depending on the parameter used.

This software comes with no warranties of any kind.

By installing this software you agree that you do so at at your own risk
and you accept full responsibility for any damage caused by the use or
installation of the software.

The producers of the Live for Speed racing simulator make every effort
to ensure the program is safe but can not accept any responsibility
whatsoever for personal injury or death that may arise during the use
of the software, or any damage of any kind to your system including
corrupted files, lost data or damage to hardware.


Installation :
--------------
To install LFS S1 DEDI, unzip the file into a suitable folder on your
hard drive.  You must ensure that the directory structure is preserved
by using the appropriate option in your unzip utility.  You will know
that it has been correctly unzipped if you see a data folder beside the
LFS.exe program and some more folders inside the data folder.


Changes in version H :
----------------------
New online cheat protection system
Host auto-restarts in the event of a bad timeout error
Cleaned up and improved the code for connecting and disconnecting
FIX : Auto-kick of lagging racers who were not going the wrong way
FIX : Bugs that could cause an immediate OOS kick after connecting
FIX : Strange "Can't pit" messages when another racer was pitting
FIX : Bugs that could cause a multiple OOS kick while racing
FIX : Dedicated host startup error messages
FIX : InSim can bind to specified address
FIX : Changing password while online
FIX : Some rare host crashes


To run LFS S1 DEDICATED HOST :
------------------------------
Make a batch file or a shortcut or use some other means of starting
LFS.exe with a command line.  See options below.  A default batch file
has been included for your convenience.

Note : Microsoft DirectX 8.1 is required and can be downloaded from
www.microsoft.com/windows/directx/downloads/default.asp
DirectX is a registered trademark of Microsoft Corporation


Command line options :
----------------------
LFS can be run from a command line or another application.
A dedicated host mode is available with no hardware draw : "nogfx".
Before selecting your options, you may find it helpful to run LFS
and try out the options on the Start New Game screen - the required
upload bandwidth for those options is displayed on screen.

1) Host options :

Example :

LFS /host=test host /cars=FR /dedicated=nogfx /maxguests=4

/host=Host Name      :FIRST IN LIST
/pass=Pass           :if required - password
/admin=Pass          :if required - admin password
/ip=X.X.X.X          :if required - local specified ip address
/port=63392          :a high number below 65536
/mode=demo           :demo / s1
/usemaster=yes       :no / yes / hidden
/track=Blackwood     :Blackwood / Skid Pad
/config=1            :config : 1-GP / 2-RALLYX in Blackwood
/reversed=no         :no / yes
/weather=1           :weather : 1,2,3 in Blackwood
/cars=FRTBO46M       :xFgti/xRgt/xrTurbo/rB4/fxO/lx4/lx6/Mrt5
/maxguests=4         :max number of guests that can join host
/carsmax=5           :max number of cars in a race
/carshost=1          :max number of cars (real+ai) on host pc
/carsguest=1         :max number of cars (real+ai) per guest pc
/pps=4               :smoothness (3-6) number of car updates per second
/qual=0              :qualifying minutes, 0 for no qualifying
/laps=5              :number of lap, 0 for practice
/wind=1              :0 no wind / 1 low wind / 2 high wind
/dedicated=no        :no / yes / nogfx / invisible
/vote=yes            :no / yes : can guests vote to kick or ban
/select=yes          :no / yes : can guests select track
/autokick=no         :no/yes/ban                  (Wrong way drivers)
/start=finish        :fixed/finish/reverse/random (Default race start)

NOTE - alternative way to use the command line options :

A command file xxx.txt can be used instead of a long command line.
The command file would contain the command line parameters.
The parameters can be spread onto several lines.
The command file can contain comments, starting with two slashes //
Then the command line would be simply :

LFS /cfg=xxx.txt (where xxx.txt is the name of the config file)

2) Status file "host63392.txt" - updated whenever info changes :

63392 is the port number of the host.
It contains the following information:

lfs=0.3H             :version
status=ingame        :offline / online / ingame
guests=4             :current number of guests
maxguests=4          :maximum guests allowed
host=Host Name       :game name as listed on master server
pass=Optional Pass   :host password
usemaster=yes        :no / yes / hidden
trackcfg=BL1         :short name for track and config
cars=FRTBO46         :cars allowed on host
qual=0               :qualifying minutes
laps=5               :number of laps
conn=Host            :player name
conn=Guest 1         :player name
conn=Guest 2         :player name
...


Host commands :
---------------
You can use text commands to control normal or nogfx dedicated hosts.

Using the normal text message system (pressing T in a normal host or
simply typing into a nogfx host), the message becomes a command if you
start it with a slash character.

Simple commands with no parameter :

/restart             :(re)starts the current race
/qualify             :(re)starts qualifying
/end                 :return to entry screen
/names               :toggle display between player and user names
/exit                :clean exit from nogfx host (host only)
/help                :get list of commands

Commands with a parameter - entry screen mode :

/track X             :track and config      (e.g. BL1 / SO3R / FE4)
/weather X           :lighting              (e.g. 1, 2, 3...)
/qual X              :qualifying minutes    (0 = no qualifying)
/laps X              :number of laps        (0 = practice)
/wind X              :0 no / 1 low / 2 high
/autox X             :load autocross layout named X for this track
/axclear             :clear autocross layout

Commands with a parameter - any time :

/axlist X            :get list of layouts for track X - e.g. AU1
/maxguests X         :max number of guests that can join host
/carsmax X           :max number of cars in a race
/carshost X          :max number of cars (real+ai) on host pc
/carsguest X         :max number of cars (real+ai) per guest pc
/pps X               :smoothness (3-6) number of car updates per second
/msg X               :send system message
/autokick X          :no/yes/ban                  (Wrong way drivers)
/start X             :fixed/finish/reverse/random (Default race start)

Kick and ban commands - any time :

/kick X              :disconnect user X
/ban X Y             :ban user X for Y days (0 = 12 hours)
/unban X             :remove ban on user X
/pass X              :set new password (blank = no password)

Host settings commands :

/vote X              :no or yes - guest voting
/select X            :no or yes - guest selection
/cars X              :FRTBO46 - set allowed cars

These commands are also available to any user who has connected to the
host using the admin password if one was specified when the host was
started.


Thanks :
--------
Thanks to all internet hosts for your support.


Copyright :
-----------
(c) 2002-2005 Scawen Roberts - Eric Bailey - Victor van Vlaardingen