sv_visiblemaxplayers not working in server.cfg
Hello guys, for some reason the cvar sv_visiblemaxplayers refuses to work in my server config. I even tried putting it in autoexec.cfg to no avail. However if I execute the cvar in the console, it work fine. Any help would be appreciated.
Thanks for reading. |
Re: sv_visiblemaxplayers not working in server.cfg
reserved slots present?
|
Re: sv_visiblemaxplayers not working in server.cfg
Not at all.
|
Re: sv_visiblemaxplayers not working in server.cfg
Something must be overwriting it. Check your configs once again. Autoexec is one of the very first executed, so putting cvar there isn't a solution.
|
Re: sv_visiblemaxplayers not working in server.cfg
If you're desperate, you can write a plugin that turns on this cvar 5 seconds after the map is loaded.
I have to do this in order to enable the hidden endless MvM mode since putting the cvars in any of the configs doesn't work. |
Re: sv_visiblemaxplayers not working in server.cfg
If possible, would you share the mentioned plugin? That would be swell, appreciate it.
|
Re: sv_visiblemaxplayers not working in server.cfg
PHP Code:
|
Re: sv_visiblemaxplayers not working in server.cfg
Thank you very much, I will test it right away.
|
Re: sv_visiblemaxplayers not working in server.cfg
The code compile without trouble, but visiblemaxplayers still remains unchanged for some reason. Thank you for sharing nonetheless.
I checked both server.cfg and autoexec.cfg, nothing is overriding the cvar unless there's a stock config I'm unaware of. |
Re: sv_visiblemaxplayers not working in server.cfg
Did that print statement get printed on the server console? If not, then the plugin didn't run properly.
If it did, uncomment the ServerCommand() part and try again. |
Re: sv_visiblemaxplayers not working in server.cfg
Quote:
Try to rename addons folder and restart server. If something in MMS or SM is changeing the Var you will know for sure, if it is unchanged after renaming. If it still changes without MMS and SM enabled the "changer" is in cfg folder somewhere Enable Addons back and try to change maxplayers "on the fly" via sm_recon and see what happens (errorlogs consoleoutput etc) Disable all Plugins and enable each one after changing sv_visiblemaxplayers. If it gets overwritten by a plugin this is the way to find it. You can spare Stockplugins from SM btw Had something similar with a bots plugin a few years ago, was very frustrating to find that. Good Luck |
Re: sv_visiblemaxplayers not working in server.cfg
It's something with this new update. All my 32 slot servers that I was using the hltv slot for a hidden 33rd slot are now only showing 31 slots. I can use sv_visiblemaxplayers to set it back to 32 but it just changes back a few seconds later.
|
Re: sv_visiblemaxplayers not working in server.cfg
PHP Code:
PHP Code:
|
Re: sv_visiblemaxplayers not working in server.cfg
Quote:
Code:
sv_visiblemaxplayersJust set Code:
+maxplayersCode:
amx_hideslotsCode:
+maxplayersRemeber: You only need one additional Slot! If +maxplayers and sv_visiblemaxplayers differ, you will see the +maxplayer-Value - so you should just remove ANY sv_visiblemaxplayers-Setting in your configs and restart the hlds-process. |
| All times are GMT -4. The time now is 10:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.