Alliedassault           
FAQ Calendar Search Today's Posts Mark Forums Read
Go Back   Alliedassault > Lounge > Tech Questions & Problems
Reload this Page How Can I Make A Mix Map Server
Tech Questions & Problems Ask our resident experts about any military shooter game server administration and other technical issues.

Reply
 
Thread Tools Display Modes
How Can I Make A Mix Map Server
Old
  (#1)
*MBC* Twig Masters is Offline
Junior Member
 
Posts: 8
Join Date: Aug 2003
   
Default How Can I Make A Mix Map Server - 08-28-2003, 01:24 PM

I have been running a TDM server for a couple months now and i have had a few requests for Objective maps on the server. I found the mod created by Crow King for mixing maps and it works fine. The problem is....when the OBJ maps load, they stay running. The server rotation gets stuck there. How do I set it up so the map will change even when there is nobody on the server?
  
Reply With Quote
Old
  (#2)
Dragonwraith is Offline
Senior Member
 
Posts: 1,609
Join Date: Mar 2003
Location: I'm a MASShole
   
Default 08-28-2003, 04:13 PM

the way i did it was i took the map .scr's and added

main:

setcvar "g_gametype" "4" the game type you want
setcvar "fraglimit" "1" the # of rounds
setcvar "roundlimit" "10" the time limit you want

and then made a pk3 with the scripts and sent it to the server.

folder set up in the pk3

maps>DM all your DM maps here
maps>OBJ all your OBJ maps here
I like this way because you can have different round and time limits for all the maps. Just make sure ALL the map .scr's have the same gametype as your server.cfg so the server will show up under the right server type you want.
  
Reply With Quote
Old
  (#3)
*MBC* Twig Masters is Offline
Junior Member
 
Posts: 8
Join Date: Aug 2003
   
Default 08-28-2003, 05:24 PM

So I have to change each map file to make it work? Is there any other way?
  
Reply With Quote
Old
  (#4)
*MBC* Twig Masters is Offline
Junior Member
 
Posts: 8
Join Date: Aug 2003
   
Default 09-03-2003, 01:09 PM

I have done some experimenting and since MOH Admin's Forum wont let me register..... I am posting here.

I was looking for other solutions to help get a mixed map server working and this is what I found. If I create a script and put it into my cfg file for the server, the maps will run. Here's an example of what the scrip looks like...

set x1 "g_gametype 4; fraglimit 0; timelimit 20; roundlimit 5; map obj/obj_team1; set nextmap vstr x2"
set x2 "g_gametype 2; fraglimit 0; timelimit 20; roundlimit 5; map dm/mohdm1; set nextmap vstr x3"
set x3 "g_gametype 4; fraglimit 0; timelimit 20; roundlimit 5; map obj/obj_team2; set nextmap vstr x4"
set x4 "g_gametype 2; fraglimit 0; timelimit 20; roundlimit 5; map dm/mohdm2; set nextmap vstr x5"
set x5 "g_gametype 4; fraglimit 0; timelimit 20; roundlimit 5; map obj/obj_team3; set nextmap vstr x6"
set x6 "g_gametype 2; fraglimit 0; timelimit 20; roundlimit 5; map dm/mohdm3; set nextmap vstr x7"
set x7 "g_gametype 4; fraglimit 0; timelimit 20; roundlimit 5; map obj/obj_team4; set nextmap vstr x8"
set x8 "g_gametype 2; fraglimit 0; timelimit 20; roundlimit 5; map dm/mohdm4; set nextmap vstr x1"

vstr x1

I start the server and the first map loads. Since the first map is an OBJ it never rotates to the next so I do it by rcon. Then when the next map loads ( in tdm mode) the timer runs down to zero and the server shuts down. I have tried going to the consol and typing in "nextmap". It then gives me the correct answer. So I type "vstr x2" (for example) and the map changes fine. If I leave the server to do its own thing, I get the error "server shutdown cannot find maps/vstr x2" Or something similar to that. The server keeps tripping over the command in the script. As long as sit at the server and load the maps manually everything its fine.

Anyone have any ideas?

Thanks in advance
  
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.