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

adminmenu_custom.txt issues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
derptestt
Senior Member
Join Date: Jul 2015
Old 07-24-2015 , 02:31   adminmenu_custom.txt issues
Reply With Quote #1

The following plugins that I think might be causing this problem:
1. kztimer
2. sourcebans (forked version)

Whenever I try to use adminmenu_custom.txt for any command whatsoever, even just one line of code, it breaks the admin menu on the server. It will only show Bans, and then 1 option. It won't even let me access any of the menu. I think sourcebans is overriding something in the admin menu, and it glitches when I try to add something to the menu. Any ideas?
derptestt is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 07-24-2015 , 17:18   Re: adminmenu_custom.txt issues
Reply With Quote #2

you did not post your full adminmenu_custom.txt -- I can only suggest a bracket mismatch, or if you think those plugins are at fault unload them and test.
hamilton5 is offline
derptestt
Senior Member
Join Date: Jul 2015
Old 07-25-2015 , 00:45   Re: adminmenu_custom.txt issues
Reply With Quote #3

I tried everything, ended up using the exact example files from the adminmenu_custom wiki, and it still didn't work. I'm 100% positive there are no bracket mismatches. And it did work with sourcebans unloaded, I just want to get around it.
derptestt is offline
derptestt
Senior Member
Join Date: Jul 2015
Old 07-27-2015 , 04:08   Re: adminmenu_custom.txt issues
Reply With Quote #4

here is my adminmenu file:
Code:
"Commands"
{
	"vipcommands"
	{
		"Extend Map (time)"
        {
            "cmd"            "sm_extend_time #1"
            "admin"            "sm_admin"
            "execute"        "server"
            "1"
            {
                "type"         "list"
                "title"        "Extend Current Map:"
                "1"        "10"
                "1."        "10 Minutes"
                "2"        "20"
                "2."        "20 Minutes"
                "3"        "30"                
                "3."        "30 Minutes"
            }
 
        }
	}
}
here is the error message I get in the logs:
L 07/27/2015 - 03:057: [SM] Exception reported: Invalid data pack handle 0 (error 4)
L 07/27/2015 - 03:057: [SM] Blaming plugin: adminmenu.smx
L 07/27/2015 - 03:057: [SM] Call stack trace:
L 07/27/2015 - 03:057: [SM] [0] ResetPack
L 07/27/2015 - 03:057: [SM] [1] Line 254, D:\builds\build-sourcemod-msvc12\windows-1.8\build\plugins\adminmenu/dynamicmenu.sp::BuildDynamicMenu()
L 07/27/2015 - 03:057: [SM] [2] Line 109, D:\builds\build-sourcemod-msvc12\windows-1.8\build\plugins\adminmenu.sp::OnAllPluginsL oaded()
L 07/27/2015 - 03:06:16: [SM] Exception reported: Plugin not runnable
L 07/27/2015 - 03:06:16: [SM] Call stack trace:

AS soon as I add any line of code in teh custom admin menu, I get that error. if I take it off, everything works fine.
derptestt is offline
derptestt
Senior Member
Join Date: Jul 2015
Old 07-27-2015 , 04:15   Re: adminmenu_custom.txt issues
Reply With Quote #5

.....and it turned out that just replacing the adminmenu.smx file fixed the issue. What. the. fuck.
derptestt is offline
Reply



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 18:53.


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