Raised This Month: $32 Target: $400
 8% 

SourceMod Plugin Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 08-12-2011 , 14:37   SourceMod Plugin Error
Reply With Quote #1

What could cause this?

Error log:

Code:
L 08/12/2011 - 20:19:04: SourceMod error session started
L 08/12/2011 - 20:19:04: Info (map "surf_air_arena_v4") (file "errors_20110812.log")
L 08/12/2011 - 20:19:04: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins_simple.ini
L 08/12/2011 - 20:19:04: [admin-flatfile.smx]  (line 39) Failed to bind identity  (method name)
L 08/12/2011 - 20:19:04: [admin-flatfile.smx]  (line 39) Failed to bind identity  (method name)
L 08/12/2011 - 20:19:04: [admin-flatfile.smx]  (line 39) Failed to bind identity  (method name)
admins_simple.ini:
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
//
////////////////////////////////

//----------------------------//

//////- SET ADMIN RIGHTS - /////

// ROOT ADMIN "99:@root"
// ADMIN      "40:@admin"
// SUPER MOD  "30:@supermod"
// MODERATOR  "20:@moderator"
// MEMBER     "10:@member"

///////////////////////////////
//  ROOT ADMINS ---------------
///////////////////////////////

"STEAM_0:1:15179198" "@root" // admin
THX!

Last edited by AeroAcrobat; 03-03-2014 at 08:46.
AeroAcrobat is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-12-2011 , 14:59   Re: SourceMod Plugin Error
Reply With Quote #2

Quote:
Originally Posted by AeroAcrobat View Post
What could cause this?

Error log:

Code:
L 08/12/2011 - 20:19:04: SourceMod error session started
L 08/12/2011 - 20:19:04: Info (map "surf_air_arena_v4") (file "errors_20110812.log")
L 08/12/2011 - 20:19:04: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins_simple.ini
L 08/12/2011 - 20:19:04: [admin-flatfile.smx]  (line 39) Failed to bind identity  (method name)
L 08/12/2011 - 20:19:04: [admin-flatfile.smx]  (line 39) Failed to bind identity  (method name)
L 08/12/2011 - 20:19:04: [admin-flatfile.smx]  (line 39) Failed to bind identity  (method name)
admins_simple.ini:
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
//
////////////////////////////////

//----------------------------//

//////- SET ADMIN RIGHTS - /////

// ROOT ADMIN "99:@root"
// ADMIN      "40:@admin"
// SUPER MOD  "30:@supermod"
// MODERATOR  "20:@moderator"
// MEMBER     "10:@member"

///////////////////////////////
//  ROOT ADMINS ---------------
///////////////////////////////

"STEAM_0:1:15179197" "@root" // M0NkEY K0Ng
THX!
First of all, that "SET ADMIN RIGHTS" section is not present in the stock copy of admins_simple.ini.

Second, if you're missing the root group in admin_groups.ini, you'll get an error... likely the error you're currently getting.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 08-12-2011 , 15:19   Re: SourceMod Plugin Error
Reply With Quote #3

sorry i forgot to post my admin_groups.cfg
Code:
"Groups"
{
    "root"
    {
        "flags"        "abcdefghijklmnz"
        "immunity"        "99"
    }
    "admin"
    {
        "flags"        "abcdefgjk"
        "immunity"        "40"
    }
    "supermod"
    {
        "flags"        "abcdfgjk"
        "immunity"        "30"
    }
    "moderator"
    {
        "flags"        "abcfgj"
        "immunity"        "20"
    }
    "member"
    {
        "flags"        "b"
        "immunity"        "10"
    }
}
I can accsess to admin menu and eveything works fine. I just was wondering what this error could cause.
AeroAcrobat is offline
TheSuggestioner
Member
Join Date: Aug 2011
Location: USA, Connecticut
Old 08-14-2011 , 19:22   Re: SourceMod Plugin Error
Reply With Quote #4

Try replacing "@root" with "99:z"
__________________
Roses are Red
Violets are blue,
Not a big surprise
If a Tank kills you!
TheSuggestioner is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 08-15-2011 , 01:27   Re: SourceMod Plugin Error
Reply With Quote #5

Quote:
Originally Posted by TheSuggestioner View Post
Try replacing "@root" with "99:z"
yes i did this already, thanks anyway.
AeroAcrobat is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-15-2011 , 11:21   Re: SourceMod Plugin Error
Reply With Quote #6

attach that admin_simple.ini file in your post

*edit
what OS ? Game ? SM version ??
Bacardi is offline
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 08-15-2011 , 11:23   Re: SourceMod Plugin Error
Reply With Quote #7

Very nice plugin. Well done
__________________
Pawn ? Useless
Aooka is offline
Reply


Thread Tools
Display Modes

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 19:09.


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