PDA

View Full Version : Spawn problem after rcon gametype change


Sitting_Duck
11-27-2002, 02:42 PM
I am not sure if this has been an issue with any other servers. Via rcon I have done a game type change from TOW to TDM and vice versa and in both cases when the new map starts the players all spawn on top of one another. So the server is basically locked up. I can still get to rcon to issue commands but nothing works to fix the problem. I have tried changing the maps and the game type with no fix. So does anyone know of a fix for this? As for the map changes I have made one on the spot during mid game and have also waited for the server to roll over to the next map. Any help would be appreciated. This is a dedicated server and I don't know all of the specs since I am an assistant admin on the site. DK666 is a very busy person so I can get that info if its needed.

Sitting_Duck

Mr_nStuff
11-27-2002, 04:39 PM
Changing the gametype after a map is loaded is not recommended. Each map comes with a script. And that script is executed at the beginning of each round. The script determines what gametype is currently set and makes adjustment to game play accordingly. So when you change the gametype after the map loads. Your changing it after the script loads. The map still thinks it's running on the old gametype untill you restart or the 2nd round begins..

So you should be ok if you do an rcon restart after changing the gametype... This usually ends up putting everyone in spectator.. But they can all choose sides again.

SgtD
11-27-2002, 05:05 PM
Rather than change game types, try having multiple cfg files on your server. Like..

server.cfg
serverTDM.cfg
serverOBJ.cfg
etc...

Then when you want to change game types just execute the proper cfg file from rcon

rcon exec serverTDM.cfg

And you'll be all set. You can adjust the separate config fiules to load whatever maps you want it to run. I've been doing this for the longest time and it has worked great!

Sitting_Duck
11-27-2002, 05:41 PM
Thanks for the replys guys. I will set up new configs for the SH server today. FYI I wasn't attempting to change the gametype in mid game per se, in fact it tells me the game type will change when the a new map starts. But I guess for now the different config set up will have to be the fix. Thanks again.

-SD