•     Please make sure you check the Support FAQ and relevant Guides before you create a new thread in this section!

[SOLVED] Help hosting server

Status
Not open for further replies.
Posts
28
Likes
0
I have followed all the instructions I can find for running a movie battles server but I am stuck at this, can anyone help
upload_2015-11-8_12-58-54.png
 
Posts
142
Likes
59
The map rotation part should look like this:
set VAR1 "map MAP1; set nextmap vstr VAR2"
set VAR2 "map MAP2; set nextmap vstr VAR3"
...
set VARN "map MAPN; set nextmap vstr VAR1"

vstr VAR1
where VAR1 to VARN are variable names MAP1 to MAPN are map names.

The set parts are just variable assigments, you store two commands:
  1. map which sets the current map
  2. setting the nextmap variable which contains the command to run when the nextmap is needed
vstr is the command to run commands stored in a variable.

You should change this:
// Map rotation:
set d1 "map mb2_duel_revan;set nextmap vstr d2"
set d2 "map mb2_duel_dotf;set nextmap vstr d3"
set d3 "map mb2_duel_ravager;set nextmap vstr d4"
set d5 "map mb2_mustafar;set nextmap vstr d6"
set d6 "map mb2_jeditemple;set nextmap vstr d7"
set d12 "map mb2_duel_malachor;set nextmap vstr d13"
set d13 "map mb2_enclave;set nextmap vstr d14"
set d14 "map mb2_duel_office;set nextmap vstr d15"

// Start the first map in the rotation

to this:

// Map rotation:
set d1 "map mb2_duel_revan;set nextmap vstr d2"
set d2 "map mb2_duel_dotf;set nextmap vstr d3"
set d3 "map mb2_duel_ravager;set nextmap vstr d4"
set d4 "map mb2_mustafar;set nextmap vstr d5"
set d5 "map mb2_jeditemple;set nextmap vstr d6"
set d6 "map mb2_duel_malachor;set nextmap vstr d7"
set d7 "map mb2_enclave;set nextmap vstr d8"
set d8 "map mb2_duel_office;set nextmap vstr d1"

vstr d1 // Start the first map in the rotation
 
Status
Not open for further replies.
Top