From 44e850d3056d1faffd7f2f51c9b784e3b2073560 Mon Sep 17 00:00:00 2001 From: ineedbots Date: Mon, 28 Jun 2021 12:37:13 -0600 Subject: [PATCH] Detect 1.3 win MP --- src/Main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Main.cpp b/src/Main.cpp index 2d6e8e5..08ebb3d 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -29,8 +29,8 @@ namespace Main } // detect which executable's patches to apply - DWORD dataStrData = Utils::Hook::Get(0x881CAC); - if (dataStrData == 0x62616E55) + DWORD dataStrData = Utils::Hook::Get(0x59B69C); + if (dataStrData == 0x6C6C6143) MP::PatchT4(); else SP::PatchT4(); @@ -81,8 +81,8 @@ bool APIENTRY DllMain(HMODULE, DWORD dwReason, LPVOID) { DWORD textSegData = Utils::Hook::Get(0x401000); - // detect for all executables to hook into - //if (textSegData == 0x9EF490B8 || textSegData == 0x83EC8B55) + // detection for all executables to hook into + if (textSegData == 0x0400EC81) Main::SetSafeInit(); } return true;