From dc3b32f1da331e458d7a42d2989f6e7485d1392f Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 17 Nov 2024 12:50:15 -0500 Subject: [PATCH] Update some hl2mp gamedata (cherry picked from commit c30f0330226202de46c66d75da97d2dc82408f27) --- gamedata/sdkhooks.games/engine.ep2v.txt | 8 +++++++- gamedata/sdktools.games/game.hl2mp.txt | 10 ++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gamedata/sdkhooks.games/engine.ep2v.txt b/gamedata/sdkhooks.games/engine.ep2v.txt index 7c524c75a..0ad304f6f 100644 --- a/gamedata/sdkhooks.games/engine.ep2v.txt +++ b/gamedata/sdkhooks.games/engine.ep2v.txt @@ -5,7 +5,6 @@ { "Offsets" { - //This sucks, this comment HAS to stay, if you remove it, sourcemod WILl crash, why? Ask god. "EntityListeners" { "windows" "131108" @@ -195,6 +194,13 @@ { "Offsets" { + "EntityListeners" + { + "windows" "131108" + "windows64" "262200" + "linux" "131108" + "linux64" "262200" + } "EndTouch" { "windows" "100" diff --git a/gamedata/sdktools.games/game.hl2mp.txt b/gamedata/sdktools.games/game.hl2mp.txt index 790f4a6c6..acbcf38d1 100644 --- a/gamedata/sdktools.games/game.hl2mp.txt +++ b/gamedata/sdktools.games/game.hl2mp.txt @@ -24,6 +24,16 @@ "linux" "@_ZN14CBaseAnimating16LookupAttachmentEPKc" "mac" "@_ZN14CBaseAnimating16LookupAttachmentEPKc" } + "FireOutput" + { + /* CBaseEntityOutput::FireOutput */ + /* String: "(%0.2f) output: (%s,%s) -> (%s,%s,%.1f)" */ + "library" "server" + "windows" "\x55\x8B\xEC\x81\xEC\x40\x01\x00\x00\x8B\xC1" + "windows64" "\x48\x8B\xC4\x48\x89\x50\x10\x48\x89\x48\x08\x41\x54" + "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" + "linux64" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" + } } "Offsets" {