map rotations

wokka wokka at justfamily.org
Thu Jul 25 14:32:16 EDT 2002


Ryan, mohaa_ded isn't interpreting vstr properly, at least I don't think so. 
I'm getting this error on the map rotation when we hit the timelimit and it 
tries to change: 

 ------ Server Initialization ------
Server: vstr d2
 ------ Unloading fgameded.so ------
 ------- Attempting to load /data1/moh/fgameded.so -------
Error: recursive error after: Couldn't load maps/vstr d2.bsp 

and here is the excerpt from the server config:
set d1 "g_gametype 1;   map dm/mohdm6;  set nextmap vstr d2"
set d2 "g_gametype 1;   map dm/mohdm4;  set nextmap vstr d3"
set d3 "g_gametype 1;   map dm/mohdm2;  set nextmap vstr d4"
set d4 "g_gametype 4;   map obj/obj_team1;  set nextmap vstr d5"
set d5 "g_gametype 4;   map obj/obj_team3;  set nextmap vstr d6"
set d6 "g_gametype 4;   map obj/obj_team4;  set nextmap vstr d1" 

vstr d1 

when it hits time to go to d2, i get the above error...  likes its trying to 
execute the variable as the mapname... 

when i go into the console and manually type vstr d2, it works fine.  
checking nextmap at the console displays the proper syntax:
nextmap
"nextmap" is:"vstr d2" default:"" 

ideas?
Thanks
Charles 

Ryan C. Gordon writes: 

> 
>> using the oldstyle vstr commands would work, but after you set g_gametype to
>> a different type, it won't let you change the map to obj from ffa because
>> you have to restart the server to have the gametype change take effect.
> 
> The restart message is misleading...you just have to start a new map for
> g_gametype to take effect. 
> 
> I haven't tried the "vstr" thing, but I wanted to clarify that. 
> 
> --ryan. 
> 
>  
> 
> 
 



More information about the Mohaa mailing list