From c1d6d791c671322012e92ae95558339f1f3bb906 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 17 Mar 2023 21:02:40 +0100 Subject: [PATCH] Increase cl_maxpackets to 100 --- src/client/component/network.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/component/network.cpp b/src/client/component/network.cpp index c43f1585..4dbe5f1a 100644 --- a/src/client/component/network.cpp +++ b/src/client/component/network.cpp @@ -288,6 +288,9 @@ namespace network // Don't let the game bind sockets anymore utils::hook::set(game::select(0x15AAE9344, 0x14B4BD828), bind_stub); + + // Set cl_maxpackets to 100 + utils::hook::set(game::select(0x1412FF342, 0x140177A32), 100 - 15); } }; }