Releases: peace-maker/DHooks2
Releases · peace-maker/DHooks2
Version 2.2.0-detours17
Changelog:
- Allow returning NULL for CBaseEntity return types by setting the return value to -1 (thanks arthurdead)
- Allow specifying object argument size in hexadecimal in gamedata similar to SM 1.11
- Fix SourceHook context leak when superceding virtual hooked functions (thanks nosoop and BotoX Drifter321#2)
- This fixes a long standing issue with memory leaks, crashes and lag on map change
- Fix crash on CentOS7+ / SELinux with "allow_execheap" disabled (thanks vintagepc #22)
- Fix DHookIsNullParam checking wrong parameter for detour setups with parameters passed in custom registers (thanks GAMMACASE #15)
- Fix crash due to mismatching new[] + delete[] pair of return value buffer (thanks bottiger)
Version 2.2.0-detours16
Changelog:
- Fix crash on server shutdown
- Switch to std::vector and std::string for SourceMod 1.11 / AMTL update compatibility
- Enable frame pointer on linux for better crash stack traces
- Include:
- Fix INVALID_HOOK_ID using incorrect value
- Avoid reference to GameData methodmap for backwards compatibility
Edit: Reuploaded packages including the last two commits.
Version 2.2.0-detours15
Changelog:
- Add methodmap API
- Save all arguments before calling the original function
- Fix regression when unloading plugins with entity vhooks on mapchange leading to a crash
- Print nicer error message on wrong callback signature
Version 2.2.0-detours14a
Changelog:
- More regression fixes for post-only detours (thanks Silvers)
Version 2.2.0-detours14
Changelog:
- Fix regression crash with post-only detours from recursive call fix in detours11 (Thanks Crasher_3637)
- Include sdktools.inc in include file for DHookSetFromConf native (Thanks ClaudiuHKS #4)
- Fix crash when trying to call hook removal callback on unloaded plugin (Thanks FortyTwoFortyTwo Drifter321#3)
Version 2.2.0-detours13
Changelog:
- Fix parsing of multiple argument flags in gamedata (thanks Alienmario)
Version 2.2.0-detours12
Changelog:
- Fix typo preventing "odtor" argument flag parsing in gamedata (thanks Alienmario)
Version 2.2.0-detours11
Changelog:
- Fix recursive calls when the ESP register is reused (thanks L'In20Cible Ayuto/DynamicHooks#4)
- Fix skipping and overriding return values of recursive calls (thanks ldesgoui #3)
Version 2.2.0-detours10
Changelog:
- Add |this|-ptr save and restore from pre to post hooks on linux
- Fix parsing of platform specific sections in "Functions" gamedata (thanks vanz)
Version 2.2.0-detours9
Changelog:
- Pull fix for changing vector returns from upstream