Skip to content

Releases: peace-maker/DHooks2

Version 2.2.0-detours17

30 Jun 10:55
Compare
Choose a tag to compare

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

28 Jan 09:39
Compare
Choose a tag to compare

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

17 Oct 09:37
Compare
Choose a tag to compare

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

09 Jun 21:46
Compare
Choose a tag to compare

Changelog:

  • More regression fixes for post-only detours (thanks Silvers)

Version 2.2.0-detours14

09 Jun 14:07
Compare
Choose a tag to compare

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

30 May 07:33
Compare
Choose a tag to compare

Changelog:

  • Fix parsing of multiple argument flags in gamedata (thanks Alienmario)

Version 2.2.0-detours12

29 May 20:47
Compare
Choose a tag to compare

Changelog:

  • Fix typo preventing "odtor" argument flag parsing in gamedata (thanks Alienmario)

Version 2.2.0-detours11

28 May 10:47
Compare
Choose a tag to compare

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

21 Apr 13:04
Compare
Choose a tag to compare

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

03 Mar 16:05
Compare
Choose a tag to compare

Changelog:

  • Pull fix for changing vector returns from upstream