RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

Beta 0.96 servers
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=4&t=1750
Page 1 of 1

Author:  pasik [ Thu Jun 05, 2014 9:56 am ]
Post subject:  Beta 0.96 servers

Link for the Linux build, with bundled dependencies: http://modulaatio.com/runningwithrifles ... 386.tar.gz
Link for the Windows build: http://modulaatio.com/runningwithrifles ... r_0.96.zip

You need to copy media from the actual game build to your server folder. I've heard it's also possible to use SteamCMD to download the game from Steam, including the media folder, and just have the server binaries in the same 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/start_classic.php debug_output


Invasion can be run with
Code:
./launch_php media/packages/vanilla/scripts/start_invasion.php debug_output


Team elimination runs with
Code:
./launch_php media/packages/vanilla/scripts/start_team_elimination.php debug_output


There's also some basic placeholder for deathmatch, launches with
Code:
./launch_php media/packages/vanilla/scripts/start_deathmatch.php debug_output


Debug_output isn't exactly needed, but helps with checking that things work by seeing printing in console.

Windows build comes with handy bat files to run the scripts above.

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.xml
Template for server console command aliases: http://modulaatio.com/runningwithrifles/commands.xml
Template for custom metagame interface settings for Linux: http://modulaatio.com/runningwithrifles/metagame.xml

Don't forget to copy the media folder from the actual game RWR beta 0.96 to the server folder!

If you're just setting up your server, check out this guide about the available match and server settings gathered up by {SAS}DocStone!

Author:  pasik [ Thu Jun 05, 2014 10:04 am ]
Post subject:  Re: Beta 0.96 servers

Those who are interested in customizing the vanilla invasion on their servers, 0.96 comes with stuff that may make your life a bit easier.

Until now, you've had to modify the vanilla scripts to your liking, and have your changes overwritten whenever there's an update on the particular script you've had to modify and then deal with some merging burden. From now on, you can reach a degree of customization by making a copy of media/packages/vanilla/scrip/start_customized_invasion.example.php and changing the settings and/or providing any overriding logic there. You'd run your customized script by running your start_*.php just like you'd run the invasion.

Author:  {SAS}DocStone [ Thu Jun 05, 2014 11:15 am ]
Post subject:  Re: Beta 0.96 servers

Downloading and installing now, {SAS} servers should be up in a few minutes ;)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/