Difference between revisions of "Server Manual"
Line 5: | Line 5: | ||
You can download the latest version of the server from our [http://tombraidermodlauncher.co.uk/downloads/ downloads page]. | You can download the latest version of the server from our [http://tombraidermodlauncher.co.uk/downloads/ downloads page]. | ||
− | You will need to extract the archive, I recommend that you use [http://www.7-zip.org/download.html 7- | + | You will need to extract the archive, I recommend that you use [http://www.7-zip.org/download.html 7-Zip]. |
Once you have extracted the archive you will find it contains the server executable, example resources and the example server.xml configuration file. | Once you have extracted the archive you will find it contains the server executable, example resources and the example server.xml configuration file. |
Revision as of 07:37, 8 August 2014
Setting up the server
To setup the server you will need to first download it.
You can download the latest version of the server from our downloads page.
You will need to extract the archive, I recommend that you use 7-Zip.
Once you have extracted the archive you will find it contains the server executable, example resources and the example server.xml configuration file.
Configuring the server
To configure the server you will need to open server.xml in Notepad or Notepad++.
Once you got the configuration file open you should then see the contents of it like below.
<server>
<!--
Sets the name of the server, this would be used for the list of servers.
It is required that you specify a value for this.
-->
<servername>Playable Tutorial Level</servername>
<!--
Sets the total number of people that can be in the server at 1 time
Default: 32
Max: 128
-->
<maxplayers>128</maxplayers>
<!--
Sets the UDP port for the server to listen on.
Default: 22000
Range: 0-65535
-->
<port>22000</port>
<!--
Sets the password for the server.
If blank then no password is required to connect.
Default: no password
-->
<password></password>
<!--
Sets the game engine the server works with.
Possible values:
II_RELEASE
III_RELEASE
IV_RELEASE_PATCHED
IV_EDITOR
IV_DEMO_TIMES
IV_RELEASE
IV_DEMO
V_RELEASE_PATCHED
V_RELEASE
-->
<engine>IV_EDITOR</engine>
<!--
Sets the map that the server works with.
The value is the index of the map.
For example with TRLE:
0 - title screen
1 - playable tutorial level
2 - tomb of seth
...
-->
<map>1</map>
<!--
Sets the OCB to read of the LARA_START_POS to spawn at.
Default: 0
See this for more information:
http://www.trsearch.org/Tutorial.php?action=gettut&id=32
If you don't understand this then just use zero.
-->
<larastartpos>0</larastartpos>
<!--
Controls some tweaks to the game.
Default: 0
Flag 1 = Disable camera trigger type
Flag 2 = Disable flyby trigger type
Flag 4 = Disable AI objects (guide, voncroy, baddy1 etc.)
Flag 8 = Disable finish trigger type
To get the number below add up the numbers above to enable what you want :)
-->
<flags>13</flags>
<!--
Set if FlyCheat from the script is enabled.
Default: DISABLED
To enable this set to ENABLED.
-->
<flycheat>DISABLED</flycheat>
<!--
Set if modified executables are allowed.
Default: DISABLED
To enable this set to ENABLED.
-->
<allowmoddedexecutables>DISABLED</allowmoddedexecutables>
<!--
RESERVED
The idea of this flag is to set if remote laras are considered friends or foes.
Possibly made redundant with team support.
-->
<laraenemy />
<!--
RESERVED
The idea of this is to change the level flags.
Can include young lara, lightning etc.
-->
<levelflags />
<!--
Use this to add resources to the server.
Resources can control anything the server supports through the use of squirrel.
-->
<resources>
<resource src="joinquit" />
<resource src="chat" />
</resources>
</server>
All the options have comments on them specifying what they do to the server.
If the option is enabled or disabled you would use ENABLED or DISABLED to toggle the value.
Server port
The port that you need to allow for the server is in the port field.
<!--
Sets the UDP port for the server to listen on.
Default: 22000
Range: 0-65535
-->
<port>22000</port>
You will need to look into how to allow the port as this various by modem. It is generally refered to as port forwarding.
Resources
The server runs resources which control various aspects of the game and what logic should be processed. To create a resource you should look into Resources.
To add a resource to the list of resources that are started you simply add an entry for it in the configuration. See the resources section below for an example.
<!--
Use this to add resources to the server.
Resources can control anything the server supports through the use of squirrel.
-->
<resources>
<resource src="joinquit" />
<resource src="chat" />
<resource src="deathmatch" />
<resource src="deathmessages" />
<resource src="deathpickups" />
</resources>
Starting the server
When you have setup your server to however you wish to have it setup you can then double click on "server.exe" and then the server will start.
Once your server is started you will need to get your IP address and note down the port.
The format you need to give people your server address is as follows, "IP:PORT" without the quotes and you will need to replace IP with your IP address and the port with the port as defined in the configuration of the server.
Here is an example:
85.150.200.200:22000
Note: This is not a real IP address it is just an example. If you need the default server it is "jack9267.duckdns.org:22000" without the quotes.