----------------------------------------------------------------------------
NEW
On Linux, if you get an error about a missing libgpg-error.so.0, try renaming [your rwr server folder]\lib\libgpg-error.so.0.not_used to libgpg-error.so.0 and relaunch. The lib has been disabled by default because RWR doesn't launch in Steam on Ubuntu 16.04 if it's there.
----------------------------------------------------------------------------
The server build is also included in the game release these days. Using
SteamCMD you can pull in updates easily without having to deal with copying the media files manually, see the
instructions how to set it up.
----------------------------------------------------------------------------
InvasionServers tend to run Invasion mode, so let's see about that first.
* Setup server settings
** Copy media/packages/vanilla/scripts/start_invasion.as to e.g. media/packages/vanilla/scripts/start_my_invasion.as, to avoid Steam overwriting your settings if there's a change in an update
** Edit start_my_invasion.as
** See the part with m_startServerCommand, and fill in your server name, server port, comment, etc
** Feel free to change anything else; there are some more options in the settings object if you look at media/packages/vanilla/scripts/gamemodes/invasion/user_settings.as
* Launch the server
Code:
Linux: ./launch_server
Windows: rwr_server.exe
* Start the Invasion script manually in the server console
Code:
start_script start_my_invasion.as
* Additionally, you can make the script start automatically when launching the server by utilizing the init server console command
** Download
http://www.modulaatio.com/wp/commands.xml to server root
** Edit commands.xml
** Change <alias name="init" command="say Define your own init command in commands.xml!"/> to <alias name="init" command="start_script start_my_invasion.as"/>
* You can set what is shown in server list as the origin for the server
** Download
http://www.modulaatio.com/wp/geoinfo.xml to server root
** Edit geoinfo.xml
** Replace Greyland with something appropriate
* You can set admin usernames in admins.xml
** Download
http://www.modulaatio.com/wp/admins.xml in server root
** Edit admins.xml to your liking, keep the names lowercase
* In general, if the script doesn't start or something else fishy is happening, you need to take a look in rwr_server.log located in server root
----------------------------------------------------------------------------
Legacy modesIf you want to run any of the "legacy" modes, Dominance, Minimodes, Deathmatch, etc, here's what to do:
Dominance aka Classic
* Obtain the PHP interpreter that RWR used to use
** Linux: Download
http://www.runningwithrifles.com/wp/php5 to tools/php/ folder under server root
** Windows: Download
http://www.runningwithrifles.com/wp/php.zip and unzip it in tools/php folder under server root
* Setup server settings
** Copy media/packages/vanilla/scripts.legacy/server_settings_classic.example.php to media/packages/vanilla/scripts.legacy/server_settings_classic.php
** Edit server_settings_classic.php to fit your needs
* On Windows, setup metagame interface to use anonymous pipes
** Download
http://www.runningwithrifles.com/wp/metagame.xml to server root
* Launch the server with pipes parameter
Code:
Linux: ./launch_server pipes
Windows: rwr_server.exe pipes
* Setup admin list by copying media/packages/vanilla/scripts.legacy/admin_settings.example.php to media/packages/vanilla/scripts.legacy/admin_settings.php
** Note that names should be listed UPPERCASE in this list - the example list isn't a very good one anymore
* Start the Dominance/Classic script manually in the server console
Code:
start_script start_classic.php media/packages/vanilla/scripts.legacy
* There are other scripts such as start_minimodes.php, start_minimodes_map6.php, start_team_elimination.php, start_deathmatch.php
** You may need to setup server settings based on a corresponding server_settings_*.example.php similar to how it was done for Dominance
----------------------------------------------------------------------------
BinariesRWR server binaries are also available outside Steam:
* Link for the Linux build:
http://www.runningwithrifles.com/wp/rwr ... 386.tar.gz* Link for the Windows build:
http://www.runningwithrifles.com/wp/rwr_server_1.52.zipYou need to copy the media folder from the actual game build to your server folder, unless you use SteamCMD.
----------------------------------------------------------------------------
Steam WorkshopTODO: Some partial bits of info can be found here:
http://runningwithrifles.gamepedia.com/ ... _server.3F