From 35ac74c7a7243e17a3aa2338b116eaa8a0a9ccdc Mon Sep 17 00:00:00 2001 From: Benoist <14257866+Kenzzer@users.noreply.github.com> Date: Fri, 2 Feb 2024 22:10:42 +0100 Subject: [PATCH] Update gamedata for l4d2 (#2111) * update gamedata for l4d2 * undo findentitybyclassname sig change * update gEntList offset accordingly --------- Co-authored-by: Kenzzer --- gamedata/core.games/engine.l4d2.txt | 8 ++++---- gamedata/sdktools.games/engine.l4d2.txt | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gamedata/core.games/engine.l4d2.txt b/gamedata/core.games/engine.l4d2.txt index 59579a3f3b..8f2a1d3919 100644 --- a/gamedata/core.games/engine.l4d2.txt +++ b/gamedata/core.games/engine.l4d2.txt @@ -25,14 +25,14 @@ /* Offset into LevelShutdown */ "gEntList" { - "windows" "11" + "windows" "40" } "EntInfo" { "windows" "4" "linux" "4" - "mac" "4" + "mac" "4" } } @@ -41,13 +41,13 @@ "LevelShutdown" { "library" "server" - "windows" "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8" + "windows" "\x56\x8B\x35\x2A\x2A\x2A\x2A\x8B\x06\x8B\x50\x68\x8B\xCE\xFF\xD2\x68\x2A\x2A\x2A\x2A" } "gEntList" { "library" "server" "linux" "@gEntList" - "mac" "@gEntList" + "mac" "@gEntList" } } } diff --git a/gamedata/sdktools.games/engine.l4d2.txt b/gamedata/sdktools.games/engine.l4d2.txt index d3a28af8d4..5db7896893 100644 --- a/gamedata/sdktools.games/engine.l4d2.txt +++ b/gamedata/sdktools.games/engine.l4d2.txt @@ -81,9 +81,9 @@ */ "InfoChanged" { - "windows" "176" - "linux" "176" - "mac" "176" + "windows" "180" + "linux" "180" + "mac" "180" } } }