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

Overriding commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MEDIK
Junior Member
Join Date: Jul 2010
Old 12-30-2010 , 09:17   Overriding commands
Reply With Quote #1

Having some problems to override 2 commands, not working for some reason.
http://pastebin.com/uMu1XPEj
__________________
MEDIK is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-30-2010 , 15:09   Re: Overriding commands
Reply With Quote #2

You have done right, so try type in your game console only that command, what it will say you ?

How you have add admins and which admins file (admin_simple.ini or admins.cfg) ?
And of course... say if you are using SourceBans
Bacardi is offline
MEDIK
Junior Member
Join Date: Jul 2010
Old 12-31-2010 , 13:27   Re: Overriding commands
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
You have done right, so try type in your game console only that command, what it will say you ?

How you have add admins and which admins file (admin_simple.ini or admins.cfg) ?
And of course... say if you are using SourceBans
1) it said no access
2) admin_simple.ini
3) no
__________________
MEDIK is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-01-2011 , 03:24   Re: Overriding commands
Reply With Quote #4

Quote:
Originally Posted by MEDIK View Post
1) it said no access
2) admin_simple.ini
3) no
Could you show inside that admin_simple.ini ?

anyway, it shoul look almost like this
Code:
//
// READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES
//
// For each admin, you need three settings:
//  "identity"        "permissions"        "password"
//
// For the Identity, you can use a SteamID or Name.  To use an IP address, prepend a ! character.
// For the Permissions, you can use a flag string and an optional password.
//
// PERMISSIONS:
//  Flag definitions are in "admin_levels.cfg"
//  You can combine flags into a string like this:
//  "abcdefgh"
//
//  If you want to specify a group instead of a flag, use an @ symbol.  Example:
//  "@Full Admins"
//
//    You can also specify immunity values.  Two examples:
//    "83:abcdefgh"            //Immunity is 83, flags are abcdefgh
//    "6:@Full Admins"        //Immunity is 6, group is "Full Admins"
//
//    Immunity values can be any number.  An admin cannot target an admin with 
//    a higher access value (see sm_immunity_mode to tweak the rules).  Default 
//  immunity value is 0 (no immunity).
//
// PASSWORDS:
//  Passwords are generally not needed unless you have name-based authentication.
//  In this case, admins must type this in their console:
//
//   setinfo "KEY" "PASSWORD"
//
//  Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD"
//  is their password.  With name based authentication, this must be done before
//  changing names or connecting.  Otherwise, SourceMod will automatically detect
//  the password being set.
//
////////////////////////////////
// Examples: (do not put // in front of real lines, as // means 'comment')
//
//   "STEAM_0:1:16"        "bce"                //generic, kick, unban for this steam ID, no immunity
//   "!127.0.0.1"        "99:z"                //all permissions for this ip, immunity value is 99
//   "BAILOPAN"            "abc"    "Gab3n"        //name BAILOPAN, password "Gab3n": gets reservation, generic, kick
//
////////////////////////////////
"STEAM_0:1:16"        "o"
Bacardi is offline
MEDIK
Junior Member
Join Date: Jul 2010
Old 01-03-2011 , 07:41   Re: Overriding commands
Reply With Quote #5

http://pastebin.com/eUMf7SLF
__________________
MEDIK is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-03-2011 , 09:57   Re: Overriding commands
Reply With Quote #6

That looks right also.
Check and make sure your ...addons/sourcemod/configs/admin_overrides.cfg
is actually have *.cfg extension, not *.cfg.txt


*edit
You will see these errors from sourcemod logs if admin_override.cfg not exist
Code:
L 01/03/2011 - 16:58:05: SourceMod error session started
L 01/03/2011 - 16:58:05: Info (map "cs_office") (file "errors_20110103.log")
L 01/03/2011 - 16:58:05: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admin_overrides.cfg
L 01/03/2011 - 16:58:05: [admin-flatfile.smx]  (line 0) Stream failed to open

Last edited by Bacardi; 01-03-2011 at 10:04.
Bacardi 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 03:31.


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