From 6e9e974a35d40140c9da5a9a056b0367c9b697f8 Mon Sep 17 00:00:00 2001 From: FutureRave Date: Tue, 22 Mar 2022 10:51:37 +0000 Subject: [PATCH 1/2] Patch bug in dedi --- src/module/patches.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/module/patches.cpp b/src/module/patches.cpp index babe16e..5a27a6f 100644 --- a/src/module/patches.cpp +++ b/src/module/patches.cpp @@ -44,6 +44,7 @@ private: void patch_dedi() const { + utils::hook::nop(0x4FE051, 5); } static __declspec(noreturn) void long_jump_stub(jmp_buf buf, const int value) noexcept(false) From 71db4b6163a56c4197e648caa4d9e1d7b2ae6794 Mon Sep 17 00:00:00 2001 From: FutureRave Date: Tue, 22 Mar 2022 11:44:37 +0000 Subject: [PATCH 2/2] Address review --- src/module/patches.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/module/patches.cpp b/src/module/patches.cpp index 5a27a6f..0e27088 100644 --- a/src/module/patches.cpp +++ b/src/module/patches.cpp @@ -44,6 +44,7 @@ private: void patch_dedi() const { + // Skip call to queryserverinfo handler in SV_ConnectionlessPacket utils::hook::nop(0x4FE051, 5); }