From ae3ade1d31009744f45db51c7304edd470051a26 Mon Sep 17 00:00:00 2001 From: Chiheb Date: Thu, 18 Dec 2025 16:57:35 +0100 Subject: [PATCH 1/2] Remove unnecessary patch that causes random crashes near LSC (#397) * Remove unnecessary patches that cause the game to crash on version 1.0.3717.0 / 1.0.1013.17 or newer * Reverted the first patch, as only the second causes crashes. --- Solution/source/Memory/GTAmemory.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Solution/source/Memory/GTAmemory.cpp b/Solution/source/Memory/GTAmemory.cpp index 0e093337..1cc2eed3 100644 --- a/Solution/source/Memory/GTAmemory.cpp +++ b/Solution/source/Memory/GTAmemory.cpp @@ -1492,8 +1492,6 @@ void GTAmemory::Init() _gamePlayCameraAddr = reinterpret_cast(*reinterpret_cast(address + 3) + address + 7); } - - // Bypass model requests block if (g_isEnhanced) { address = MemryScan::PatternScanner::FindPattern("44 0f b6 b4 24 ? ? ? ? 41 20 f6"); @@ -1505,17 +1503,6 @@ void GTAmemory::Init() if (address) memset(reinterpret_cast(address - 24), 0x90, 24); } - // Bypass is player model allowed to spawn checks - if (g_isEnhanced) { - address = MemryScan::PatternScanner::FindPattern("74 ? e8 ? ? ? ? 48 8b b0"); - if (address) memset(reinterpret_cast(address + 28), 0x90, 6); - } - else { - // new pattern that lands outside of the patched bytes, to ensure compatibility with other mods that patch them. - address = MemryScan::PatternScanner::FindPattern("40 53 48 83 ec ? e8 ? ? ? ? 48 8b d8 48 85 c0 74 ? 48 8b 10 48 8b c8 ff 52"); - if (address) memset(reinterpret_cast(address + 28), 0x90, 4); - } - //GetModelInfo if (g_isEnhanced) { From c83768add6afacb7f089bcf48aee7c7bf5e15026 Mon Sep 17 00:00:00 2001 From: itsjustcurtis <70447190+itsjustcurtis@users.noreply.github.com> Date: Thu, 18 Dec 2025 19:58:12 +0400 Subject: [PATCH 2/2] Update MENYOO_CURRENT_VER_ to version 2.2.1a3 --- Solution/source/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Solution/source/macros.h b/Solution/source/macros.h index c84aa312..f902aa4b 100644 --- a/Solution/source/macros.h +++ b/Solution/source/macros.h @@ -16,7 +16,7 @@ #define _CRT_SECURE_NO_WARNINGS -#define MENYOO_CURRENT_VER_ "2.2.1a2" +#define MENYOO_CURRENT_VER_ "2.2.1a3" #define GAME_PLAYERCOUNT 30