From 884c1d57bbd56c3667c2400216504860e116dcf3 Mon Sep 17 00:00:00 2001 From: Amos Date: Mon, 12 Jul 2021 08:49:02 -0700 Subject: [PATCH] Enable connect command execution on listenserver init again --- r5dev/src/opcptc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r5dev/src/opcptc.cpp b/r5dev/src/opcptc.cpp index 230fc6fb..65236b6b 100644 --- a/r5dev/src/opcptc.cpp +++ b/r5dev/src/opcptc.cpp @@ -21,8 +21,8 @@ void InstallOpcodes() /* .TEXT */ // JNE --> JMP | Prevent connect command from crashing by invalid call to UI function WriteProcessMemory(GameProcess, LPVOID(dst004 + 0x1D6), "\xEB\x27", 2, NULL); //------------------------------------------------------------------------- - // JNE --> JMP | Prevent connect localhost from being executed after listen server init - WriteProcessMemory(GameProcess, LPVOID(dst005 + 0x637), "\xE9\xC1\x00\x00\x00", 5, NULL); + // JNE --> JMP | Prevent connect localhost from being executed after listenserver init + //WriteProcessMemory(GameProcess, LPVOID(dst005 + 0x637), "\xE9\xC1\x00\x00\x00", 5, NULL); //------------------------------------------------------------------------- // JA --> JMP | Disable server-side verification for duplicate accounts on the server WriteProcessMemory(GameProcess, LPVOID(dst006 + 0x284), "\x90\x90", 2, NULL);