PDA

View Full Version : Need VSTR Help--and yes I searched the forums here already.


Rabid_Wombat
03-19-2004, 11:10 AM
I set up the vstr map rotation below and tested it on my PC running as a BT server--it ran great through three entire rotations. I loaded it up on our BT game server, and it ran great until Berlin--after that map time ran out, it kept reloading Berlin and would not go to Tunisia. Any ideas/suggestion why it would do this on the server and not on my PC? If my syntax was wrong it would not have run on my PC either, but it did. Someone with vstr usage experience please chime in. I'd be interested to hear from people actively using vstr for map rotations on their server. I'm pissed--I thought I had a handle on it. :x(


//Commented out standard map rotation

seta sv_maplist ""
set x1 "timelimit 15; fraglimit 75; g_gametype 2; map dm/mohdm1; set nextmap vstr x2"
set x2 "timelimit 15; fraglimit 75; g_gametype 2; map obj/MP_Druckkammern_TOW; set nextmap vstr x3"
set x3 "timelimit 15; fraglimit 75; g_gametype 2; map obj/MP_Palermo_OBJ; set nextmap vstr x4"
set x4 "timelimit 15; fraglimit 75; g_gametype 2; map obj/MP_Flughafen_TOW; set nextmap vstr x5"
set x5 "timelimit 15; fraglimit 75; g_gametype 2; map lib/MP_Anzio_LIB; set nextmap vstr x6"
set x6 "timelimit 15; fraglimit 75; g_gametype 2; map dm/mohdm3; set nextmap vstr x7"
set x7 "timelimit 15; fraglimit 75; g_gametype 2; map obj/MP_Berlin_TOW; set nextmap vstr x8"
set x8 "timelimit 15; fraglimit 75; g_gametype 2; map lib/MP_Tunisia_LIB; set nextmap vstr x9"
set x9 "timelimit 15; fraglimit 75; g_gametype 2; map dm/mohdm4; set nextmap vstr x10"
set x10 "timelimit 15; fraglimit 75; g_gametype 2; map dm/MP_Bahnhof_DM; set nextmap vstr x11"
set x11 "timelimit 15; fraglimit 75; g_gametype 2; map lib/MP_BizerteHarbor_LIB; set nextmap vstr x12"
set x12 "timelimit 15; fraglimit 75; g_gametype 2; map dm/mohdm6; set nextmap vstr x13"
set x13 "timelimit 15; fraglimit 75; g_gametype 2; map dm/MP_Bazaar_DM; set nextmap vstr x14"
set x14 "timelimit 15; fraglimit 75; g_gametype 2; map lib/mp_ship_lib; set nextmap vstr x15"
set x15 "timelimit 15; fraglimit 75; g_gametype 2; map dm/mohdm7; set nextmap vstr x16"
set x16 "timelimit 15; fraglimit 75; g_gametype 2; map dm/MP_Brest_DM; set nextmap vstr x17"
set x17 "timelimit 15; fraglimit 75; g_gametype 2; map obj/mp_bizertefort_obj; set nextmap vstr x18"
set x18 "timelimit 15; fraglimit 75; g_gametype 2; map dm/MP_Holland_DM; set nextmap vstr x19"
set x19 "timelimit 15; fraglimit 75; g_gametype 2; map obj/MP_Bologna_OBJ; set nextmap vstr x20"
set x20 "timelimit 15; fraglimit 75; g_gametype 2; map obj/obj_team2; set nextmap vstr x21"
set x21 "timelimit 15; fraglimit 75; g_gametype 2; map dm/MP_Stadt_DM; set nextmap vstr x22"
set x22 "timelimit 15; fraglimit 75; g_gametype 2; map obj/MP_Kasserine_TOW; set nextmap vstr x23"
set x23 "timelimit 15; fraglimit 75; g_gametype 2; map obj/obj_team3; set nextmap vstr x24"
set x24 "timelimit 15; fraglimit 75; g_gametype 2; map dm/MP_Gewitter_DM; set nextmap vstr x25"
set x25 "timelimit 15; fraglimit 75; g_gametype 2; map obj/MP_MonteCassino_TOW; set nextmap vstr x26"
set x26 "timelimit 15; fraglimit 75; g_gametype 2; map obj/obj_team4; set nextmap vstr x27"
set x27 "timelimit 15; fraglimit 75; g_gametype 2; map dm/MP_Unterseite_DM; set nextmap vstr x28"
set x28 "timelimit 15; fraglimit 75; g_gametype 2; map obj/mp_Castello_OBJ; set nextmap vstr x29"
set x29 "timelimit 15; fraglimit 75; g_gametype 2; map dm/MP_Verschneit_DM; set nextmap vstr x30"
set x30 "timelimit 15; fraglimit 75; g_gametype 2; map obj/MP_MonteBattaglia_TOW; set nextmap vstr x1"
vstr x1 // Startup first map in rotation

TJay83rd
03-19-2004, 12:11 PM
set x1 "set nextmap vstr x2;timelimit 20; fraglimit 500; g_gametype 4; map obj/obj_team2"

This is the order of the commands that I use. I don't know if it makes any difference but you could try it.

Rabid_Wombat
03-19-2004, 03:15 PM
Thanks for the reply, man.

I've read a lot of the vstr posts from this forum, and they seem to be inconsistent. Some people suggest that the nextmap string be put at the end, others at the beginning. Some people swear by using seta sv_maplist "" while others advocate seta sv_maplist "x1". There seem to be as many people swearing one way works as the other. Even though vstr provides great flexibility , using it does not appear to be a very robust process--using vstr boils down to pretty much keep f**king with it until it works. Not a very convincing argument for ditching the game server interface if you ask me. I have still yet to see one good, solid, concise primer on implementing vstr. With all the fans it has--you would think someone would have written one already. :dis:

GaSplat
03-19-2004, 08:24 PM
It sounds like you do have it working. But something is foul on the server.

Try this:

rcon x8

to see what x8 is set to. Assuming it is what you expect, try

rcon vstr x8

With any luck, you will see an error message or something that helps identify the problem.

You can also try rcon vstr x9 to see if skipping that level helps.

Most config scripts involve dinking around to figure out why they don't work. The fact it works at home indicates the difference is either a typo or other error on the "production" server.

Coolant42
03-20-2004, 12:24 AM
This is how its set up on my server if it helps



set x1 "set g_gametype 5; timelimit 15; map obj/mp_montecassino_tow; set nextmap vstr x2"
set x2 "set g_gametype 6; timelimit 15; map lib/mp_anzio_lib; set nextmap vstr x3"
set x3 "set g_gametype 4; timelimit 15; map obj/obj_team1; set nextmap vstr x4"
set x4 "set g_gametype 3; timelimit 15; map dm/mohdm3; set nextmap vstr x5"
set x5 "set g_gametype 5; timelimit 15; map obj/mp_kasserine_tow; set nextmap vstr x6"
set x6 "set g_gametype 6; timelimit 15; map lib/mp_bizerteharbor_lib; set nextmap vstr x7"
set x7 "set g_gametype 4; timelimit 15; map obj/obj_team2; set nextmap vstr x8"
set x8 "set g_gametype 3; timelimit 15; map dm/mohdm2; set nextmap vstr x9"
set x9 "set g_gametype 5; timelimit 15; map obj/mp_montebattaglia_tow; set nextmap vstr x10"
set x10 "set g_gametype 6; timelimit 15; map lib/mp_tunisia_lib; set nextmap vstr x11"
set x11 "set g_gametype 4; timelimit 15; map obj/obj_team3; set nextmap vstr x12"
set x12 "set g_gametype 3; timelimit 15; map dm/mohdm6; set nextmap vstr x13"
set x13 "set g_gametype 5; timelimit 15; map obj/mp_flughafen_tow; set nextmap vstr x14"
set x14 "set g_gametype 6; timelimit 15; map lib/mp_ship_lib; set nextmap vstr x15"
set x15 "set g_gametype 4; timelimit 15; map obj/obj_team4; set nextmap vstr x16"
set x16 "set g_gametype 3; timelimit 15; map dm/mohdm7; set nextmap vstr x17"
set x17 "set g_gametype 4; timelimit 15; map obj/mp_palermo_obj; set nextmap vstr x18"
set x18 "set g_gametype 3; timelimit 15; map dm/mp_gewitter_dm; set nextmap vstr x19"
set x19 "set g_gametype 1; timelimit 8; map dm/mohdm1; set nextmap vstr x20"
set x20 "set g_gametype 4; timelimit 15; map obj/mp_bologna_obj; set nextmap vstr x21"
set X21 "set g_gametype 2; timelimit 10; map dm/mp_stadt_dm; set nextmap vstr x22"
set x22 "set g_gametype 4; timelimit 15; map obj/mp_castello_obj; set nextmap vstr x23"
set x23 "set g_gametype 1; timelimit 8; map dm/mp_unterseit_dm; set nextmap vstr x24"
set x24 "set g_gametype 4; timelimit 15; map obj/mp_bizertefort_obj; set nextmap vstr x25"
set x25 "set g_gametype 2; timelimit 10; map dm/mp_verschneit_dm; set nextmap vstr x1"
vstr x1

Rabid_Wombat
03-20-2004, 01:30 PM
Thank you all for your input--as usual, this is a great place with a bunch of great people willing to help out. I got it working. In my case I'm fairly certain it's a conflict with Delator. I ran the vstr config for 24 hours rotating maps without a hitch--I started scanning with Delator, and the map rotation got screwed up. I can't explain it. I really like Delator and wish it would work. We run CI, but I also like to run an additional back up program. Any suggestions other than Delator (we already run CI)?

Coolant42
03-20-2004, 01:38 PM
Well what features of the Delator do you like so we can find you a different prog similair to that.

Rabid_Wombat
03-22-2004, 10:39 AM
Coolant42:

Well, the best Delator feature I like is the ability to make pk3 files for messaging that run independently 24/7 on the server. I know no other mod that has that particular function. Most other mods need to be actually running and scanning the server to post timed messages (I could be wrong). I do not want to have to be scanning the server 24/7 with any program to have my timed/scheduled messages come up. The Delator interface is nice and the program is simple to configure and update. The anti-cheat features work well too, although I do not know if they are the best out there--but it works for us. I'm not running Delator 3.0 beta, though, I'm running 2.0 because 3.0 is buggy as all Hell and it appears that the developer (yochoylamuerte) has pretty much given up on it. I did like the text messaging placement in 3.0 at the bottom of the screen, but I think too many people were distracted by it (duh--apparently some players have a fragile attention span).

R_W :x

Daj
04-12-2004, 04:53 PM
I put a ';' at the end of each lines and I have no problem with vstr commands in Spearhead...

I am installing Delator on a BT server tonight and will post results

GaSplat
04-12-2004, 05:29 PM
I have heard other reports of Delator not playing nice with vstr map rotations. Makes no sense to me why, but there you have it.