If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

Difference between revisions of "Setting up a Server"

From SWRC Wiki
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page will help you setting up a dedicated Republic Commando server.
==Requirements==
==Requirements==
*Windows operating system           (Linux guide will follow)
* Windows operating system (For Linux: [[Run a server on Linux with UCC]])
*Graphical User Interface - GUI    (No need for that with UCC)
* Microsoft Visual C++ 2005 Redistributable x86 and x64
*Microsoft Visual C++ 2005 Redistributable x86 and x64
* Game files need to be present on host system
*Some RAM and CPU power, todays computers are strong enough
* Republic Commando UCC
*Game files need to be present on host system


==Setting up shortcut==
==Setup==
Create a shortcut of SWRepublicCommando.exe, open up its properties and add this line at the end:
* Download [[Republic Commando UCC]] and install it into GameData/System folder
* Create a shortcut for UCC tool and add this parameter on target line:
<pre>
<pre>
-server -ini=System.ini
Engine.ServerCommandlet
</pre>
</pre>
So it should look like this:
* If necessary, forward ports 7777 TCP/UDP and 11138 TCP/UDP on your gateway. (Router)
<pre>
...System\SWRepublicCommando.exe" -server -ini=System.ini
</pre>
The name of the ini file can be variable as long it exists.


==Configure System.ini==
==Configure System.ini==
Open up System.ini file with notepad.
Open up GameData\System\System.ini file with notepad.


Change
===URL===
Change the lines
<pre>
<pre>
Map=Entry.ctm
Map=Entry.ctm
Line 32: Line 27:
LocalMap=DM_Siege?Game=MPGame.DMGame
LocalMap=DM_Siege?Game=MPGame.DMGame
</pre>
</pre>
This will boot the server into Arena A17 with DeathMatch gamemode.
This will boot the server into Arena A17 with DeathMatch gamemode.


The commandline syntax is: Mapname, Gamemode, Additional parameters
The commandline syntax is: Mapname, Gamemode, Additional parameters


Note: Parameters get seperated with ?
* Note: Parameters get seperated by "?" symbol
 
===IpDrv.TcpNetDriver===
Change NetServerMaxTickRate attribute to 35.
 
<pre>
NetServerMaxTickRate=35
</pre>
 
===IpDrv.MasterServerUplink===
Change the AdvertiseServer attribute accordingly if you want to announce server on LAN or internet.
 
<pre>
;Set the below to broadcast on Lan
;Set this to 2 to broadcast to gamespy
AdvertiseServer=2
</pre>
 
===[Engine.GameReplicationInfo]===
Change the server name being displayed on internet browser.
 
<pre>
ServerName= My cool server
ShortName=RC Server
</pre>
 
==Maps==
Available Maps for DM/TDM:
<pre>
DM_Canyon          -Gunship
DM_Detention        -Lockdown
DM_Engine          -Engine
DM_Hangar          -Hangar
DM_HangingGarden    -Garden
DM_Pow              -Garrison
DM_PowSmall        -Depot
DM_Siege            -Arena A17
DM_Trando          -Ghostship
DM_UnderPass        -Kachirho
DM_ZeroG            -Arena G9
</pre>
 
Available Maps for CTF/AS:
<pre>
CTF_Detention        -Lockdown
CTF_Engine          -Engine
CTF_Hangar          -Hangar
CTF_HangingGarden    -Garden
CTF_Pow              -Garrison
CTF_Siege            -Arena A17
CTF_Trando          -Ghostship
CTF_UnderPass        -Kachirho
CTF_ZeroG            -Arena G9
</pre>
 
==Gamemodes==
Available gamemodes:
<pre>
MPGame.DMGame        -Deathmatch
MPGame.TDGame        -TeamDeathmatch
MPGame.CTFGame      -Capture the flag
MPGame.ASGame        -Assault
</pre>
 
==Additional Parameters==
Available parameters:
<pre>
GoalScore=          -Set the score limit
Timelimit=          -Set the timelimit in minutes
MaxPlayers=          -Set max players for server
MaxSpectators=      -Set max spectators for server
RespawnWaitTime=    -Set respawn time, maximum are 7 seconds
MapListType=        -Tell the server to use this map list pool
NumRounds=          -For Assault gamemode, set the number of rounds until match ends
RoundTime=          -For Assault gamemode, set the round time in seconds
bEmptyTeamStart=    -Set to either True or False, tells the game to start even if only one player joined
</pre>
 
==Conclusion==
Example commandline:
<pre>
CTF_Siege?Game=MPGame.CTFGame?GoalScore=3?Timelimit=60?MaxPlayers=32?MaxSpectators=8?RespawnWaitTime=4?MapListType=MPGame.MapListCaptureTheFlag
</pre>
Result:
* Arena A17
* Capture The Flag gamemode
* Set the score to 3 points
* Set the timelimit to 1 hour (60 minutes)
* Max players set to 32
* Max spectators set to 8
* Respawn time set to 4 seconds
* Use maps from MapListCaptureTheFlag pool
 
==Add server to ingame browser==
Download server browser fix from [[Useful Stuff for Client]] and install it accordingly. When set to broadcasting on internet, it should appear on server list.
 
==Map pools==
Map list pools are found at the end of System.ini file and are used to cycle through maps/gamemodes.
 
<pre>
[MPGame.MapListCaptureTheFlag]
MapNum=0
Maps=DM_Siege?Game=MPGame.DMGame?GoalScore=50?timelimit=60
Maps+=CTF_Detention?Game=MPGame.ASGame?GoalScore=0?RoundTime=240?NumRounds=2?timelimit=0
Maps+=DM_Hangar?Game=MPGame.TDGame?GoalScore=40?timelimit=10?NumRounds=0?RoundTime=0
Maps+=CTF_HangingGarden.ctm?Game=MPGame.ASGame?GoalScore=0?RoundTime=240?NumRounds=2?timelimit=0
Maps+=DM_ZeroG?Game=MPGame.DMGame?GoalScore=25?timelimit=10?NumRounds=0?RoundTime=0
Maps+=CTF_Underpass?Game=MPGame.CTFGame?GoalScore=3?timelimit=10
Maps+=DM_POW?Game=MPGame.TDGame?GoalScore=35?timelimit=10
Maps+=DM_Canyon?Game=MPGame.DMGame?GoalScore=25?
Maps+=CTF_Trando?Game=MPGame.CTFGame?GoalScore=3?timelimit=10
Maps+=DM_Engine?Game=MPGame.TDGame?GoalScore=35?timelimit=10
Maps+=DM_Siege?Game=MPGame.DMGame?GoalScore=25?timelimit=10
Maps+=DM_Detention?Game=MPGame.TDGame?GoalScore=35
Maps+=CTF_Hangar?Game=MPGame.ASGame?GoalScore=0?RoundTime=240?NumRounds=2?timelimit=0
Maps+=DM_HangingGarden.ctm?Game=MPGame.TDGame?GoalScore=35?RoundTime=0?NumRounds=0?timelimit=10
Maps+=CTF_ZeroG?Game=MPGame.CTFGame?GoalScore=5?timelimit=10
Maps+=DM_Underpass?Game=MPGame.DMGame?GoalScore=25?timelimit=10
</pre>

Latest revision as of 09:49, 14 May 2021

Requirements

  • Windows operating system (For Linux: Run a server on Linux with UCC)
  • Microsoft Visual C++ 2005 Redistributable x86 and x64
  • Game files need to be present on host system
  • Republic Commando UCC

Setup

  • Download Republic Commando UCC and install it into GameData/System folder
  • Create a shortcut for UCC tool and add this parameter on target line:
Engine.ServerCommandlet
  • If necessary, forward ports 7777 TCP/UDP and 11138 TCP/UDP on your gateway. (Router)

Configure System.ini

Open up GameData\System\System.ini file with notepad.

URL

Change the lines

Map=Entry.ctm
LocalMap=Entry.ctm

to

Map=DM_Siege?Game=MPGame.DMGame
LocalMap=DM_Siege?Game=MPGame.DMGame

This will boot the server into Arena A17 with DeathMatch gamemode.

The commandline syntax is: Mapname, Gamemode, Additional parameters

  • Note: Parameters get seperated by "?" symbol

IpDrv.TcpNetDriver

Change NetServerMaxTickRate attribute to 35.

NetServerMaxTickRate=35

IpDrv.MasterServerUplink

Change the AdvertiseServer attribute accordingly if you want to announce server on LAN or internet.

;Set the below to broadcast on Lan
;Set this to 2 to broadcast to gamespy
AdvertiseServer=2

[Engine.GameReplicationInfo]

Change the server name being displayed on internet browser.

ServerName= My cool server
ShortName=RC Server

Maps

Available Maps for DM/TDM:

DM_Canyon           -Gunship
DM_Detention        -Lockdown
DM_Engine           -Engine
DM_Hangar           -Hangar
DM_HangingGarden    -Garden
DM_Pow              -Garrison
DM_PowSmall         -Depot
DM_Siege            -Arena A17
DM_Trando           -Ghostship
DM_UnderPass        -Kachirho
DM_ZeroG            -Arena G9

Available Maps for CTF/AS:

CTF_Detention        -Lockdown
CTF_Engine           -Engine
CTF_Hangar           -Hangar
CTF_HangingGarden    -Garden
CTF_Pow              -Garrison
CTF_Siege            -Arena A17
CTF_Trando           -Ghostship
CTF_UnderPass        -Kachirho
CTF_ZeroG            -Arena G9

Gamemodes

Available gamemodes:

MPGame.DMGame        -Deathmatch
MPGame.TDGame        -TeamDeathmatch
MPGame.CTFGame       -Capture the flag
MPGame.ASGame        -Assault

Additional Parameters

Available parameters:

GoalScore=           -Set the score limit
Timelimit=           -Set the timelimit in minutes
MaxPlayers=          -Set max players for server
MaxSpectators=       -Set max spectators for server
RespawnWaitTime=     -Set respawn time, maximum are 7 seconds
MapListType=         -Tell the server to use this map list pool
NumRounds=           -For Assault gamemode, set the number of rounds until match ends
RoundTime=           -For Assault gamemode, set the round time in seconds
bEmptyTeamStart=     -Set to either True or False, tells the game to start even if only one player joined

Conclusion

Example commandline:

CTF_Siege?Game=MPGame.CTFGame?GoalScore=3?Timelimit=60?MaxPlayers=32?MaxSpectators=8?RespawnWaitTime=4?MapListType=MPGame.MapListCaptureTheFlag

Result:

  • Arena A17
  • Capture The Flag gamemode
  • Set the score to 3 points
  • Set the timelimit to 1 hour (60 minutes)
  • Max players set to 32
  • Max spectators set to 8
  • Respawn time set to 4 seconds
  • Use maps from MapListCaptureTheFlag pool

Add server to ingame browser

Download server browser fix from Useful Stuff for Client and install it accordingly. When set to broadcasting on internet, it should appear on server list.

Map pools

Map list pools are found at the end of System.ini file and are used to cycle through maps/gamemodes.

[MPGame.MapListCaptureTheFlag]
MapNum=0
Maps=DM_Siege?Game=MPGame.DMGame?GoalScore=50?timelimit=60
Maps+=CTF_Detention?Game=MPGame.ASGame?GoalScore=0?RoundTime=240?NumRounds=2?timelimit=0
Maps+=DM_Hangar?Game=MPGame.TDGame?GoalScore=40?timelimit=10?NumRounds=0?RoundTime=0
Maps+=CTF_HangingGarden.ctm?Game=MPGame.ASGame?GoalScore=0?RoundTime=240?NumRounds=2?timelimit=0
Maps+=DM_ZeroG?Game=MPGame.DMGame?GoalScore=25?timelimit=10?NumRounds=0?RoundTime=0
Maps+=CTF_Underpass?Game=MPGame.CTFGame?GoalScore=3?timelimit=10
Maps+=DM_POW?Game=MPGame.TDGame?GoalScore=35?timelimit=10
Maps+=DM_Canyon?Game=MPGame.DMGame?GoalScore=25?
Maps+=CTF_Trando?Game=MPGame.CTFGame?GoalScore=3?timelimit=10
Maps+=DM_Engine?Game=MPGame.TDGame?GoalScore=35?timelimit=10
Maps+=DM_Siege?Game=MPGame.DMGame?GoalScore=25?timelimit=10
Maps+=DM_Detention?Game=MPGame.TDGame?GoalScore=35
Maps+=CTF_Hangar?Game=MPGame.ASGame?GoalScore=0?RoundTime=240?NumRounds=2?timelimit=0
Maps+=DM_HangingGarden.ctm?Game=MPGame.TDGame?GoalScore=35?RoundTime=0?NumRounds=0?timelimit=10
Maps+=CTF_ZeroG?Game=MPGame.CTFGame?GoalScore=5?timelimit=10
Maps+=DM_Underpass?Game=MPGame.DMGame?GoalScore=25?timelimit=10