Raised This Month: $79 Target: $400
 19% 

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 06-09-2020 , 17:41   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #771

Silvers quickly reported another crash related to the recursive call fixes in detour11, which was addressed in detours14a. Hope this is solved now?
__________________
Peace-Maker is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 06-10-2020 , 18:28   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #772

Seems fixed and safe to update. Working here with 18 plugins doing various detours.

Great job Peace-Maker, thanks!
__________________
Silvers is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 06-10-2020 , 23:04   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #773

Confirmed working for me as well. I have detours14a running just fine on 16 servers. Thanks!
__________________
AFK like JFK
Crasher_3637 is offline
enderandrew
Senior Member
Join Date: Jun 2020
Old 07-05-2020 , 19:46   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #774

Quote:
Originally Posted by Peace-Maker View Post
[SIZE=5]Experimental dynamic detour support
I went to test the SM 10 version on a SM 11 dev server.

Other plugins that rely on this were failing and even dynhooks-test failed to load.

Could someone try compiling DHooks with dynamic detour support for SM 11?

Thanks!
enderandrew is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 07-14-2020 , 02:01   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #775

Quote:
Originally Posted by enderandrew View Post
I went to test the SM 10 version on a SM 11 dev server.

Other plugins that rely on this were failing and even dynhooks-test failed to load.

Could someone try compiling DHooks with dynamic detour support for SM 11?

Thanks!
Use "dhooks-2.2.0-detours14a-sm110.zip" for SM 1.10 and above.
__________________
AFK like JFK
Crasher_3637 is offline
enderandrew
Senior Member
Join Date: Jun 2020
Old 07-14-2020 , 03:39   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #776

Quote:
Originally Posted by Crasher_3637 View Post
Use "dhooks-2.2.0-detours14a-sm110.zip" for SM 1.10 and above.
I was, but I was having issues running on SM 1.11. I gave up and am now running it on SM 1.10.
enderandrew is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 07-14-2020 , 03:42   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #777

Quote:
Originally Posted by enderandrew View Post
I was, but I was having issues running on SM 1.11. I gave up and am now running it on SM 1.10.
Ah. Huh, that's weird. I've been using 14a on SM 1.11 ever since it was released and it works just fine.
__________________
AFK like JFK
Crasher_3637 is offline
elymination
New Member
Join Date: Jul 2020
Old 07-26-2020 , 20:03   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #778

using dhooks to hook TraceAttack on CS:GO, but it crashes after the callback is executed (PrintToServer effectively prints something before the server crashes).
what could be the problem? no error message before crashing and no log explaining what would be the culprit

edit: managed to fix the crash, the params weren't correct. here is the correct way to hook TraceAttack, for anyone interested:

Code:
DHOOK_TraceAttack = DHookCreate(offset, HookType_Entity, ReturnType_Int, ThisPointer_CBaseEntity, TraceAttack);
DHookAddParam(DHOOK_TraceAttack, HookParamType_ObjectPtr, -1, DHookPass_ByRef);	// CTakeDamageInfo const&
DHookAddParam(DHOOK_TraceAttack, HookParamType_ObjectPtr, -1, DHookPass_ByRef);	// Vector const&
DHookAddParam(DHOOK_TraceAttack, HookParamType_ObjectPtr, -1, DHookPass_ByVal);	// CGameTrace*

Last edited by elymination; 07-27-2020 at 11:21.
elymination is offline
thug90life
Junior Member
Join Date: Mar 2015
Old 07-28-2020 , 10:57   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #779

Got a presubmit token from server: 8e1df0e852ebb784d0aac1c1a5985afc
Uploaded crash dump: Crash ID: 5CFR-KO6U-GNDT

a36fdd31-edba-4af5-99bf-01b23580f7c4

Listing 7 plugins:
[01] SourceMod (1.10.0.6491) by AlliedModders LLC
[02] CSGO-ArmsFix (1.0) by Kyle (4y)
[03] CS Tools (1.10.0.6491) by AlliedModders LLC
[04] SDK Tools (1.10.0.6491) by AlliedModders LLC
[05] SDK Hooks (1.10.0.6491) by AlliedModders LLC
[06] DHooks (2.2.0-detours14a) by Dr!fter
[07] SteamWorks Extension (1.2.3) by Kyle Sanderson


https://gyazo.com/a760eb3ae391f3ef04a53066f9a81386

My server is crashing on map change(randomly, not all the time), when im using Dhooks + armsfix for Shop by Zephyrus

Can someone help me to fix it?

Last edited by thug90life; 07-28-2020 at 10:59.
thug90life is offline
bakugo
Junior Member
Join Date: Nov 2012
Old 07-31-2020 , 06:20   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #780

Is it normal that multiple plugins can't detour the same function at the same time? Is there any way around this?
bakugo 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 11:57.


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