Raised This Month: $51 Target: $400
 12% 

net_maxcleartime not auto changing unless command entered in console


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
utaker
Senior Member
Join Date: Dec 2013
Old 10-15-2016 , 07:28   net_maxcleartime not auto changing unless command entered in console
Reply With Quote #1

I've following in autoexec.cfg

net_splitrate 2
sm_cvar net_maxcleartime 0.001

net_splitrate command works fine and value changes to 2
sm_cvar net_maxcleartime is not changed after server is started and stays at 4 even though it is present in autoexec.cfg as 0.001, and i have to manually enter in server console sm_cvar net_maxcleartime 0.001 to have it changed and then it changes from console

How to fix it so it auto changes?
Since net_splitrate change so no issue with autoexec i guess. same result with SERVER.CFG

Last edited by utaker; 10-15-2016 at 12:52. Reason: added more detail and same result for server.cfg
utaker is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-15-2016 , 08:42   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #2

Why not server.cfg ?
__________________
Do not Private Message @me
Bacardi is offline
utaker
Senior Member
Join Date: Dec 2013
Old 10-15-2016 , 12:49   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
Why not server.cfg ?
same result with server.cfg
both autoexec and server.cfg give me same result for it, what to do?
utaker is offline
Husker
Member
Join Date: Feb 2016
Location: Earth
Old 10-15-2016 , 13:37   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #4

Try putting the cvar in /csgo/cfg/sourcemod/sourcemod.cfg, this is executed later on as well as on map change so it might help.
Husker is offline
utaker
Senior Member
Join Date: Dec 2013
Old 11-07-2016 , 14:08   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #5

Quote:
Originally Posted by Husker View Post
Try putting the cvar in /csgo/cfg/sourcemod/sourcemod.cfg, this is executed later on as well as on map change so it might help.
thanks, it works
utaker is offline
MFS
AlliedModders Donor
Join Date: Dec 2010
Old 11-08-2016 , 06:17   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #6

That is useful in those variables?
MFS is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 11-08-2016 , 17:21   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #7

I would avoid putting these types of cvars into the sourcemod config.

This does demonstrate that you have a config executing between server.cfg and sourcemod.cfg that is resetting the value.
__________________
Neuro Toxin is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 11-08-2016 , 18:22   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #8

Quote:
Originally Posted by Neuro Toxin View Post
I would avoid putting these types of cvars into the sourcemod config.

This does demonstrate that you have a config executing between server.cfg and sourcemod.cfg that is resetting the value.
I actually checked my servers and I had the same problems. And I dont have the cvar in any other config. For some reason does not get set unless I also have it in sourcemod.cfg. But its kinda weird because on some servers it was set correctly but on others not.

But what exactly would be harmful by adding it in sourcemod.cfg?

Last edited by Ejziponken; 11-08-2016 at 18:22.
Ejziponken is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 11-08-2016 , 20:51   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #9

Its not harmful.

But say u edit a setting that is in gamemode_casual.cfg and its in sourcemod.cfg you start yhe same issue as per this thread.
__________________
Neuro Toxin is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 11-09-2016 , 13:11   Re: net_maxcleartime not auto changing unless command entered in console
Reply With Quote #10

Quote:
Originally Posted by Neuro Toxin View Post
Its not harmful.

But say u edit a setting that is in gamemode_casual.cfg and its in sourcemod.cfg you start yhe same issue as per this thread.
Well yeah obviously you would have the command only in sourcemod.cfg xD
Ejziponken 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 07:52.


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