Link for the Windows build:
http://modulaatio.com/runningwithrifles ... r_0.90.zipLink for the Linux build, with bundled dependencies:
http://modulaatio.com/runningwithrifles ... 386.tar.gzThe mode scripts below have been updated for 0.90, but actually they are also shipped in the game media files now too, under media/packages/vanilla/scripts. Feel free to use the zips below or use the game build scripts directly. Note that game build also has the settings php files, so if you use them and change them to fit your server, you will risk getting them overwritten / deleted the next time you're updating the media files.
Also, game build now ships with PHP interpreter under tools/php, feel free to use that or the PHP you have in your system. This means that it would be now possible to start a server script by commanding e.g. tools/php/php.exe media/packages/vanilla/scripts/gamemode_invasion.php debug_output. Yes, debug_output will be needed now to make the script print stuff in console.
Scripts, updated for 0.90:
http://modulaatio.com/runningwithrifles/modes.ziphttp://modulaatio.com/runningwithrifles ... ttings.zipIt's in two zips so that after the first time you've downloaded and unzipped them both, and modified the settings to fit your server, you can just download modes.zip in the future to get the updates I'm adding in vanilla metagames.
Just run "php gamemode_classic.php debug_output" or "php gamemode_invasion.php debug_output" to activate the RWR server (which you already have launched) and to start the game mode.
See
0.87.1 post for the old scripts and some more random babbling about the new scripts.
Since 0.78.1:
Quote:
The way I'm currently doing it is using
screen and having rwr_server running in one window and the script in another. Once you have them both running, and if you suspect nothing is happening, you can write "declare_winner 0" in rwr_server console, which will forcibly end the match, sending a report to the metagame, the script receiving it and responding with a few radio messages and countdown to change the map. If that's not happening, then something's wrong: check that the pipes get created, also rwr_server.log tells which pipes the server is using.
I'll try to come up with some stuff that should make it all a tad more convenient to work with, but at this point, it's all very experimental. Suggestions are welcome!
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.xmlChange log for beta 0.90:
compatibility: beta 0.90
Don't forget to copy the media folder from the actual game RWR beta 0.90 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!