Link for the Windows build:
http://modulaatio.com/runningwithrifles ... 0.87.1.zipUpdate 14th May: Linux build updated to 0.87.11; fixed a bug with metagame command processing
Link for the Linux build, with bundled dependencies:
http://modulaatio.com/runningwithrifles ... 386.tar.gzI've updated the old scripts (maprotator and invasion) for 0.87, mostly comms.php had to change. The scripts should work (tm) although I'm no longer using these particular scripts myself.
Quote:
Map rotator PHP metagame:
http://modulaatio.com/runningwithrifles/maprotator.zipInvasion PHP metagame:
http://modulaatio.com/runningwithrifles/invasion.zipYou can configure the metagames in maprotator.php and invasion.php. Feel free to modify the scripts in any way you want.
I'm personally starting to use this set of scripts from now on:
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.
Basically not much have changed, just run "php gamemode_classic.php" or "php gamemode_invasion.php" to activate the RWR server (which you already have launched) and to start the game mode. Note, that you no longer need to have settings.xml set up for Invasion overlay resources separately, this info is now carried through change_map XML command.
Technically the script set now does some objective tracking for Invasion cargo truck. Similar trackers could be added for any events listed in tracker.php and objective.php, to use any of the start_game, change_map, start_server, commander_ai, make_query, xp_reward, rp_reward, kick_player, update_player, add_hitbox_check, remove_hitbox_check XML commands + say and other direct server console commands. I hope I can get around to creating full lists of parameters for these soonish, and to generally add some functionality through these for the classic game mode too, i.e. live faction switching should be possible now, votekicking would seem doable, etc.
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.87.1:
compatibility: beta 0.87
Don't forget to copy the media folder from the actual game RWR beta 0.87 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!