Raised This Month: $ Target: $400
 0% 

Smac_cvars help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 03-24-2013 , 23:36   Smac_cvars help
Reply With Quote #1

Hey, i have a friend that wants to enforce some cvars on his server, so i suggested incorporating it into smac_cvars. It doesnt seem to be enforcing the cvar. I added it in the source file and recompiled, installed, and restarted his server. Then i checked if it is enforcing others. The source file has

CVars_AddCVar("mat_dxlevel", COMP_GREATER, ACTION_KICK, "80.0", 0.0, PRIORITY_NORMAL);

So, to check if it's enforcing, we tried mat_dxlevel 75. After playing around in the server for a while, still no enforcement. Any idea what we're missing?

Before someone asks, yes the base SMAC module is installed and active.
ThatOneGuy is offline
SystematicMania
Senior Member
Join Date: Aug 2012
Old 03-24-2013 , 23:42   Re: Smac_cvars help
Reply With Quote #2

It may take a while to iterate through and test the cvars.

Use smac_cvars_status to check its progress.

Quote:
Originally Posted by ThatOneGuy View Post
I added it in the source file and recompiled, installed, and restarted his server.
This is very unnecessary. New cvars can be added and removed with smac_addcvar and smac_removecvar respectively.

More information is available on the wiki.
__________________

Last edited by SystematicMania; 03-24-2013 at 23:45.
SystematicMania 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 08:13.


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