View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 05-29-2019 , 22:20   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #676

Might be running into an issue with setting values on charptr returns that are set to null -- the first four characters are being overwritten.

Not sure if I can provide my test code publicly here since it could lead to abuse; it's related to modifying the map name displayed in the server browser. Drifter / Peace-Maker can shoot me a PM if they'd like some code to reproduce it, I suppose.

Tested against and affects both DHooks 2.2.0 and the latest dynhooks on SM 1.9 on Linux (TF2), with both vtable- and detour-style hooks.
__________________
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; 05-31-2019 at 00:59.
nosoop is offline