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

Can't make myself admin on my own local server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AniLeyo
New Member
Join Date: Sep 2019
Old 09-21-2019 , 07:37   Can't make myself admin on my own local server
Reply With Quote #1

My Admin_simple.cfg
Quote:
//
// 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
//
///////////////////////////////

"STEAM_0:0:94326643" "99:z"
My Admin.cfg
Quote:
/**
* 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
{
"anileyo"
{
"auth" "steam"
"identity" "STEAM_0:0:94326643"
"flags" "z"
}
}
Even when I put my SteamID3 into identity stroke, it regardless of my steamid doesn't allow me to use admin's rights

Last edited by AniLeyo; 09-21-2019 at 07:39.
AniLeyo is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 09-21-2019 , 08:42   Re: Can't make myself admin on my own local server
Reply With Quote #2

1.) Shutdown your server
2.) Restore the default admins_simple.ini and admins.cfg file
3.) Open admin_simple.ini and at the bottom add the line
Code:
"STEAM_0:0:94326643" "99:z" //AniLeyo
now save the file
4.) Start the server and connect
5.) Type !admin
6.) If you get the "You do not have access to this command." message check the latest log file located in sourcemod/logs
7.) Post the content of the log file in this topic

Last edited by TomL.; 09-21-2019 at 08:44.
TomL. is offline
AniLeyo
New Member
Join Date: Sep 2019
Old 09-21-2019 , 09:32   Re: Can't make myself admin on my own local server
Reply With Quote #3

Quote:
L 09/21/2019 - 13:20:21: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 13:20:21: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 13:29:55: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 134:18: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 134:21: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 134:48: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 135:25: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 13:47:46: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 13:47:46: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 13:54:22: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 13:544: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 13:55:14: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 14:01:11: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 14:01:11: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 14:03:27: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 14:03:27: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 14:122: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 14:122: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 14:14:47: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 14:14:47: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 14:19:57: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 14:19:57: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 14:28:21: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 14:28:21: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 145:22: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 14:44:14: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 14:461: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 14:47:17: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
L 09/21/2019 - 16:24:40: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 16:24:40: -------- Mapchange to ctf_2fort --------
L 09/21/2019 - 16:29:06: SourceMod log file session started (file "L20190921.log") (Version "1.9.0.6282")
L 09/21/2019 - 16:29:06: -------- Mapchange to ctf_2fort --------
AniLeyo is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 09-21-2019 , 09:42   Re: Can't make myself admin on my own local server
Reply With Quote #4

Is your server connected to the steam master server?
TomL. is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-25-2019 , 12:25   Re: Can't make myself admin on my own local server
Reply With Quote #5

First check that sourcemod is running.

For some games I have to insert a "-insecure" parameter into launch options to run local servers.
__________________
Marttt is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 09-25-2019 , 14:48   Re: Can't make myself admin on my own local server
Reply With Quote #6

The issue is/was that his server was not connect to the steam master servers and therefore sourcemod could not verify the steamids.
TomL. 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 11:16.


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