RacerRoomSetup.wiki
author Wuzzy
Tue, 14 Aug 2018 08:34:55 +0100
changeset 1504 1282d263c446
parent 1421 ac35ef6e999f
child 1507 0df1fac87c44
permissions -rw-r--r--
LuaAPI: Explain gfMultiWeapon
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1420
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     1
#summary How to setup the official racer room
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     2
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     3
= Racer Room Setup =
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     4
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     5
== Overview ==
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     6
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.
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     7
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     8
== Removing the Room ==
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
     9
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    10
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:
1421
ac35ef6e999f add code tags
nemo
parents: 1420
diff changeset
    11
{{{
1420
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    12
/unfix
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    13
/delegate YourNick
1421
ac35ef6e999f add code tags
nemo
parents: 1420
diff changeset
    14
}}}
1420
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    15
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    16
Then exit.  The room will be removed.
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    17
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    18
== Updating the room config for a new release ==
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    19
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    20
The racer room configuration is currently here: [https://hg.hedgewars.org/hedgewars/raw-file/tip/misc/racer.room]
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    21
It is stored relative to the game server.
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    22
According to unc0rr, any errors in syntax will kill the server, so be careful!
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    23
To update for a new release you usually just need to add new characters to the AMMO for any newly added weapon entries.
1421
ac35ef6e999f add code tags
nemo
parents: 1420
diff changeset
    24
{{{:s/\([0-9]\{58\}\)/\10/g}}}
1420
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    25
will do this in vim, where 58 is the number of weapons in the current racer room and the 0 is for the addition.
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    26
New maps can be added too, using existing entries as a reference.
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    27
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    28
== Setting up the room ==
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    29
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    30
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:
1421
ac35ef6e999f add code tags
nemo
parents: 1420
diff changeset
    31
{{{
1420
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    32
/loadroom racer.room
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    33
/fix
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    34
/callvote map #01
1421
ac35ef6e999f add code tags
nemo
parents: 1420
diff changeset
    35
}}}
1420
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    36
7693d88707e4 bit of documentation for setting up the racer room
nemo
parents:
diff changeset
    37
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.