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

[csgo] cvars doesn't work?!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ASKER_CZ
BANNED
Join Date: Nov 2016
Old 07-30-2017 , 18:56   [csgo] cvars doesn't work?!
Reply With Quote #1

Hello, i have big problem with cvars. It's been like this for long time, but finally now i've decided to ask you guys what can i do with this.

My server.cfg :
PHP Code:
smac_aimbot_ban "4"
smac_aimbot_ban 4 
My autoexec.cfg
PHP Code:
smac_aimbot_ban 4
smac_aimbot_ban 
"4" 
my smac.cfg
PHP Code:
// This file was auto-generated by SourceMod (v1.8.0.5970)
// ConVars for plugin "smac.smx"


// [smac_aimbot.smx] Number of aimbot detections before a player is banned. Minimum allowed is 4. (0 = Never ban)
// -
// Default: "0"
// Minimum: "0.000000"
smac_aimbot_ban "4"

// The duration in minutes used for automatic bans. (0 = Permanent)
// -
// Default: "0"
// Minimum: "0.000000"
smac_ban_duration "0"

// [smac_eyetest.smx] Automatically ban players on eye test detections.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
smac_eyetest_ban "1"

// [smac_eyetest.smx] Enable compatibility mode with third-party plugins. This will disable some detection methods.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
smac_eyetest_compat "1"

// Include extra information about a client being logged.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
smac_log_verbose "0"

// Display a message saying that your server is protected.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
smac_welcomemsg "0" 
But when i write smac_aimbot_ban to console, i see this

PHP Code:
"smac_aimbot_ban" "0" def"4" min0.000000 - [smac_aimbot.smxNumber of aimbot detections before a player is bannedMinimum 
Can anybody help me please? It really annoys me

Last edited by ASKER_CZ; 07-30-2017 at 19:20.
ASKER_CZ is offline
servers.csgo.cfg
BANNED
Join Date: Sep 2016
Old 07-31-2017 , 01:39   Re: [csgo] cvars doesn't work?!
Reply With Quote #2

maybe

sm_cvar smac_aimbot_ban "4"
servers.csgo.cfg is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-31-2017 , 17:31   Re: [csgo] cvars doesn't work?!
Reply With Quote #3

These settings dont belong anywhere besides the smac config file.

mp_ and other non sv_ settings dont belong in server.cfg or autoexec.cfg.

Read this.

Your issue is config execution order. You putting settings in configs that execute early in the chain. Later configs then execute overriding your settings.

host stuff and your gslt key belongs in autoexec.

sv_ stuff belongs in server.cfg

mp stuff belongs in cfg/gamemode_xxxx_server.cfg
__________________
Neuro Toxin is offline
servers.csgo.cfg
BANNED
Join Date: Sep 2016
Old 08-01-2017 , 16:09   Re: [csgo] cvars doesn't work?!
Reply With Quote #4

ASKER_CZ
write working
or
not

servers.csgo.cfg 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:44.


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