From 2a19ec7a8b7ec4651410cc17a4fe748c79c323af Mon Sep 17 00:00:00 2001 From: Vauff Date: Thu, 24 Sep 2026 13:17:57 -0400 Subject: [PATCH 1/2] Update Linux patch for 2026-09-22 CS2 update --- MovementUnlocker.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MovementUnlocker.cpp b/MovementUnlocker.cpp index 9cb5e08..a700123 100644 --- a/MovementUnlocker.cpp +++ b/MovementUnlocker.cpp @@ -33,9 +33,9 @@ const unsigned char *pPatchSignature = (unsigned char *)"\x0F\x86\xAF\x2A\x2A\x2 const char *pPatchPattern = "xxx???xxxxxx"; int PatchLen = 6; #elif __linux__ -const unsigned char * pPatchSignature = (unsigned char *)"\x0F\x87\x2A\x2A\x2A\x2A\xF3\x0F\x10\x25\x2A\x2A\x2A\x2A\xF3\x0F\x11\xA5\x2A\x2A\x2A\x2A\x48\x89\xDE"; -const char* pPatchPattern = "xx????xxxx????xxxx????xxx"; -int PatchLen = 6; +const unsigned char * pPatchSignature = (unsigned char *)"\x76\x2A\xF3\x0F\x51\xC0\xF3\x0F\x7E\xDB\x49\x8B\x06"; +const char* pPatchPattern = "x?xxxxxxxxxxx"; +int PatchLen = 1; #endif // From https://git.botox.bz/CSSZombieEscape/sm-ext-PhysHooks @@ -119,7 +119,7 @@ bool MovementUnlocker::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxl *(unsigned char*)(pPatchAddress + i) = ((unsigned char*)patchBytes[i])[0]; #elif __linux__ for (int i = 0; i < PatchLen; i++) - *(unsigned char*)(pPatchAddress + i) = ((unsigned char*)"\x90")[0]; + *(unsigned char*)(pPatchAddress + i) = ((unsigned char*)"\xEB")[0]; #endif SourceHook::SetMemAccess((void*)pPatchAddress, PatchLen, SH_MEM_READ | SH_MEM_EXEC); @@ -154,7 +154,7 @@ const char *MovementUnlocker::GetLicense() const char *MovementUnlocker::GetVersion() { - return "1.12"; + return "1.13"; } const char *MovementUnlocker::GetDate() From 15b3a8839797e3c88a98c9543e2d47d5f8b16564 Mon Sep 17 00:00:00 2001 From: Vauff Date: Thu, 24 Sep 2026 13:18:36 -0400 Subject: [PATCH 2/2] Pin Metamod to last SourceHook release --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9734978..c2da592 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v7 with: repository: alliedmodders/metamod-source - ref: master + ref: 7ec0f16948ab3a0910a98b4ac10e1c0e360d5339 path: mmsource-2.0 submodules: recursive