AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Need Help With Plugin Console Error (https://forums.alliedmods.net/showthread.php?t=332722)

TigerXN 05-28-2021 18:19

Need Help With Plugin Console Error
 
I'm trying to run the BOTS plugins from https://github.com/manicogaming/CSGOBetterBots, and I keep getting this error message in sourcemod logs when I start the server.

L 05/28/2021 - 15:13:43: Error log file session closed.
L 05/28/2021 - 15:13:48: SourceMod error session started
L 05/28/2021 - 15:13:48: Info (map "de_mirage") (file "D:\server\csgo\addons\sourcemod\logs\errors_ 20210528.log")
L 05/28/2021 - 15:13:48: [SM] Exception reported: Invalid Handle 0
L 05/28/2021 - 15:13:48: [SM] Blaming: bot_stuff.smx
L 05/28/2021 - 15:13:48: [SM] Call stack trace:
L 05/28/2021 - 15:13:48: [SM] [0] DynamicDetour.Enable
L 05/28/2021 - 15:13:48: [SM] [1] Line 5965, bot_stuff.sp::LoadDetours
L 05/28/2021 - 15:13:48: [SM] [2] Line 130, bot_stuff.sp::OnPluginStart
L 05/28/2021 - 15:13:48: [SM] Unable to load plugin "bot_stuff.smx": Error detected in plugin startup (see error logs)

I don't know enough about Sourcemod/plugins to understand the error, so any insight/suggestions would be great.

jugule 05-28-2021 18:44

Re: Need Help With Plugin Console Error
 
Quote:

Originally Posted by TigerXN (Post 2748110)
I'm trying to run the BOTS plugins from https://github.com/manicogaming/CSGOBetterBots, and I keep getting this error message in sourcemod logs when I start the server.

L 05/28/2021 - 15:13:43: Error log file session closed.
L 05/28/2021 - 15:13:48: SourceMod error session started
L 05/28/2021 - 15:13:48: Info (map "de_mirage") (file "D:\server\csgo\addons\sourcemod\logs\errors_ 20210528.log")
L 05/28/2021 - 15:13:48: [SM] Exception reported: Invalid Handle 0
L 05/28/2021 - 15:13:48: [SM] Blaming: bot_stuff.smx
L 05/28/2021 - 15:13:48: [SM] Call stack trace:
L 05/28/2021 - 15:13:48: [SM] [0] DynamicDetour.Enable
L 05/28/2021 - 15:13:48: [SM] [1] Line 5965, bot_stuff.sp::LoadDetours
L 05/28/2021 - 15:13:48: [SM] [2] Line 130, bot_stuff.sp::OnPluginStart
L 05/28/2021 - 15:13:48: [SM] Unable to load plugin "bot_stuff.smx": Error detected in plugin startup (see error logs)

I don't know enough about Sourcemod/plugins to understand the error, so any insight/suggestions would be great.

Install this: (dhooks with detour support)
https://forums.alliedmods.net/showpo...&postcount=589

TigerXN 05-28-2021 18:46

Re: Need Help With Plugin Console Error
 
Quote:

Originally Posted by jugule (Post 2748113)
Install this: (dhooks with detour support)
https://forums.alliedmods.net/showpo...&postcount=589

I do have it installed, but then I get this error message

L 05/28/2021 - 15:45:22: [SM] Exception reported: Failed to get CreateInterface
L 05/28/2021 - 15:45:22: [SM] Blaming: dhooks-test.smx
L 05/28/2021 - 15:45:22: [SM] Call stack trace:
L 05/28/2021 - 15:45:22: [SM] [0] SetFailState
L 05/28/2021 - 15:45:22: [SM] [1] Line 100, D:\server\csgo\addons\sourcemod\scripting\dho oks-test.sp::OnPluginStart
L 05/28/2021 - 15:45:22: [SM] Unable to load plugin "dhooks-test.smx": Error detected in plugin startup (see error logs)

jugule 05-28-2021 18:48

Re: Need Help With Plugin Console Error
 
Quote:

Originally Posted by TigerXN (Post 2748114)
I do have it installed, but then I get this error message

L 05/28/2021 - 15:45:22: [SM] Exception reported: Failed to get CreateInterface
L 05/28/2021 - 15:45:22: [SM] Blaming: dhooks-test.smx
L 05/28/2021 - 15:45:22: [SM] Call stack trace:
L 05/28/2021 - 15:45:22: [SM] [0] SetFailState
L 05/28/2021 - 15:45:22: [SM] [1] Line 100, D:\server\csgo\addons\sourcemod\scripting\dho oks-test.sp::OnPluginStart
L 05/28/2021 - 15:45:22: [SM] Unable to load plugin "dhooks-test.smx": Error detected in plugin startup (see error logs)

delete dhooks-test.smx from plugins
and

show your sm exts list output here

TigerXN 05-28-2021 18:49

Re: Need Help With Plugin Console Error
 
[SM] Displaying 13 extensions:
[01] Automatic Updater (1.11.0.6691): Updates SourceMod gamedata files
[02] Webternet (1.11.0.6691): Extension for interacting with URLs
[03] CS Tools (1.11.0.6691): CS extended functionality
[04] BinTools (1.11.0.6691): Low-level C/C++ Calling API
[05] SDK Tools (1.11.0.6691): Source SDK Tools
[06] Top Menus (1.11.0.6691): Creates sorted nested menus
[07] DHooks (2.2.0-detours16): Dynamic Hooks
[08] SDK Hooks (1.11.0.6691): Source SDK Hooks
[09] PTaH (1.1.3): Additional CS:GO Hooks and Natives
[10] Client Preferences (1.11.0.6691): Saves client preference settings
[11] SQLite (1.11.0.6691): SQLite Driver
[12] REST in Pawn (1.2.1): Provides HTTP and JSON natives for plugins
[13] GeoIP (1.11.0.6691): Geographical IP information

jugule 05-28-2021 18:56

Re: Need Help With Plugin Console Error
 
It's ok, all you have to do is delete the plugin I specified above.
Check for errors from the bot plugin.

TigerXN 05-28-2021 18:57

Re: Need Help With Plugin Console Error
 
Still the same error :/

L 05/28/2021 - 15:57:22: [SM] Exception reported: Invalid Handle 0
L 05/28/2021 - 15:57:22: [SM] Blaming: bot_stuff.smx
L 05/28/2021 - 15:57:22: [SM] Call stack trace:
L 05/28/2021 - 15:57:22: [SM] [0] DynamicDetour.Enable
L 05/28/2021 - 15:57:22: [SM] [1] Line 5965, bot_stuff.sp::LoadDetours
L 05/28/2021 - 15:57:22: [SM] [2] Line 130, bot_stuff.sp::OnPluginStart
L 05/28/2021 - 15:57:22: [SM] Unable to load plugin "bot_stuff.smx": Error detected in plugin startup (see error logs)

jugule 05-28-2021 19:05

Re: Need Help With Plugin Console Error
 
Quote:

Originally Posted by TigerXN (Post 2748120)
Still the same error :/

L 05/28/2021 - 15:57:22: [SM] Exception reported: Invalid Handle 0
L 05/28/2021 - 15:57:22: [SM] Blaming: bot_stuff.smx
L 05/28/2021 - 15:57:22: [SM] Call stack trace:
L 05/28/2021 - 15:57:22: [SM] [0] DynamicDetour.Enable
L 05/28/2021 - 15:57:22: [SM] [1] Line 5965, bot_stuff.sp::LoadDetours
L 05/28/2021 - 15:57:22: [SM] [2] Line 130, bot_stuff.sp::OnPluginStart
L 05/28/2021 - 15:57:22: [SM] Unable to load plugin "bot_stuff.smx": Error detected in plugin startup (see error logs)

the error comes from
if(!hBotPickNewAimSpotDetour.Enable(Hook_Post , CCSBot_PickNewAimSpot)) [line 5965]

i don't have idea ..
you uploaded gamedata?
open a issue on github on this plugin

TigerXN 05-28-2021 19:08

Re: Need Help With Plugin Console Error
 
Yeah, I'm waiting for a response on github


All times are GMT -4. The time now is 12:59.

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