From 219cda9293257a4d4dbd1ff07c16199237fa14df Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 28 Oct 2022 15:27:54 +0200 Subject: [PATCH] Prevent kicking clients without dw handle --- src/client/component/network.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/component/network.cpp b/src/client/component/network.cpp index 90f0955f..89e8b1ad 100644 --- a/src/client/component/network.cpp +++ b/src/client/component/network.cpp @@ -139,6 +139,7 @@ namespace network // intercept command handling utils::hook::jump(0x14134D146_g, utils::hook::assemble(handle_command_stub)); + utils::hook::set(0x14224E90D_g, 0xEB); // don't kick clients without dw handle // TODO: Fix that scheduler::once(create_ip_socket, scheduler::main);