# HG changeset patch # User nemo # Date 1529450828 14400 # Node ID 7693d88707e47c206158aefc7323779ba19ea5ec # Parent b47b108c98851eb7583685f419b7a6b8d8e45c4d bit of documentation for setting up the racer room diff -r b47b108c9885 -r 7693d88707e4 RacerRoomSetup.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RacerRoomSetup.wiki Tue Jun 19 19:27:08 2018 -0400 @@ -0,0 +1,33 @@ +#summary How to setup the official racer room + += Racer Room Setup = + +== Overview == +Some time ago unc0rr added support for "fixed" server rooms in order to have a permanent room for hosting race maps. A little manual setup is required, and at present must be recreated on every new release and server restart. + +== Removing the Room == + +In order to add a room for a new release, the old room must be removed first. Join the game using the old release, join the Official Racer Room then run: +/unfix +/delegate YourNick + +Then exit. The room will be removed. + +== Updating the room config for a new release == + +The racer room configuration is currently here: [https://hg.hedgewars.org/hedgewars/raw-file/tip/misc/racer.room] +It is stored relative to the game server. +According to unc0rr, any errors in syntax will kill the server, so be careful! +To update for a new release you usually just need to add new characters to the AMMO for any newly added weapon entries. +:s/\([0-9]\{58\}\)/\10/g +will do this in vim, where 58 is the number of weapons in the current racer room and the 0 is for the addition. +New maps can be added too, using existing entries as a reference. + +== Setting up the room == + +After having removed the old room, create a new room named "Official Racer Room". Restrict join to registered players only (unregistered don't get recorded in the stats) then run: +/loadroom racer.room +/fix +/callvote map #01 + +And leave. The callvote will cause errors as long as you are still the room admin, but they don't matter. You can quit/rejoin before that step if you wish. diff -r b47b108c9885 -r 7693d88707e4 TableOfContents.wiki --- a/TableOfContents.wiki Thu May 31 00:18:58 2018 +0100 +++ b/TableOfContents.wiki Tue Jun 19 19:27:08 2018 -0400 @@ -10,6 +10,7 @@ * [VideoRecorder Video-recorder] * [ComodoFirewall Configuring COMODO firewall] * [KnownBugs Known bugs] + * [RacerRoomSetup Racer room setup] * [BuildingHedgewars Building Hedgewars from source code] * [Dependencies Dependencies] * [BuildingForAndroid Android]