PDA

View Full Version : Server Rotation string length


sphinx175
10-31-2003, 11:07 AM
FYI,
It appears the sv_Rotation string has a finite length

set sv_mapRotation "gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot gametype sd map mp_harbor gametype sd map mp_hurtgen gametype sd map mp_pavlov gametype sd map mp_powcamp gametype sd map mp_railyard gametype sd map mp_rocket gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_harbor gametype tdm map gametype tdm mp_hurtgen gametype tdm map gametype tdm mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_ship gametype tdm map mp_chateau gametype re map mp_brecourt gametype re map mp_carentan gametype re map mp_dawnville gametype re map mp_depot gametype re map mp_harbor gametype re map map_hurtgen gametype re map mp_pavlov gametype re map mp_powcamp gametype re map mp_railyard gametype re map mp_rocket gametype re map mp_ship gametype re map mp_chateau gametype bel map mp_brecourt gametype bel map mp_care

is all I can fit into it and the rest of the maps.cfg I have appears to be cut off in teh server console:

ntan gametype bel map mp_dawnville gametype bel map mp_depot gametype bel map mp_harbor gametype bel map mp_hurtgen gametype bel map mp_pavlov gametype bel map mp_powcamp gametype bel map mp_railyard gametype bel map mp_rocket gametype bel map mp_ship gametype bel map mp_chateau"

that's the rest of it.

imported_IW-Inherent
10-31-2003, 04:30 PM
I believe you only need to set the gametype once until you want to change it again. That would give you some more room.

Hammer
10-31-2003, 09:31 PM
Well MoHAA had a 1K limit on cvars, which made it real painful to do certain things (like the map rotation I had in Hammer's Goodies). I guess CoD also grokes at 1K. IW, any chance that can be increasec to 4K?

imported_IW-Inherent
10-31-2003, 10:08 PM
I'll see about getting that changed for the patch.

Hammer
10-31-2003, 10:20 PM
One thing that would help would be putting in the append command, which allows appending to cvars. Also alias would be nice to have since it allows admin to create complex commands so that even the most naive support admin can perform them. Yep, we all have many of those in our clans. :cry: