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

KeyValues Error on valid admin_groups.cfg?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PatPeter
Member
Join Date: Apr 2009
Location: Chicago
Old 06-01-2013 , 10:23   KeyValues Error on valid admin_groups.cfg?
Reply With Quote #1

I receive this error at server startup:

Code:
Connection to Steam servers successful.
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/admin_groups.cfg
Groups, Full Admins, 
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/admin_groups.cfg
Groups, 99, (*Full Admins*), 
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/admin_groups.cfg
(*Groups*), (*99*), (*Full Admins*), 
   VAC secure mode is activated.
But my admin_groups.cfg is vanilla:

I know that the error is coming from my database, but I have never had a group named "Full Admins", nor is it a default group (Root Admin, Server Admin, Administrator, Moderator, Member).
__________________
SourceMod = Linux
EventScripts = Windows
Mani = Mac OS

Last edited by PatPeter; 06-01-2013 at 10:49. Reason: Definitely a database problem & Full Admins does not exist.
PatPeter is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 06-01-2013 , 11:04   Re: KeyValues Error on valid admin_groups.cfg?
Reply With Quote #2

Mind posting the file just for shittles and giggles?
__________________
thetwistedpanda is offline
PatPeter
Member
Join Date: Apr 2009
Location: Chicago
Old 06-15-2013 , 04:48   Re: KeyValues Error on valid admin_groups.cfg?
Reply With Quote #3

PHP Code:
Groups
{
    
/**
     * Allowed properties for a group:
     *
     *   "flags"           - Flag string.
     *   "immunity"        - Immunity level number, or a group name.
     *                         If the group name is a number, prepend it with an 
     *                         '@' symbol similar to admins_simple.ini.  Users 
     *                         will only inherit the level number if it's higher 
     *                         than their current value.
     */
    
"Default"
    
{
        
"immunity"        "1"
    
}
    
    
"Full Admins"
    
{
        
/**
         * You can override commands and command groups here.
         * Specify a command name or group and either "allow" or "deny"
         * Examples:
         *         ":CSDM"            "allow"
         *        "csdm_enable"    "deny"
         */
         
Overrides
         
{
         }
        
"flags"            "abcdefghiz"

        
/* Largish number for lots of in-between values. */
        
"immunity"        "99"
    
}

__________________
SourceMod = Linux
EventScripts = Windows
Mani = Mac OS
PatPeter is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 06-15-2013 , 18:27   Re: KeyValues Error on valid admin_groups.cfg?
Reply With Quote #4

Put that in the file:
PHP Code:
Groups
{

Rytis is offline
PatPeter
Member
Join Date: Apr 2009
Location: Chicago
Old 06-18-2013 , 19:09   Re: KeyValues Error on valid admin_groups.cfg?
Reply With Quote #5

That fixed it but I don't understand why the default admin_groups.cfg was causing an error. It might be related to SourceBans.
__________________
SourceMod = Linux
EventScripts = Windows
Mani = Mac OS
PatPeter is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 06-18-2013 , 21:27   Re: KeyValues Error on valid admin_groups.cfg?
Reply With Quote #6

I don't know
Rytis is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 06-23-2013 , 11:50   Re: KeyValues Error on valid admin_groups.cfg?
Reply With Quote #7

Try removing the comments. Valve's KeyValue parser doesn't like block comments, it only accepts line comments. Though this is not the root cause, it's most likely a plugin trying to read the file using incorrect parser.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
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 21:49.


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