Guide for Server Owners
Last Update: 24/03/2024 17:44:15
Author: TT
Loading...
# Introduction
To run a Renegade Dedicated Server you need to install the Renegade FDS (Renegade Free Dedicated Server).
A dedicated server is basically a command prompt type program which allows for Renegade Clients to connect and play on the server.
Dedicated servers are usually unattended and you cannot play as the host while running a dedicated server. Running a dedicated server
also enables you to run SSGM 4.0 and/or other special modifications which are unavailable for the game client.
# Download
You can download the RenegadeFDS installation file from [MPF](http://multiplayerforums.com/index.php?/files/file/8-renegade-fds-1037zip/) or [CnCFPS](https://downloads.cncfps.com/Renegade/FDS/renegade_fds_1037.exe).
You can download numerous plugins for the RenegadeFDS with 4.0 SSGM support from [MPF](http://multiplayerforums.com/index.php?/files/category/7-ssgm-40-plugins/).
# Installation
After you have installed the FDS using the FDS installer, copy the contents of the serverfiles folder from the 4.0 server download into the
FDS folder. Edit server.ini, svrcfg_cnc.ini, tt.cfg and ssgm.ini as per the documentation on this wiki. You then need to install the Visual
C++ runtime libraries and the DirectX runtimes from the "redist" folder. The server.exe file in the 4.0 server download is the one you should
be using as it has been modified. You do not need to apply the "no gameplay pending" patch to it as that patch is now a server.ini keyword.
The new 4.0 compatible brenbot included in the server download should be installed just like the old brenbot (should you choose to use brenbot
for your 4.0 server) Make sure anticheat.ini is in the data folder otherwise the anti-cheat will probably kick you even with stock renegade
files.
# Requirements
When running the server in Westwood Online Mode (or XWIS these days) you require a valid serial number to run the server. This can be a FDS Serial or your
Renegade Client serial. In GameSpy mode there are no requirements.
### Notes for hosting in XWIS/WOL Mode
To get passed the WOL installation for the RenegadeFDS you need to enter a (fake) serial number that starts with 0669. For example: 0669714956637887900319
(Note: This is a fake serial and you cannot host a server in XWIS/WOL mode with this serial, it is only provided for you so you can get passed the installation
dialogs.)
# Server Configuration
*Note: This information is temporarily and might not apply to the final 4.0 product*
## server.ini
The standard server configuration file.
```
[Server]
;Config is the configuration file the server looks for in the data folder, default is svrcfg_cnc.ini
Config = svrcfg_cnc.ini
;server type can be GameSpy, WOL or LAN
;Nickname, Password and Serial must be valid serials for use in XWIS/WOL mode
;LAN and GameSpy mode don't require a valid login or serial
GameType = WOL
Nickname = nickname
Password = password
Serial = 0669714956637487902319
;server configuration
;Default game port is 4848
;Default gamespy port is 4848 - note that Port and GamespyPort must be the same ports
;Default gamespy query port is 25300
;The ports can be anything you want as long as you configure access in firewalls and routers consult your firewall or router manual how to do this.
LoginServer = USA Server
Port = 4848
GameSpyGamePort = 4848
GameSpyQueryPort = 25300
;Here your server upstream bandwidth is determined. Enter your upstream bandwidth here if you know what speed it is.
;NetUpdateRate determines how often per second a client is updated with new data. Setting this too high (maximum 30)
;may result in lag if you server's upstream bandwidth is not high enough. Unless you have a good connection it is recommended
;to keep this value between 15 and 30. 30 will work best on 100mbit servers.
BandwidthUp = 100000000
NetUpdateRate = 30
;If you want to enable (remote) administration on your server or run (BRen)bots you will need to AllowRemoteAdmin.
;The default (for configuration in conjunction with BRenBot 4.0 Edition) is that you take the server's port number
;and add +1 to it. 4848+1=4849 would be our RemoteAdminPort.
;You do not require to open this port in the firewall as BRenBot accesses the port locally.
AllowRemoteAdmin = true
RemoteAdminPassword=password
RemoteAdminIP=127.0.0.1
RemoteAdminPort=4849
;A few special and anticheat settings were added in 4.0
;NoGameplayPending allows you to enable gameplay while there is only 1 player in the server. Useful for Coop servers.
;AntiCheatEnabled is turned on by default and blocks various cheats on the server. Note that some anticheat functions
;require the client to be running 4.0.
;You can also block the secret extras which are available in unladdered games.
;A simple PT check is also enabled by default. It checks how far away a player was at the time of a purchase and block
;the purchase if it exceeded the treshold of 5 meters default.
NoGameplayPending=true
AntiCheatEnabled=true
BlockSecretPurchases=false
IsPTCheckEnabled=true
PTDistanceThreshold=5
;Set this to false to not send kill messages for clients running scripts versions >= 2.9 (so you can send custom kill messages to those players)
SendPlayerKillsToNewClients=true
;Set this to true to disable camera screen shakes. Only disables them for >= 4.0 players
DisableCameraShake=false
;Amount of time in seconds to store the team of last driver in a vehicle. Set to -1 to store infinitely.
TeamTimer=-1
;Minimum allowed bandwidth for players.
MinimumBandwidthPerClient=10000
;Amount of time in seconds to wait for players to load.
LoadWaitTimeout=0
;Set this to true to disable writing of renlogs to the file.
DisableLogs=false
;Set this to true to resume the rotation from the last map.
ResumeRotation=false
;Amount of harvester credit dumps in a second. Setting higher will result in a smoother dumping process and use more bandwidth.
HarvesterDumpRatePerSecond=5
;Set this to true to forcefully print GDI/Nod for team names instead of getting them from TDB.
UseStockTeamNames=false
;Set this to true if you want to disable console input and output to reduce the lag on large games.
DisableConsoleOutput=false
;Enable this to host your server in GSA alongside XWIS. Only works when GameType is WOL.
SimultaneousGamespyBroadcasting=false
; Enables execution of commands from clients in server using client's console.
EnableRemoteConsole=false
RemoteConsoleRequireAuthorization=true
RemoteConsoleAllowRelay=true
RemoteConsolePassword=testing
;End of the server.ini configuration file.
;If you have trouble setting up your server you may find some help in the #tt channel on irc.n00bstories.com
```
## tt.cfg
The new way of configuring several aspects of your server.
Notice that the gameDefinitions lack the C&C_ prefix and that the corresponding maps in the rotation lack the C&C_ prefix as well.
Only C&C_ prefixes are used in the gameDefinitions mapName and packages to download.
Maps that do not have any additional packages to be downloaded can be added to the rotation with their C&C_ prefix.
In this example the maps FieldTS, GlacierTS and Lunar_Landing will download an additional package called quake and the maps DesertTunnels and Field will
load a custom objects.aow modded presets file.
The quake package contains sounds which will play when players reach certain kills in a row without dying such as Firstblood, Multikill, Killingspree and
Godlike.
These sounds can be enabled or disabled in ssgm.ini through the option PlayQuakeSounds. To manually create a package for quake download the file and use the
packageeditor to turn it into a package: [Download QUAKE File](https://www.ultraaow.com/downloads/quake.zip)
```
gameDefinitions:
{
FieldTS:
{
mapName = "C&C_FieldTS";
packages = ["C&C_FieldTS", "quake"];
};
GlacierTS:
{
mapName = "C&C_GlacierTS";
packages = ["C&C_GlacierTS", "quake"];
};
Lunar_Landing:
{
mapName = "C&C_Lunar_Landing";
packages = ["C&C_Lunar_Landing", "quake"];
};
DesertTunnels:
{
mapName = "C&C_DesertTunnels";
packages = ["C&C_DesertTunnels","quake"];
serverPresetsFile = "objects.aow";
};
Field:
{
mapName = "C&C_Field";
packages = ["quake"];
serverPresetsFile = "objects.aow";
};
};
/* Note that the rotation is a list of quoted maps without the .mix extension.
Also note that the last map in the rotation does not have the ending comma. */
rotation:
[
"FieldTS",
"GlacierTS",
"Lunar_Landing",
"DesertTunnels",
"Field",
"C&C_Mesa",
"C&C_Canyon",
"C&C_Hourglass",
"C&C_Islands",
"C&C_Complex",
"C&C_Under"
];
/* downloader and its repositoryUrl control where the server will send clients to to download custom maps and content. */
downloader:
{
repositoryUrl = "http://ttfs.ultraaow.com/";
};
```
Game definition entries under gameDefinitions can have (as well as mapName and packages) an entry called serverPresetsFile. If present, this file will be
loaded on the server instead of the standard objects.ddb file. The client will still load the objects.ddb file as normal. (this functionality was added to
replace a hack present in SSGM 2.0.2 that allowed different objects file names for different maps) In this example configuration the maps DesertTunnels and
Field use this feature.
## svrcfg_cnc.ini
The standard game configuration file.
```
;The server game configuration file handles various things such as Game Title, Maximum Players and Password Servers.
;Note that the Maprotation entries -although present in the svrcfg_cnc.ini- are moved to tt.cfg
;Making changes to the maprotation inside svrcfg_cnc.ini has no effect.
[Settings]
ConfigName=Default C&C Server Settings
;bGameTitle sets the servername, this cannot exceed roughly 30 characters as it will be cut-off on the listing
bGameTitle = TT 4.0 Server
;Sets the message of the day that players will see as a dialog box when they join the server
bMotd=
;Used in conjunction with PKG files
ModName=
DoMapsLoop=yes
;The timelimit in minutes for each map
TimeLimitMinutes=30
;RadarMode=0=disabled, RadarMode=1=only teammates are shown, RadarMode=2=All units but stealthed ones are shown
RadarMode=1
;Automatically restart the server when it crashes?
IsAutoRestart=no
;Set a gamepassword here to have players enter a password to enter the server
IsPassworded=no
bPassword=
;QuickMatch is no longer supported in WOL mode and should be turned off.
;It's possible to turn it on but some configurations are incompatible with it.
IsQuickMatch=no
;Set the game laddered or not. When the server is laddered it will send statistics to the Blackhand Studios server for player ranks to be calculated.
IsLaddered=yes
;Remix the teams at the start of each new map? In general you would want this turned on to ensure teams are remixed and don't end up stacked.
RemixTeams=yes
;Can players repair their buildings or not?
CanRepairBuildings=yes
;If this is enabled the first person to enter the vehicle always has control over the gun. If not, the passenger gets control.
;Players can use the key Q to toggle between driver and passenger gunning.
DriverIsAlwaysGunner=yes
;Spawn random weapons on the map's spawnlocations?
;When enabled players may find various weapon powerups scattered over the map.
;Don't confuse this with SSGM's DropWeapons feature, they are not the same.
SpawnWeapons=yes
;Enable or Disable friendly fire.
IsFriendlyFirePermitted=no
;Teamchanging can be enabled if you want here. Note that laddered servers are not compatible with this option turned on.
IsTeamChangingAllowed=no
;Clans don't work anymore in WOL and this should be turned off
IsClanGame=no
;Depending on your server's connection you can set a compatible max player count here.
;In general only 100MBit servers can run 50 or more players as it uses a lot of bandwidth.
MaxPlayers=50
;Wether base destruction ends the game or not. If set to no the game will not end until the time expires.
;Pedestal ends game can only be enabled if base destruction is enabled as well.
BaseDestructionEndsGame=yes
BeaconPlacementEndsGame=yes
;How much money players get when the game starts
StartingCredits=5
;Allow separate mine limits for proxy C4 and for remote C4
SplitMineLimit=no
;Obsolete maprotation entries.
;The maprotation was moved to the tt.cfg configuration file explained earlier in this article.
MapName=C&C_Walls_Reloaded.mix
MapName00=C&C_Walls_Reloaded.mix
```