Raised This Month: $ Target: $400
 0% 

[CSGO] BUG in the sourcemod admin menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-20-2020 , 10:05   [CSGO] BUG in the sourcemod admin menu
Reply With Quote #1

When I type !admin it opens the menu correctly, but it has one of the options that when I click it does not open the plugin menu itself, but the other plugin.

I made some videos showing the problem, option 5 and 6 of the menu all right, but when I click to open option 4 of the menu it opens the 5 again.

Follow the video link:
It would be a limitation of SourceMod even this, because I noticed that when I leave only one plugin activated that adds new option in the admin menu it does not happen, however if I put two plugins, for example, WarMod [BFG] and SwapTeam already starts giving this BUG.

From what I saw if I send all files from the plugins again, correct, but I changed the map the BUG happens again.

Here is some information about the plugins I use:
PHP Code:
sm version
 SourceMod Version Information
:
    
SourceMod Version1.10.0.6492
    SourcePawn Engine
1.10.0.6492jit-x86 (build 1.10.0.6492)
    
SourcePawn APIv1 5v2 12
    Compiled on
Jul 24 2020 20:10:15
    Built from
https://github.com/alliedmodders/sourcemod/commit/250886fe
    
Build ID6492:250886fe
    http
://www.sourcemod.net/ 
PHP Code:
sm plugins list
[
SMListing 36 plugins:
  
01 "Admin File Reader" (1.10.0.6492by AlliedModders LLC
  02 
"Admin Help" (1.10.0.6492by AlliedModders LLC
  03 
"Admin Menu" (1.10.0.6492by AlliedModders LLC
  04 
"Anti-Flood" (1.10.0.6492by AlliedModders LLC
  05 
"Basic Ban Commands" (1.10.0.6492by AlliedModders LLC
  06 
"Basic Chat" (1.10.0.6492by AlliedModders LLC
  07 
"Basic Comm Control" (1.10.0.6492by AlliedModders LLC
  08 
"Basic Commands" (1.10.0.6492by AlliedModders LLC
  09 
"Basic Info Triggers" (1.10.0.6492by AlliedModders LLC
  10 
"Basic Votes" (1.10.0.6492by AlliedModders LLC
  11 
"Client Preferences" (1.10.0.6492by AlliedModders LLC
  12 
"Cronjobs" (2.0by dordnung
  13 
"Fun Commands" (1.10.0.6492by AlliedModders LLC
  14 
"Fun Votes" (1.10.0.6492by AlliedModders LLC
  15 
"Map Decals (Fixed)" (1.4by BerniStingbyteSM9();
  
16 "Nextmap" (1.10.0.6492by AlliedModders LLC
  17 
"Player Commands" (1.10.0.6492by AlliedModders LLC
  18 
"[ANY] Profile Status" (2.3.5by ratawar
  19 
"Reserved Slots" (1.10.0.6492by AlliedModders LLC
  20 
"ServerAdvertisements3" (3.1.4by ESK0
  21 
"Sound Commands" (1.10.0.6492by AlliedModders LLC
  22 
"SwapTeam" (1.2.7by MistaGeeRoguecrashzk
  23 
"Tecnohard GC Level" (1.0.7by abnerfs
  24 
"TecnoHard Chat Tags" (1.7.1by abnerfs
  25 
"[BFG] WarMod | TecnoHard" (20.07.15.1214 4.2.6by Versatile_BFGabnerfscrashzk
  26 
"[VIP] Additional" (1.0.1by Drumanid
  27 
"[VIP] Bhop" (1.0.2by KOROVKA
  28 
"[VIP] Boost Ladder" (3.0.0by diller110 KOROVKA
  29 
"[VIP] COIN" (2.0.1by Pheonix (˙·٠●Феникс●٠·˙) & R1KO, pracc
  
30 "[VIP] GrenadeTrails" (1.0.2by R1KO
  31 
"[VIP] Healthshot" (1.3by R1KO (skypevova.andrienko1featEneanuch
  32 
"[VIP] MKIT" (1.1.3by Pheonix (edit Felya)
  
33 "[VIP] No Fall Damage" (1.0.1by R1KO (skypevova.andrienko1)
  
34 "[VIP] PaintBall" (1.0by FrozDark (HLModders LLC) (rework by SHKIPPERBEAST)
  
35 "[VIP] Tagrenade" (1.1by R1KO (skypevova.andrienko1)
  
36 "[VIP] Core" (3.0.1 Rby R1KO 
HTML Code:
sm exts list
[SM] Displaying 16 extensions:
[01] Automatic Updater (1.10.0.6492): Updates SourceMod gamedata files
[02] Webternet (1.10.0.6492): Extension for interacting with URLs
[03] CS Tools (1.10.0.6492): CS extended functionality
[04] BinTools (1.10.0.6492): Low-level C/C++ Calling API
[05] SDK Tools (1.10.0.6492): Source SDK Tools
[06] Top Menus (1.10.0.6492): Creates sorted nested menus
[07] Client Preferences (1.10.0.6492): Saves client preference settings
[08] SQLite (1.10.0.6492): SQLite Driver
[09] System2 (3.2.1): HTTP/FTP Request and System API for Sourcemod
[10] SteamWorks Extension (1.2.3): Exposes SteamWorks functions to Developers
[11] Regex (1.10.0.6492): Provides regex natives for plugins
[12] GeoIP2 (1.1.2): Geographical IP information
[13] SDK Hooks (1.10.0.6492): Source SDK Hooks
[14] <OPTIONAL> file "smbz2.ext.dll": The specified module was not found.
[15] <OPTIONAL> file "smzip.ext.dll": The specified module was not found.
[16] MySQL-DBI (1.10.0.6492): MySQL driver implementation for DBI
paulo_crash is offline
FAQU
Member
Join Date: Sep 2020
Location: Romania
Old 11-20-2020 , 12:18   Re: [CSGO] BUG in the sourcemod admin menu
Reply With Quote #2

sm plugins unload_all followed by changing the map should do the trick.

Last edited by FAQU; 11-20-2020 at 12:23.
FAQU is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-20-2020 , 13:16   Re: [CSGO] BUG in the sourcemod admin menu
Reply With Quote #3

Quote:
Originally Posted by FAQU View Post
sm plugins unload_all followed by changing the map should do the trick.
Apparently it worked, but if I turn the server off and on again the BUG comes back, then I have to use the command again sm plugins unload_all and change the map.

However, I saw that SourceMod itself executes this command as you can check in the file sm_warmode_on.cfg located in the folder csgo/cfg/sourcemod:
Code:
//This file unloads all plugins, re-loads a few "safe" ones, and then prevents 
//any more plugins from being loaded.
sm plugins unload_all
sm plugins load_unlock
sm plugins load basebans.smx
sm plugins load basecommands.smx
sm plugins load admin-flatfile.smx
sm plugins load adminhelp.smx
sm plugins load adminmenu.smx
sm plugins load_lock

Last edited by paulo_crash; 11-20-2020 at 13:16.
paulo_crash is offline
FAQU
Member
Join Date: Sep 2020
Location: Romania
Old 11-20-2020 , 13:28   Re: [CSGO] BUG in the sourcemod admin menu
Reply With Quote #4

Hmm, interesting.

The reason that I mentioned unloading all plugins was mainly because a while ago I had the exact same bug and this fixed it for me. Unlike in your situation though, the bug never came back after that.

If I had to take a guess, I'd say it has something to do with the order in which the plugins get loaded.
FAQU is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-20-2020 , 13:45   Re: [CSGO] BUG in the sourcemod admin menu
Reply With Quote #5

Quote:
Originally Posted by FAQU View Post
Hmm, interesting.

The reason that I mentioned unloading all plugins was mainly because a while ago I had the exact same bug and this fixed it for me. Unlike in your situation though, the bug never came back after that.

If I had to take a guess, I'd say it has something to do with the order in which the plugins get loaded.
Yes, I thought that too... I will do a little more research, finding some solution posted here.

For me this problem is in the Plugins:
WarMod [BFG] - https://forums.alliedmods.net/showthread.php?t=225474
SwapTeam - https://forums.alliedmods.net/showthread.php?p=859951
VIP Core - https://github.com/R1KO/VIP-Core/


There are moments until the WarMod and VIP Core menus are removed, leaving only the SwapTeam menu as you can see in the print:
Attachment 185108

Last edited by paulo_crash; 08-08-2021 at 15:05.
paulo_crash is offline
pribekerik
AlliedModders Donor
Join Date: Apr 2018
Old 11-24-2020 , 05:31   Re: [CSGO] BUG in the sourcemod admin menu
Reply With Quote #6

Try sm plugins reload adminmenu, add it to server.cfg or delay it after the map loads by a few seconds
pribekerik 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 14:27.


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