From b3feda218fe22d34140d3ed18ff91a0c1325da64 Mon Sep 17 00:00:00 2001 From: rcnoob <139053812+rcnoob@users.noreply.github.com> Date: Mon, 1 Sep 2025 17:03:26 -0400 Subject: [PATCH 1/4] 8-26 fix update offsets --- gamedata/cs2fixes.games.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gamedata/cs2fixes.games.txt b/gamedata/cs2fixes.games.txt index 2c871c0df..93032cdd9 100644 --- a/gamedata/cs2fixes.games.txt +++ b/gamedata/cs2fixes.games.txt @@ -263,8 +263,8 @@ // 2872 (359 * 8) is the offset "CBasePlayerPawn_CommitSuicide" { - "windows" "404" - "linux" "404" + "windows" "403" + "linux" "403" } // In the function with "[%03d] Found: %s, firing\n", you'll find a call into a pointer offset just a bit higher, that's the offset * 8 "CGameRules_FindPickerEntity" @@ -274,13 +274,13 @@ } "PassesTriggerFilters" { - "windows" "269" - "linux" "270" + "windows" "268" + "linux" "269" } "CCSPlayerController_Respawn" { - "windows" "275" - "linux" "277" + "windows" "274" + "linux" "276" } "GetHammerUniqueId" { From 678fea9a7ded073a32d302342bfa0964c01c956d Mon Sep 17 00:00:00 2001 From: rcnoob <139053812+rcnoob@users.noreply.github.com> Date: Sat, 6 Sep 2025 17:33:49 -0400 Subject: [PATCH 2/4] update signature & sdk --- gamedata/cs2fixes.games.txt | 2 +- sdk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gamedata/cs2fixes.games.txt b/gamedata/cs2fixes.games.txt index 93032cdd9..3d9e90d8d 100644 --- a/gamedata/cs2fixes.games.txt +++ b/gamedata/cs2fixes.games.txt @@ -182,7 +182,7 @@ "CNetworkStringTable_DeleteAllStrings" { "library" "engine" - "windows" "\x48\x89\x5C\x24\x2A\x48\x89\x7C\x24\x2A\x41\x56\x48\x83\xEC\x2A\x45\x33\xF6" + "windows" "\x48\x89\x5C\x24\x2A\x48\x89\x6C\x24\x2A\x48\x89\x74\x24\x2A\x48\x89\x7C\x24\x2A\x41\x56\x48\x83\xEC\x2A\x45\x33\xF6\x48\x8B\xD9" "linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x45\x31\xE4\x53\x48\x89\xFB\x48\x83\xEC\x2A\x48\x83\x7F" } diff --git a/sdk b/sdk index 93ccb6b7b..1a21ada9b 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit 93ccb6b7b2ba8e4fcaca224ce21badbe35491280 +Subproject commit 1a21ada9bef33a6dc204eaaa17a2c4061a246bc0 From c4325a95a54b012cb3c1b2511a814e45735404b1 Mon Sep 17 00:00:00 2001 From: rcnoob <139053812+rcnoob@users.noreply.github.com> Date: Thu, 18 Sep 2025 14:18:42 -0400 Subject: [PATCH 3/4] 9-16 update fixes - update sdk - update gamedata --- gamedata/cs2fixes.games.txt | 18 +++++++++--------- sdk | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gamedata/cs2fixes.games.txt b/gamedata/cs2fixes.games.txt index 3d9e90d8d..72a3038f4 100644 --- a/gamedata/cs2fixes.games.txt +++ b/gamedata/cs2fixes.games.txt @@ -81,7 +81,7 @@ { "library" "server" "windows" "\x48\x83\xEC\x68\x45\x33\xC9" - "linux" "\x55\x45\x31\xC0\x31\xC9\x48\x89\xE5\x53" + "linux" "\x55\x45\x31\xC0\x31\xC9\x48\x89\xE5\x53\x48\x8D\x5D\x2A\x48\x83\xEC\x2A\x48\x89\xDF" } // "commentary_semaphore" is passed to this "CGameEntitySystem_FindEntityByName" @@ -116,7 +116,7 @@ { "library" "server" "windows" "\x48\x89\x5C\x24\x2A\x44\x89\x4C\x24\x2A\x48\x89\x54\x24\x2A\x48\x89\x4C\x24\x2A\x55\x56\x57\x41\x54\x41\x55\x41\x56\x41\x57\x48\x8D\xAC\x24" - "linux" "\x55\x48\x8D\x05\x2A\x2A\x2A\x2A\x48\x89\xE5\x41\x57\x4D\x89\xC7" + "linux" "\x55\x48\x8D\x05\x2A\x2A\x2A\x2A\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x49\x89\xD5\x41\x54\x4C\x8D\x25" } // Search "Changes's player's model", look for a function containing 'models/%s.vmdl'. Below V_snprintf is the one // This matches 2 functions on linux, however they're literally identical @@ -182,7 +182,7 @@ "CNetworkStringTable_DeleteAllStrings" { "library" "engine" - "windows" "\x48\x89\x5C\x24\x2A\x48\x89\x6C\x24\x2A\x48\x89\x74\x24\x2A\x48\x89\x7C\x24\x2A\x41\x56\x48\x83\xEC\x2A\x45\x33\xF6\x48\x8B\xD9" + "windows" "\x48\x89\x5C\x24\x2A\x48\x89\x7C\x24\x2A\x41\x56\x48\x83\xEC\x2A\x45\x33\xF6" "linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x45\x31\xE4\x53\x48\x89\xFB\x48\x83\xEC\x2A\x48\x83\x7F" } @@ -263,8 +263,8 @@ // 2872 (359 * 8) is the offset "CBasePlayerPawn_CommitSuicide" { - "windows" "403" - "linux" "403" + "windows" "408" + "linux" "408" } // In the function with "[%03d] Found: %s, firing\n", you'll find a call into a pointer offset just a bit higher, that's the offset * 8 "CGameRules_FindPickerEntity" @@ -274,13 +274,13 @@ } "PassesTriggerFilters" { - "windows" "268" - "linux" "269" + "windows" "269" + "linux" "270" } "CCSPlayerController_Respawn" { - "windows" "274" - "linux" "276" + "windows" "275" + "linux" "277" } "GetHammerUniqueId" { diff --git a/sdk b/sdk index 1a21ada9b..0f84fcf12 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit 1a21ada9bef33a6dc204eaaa17a2c4061a246bc0 +Subproject commit 0f84fcf129f20dcaed07f9628c3555ee9b0b0f6c From 88f3dde4c9846b828ec4df6fac3f469f2167ccfb Mon Sep 17 00:00:00 2001 From: rcnoob <139053812+rcnoob@users.noreply.github.com> Date: Thu, 18 Sep 2025 14:23:35 -0400 Subject: [PATCH 4/4] more signatures --- gamedata/cs2fixes.games.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gamedata/cs2fixes.games.txt b/gamedata/cs2fixes.games.txt index 72a3038f4..7aea80d24 100644 --- a/gamedata/cs2fixes.games.txt +++ b/gamedata/cs2fixes.games.txt @@ -25,8 +25,8 @@ "TracePlayerBBox" { "library" "server" - "windows" "\x48\x8B\xC4\x4C\x89\x40\x18\x55\x53\x57" - "linux" "\x55\x48\x89\xE5\x41\x57\x49\x89\xD7\x41\x56\x4D\x89\xC6\x41\x55\x49\x89\xCD\x41\x54\x53" + "windows" "\x4C\x89\x44\x24\x18\x55\x53\x56\x57\x41\x55\x41\x56\x48\x8D\xAC\x24\xF8\xFE\xFF\xFF" + "linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xD6\x41\x55\x49\x89\xFD\x41\x54\x53\x48\x89\xF3\x48\x81\xEC\xD8\x01\x00\x00" } // String: "Noise removal", there should be 3 customermachine checks "HammerNoCustomerMachine" @@ -108,7 +108,7 @@ "CBasePlayerController_SetPawn" { "library" "server" - "windows" "\x44\x88\x4C\x24\x2A\x53\x57" + "windows" "\x44\x88\x4C\x24\x2A\x53\x57\x41\x54\x41\x56\x41\x57\x48\x83\xEC" "linux" "\x55\x48\x8D\x87\x2A\x2A\x2A\x2A\x48\x89\xE5\x41\x57\x41\x56\x41\x89\xCE\x41\x55\x45\x89\xCD" } // String: "CNavMesh::GetNearestNavArea" @@ -191,7 +191,7 @@ { "library" "server" "windows" "\x40\x57\x41\x57\x48\x81\xEC\x2A\x2A\x2A\x2A\x48\x83\x79" - "linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x49\x89\xF4\x53\x48\x89\xFB\x48\x83\xEC\x2A\x48\x8B\x7F\x2A\x48\x85\xFF\x0F\x84\x2A\x2A\x2A\x2A\x8B\x8F" + "linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x49\x89\xF4\x53\x48\x89\xFB\x48\x83\xEC\x38\x48\x8B\x7F\x30" } // "env_shake %s with...", in either xref there will be a call to SetMoveType(a1, 0, 0) at the top