Thread: rcon commands
View Single Post
Old
  (#7)
Mazzic is Offline
Junior Member
 
Posts: 10
Join Date: Jul 2002
Location: Waco, TX
 Send a message via ICQ to Mazzic  
Default 10-09-2002, 10:00 AM

If the maps are installed on your computer you can alter your rotation through RCON by changing the names that are in the sv_maplist variable.

rcon sv_maplist "dm/mohdm1 dm/mohdm2"

would change your rotation to be those two maps.

Couple of things to know. If you change your rotation and do not include the name of the map that is currently running on the server. you will need to manually change the map to one of the maps named in the rotation for it to begin rotating.

Basically at the end of a map..when it is about to go to the next one, it simply looks up that sv_maplist variable and finds the current map in the list and then changes to which ever map is named next. So if the map your currently on is not in the rotation, it will not find it in the sv_maplist and not know which map to go to next.

Which is why I suspect that naming a map twice in the rotation screws up.

In my case, my sv_maplist is quite large. I do not what to type it all back in. So changing the server config file and exec it is the easiest way.
  
Reply With Quote