SirPlease / L4D2-Competitive-Rework

Just refreshing and optimizing the core files a bit, eh?
GNU General Public License v3.0
244 stars 133 forks source link

SM Admin? #260

Closed Berndinox closed 3 years ago

Berndinox commented 3 years ago

Hej, first of all thanks for keeping this project alive!

I face an issue, where i can not become an admin and have no idea what i could be. No Access Error!!

I followed your server guide, and all is running fine. I can start Zonemode and so on and everything seems to work. However i can not: "/admin" or "!admin" because i do not have permissions.

What i tried:

addons/sourcemod/logs there where no errors, so the config-files i tried (admin.cfg and simple.admin.ini should be fine)

i tried the admins.cfg

Admins
{
"ME"
    {
        "auth"          "steam"
        "identity"      "STEAM_1:0:123456"
        "flags"         "abcdefghiz"
        "immunity"      99
    }
}

i removed it and tried admins_simple.ini:

"STEAM_1:0:123456"      "99:z"
"!MYIP"     "99:z"
"MyInGameNick"              "99:z"

Non of it worked. i also checked:

rcon sm_who shows my nik with no permissions

What else can i try?

EDIT: What is a bit confusing, when doing sm plugins list the output shows until plugin 37 and then is.. "stuck"...?

rcon sm plugins list
[SM] Listing 45 plugins:
  01 "Basic Votes" (1.10.0.6494) by AlliedModders LLC
  02 "Basic Info Triggers" (1.10.0.6494) by AlliedModders LLC
  03 "Basic Chat" (1.10.0.6494) by AlliedModders LLC
  04 "Confogl's Competitive Mod" (2.2.3) by Confogl Team
  05 "Basic Commands" (1.10.0.6494) by AlliedModders LLC
  06 "[L4D & L4D2] Left 4 DHooks Direct" (1.33a) by SilverShot
  07 "Anti-Flood" (1.10.0.6494) by AlliedModders LLC
  08 "Player Commands" (1.10.0.6494) by AlliedModders LLC
  09 "Tickrate Fixes" (1.0) by Sir, Griffin
  10 "[L4D & L4D2] First Map - Skip Intro Cutscenes" (1.4) by SilverShot
  11 "Fix frozen tanks" (2.0) by sheo
  12 "L4D2 Boomer Shenanigans" (1.0) by Sir
  13 "[ANY] Command and ConVar - Buffer Overflow Fixer" (2.4) by SilverShot and Peace-Maker
  14 "L4D2 Jockeyed Survivor Ladder Fix" (1.1) by Visor
  15 "[L4D2] Script Command Swap - Mem Leak Fix" (1.0) by SilverShot (Timocop's idea)
  16 "StopTrolls" (1.0) by raziEiL [disawar1]
  17 "[L4D & L4D2] Vote Poll Fix" (1.3) by raziEiL [disawar1]
  18 "L4D2 Jockey Jump-Cap Patch" (1.2) by Visor
  19 "BeQuiet" (1.33.7) by Sir
  20 "Fix Melee Weapons" (1.1) by Sir
  21 "L4D2 Explosion Damage Prevention" (1.0) by Sir
  22 "L4D2 Shadow Removal" (1.0) by Sir
  23 "L4D2 Jockeyed Charger Fix" (1.3) by Visor
  24 "Fast melee fix" (2.1) by sheo
  25 "[L4D & L4D2] Console Spam Patches" (1.2) by SilverShot
  26 "L4D2 Floating Smoker Target" (1.1) by SilverShot, Sir
  27 "Bot SI skeet/level damage fix" (1.0.1) by Tabun
  28 "sv_consistency fixes" (1.3) by step, Sir
  29 "[L4D2][NIX] FollowTarget_Detour" (1.0) by Dragokas & TheTrick
  30 "L4D2 Lag Compensation Manager" (One) by ProdigySim
  31 "L4D2 No Post-Jockeyed Shoves" (1.0) by Sir
  32 "L4D2 Car Alarm Hittable Fix" (1.1) by Sir
  33 "Admin Help" (1.10.0.6494) by AlliedModders LLC
  34 "Block Pause/Unpause Spam in Console " (1.0) by Sir (Simplified version of Silver's)
  35 "Basic Ban Commands" (1.10.0.6494) by AlliedModders LLC
  36 "Match Vote" (1.1.3) by vintik, Sir
  37 "Client Preferences" (1.10.0.6494) b{F�H�7, y�U<y��ZG�  

the funny part, when i unload plugin 37, i still can just show 37 plugins, its then stuck on:

37 "Admin Menu" (1.10.0.6494) by AlliedkF�X�7, y�U<y� K�

sm version

 SourceMod Version Information:
    SourceMod Version: 1.10.0.6494
    SourcePawn Engine: 1.10.0.6494, jit-x86 (build 1.10.0.6494)
SirPlease commented 3 years ago

I can't think of why there would be an issue with assigning your admin assuming you provided the correct Steam ID and Immunity. Keep in mind that the admin cache needs to be refreshed, so when you've made changes to admin_simple.ini the plugins need to be refreshed first (or sm_reloadadmins through rcon/server console)

For example, mine looks like this: "STEAM_0:1:22306510" "99:z"