發新話題
打印

咁多位幫我睇睇咩事ok?

[Close]

咁多位幫我睇睇咩事ok?

我更新左passing個個野之後.開到l4d2
但係用唔到SM 1.4 hg2957呢個Sourcemod(佢個網話支援新章節個個野)
我開到l4d2,但係入到場禁enter打!admin無反應
係~打sm_admin都冇反應,點解會咁??係唔係我set錯野??我既configs係咁

唔該幫我睇睇我係咪打錯野thx''
admins.cfg
/**
* USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES.
*
* Each admin should have its own "Admin" section, followed by a name.
* The name does not have to be unique.
*
* Available properties: (Anything else is filtered as custom)
*      "auth"          - REQUIRED - Auth method to use.  Built-in methods are:
*                        "steam"  - Steam based authentication
*                        "name"   - Name based authentication
*                        "ip"    - IP based authentication
*                        Anything else is treated as custom.
*                     Note: Only one auth method is allowed per entry.
*
*      "identity"      - REQUIRED - Identification string, for example, a steamid or name.
*                     Note: Only one identity is allowed per entry.
*
*      "password"      - Optional password to require.
*      "group"         - Adds one group to the user's group table.
*      "flags"         - Adds one or more flags to the user's permissions.
*        "immunity"        - Sets the user's immunity level (0 = no immunity).
*                          Immunity can be any value.  Admins with higher
*                          values cannot be targetted.  See sm_immunity_mode
*                          to tweak the rules.  Default value is 0.
*
* Example:
    "BAILOPAN"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:1:16"
        "flags"            "abcdef"
    }
*
*/
Admins
{
}
"admintest"
{
  "auth"   "Koa!"
  "identity"  "Koa!"
  "flags"   "abcdefghijklmn"
}



admins_simple.ini

//
// 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
//    "6Full 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" "ASSWORD"
//
//  Where KEY is the "assInfoVar" setting in your core.cfg file, and "ASSWORD"
//  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
//
////////////////////////////////
"Koa!" "99:z" "123456789"


core.cfg

/**
* 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"
{
    /**
     * Relative path to SourceMod's base directory. This is relative to the game/mod directory.
     * Only change this if you have installed SourceMod in a non-default location.
     *
     * The default value is "addons/sourcemod"
     */
    "BasePath"        "addons/sourcemod"
   
    /**
     * 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"            "_123456789"
   
    /**
     * 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"

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

TOP

用唔到SM 1.4 hg2957?
咁你即係有冇裝sourcemod =_=?

步骤3:测试安装是否成功
运行srcds.exe
在srcds.exe上的控制台输入: meta version
如提示为下面的信息,则表示安装成功

Metamod:Source version 1.8.0-dev
Build ID: 682:f125dd3ed7d0-dev
Loaded As: Valve Server Plugin
Compiled on: Nov 17 2009
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

做完呢步發現你安裝無問題的話
就可能係你個名既問題
admins.cfg入面個名同你用緊個名有出入

有問題可以再搵我
大家一齊研究研究

TOP

發新話題