This update is optional for servers, mostly just comes with minor tweak possibilities for servers with lots of players. Also some changes were made in the Classic settings to make it a bit easier to obtain RP and takeover vehicles from bots, that sort of thing. Purely up to you if you want to update or not, players with 0.94.1 can connect to 0.94 servers as well.
Link for the Linux build, with bundled dependencies:
http://modulaatio.com/runningwithrifles ... 386.tar.gzLink for the Windows build:
http://modulaatio.com/runningwithrifles ... 0.94.1.zipYou need to copy media from the actual game build to your server folder.
Remember to overwrite / adjust these files if you plan to use the gamemode scripts:
* media/packages/vanilla/scripts/admin_settings.php
* media/packages/vanilla/scripts/server_settings_classic.php / server_settings_invasion.php / server_settings_team_elimination.php
* optionally, media/packages/vanilla/scripts/comms_settings.php if you're e.g. running multiple RWR servers in the same system
Generally it's a good idea to keep a copy of these settings in your server root folder after you've set them up, I've got them at /home/pasik/rwr/running_with_rifles_server/mine. Helps when a media update comes and overwrites your settings; just copy the settings back there from your backup.
Launch the server with
Code:
./launch_server
and launch the optional script in another process to get things going, look below. You can also
be the script yourself by commanding things in the server console. "help" command in the server console will get you started.
Classic gamemode script can be started with
Code:
./launch_php media/packages/vanilla/scripts/gamemode_classic.php debug_output
Invasion can be run with
Code:
./launch_php media/packages/vanilla/scripts/gamemode_invasion.php debug_output
Team elimination runs with
Code:
./launch_php media/packages/vanilla/scripts/gamemode_team_elimination.php debug_output
There's also some basic placeholder for deathmatch, launches with
Code:
./launch_php media/packages/vanilla/scripts/gamemode_deathmatch.php debug_output
Debug_output isn't exactly needed, but helps with checking that things work by seeing printing in console.
On a headless Linux, the way I'm personally having the server and the script in different processes is by using
screen and having the server run in one window and the script in another.
Template for location info:
http://modulaatio.com/runningwithrifles/geoinfo.xmlTemplate for custom metagame interface settings for Linux:
http://modulaatio.com/runningwithrifles/metagame.xmlTemplate for server console command aliases:
http://modulaatio.com/runningwithrifles/commands.xmlDon't forget to copy the media folder from the actual game RWR beta 0.94.1 to the server folder, that is, if you are updating in the first place!If you're just setting up your server, check out this
guide about the available match and server settings gathered up by {SAS}DocStone!