Raised This Month: $ Target: $400
 0% 

Missing { in file addons/sourcemod/configs/core.cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Unrealas
New Member
Join Date: Jun 2010
Old 06-25-2010 , 10:50   Missing { in file addons/sourcemod/configs/core.cfg
Reply With Quote #1

Hi I have error.
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/core.cfg

and

1/ - player: UTIL_SetModel: not precached: models/player/zh/zh_charple001.mdl
1/ - player: UTIL_SetModel: not precached: models/player/zh/zh_charple001.mdl

I want know how to fix. help me.
Unrealas is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 06-25-2010 , 10:52   Re: Release: Zombie:Reloaded Beta 2
Reply With Quote #2

I do not know what fixes the core.cfg thing perhaps the latest patch?

As for the models, have you checked that they exist at that file location?
__________________
zeroibis is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 06-25-2010 , 14:33   Re: Release: Zombie:Reloaded Beta 2
Reply With Quote #3

It runs fine for a while but it complains about a missing { in core.cfg saying loadfrombuffer: missing { in file addons\sourcemod\configs\core.cfg
but here is the file:
Code:
/**
 * This file is used to set various options that are important to SourceMod's core.
 * If this file is missing or an option in this file is missing, then the default values will be used.
 */
"Core"
{
    /**
     * This option determines if SourceMod logging is enabled.
     *
     * "on"        - Logging is enabled (default)
     * "off"    - Logging is disabled
     */
    "Logging"        "on"
    
    /**
     * This option determines how SourceMod logging should be handled.
     *
     * "daily"    - New log file is created for each day (default)
     * "map"    - New log file is created for each map change
     * "game"    - Use game's log files
     */
    "LogMode"        "daily"
    
    /**
     * Language that multilingual enabled plugins and extensions will use to print messages.
     * Only languages listed in languages.cfg are valid.
     *
     * The default value is "en"
     */
    "ServerLang"    "en"
    
    /**
     * String to use as the public chat trigger.  Set an empty string to disable.
     */
    "PublicChatTrigger"        "!"
    
    /**
     * String to use as the silent chat trigger.  Set an empty string to disable.
     */
    "SilentChatTrigger"        "/"
    
    /**
     * If a say command is a silent chat trigger, and is used by an admin, 
     * but it does not evaluate to an actual command, it will be displayed 
     * publicly.  This setting allows you to suppress accidental typings.
     *
     * The default value is "no".  A value of "yes" will supress.
     */
    "SilentFailSuppress"    "no"
    
    /**
     * Password setinfo key that clients must set.  You must change this in order for
     * passwords to work, for security reasons.
     */
    "PassInfoVar"            "_password"
    
    /**
     * Specifies the sound that gets played when an item is selected from a menu.
     */
    "MenuItemSound"            "buttons/button14.wav"

    /**
     * Specifies the sound that gets played when an "Exit" button is selected 
     * from a menu.
     */
    "MenuExitSound"            "buttons/combine_button7.wav"
    
    /**
     * Specifies the sound that gets played when an "Exit Back" button is selected 
     * from a menu.  This is the special "Back" button that is intended to roll back
     * to a previous menu.
     */
    "MenuExitBackSound"        "buttons/combine_button7.wav"

    /**
     * Enables or disables whether SourceMod reads a client's cl_language cvar to set 
     * their language for server-side phrase translation.
     *
     * "on"        - Translate using the client's language (default)
     * "off"    - Translate using default server's language
     */
    "AllowClLanguageVar"        "On"

    /**
     * Enables or Disables SourceMod's automatic gamedata updating.
     *
     * The default value is "no". A value of "yes" will block the Auto Updater.
     */
    "DisableAutoUpdate"            "no"

    /**
     * If set to yes, a successful gamedata update will attempt to restart SourceMod.
     * SourceMod is unloaded and reloaded, and the map is changed to the current map.
     * Since gamedata updates occur when the server loads, impact should be minimal.
     * But to be safe, this option is disabled by default.
     */
    "ForceRestartAfterUpdate"    "no"

    /**
     * URL to use for retrieving update information.
     * SSL is not yet supported.
     */
    "AutoUpdateURL"                "http://update.sourcemod.net/update/"

    /**
     * Whether to show debug spew.  
     * Currently this will log details about the gamedata updating process.
     */
    "DebugSpew"                    "no"
}
no errors in the log folder.

then it crashes after a while with this dump:
Attached Files
File Type: mdmp srcds_806292_assert_2010_6_25T18_31_15C0.mdmp (34.8 KB, 370 views)
__________________

Last edited by zeroibis; 06-25-2010 at 14:36.
zeroibis is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 06-25-2010 , 14:51   Re: Release: Zombie:Reloaded Beta 2
Reply With Quote #4

Quote:
Originally Posted by zeroibis View Post
It runs fine for a while but it complains about a missing { in core.cfg saying loadfrombuffer: missing { in file addons\sourcemod\configs\core.cfg
I'm getting this issue as well.
GoD-Tony is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 06-25-2010 , 17:05   Re: Release: Zombie:Reloaded Beta 2
Reply With Quote #5

If you remove the comments from the top of core.cfg it goes away. It is an sm bug btw.
__________________
zeroibis is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-28-2010 , 06:33   Re: Missing { in file addons/sourcemod/configs/core.cfg
Reply With Quote #6

Just an update. This is not a SM bug. ZR tries to read this file, but the keyvalue parser don't like multiline comments.
__________________
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 15:53.


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