Sub Rosa How to Setup Dedicated Server Tutorial Guide

Sub Rosa How to Setup Dedicated Server Tutorial Guide 1 - steamsplay.com
Sub Rosa How to Setup Dedicated Server Tutorial Guide 1 - steamsplay.com

A guide to help you set up your very own Sub Rosa dedicated server with modifications or without.
 
 

Setting up

First, decide which operating system you’re going to be running the server on. There’s Windows and Linux. I’d recommend using Linux for maximum performance and for RosaServer which lets you mod your server with Lua.
 
 
If you want to run a Vanilla server, you can open the dedicated using the binaries from your game folder.
 
 
If you want to run a RosaServer server, please read this after reading the guide and setting up your server: RosaServer information – [github.com] 
 
 

How to get all the required server files

 
Go to your game’s installation folder.
 
Copy these files and folders, if present:
 

  • data [Required!]
  • config.txt
  • config_round.txt
  • config_versus.txt
  • config_world.txt
  • server.srk

If you wish to run a Windows server, copy the subrosadedicated.exe file as well.
 
For a Linux server, copy the subrosadedicated.x64 file.
 
If you also want to be able to make mods for your server (Linux only!), visit this page and download the files specified below: noche-x/RosaServer – [github.com] 
 

  • libluajit.so
  • librosaserver.so
  • rosaserversatellite

 

Ready to use server templates

 

 
Once you’ve downloaded any of these, unpack them anywhere you’d like and move on to the next section.
 
 
 

Configuration

Now you need to configure your server. (you don’t really have to but y’know, you gotta set the name at least)
 
The header names will be the filename. Feel free to create the file if you don’t have it yet.
 
 

config.txt

 
Default contents:
 
 

port=27584
servermaxbytespersecond=500000
servername=Sub Rosa Server
adminpassword=
serverpassword=
gametype=3
maxnumofplayers=16
roundtime=11
setcpuaffinity=1

 
 
Explanation:
 

KeyDefault valueDescription
port27584The port for use by the server to accept connections. Make sure to forward it. Must be within the range of 0 to 65535.
servermaxbytespersecond500000How fast server will send updates. Generally you don’t want to touch this.
servernameSub Rosa ServerThis is the name of the server displayed in the list.
adminpassword<Sequence of 6 random numbers>The password for getting administrator permissions. Refer to commands section for usage.
serverpasswordThe password that will be used to connect to the server. If not specified, there is no password.
gametype3The gamemode that the server will run upon launch.
 
 
 
Must be one of these in the list:
 
 
 

  • 3: Round
  • 4: World
  • 5: Eliminator
  • 6: Cooperative
  • 7: Versus
maxnumofplayers16The maximum amount of players allowed to connect to the server. Maximum for the engine is 256.
roundtime11The time in minutes for Round mode game length. Maximum is 60.
setcpuaffinity1Processor affinity, or CPU pinning or “cache affinity”, enables the binding and unbinding of a process or a thread to a central processing unit or a range of CPUs, so that the process or thread will execute only on the designated CPU or CPUs rather than any CPU. Set to 0 or 1 for false or true respectively.

 
 

config_round.txt

 
Default contents:
 
 

roundtime=11
startcash=250
weekly=1
bonusratio=1
teamdamage=50

 
 
Explanation:
 

KeyDefault valueDescription
roundtime11The time in minutes for the length of a single round. Maximum is 60.
startcash250The starting amount of cash for every player.
weekly1If the game should be weekly or not. After Friday all company funds are reset to the starting cash. Set to 0 or 1 for false or true respectively.
bonusratio1The bonus multiplier for cash earned?
teamdamage50Percentage of damage returned when shooting teammates.

 
 

config_versus.txt

 
Default contents:
 
 

allowrespawn=1
startcash=250
roundtime=5
movedelay=10
bonusratio=1
teamdamage=50
map01=versus
map02=versus2
map03=
map04=
map05=
map06=
map07=
map08=

 
 
Explanation:
 

KeyDefault valueDescription
allowrespawn1Allows respawning of players after death. Set to 0 or 1 for false or true respectively.
startcash250The starting amount of cash for every player.
roundtimeThe time in minutes for the game length. Maximum is 60.Description
movedelay10The amount of time to wait at round start for players to be allowed to move.
bonusratio1The bonus multiplier for cash earned?
teamdamage50Percentage of damage returned when shooting teammates.
mapxx<Name of map>Select map for use by the /setmap command. Map names can be found in the “data” folder of the server root. Refer to commands section for usage.

 
 

config_world.txt

 
Default contents:
 
 

traffic=256
crimecivciv=100
crimecivteam=200
crimeteamciv=50
crimeteamteam=0
crimeteamteaminbase=100
crimevscriminal=20
crimenobuy=200
crimenospawn=500
crimekick=1000
startcash=1000
mincash=500
showjoinexit=1
respawnteam=0

 
 
Explanation:
 

KeyDefault valueDescription
traffic256Amount of traffic cars to spawn. Maximum for engine is 256.
crimecivciv100Base amount of criminal rating earned when a civilian harms a civilian.
crimecivteam200Base amount of criminal rating earned when a civilian harms a corporation member.
crimeteamciv50Base amount of criminal rating earned when a corporation member harms a civilian.
crimeteamteam0Base amount of criminal rating earned when a corporation member harms another corporation member.
crimeteamteaminbase100Base amount of criminal rating earned when a corporation member harms another corporation member in the opposite team’s base.
crimevscriminal20Base amount of criminal rating earned when harming a criminal.
crimenobuy200Minimum amount of criminal rating before you are unable to buy anything from shops.
crimenospawn500Minimum amount of criminal rating before you are unable to enter the city after dying.
crimekick1000Maximum amount of criminal rating. Passing this threshold will ban you from the server until the rating goes down.
startcash1000The starting amount of cash a player starts with.
mincash500The minimum amount of cash a player is allowed to reach. After re-joining, if below minimum, it will be set to this number.
showjoinexit1Announce players joining and exiting the server in chat. Set to 0 or 1 for false or true respectively.
respawnteam0Allow teams to respawn in their base using the Respawn in base button. Set to 0 or 1 for false or true respectively.

 
 

serveradmin.txt

 
Contents example:
 
 

adminphone=2564096
adminphone=2560000

 
 
Explanation:
 
This file specifies people that will get admin powers automatically upon joining.
 
 

serversteamban.txt

 
Contents example:
 
 

steamban=76561197960287930
steamban=76561197977382560

 
 
Explanation:
 
There was never any documentation on this file, but I’d assume that it uses SteamID64 to specify banned users.
 
 

readme.txt

 
Contents example:
 
[code
 
Hello World!
 
[/code]
 
 
Explanation:
 
This is the text displayed on the Read Me paper in World mode.
 
 
 

Commands

This section will describe each command and it’s usage.
 
[] means optional, <> means required.
 
 

CommandArgumentsDescriptionExample usage
/admin<password>Gain admin powers if you know the adminpassword set in config.txt./admin 291752
/arm[id]Give yourself a weapon, 4 magazines and 2 bandages. If argument not specified, will give you the M-16 (ID 2).
 
 
 
List of applicable IDs:
 
 
 

  • 1: AK-47
  • 2: M-16
  • 3: MP-5
  • 4: UZI
  • 5: 9mm
/arm 5
/ban<phone> <duration>Ban a player using phone number with ban duration specified in seconds./ban 2564096 100
/bannCancel a ban./bann
/banyConfirm a ban./bany
/beamerSpawn a Red Beamer in front of yourself, facing north./beamer
/carSpawn a Red Town Car in front of yourself, facing north./car
/cashGive yourself $100,000./cash
/clearkickClear all kicks./clearkick
/give<phone> <amount>Give a player using phone number a specified amount of cash./give 2564096 100000
/godmodeMake bullets pass through you. You are still vulnerable to grenades and roadkill./godmode
/heliSpawn a Red Helicopter in front of yourself, facing north.
/helicopterSpawn a Red Helicopter in front of yourself, facing north. Model currently missing.
/hlistPrint out a list of all players with their player ID, human ID and name specified.
/kick<phone>Kick a player using phone number from the server. Apparently, they will not see it in the server list until the kicks are cleared./kick 2564096
/killKill your currently controlled character./kill
/list1
/list2
/list3
/list4
/message<text>Send a message in chat visible to everyone./message Hello World!
/phoneGive yourself a phone, put in the last slot of your inventory. The number is 6666./phone
/pickupSpawn a Red Pickup Truck in front of yourself, facing north. Currently not implemented./pickup
/resetgameReset the game./resetgame
/savereplay[number]Save a replay of all of the actions performed after command execution. Saves on reset. Apparently, you have to put 1 as an argument or the replay might not save./savereplay 1
/setmap<number>Sets map for Versus gamemode specified in config_versus.txt./setmap 2
/trafficToggles car traffic on the map.
/turboSpawn a Red Turbo in front of yourself, facing north./turbo
/vanSpawn a Red Van in front of yourself, facing north./van

 
 

Written by olv

 
 
This is all for Sub Rosa How to Setup Dedicated Server Tutorial Guide hope you enjoy the post. If you believe we forget or we should update the post please let us know via comment, we will try our best to fix how fast is possible! Have a great day!
 


Be the first to comment

Leave a Reply

Your email address will not be published.


*