Raised This Month: $ Target: $400
 0% 

SourceMod Overrides Problems


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
slothinab0x
Junior Member
Join Date: Jun 2015
Old 09-21-2016 , 12:45   SourceMod Overrides Problems
Reply With Quote #1

Hi there. I have been having issues with my Overrides since I started my server back up a couple days ago and can't seem to figure them out no matter what I do. I'm trying to block sm_god, sm_noclip and a bunch of other commands to the h,o or m flags and have tried all of them and none seem to change anything, any normal admin can still access these commands without having any of those flags.

Here is my admin_overrides. Any help is greatly appreciated!

overrides
{
"sm_noclip" "h"
"sm_colors" "b"
"mdx_stats" "b"
"sm_balance" "th"
"sm_drug" "sth"
"sm_curse" "rsth"
"sm_god" "z"
"sm_gravity" "h"
"sm_give" "h"
"sm_givecredits" "z"
"sm_play" "z"
"sm_playsnd" "z"
"sm_rcon "h"
"sm_resetrank_all" "z"
"sm_resetplayer" "h"
"sm_restartgame" "z"
"sm_restartround" "z"
"sm_rg" "z"
"sm_rr" "z"
"sm_scramble" "th"
"sm_slap" "rsth"
"sm_votegravity" "h"
"sm_votekick" "h"
"sm_voteban" "h"
"sm_voteburn" "h"
"sm_voteff" "h"
"sm_votemap" "h"
"sm_voteslay" "h"
"sm_give" "h"
}
slothinab0x is offline
ElleVen
AlliedModders Donor
Join Date: May 2016
Location: Italy, Milan
Old 09-21-2016 , 12:49   Re: SourceMod Overrides Problems
Reply With Quote #2

Change it from the sp file...
just do CTRL+F ADMFLAG_FLAGNAME (like for example b is "ADMFLAG_GENERIC")
Also you cant override 2 or 4 flags like "sm_slap" "rsth" you can only 1
__________________
ElleVen is offline
slothinab0x
Junior Member
Join Date: Jun 2015
Old 09-21-2016 , 12:51   Re: SourceMod Overrides Problems
Reply With Quote #3

Quote:
Originally Posted by ElleVen View Post
Change it from the sp file...
just do CTRL+F ADMFLAG_FLAGNAME (like for example b is "ADMFLAG_GENERIC")
Also you cant override 2 or 4 flags like "sm_slap" "rsth" you can only 1
Alright, thanks.

By change it from the sp file do you mean the individual plugins?
slothinab0x is offline
ElleVen
AlliedModders Donor
Join Date: May 2016
Location: Italy, Milan
Old 09-21-2016 , 13:24   Re: SourceMod Overrides Problems
Reply With Quote #4

yes
__________________
ElleVen is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 09-21-2016 , 14:38   Re: SourceMod Overrides Problems
Reply With Quote #5

where quotes?
Quote:
"sm_rcon?? "h"
__________________
Grey83 is offline
slothinab0x
Junior Member
Join Date: Jun 2015
Old 09-21-2016 , 14:47   Re: SourceMod Overrides Problems
Reply With Quote #6

Quote:
Originally Posted by Grey83 View Post
where quotes?
Just fixed that and still having the issues. It's really weird because even if I set the overrides to the z flag, any regular admin can still use the commands :/
slothinab0x is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-21-2016 , 15:12   Re: SourceMod Overrides Problems
Reply With Quote #7

Use server command
sm_dump_admcache

and show ...addons\sourcemod\data\admin_cache_dump.txt

*edit
are you using any other admin system, like sourcebans ?
__________________
Do not Private Message @me

Last edited by Bacardi; 09-21-2016 at 15:12.
Bacardi is offline
slothinab0x
Junior Member
Join Date: Jun 2015
Old 09-21-2016 , 17:00   Re: SourceMod Overrides Problems
Reply With Quote #8

Quote:
Originally Posted by Bacardi View Post
Use server command
sm_dump_admcache

and show ...addons\sourcemod\data\admin_cache_dump.txt

*edit
are you using any other admin system, like sourcebans ?
Yeah I was using Sourcebans, but I figured out the issue, I was using 2 admin menus with the same commands and I guess they were interfering with eachother.
slothinab0x 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 17:59.


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