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

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 02-26-2017 , 18:45   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #541

The linux version of dhooks crashes on server shutdown if there's an active entity hook.

When the server shuts down, DHooksEntityListener::OnEntityDestroyed is called for the entity with the hook. It sets a callback to FrameCleanHooks, which is never invoked by sourcemod:
Code:
smutils->AddFrameAction(&FrameCleanupHooks, NULL);
This means that ISourceHook::RemoveHookByID is never called for the hook id causing a crash. Not a big deal but it can be a pain when update time rolls around.
__________________
pheadxdll is offline
root88
Senior Member
Join Date: May 2016
Old 05-02-2017 , 06:44   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #542

ClientPrintf stopped working for me after last CSGO update:
Code:
if(!PrepSDKCall_SetFromConf(gameconf, SDKConf_Signature, "CreateInterface"))
	{
		SetFailState("Failed to get CreateInterface");
		delete gameconf;
	}
Code:
L 05/02/2017 - 00:05:47: [SM] Exception reported: Failed to get CreateInterface
__________________
root88 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-02-2017 , 21:31   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #543

Probably needs a signature update.
__________________
Spirit_12 is offline
nusty
Junior Member
Join Date: May 2016
Old 05-24-2017 , 03:43   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #544

Hi Dr!fter,

Is there any detail instruction how to install Dhook2? I have install Dhooks2 2.1.1-hg120 for my L4D1 (using SourceMod 1.8 ) but it always said Dhooks cannot load. I have deleted previous bin's of DHooks(1).

It seems it doesn't load but don't give any reason why.

How can I fix it?

Many thanks Dr!fter,

Last edited by nusty; 05-24-2017 at 03:43.
nusty is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 05-24-2017 , 20:01   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #545

Quote:
Originally Posted by nusty View Post
Hi Dr!fter,

Is there any detail instruction how to install Dhook2? I have install Dhooks2 2.1.1-hg120 for my L4D1 (using SourceMod 1.8 ) but it always said Dhooks cannot load. I have deleted previous bin's of DHooks(1).

It seems it doesn't load but don't give any reason why.

How can I fix it?

Many thanks Dr!fter,
It only loads if something uses it. If you do have one there should be a reason why it doesn't load I can't just guess.

Last edited by Dr!fter; 05-24-2017 at 20:02.
Dr!fter is offline
nusty
Junior Member
Join Date: May 2016
Old 06-01-2017 , 12:35   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #546

Quote:
Originally Posted by Dr!fter View Post
It only loads if something uses it. If you do have one there should be a reason why it doesn't load I can't just guess.
Hi Dr!fter,

I install 1 plugin that use dhooks2.
Quote:
L 06/01/2017 - 23:29:57: [SM] Unable to load plugin "l4d_survivor_identity_fix.smx": Required extension "dhooks" file("dhooks.ext") not running
When I check exts it said:
Quote:
[10] <FAILED> file "dhooks.ext.dll": Could not find interface: ISDKTools
So is there any way to fix it, Dr!fter,

Thanks so much!
nusty is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 06-01-2017 , 12:53   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #547

What version of SM are you running?
__________________

Last edited by sneaK; 06-01-2017 at 12:53.
sneaK is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 06-01-2017 , 15:08   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #548

You don't have sdktools installed.
Dr!fter is offline
nusty
Junior Member
Join Date: May 2016
Old 06-02-2017 , 13:20   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #549

Quote:
Originally Posted by Dr!fter View Post
You don't have sdktools installed.
Hi Dr!fter,

I have SDKTools installed because I am using some plugins that use SDKTools. And because I am using Sourcemod 1.8 so SDK Tools is included in.

I just don't know why my Dhooks2 didn't recognize it.
nusty is offline
nusty
Junior Member
Join Date: May 2016
Old 06-12-2017 , 00:32   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #550

Hi Dr!fter,

Is there any way to fix this case? I am using sourcemod 1.8 (included SDK Tools) and your Dhooks2 said that

Quote:
[10] <FAILED> file "dhooks.ext.dll": Could not find interface: ISDKTools
Many thanks,
nusty 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 06:07.


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