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

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
nosoop
Veteran Member
Join Date: Aug 2014
Old 03-15-2019 , 10:31   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #651

Quote:
Originally Posted by asherkin View Post
You need a copy of DHooks compiled against the SM 1.10 SDK.
Ah. Sounds like it's a thing that got resolved somewhere else in the thread and I just skipped over it. Thanks!

Didn't realize the server owner I was working with was running against 1.10; unfortunate that it doesn't throw a louder error in that case. (Or a big fat warning before the downloads.)
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
SH4D0W_ST4LK3R
New Member
Join Date: May 2016
Old 04-13-2019 , 04:55   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #652

Since today whenever I try to startup my server I get this error with dhooks

<FAILED> file "dhooks.ext.dll": Could not find interface: IBinTools

I am running the latest dev version of sourcemod, with the newest build released of dhooks
SH4D0W_ST4LK3R is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-13-2019 , 05:37   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #653

Quote:
Originally Posted by SH4D0W_ST4LK3R View Post
Since today whenever I try to startup my server I get this error with dhooks

<FAILED> file "dhooks.ext.dll": Could not find interface: IBinTools

I am running the latest dev version of sourcemod, with the newest build released of dhooks
Oh good, well I’m glad that change worked to show an error. As per the latest few posts in this thread, you need a copy of DHooks built against 1.10 for SM 1.10, as a major release 1.9 and 1.10 are not guaranteed to be compatible.
__________________
asherkin is offline
TheByKotik
New Member
Join Date: Apr 2019
Old 04-17-2019 , 09:46   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #654

Can someone test it?
It's Rayan's dhooks-detours7-for-sourcemod-1.10 from https://forums.alliedmods.net/showthread.php?p=2628691
Build SM-10 + MM-10 + clang-8 + Debian 9.
Attached Files
File Type: so dhooks.ext.so (904.7 KB, 899 views)

Last edited by TheByKotik; 04-17-2019 at 10:47.
TheByKotik is offline
ayrton09_arg
Senior Member
Join Date: Nov 2017
Old 04-18-2019 , 02:58   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #655

hello can someone make a build for sm 1.10 latest dev...thanks!
ayrton09_arg is offline
Xutax_Kamay
Member
Join Date: Feb 2016
Old 04-20-2019 , 11:42   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #656

https://github.com/XutaxKamay/dhooks/releases

Here it is, it has also a fix for DHookSetReturnVector native in case someone needs it

Last edited by Xutax_Kamay; 04-20-2019 at 11:42.
Xutax_Kamay is offline
TheByKotik
New Member
Join Date: Apr 2019
Old 04-21-2019 , 01:22   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #657

Quote:
Originally Posted by Xutax_Kamay View Post
https://github.com/XutaxKamay/dhooks/releases

Here it is, it has also a fix for DHookSetReturnVector native in case someone needs it

With this version i have spam errors. Hmm...

https://github.com/jason-e/rngfix/bl...rngfix.sp#L618
HTML Code:
L 04/21/2019 - 07:49:42: [SM] Blaming: rngfix.smx
L 04/21/2019 - 07:49:42: [SM] Call stack trace:
L 04/21/2019 - 07:49:42: [SM]   [0] DHookGetParam
L 04/21/2019 - 07:49:42: [SM]   [1] Line 618, c:\Users\Kotik\Downloads\github\jason-e\rngfix\plugin\scripting\rngfix.sp::DHook_ProcessMovementPre
L 04/21/2019 - 07:49:42: [SM] Exception reported: Invalid param type (9) to get
TheByKotik is offline
Xutax_Kamay
Member
Join Date: Feb 2016
Old 04-21-2019 , 02:50   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #658

Quote:
Originally Posted by TheByKotik View Post
With this version i have spam errors. Hmm...

https://github.com/jason-e/rngfix/bl...rngfix.sp#L618
HTML Code:
L 04/21/2019 - 07:49:42: [SM] Blaming: rngfix.smx
L 04/21/2019 - 07:49:42: [SM] Call stack trace:
L 04/21/2019 - 07:49:42: [SM]   [0] DHookGetParam
L 04/21/2019 - 07:49:42: [SM]   [1] Line 618, c:\Users\Kotik\Downloads\github\jason-e\rngfix\plugin\scripting\rngfix.sp::DHook_ProcessMovementPre
L 04/21/2019 - 07:49:42: [SM] Exception reported: Invalid param type (9) to get
Oh Hmm.. Weird thing is that I'm using the same plugin and I don't have issues on my side

If I did something wrong, I assume it's because I didn't use the right class for ParamInfo (https://github.com/XutaxKamay/dhooks...atives.cpp#L64), there was one created from the dhooks extension itself and sourcemod, I didn't knew wich one to choose really because compilations with windows didn't work. So I've decided to use the one from the extension since I expected that Dr1fter knew what he was doing, but yep my apologies if I was wrong.

Last edited by Xutax_Kamay; 04-21-2019 at 02:55.
Xutax_Kamay is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 04-21-2019 , 02:59   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #659

I'm receiving pretty much the same error for DHookGetParam.

Code:
int client = DHookGetParam(hParams, 1);

Exception reported: Invalid param type (6) to get
__________________

Last edited by JoinedSenses; 04-21-2019 at 10:09.
JoinedSenses is offline
Xutax_Kamay
Member
Join Date: Feb 2016
Old 04-22-2019 , 08:23   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #660

Quote:
Originally Posted by JoinedSenses View Post
I'm receiving pretty much the same error for DHookGetParam.

Code:
int client = DHookGetParam(hParams, 1);

Exception reported: Invalid param type (6) to get
Okay I'm pretty dumb
https://github.com/XutaxKamay/dhooks...es/tag/v2.2.1b

That should fix the issue, the issue was because I was getting a wrong idea of using that ke::Vector thing (the amtl didn't prove push_back so i just replaced by append, but that turned out to be a mistake), I use std::vector now, hopefully you shouldn't have link errors during load, but definitly needs a change later, I just did it for a hotpatch

Last edited by Xutax_Kamay; 04-22-2019 at 08:53.
Xutax_Kamay 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:06.


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