Raised This Month: $23 Target: $400
 5% 

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 10-31-2019 , 07:51   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #711

Further up in your error log there should be the actual error why dhooks failed to load. The errors you posted just tell you that it wasn't loaded, not why.
__________________
Peace-Maker is offline
ipickedtheturtle001
Junior Member
Join Date: Sep 2019
Old 10-31-2019 , 08:00   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #712

Quote:
Originally Posted by Peace-Maker View Post
Further up in your error log there should be the actual error why dhooks failed to load. The errors you posted just tell you that it wasn't loaded, not why.
I just checked the logs again, nothing in there that says why it failed to load.

Code:
L 10/31/2019 - 11:56:43: SourceMod error session started
L 10/31/2019 - 11:56:43: Info (map "de_dust2") (file "/home/gameserver/servers/server2/srcds/cstrike/addons/sourcemod/logs/errors_20191031.log")
L 10/31/2019 - 11:56:43: [SM] Unable to load plugin "voiceannounce_ex.smx": Required extension "dhooks" file("dhooks.ext") not running
L 10/31/2019 - 11:56:43: [SM] Unable to load plugin "mute.smx": Could not find required plugin "voiceannounce_ex"

Last edited by ipickedtheturtle001; 10-31-2019 at 08:03.
ipickedtheturtle001 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 10-31-2019 , 10:48   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #713

What's the output of "sm exts load dhooks"?
__________________
Peace-Maker is offline
ipickedtheturtle001
Junior Member
Join Date: Sep 2019
Old 10-31-2019 , 14:00   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #714

Quote:
Originally Posted by Peace-Maker View Post
What's the output of "sm exts load dhooks"?
Code:
sm exts load dhooks
[SM] Loaded extension dhooks.ext.so successfully.
sm plugins reload dhooks-test
[SM] Plugin dhooks-test.smx failed to reload: Required extension "dhooks" file("dhooks.ext") not running.
[SM] Plugin dhooks-test.smx reloaded successfully.
sm plugins reload voiceannounce_ex
[SM] Plugin voiceannounce_ex.smx failed to reload: Required extension "dhooks" file("dhooks.ext") not running.
[SM] Plugin voiceannounce_ex.smx reloaded successfully.
Still doesn't work. I'm pretty sure its not the gamedata causing it.

Last edited by ipickedtheturtle001; 10-31-2019 at 14:05.
ipickedtheturtle001 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 11-01-2019 , 06:46   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #715

Check "sm exts list" and unload the extension first before trying to load it.
__________________
Peace-Maker is offline
ipickedtheturtle001
Junior Member
Join Date: Sep 2019
Old 11-01-2019 , 12:31   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #716

Quote:
Originally Posted by Peace-Maker View Post
Check "sm exts list" and unload the extension first before trying to load it.
[11] <FAILED> file "dhooks.ext.so": Could not find interface: IBinTools
Code:
sm exts list
[SM] Displaying 16 extensions:
[01] Automatic Updater (1.10.0.6453): Updates SourceMod gamedata files
[02] Webternet (1.10.0.6453): Extension for interacting with URLs
[03] CS Tools (1.10.0.6453): CS extended functionality
[04] BinTools (1.10.0.6453): Low-level C/C++ Calling API
[05] SDK Tools (1.10.0.6453): Source SDK Tools
[06] Top Menus (1.10.0.6453): Creates sorted nested menus
[07] SDK Hooks (1.10.0.6453): Source SDK Hooks
[08] Regex (1.10.0.6453): Provides regex natives for plugins
[09] SteamWorks Extension (1.2.3): Exposes SteamWorks functions to Developers
[10] GeoIP (1.10.0.6453): Geographical IP information
[11] <FAILED> file "dhooks.ext.so": Could not find interface: IBinTools
[12] Client Preferences (1.10.0.6453): Saves client preference settings
[13] SQLite (1.10.0.6453): SQLite Driver
[14] SMJansson (2.3.1/3): JSON parser/writer
[15] GeoIPCity (1.1.2): Geographical IP information
[16] MySQL-DBI (1.10.0.6453): MySQdriver implementation for DBI


sm exts unload dhooks
[SM] Extension number 0 was not found.
sm exts load dhooks
[SM] Loaded extension dhooks.ext.so successfully.
sm exts unload dhooks
[SM] Extension number 0 was not found.
Just a reminder i am using the version v132/v126. (as i said before)

Quote:
Originally Posted by ipickedtheturtle001 View Post
This is not working at all on CS:S Linux servers. tried the detour version, for some reason it works, but causes lags when using this plugin "https://forums.alliedmods.net/showthread.php?p=2177167".

NOTE : even dhooks_test.smx doesn't work on linux (v126 or v132) tested on windows with v126 everything works just fine.

this is the error that i get:

Code:
L 10/30/2019 - 19:45:26: [SM] Unable to load plugin "voiceannounce_ex.smx": Required extension "dhooks" file("dhooks.ext") not running
L 10/30/2019 - 19:45:26: [SM] Unable to load plugin "dhooks_test.smx": Required extension "dhooks" file("dhooks.ext") not running
I appreciate all the help you guys are giving me, i would love to use this on linux, if it can't be solved I'm guessing i ll just switch to windows.

Last edited by ipickedtheturtle001; 11-01-2019 at 12:38.
ipickedtheturtle001 is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 11-01-2019 , 20:51   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #717

You need to unload it by giving it a number
sm exts unload 11

When you do "sm exts load dhooks", if it's already loaded then SM will tell you it loaded successfully (even though it didn't). Which is why you need to unload it properly before loading it again to see the actual error message.
hmmmmm is offline
ipickedtheturtle001
Junior Member
Join Date: Sep 2019
Old 11-01-2019 , 21:13   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #718

Quote:
Originally Posted by hmmmmm View Post
You need to unload it by giving it a number
sm exts unload 11

When you do "sm exts load dhooks", if it's already loaded then SM will tell you it loaded successfully (even though it didn't). Which is why you need to unload it properly before loading it again to see the actual error message.
Code:
sm exts unload 11
[SM] Extension dhooks.ext.so is now unloaded.
sm exts load dhooks
[SM] Loaded extension dhooks.ext.so successfully.
sm exts unload 16
[SM] Extension dhooks.ext.so is now unloaded.
sm exts load dhooks
[SM] Loaded extension dhooks.ext.so successfully.
It doesnt say any other error besides the one in "sm exts list"
[16] <FAILED> file "dhooks.ext.so": Could not find interface: IBinTools

Last edited by ipickedtheturtle001; 11-01-2019 at 21:13.
ipickedtheturtle001 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 11-02-2019 , 09:38   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #719

Please try and search for that error message before asking for help. It's been covered a couple of times in this thread already. You're running SourceMod 1.10+ on your server and try to load an extension compiled for SourceMod 1.9 which requires the backwards incompatible IBinTools interface. You'll have to wait until Drifter puts up a build of DHooks compiled against SourceMod 1.10 or use the fork with detour support, as I've put up binaries for SM 1.10.

The virtual hooks are identical in the fork and the vanilla versions of the extension. So the lag you described would be the same when using the version of DHooks you're trying to load. Are you sure there aren't other problems causing the lag?
__________________
Peace-Maker is offline
ipickedtheturtle001
Junior Member
Join Date: Sep 2019
Old 11-02-2019 , 10:52   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #720

Quote:
Originally Posted by Peace-Maker View Post
Please try and search for that error message before asking for help. It's been covered a couple of times in this thread already. You're running SourceMod 1.10+ on your server and try to load an extension compiled for SourceMod 1.9 which requires the backwards incompatible IBinTools interface. You'll have to wait until Drifter puts up a build of DHooks compiled against SourceMod 1.10 or use the fork with detour support, as I've put up binaries for SM 1.10.

The virtual hooks are identical in the fork and the vanilla versions of the extension. So the lag you described would be the same when using the version of DHooks you're trying to load. Are you sure there aren't other problems causing the lag?
I was hoping if i get the dhooks version made by Drifter (v126 or v132) to work with linux on SM 1.10+ as i was thinking that the lag was caused by dhooks detour version but now i realise its not the case.

Thanks for your time and all your help and sorry for causing any problems.

Last edited by ipickedtheturtle001; 11-02-2019 at 11:41.
ipickedtheturtle001 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 19:43.


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