Raised This Month: $ Target: $400
 0% 

Maps changing server cvars


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nairdaa
Member
Join Date: Nov 2012
Old 03-03-2013 , 04:23   Maps changing server cvars
Reply With Quote #1

Hello,

I'm hosting a bunnyhop server and some of the maps unfortunately change my server cvars (ex. bhop_sahara_hard forces sv_airaccelerate to 150).

How can I fix this, so that any map never touch my settings? Or how do I make the changed settings override back with my default server.cfg?

Thanks in advance.
Nairdaa is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-03-2013 , 04:38   Re: Maps changing server cvars
Reply With Quote #2

Using MM:S plugin Stripper.
Remove that point_servercommand or edit those commands.

Or try first map config. Add cvar there with value.
...cstrike/maps/cfg/bhop_sahara_hard.cfg
__________________
Do not Private Message @me
Bacardi is offline
Nairdaa
Member
Join Date: Nov 2012
Old 03-03-2013 , 04:43   Re: Maps changing server cvars
Reply With Quote #3

Haha, this was so easy to do I can't believe it. I use stripper on a daily basis to add spawnpoints on certain maps.


Quote:
filter:
{
"classname" "point_servercommand"
}
is what did the trick.

I have no idea why I didn't think about it before. Thank you very much bro!
Nairdaa is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-03-2013 , 04:44   Re: Maps changing server cvars
Reply With Quote #4

Good
__________________
Do not Private Message @me
Bacardi is offline
Jargon
SourceMod Donor
Join Date: Jun 2012
Location: Sydney, Australia
Old 03-03-2013 , 05:25   Re: Maps changing server cvars
Reply With Quote #5

If this is a CS:GO server you can also use Valve's nifty new cvar whitelist for maps called bspconvar_whitelist.txt.
Jargon is offline
Reply



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


All times are GMT -4. The time now is 02:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode