View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 03-15-2019 , 02:44   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #649

Experiencing a bug with DHooks (both latest original and dynhooks versions downloaded from the links in the initial and Peace-Maker's posts) specifically on SM 1.10.
I'd assume there's a regression in SM, but I'm not familiar with neither SM nor DHooks code.

A minimal test case for TF2 is attached; the expected outcome is that the second argument of CTFPlayer::TakeHealth is set to 6 (allowing overheal whenever healed). On 1.9, the plugin works correctly.

(I've since worked around the issue by detouring the function directly in this case.)
Attached Files
File Type: txt tf2.kit_overheal.txt (132 Bytes, 170 views)
File Type: sp Get Plugin or Get Source (dhooks_takehealth_overheal_test.sp - 181 views - 1.5 KB)
__________________
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)

Last edited by nosoop; 03-15-2019 at 02:46.
nosoop is offline