Hey all,
An error is triggering off my admin.cfg file and I'm not really sure why.
Here's my admin.cfg file copied out with Number Lines added for clarity
Code:
1
2 /**
3 * USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES.
4 *
5 * Each admin should have its own "Admin" section, followed by a name.
6 * The name does not have to be unique.
7 *
8 * Available properties: (Anything else is filtered as custom)
9 * "auth" - REQUIRED - Auth method to use. Built-in methods are:
10 * "steam" - Steam based authentication
11 * "name" - Name based authentication
12 * "ip" - IP based authentication
13 * Anything else is treated as custom.
14 * Note: Only one auth method is allowed per entry.
15 *
16 * "identity" - REQUIRED - Identification string, for example, a steamid or name.
17 * Note: Only one identity is allowed per entry.
18 *
19 * "password" - Optional password to require.
20 * "group" - Adds one group to the user's group table.
21 * "flags" - Adds one or more flags to the user's permissions.
22 * "immunity" - Sets the user's immunity level (0 = no immunity).
23 * Immunity can be any value. Admins with higher
24 * values cannot be targetted. See sm_immunity_mode
25 * to tweak the rules. Default value is 0.
26 *
27 * Example:
28 "BAILOPAN"
29 {
30 "auth" "steam"
31 "identity" "STEAM_0:1:16"
32 "flags" "abcdef"
33 }
24 *
35 */
36 Admins
37
38 "dacomb"
39 {
40 "auth" "steam"
41 "identity" "STEAM_0:1:xxxxxxx"
42 "flags" "z"
43 "immunity" "5"
44 }
45
46 "Bad Taste"
47 {
48 "auth" "steam"
49 "identity" "STEAM_0:0:xxxxxx"
50 "flags" "z"
51 "immunity" "5"
52 }
53
54 "Nippaa Uguu"
55 {
56 "auth" "steam"
57 "identity" "STEAM_0:1:xxxxxxxx"
58 "flags" "z"
59 "immunity" "5"
60 }
61
62 "seeyouNextTuesday"
63 {
64 "auth" "steam"
65 "identity" "STEAM_0:0:xxxxxxx"
66 "flags" "cde"
67 "immunity" "0"
68
69 }
And here's the error I've been getting for a while now.
Code:
L 12/18/2009 - 02:46:15: SourceMod error session started
L 12/18/2009 - 02:46:15: Info (map "l4d_airport01_greenhouse") (file "errors_20091218.log")
L 12/18/2009 - 02:46:15: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins.cfg
L 12/18/2009 - 02:46:15: [admin-flatfile.smx] (line 38) A property was declared outside of a section
L 12/18/2009 - 12:04:05: Error log file session closed.
L 12/18/2009 - 12:04:41: SourceMod error session started
L 12/18/2009 - 12:04:41: Info (map "l4d_airport01_greenhouse") (file "errors_20091218.log")
L 12/18/2009 - 12:04:41: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins.cfg
L 12/18/2009 - 12:04:41: [admin-flatfile.smx] (line 38) A property was declared outside of a section
As far as I can tell I inserted the admins correctly. I actually just copy and pasted the example and edited as necessary.
It doesn't seem to keep me from being able to do anything but I'd rather correct the problem if it is one...
Thanks!