Re: DHooks (Dynamic Hooks - Dev Preview)
SetDataRate is an INetChannel function... you're trying to hook it on the player entity.
|
Re: DHooks (Dynamic Hooks - Dev Preview)
Please add your gamedata, can't see what you're trying to hook.
|
Re: DHooks (Dynamic Hooks - Dev Preview)
Quote:
When am I supposed to use HookType_Raw and when HookType_GameRules? I was pretty sure INetChannel is shared within the client and the server so I assumed hooking the client would be fine. Quote:
EDIT: Actually seems like you've already done it! https://forums.alliedmods.net/showpo...4&postcount=10 |
Re: DHooks (Dynamic Hooks - Dev Preview)
Rule #1 of DHooks and SDKCall: 99% of the time, crashes are your fault; and you need to do the legwork to prove the other 1%.
|
Re: DHooks (Dynamic Hooks - Dev Preview)
There was a commit made a day ago.
https://github.com/alliedmodders/hl2sdk/commits/tf2 Maybe recompile is worth a shot? |
Re: DHooks (Dynamic Hooks - Dev Preview)
Unless you are using a version of dhooks1, there is no need to recompile as it does not compile against the sdk AT ALL.
|
Re: DHooks (Dynamic Hooks - Dev Preview)
Thanks for being stubborn guys.
Turns out the extension was working correctly all along, and the map I happened to use at that time to test the plugin was the culprit that was causing server crashes. On a whim I tested on a different map and it was working properly (and worked on 2 other maps as well). I owe an apology for being a moron the past couple of days. Lesson learned: Don't throw your brain out the window when frustrated. |
Re: DHooks (Dynamic Hooks - Dev Preview)
Tbh I was really just asking for your source code and gamedata, but if it had been the SDK change, recompiling it yourself and testing that it worked would count as A++ legwork towards proving the issue.
|
Re: DHooks (Dynamic Hooks - Dev Preview)
Quote:
|
Re: DHooks (Dynamic Hooks - Dev Preview)
1 Attachment(s)
Updated dhooks gamedata in attachment. Couldn't find few offsets, so not all are updated.
|
All times are GMT -4. The time now is 23:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.