Increase cl_maxpackets to 100

This commit is contained in:
momo5502 2023-03-17 21:02:40 +01:00
parent 70e23e4d0e
commit c1d6d791c6

View File

@ -288,6 +288,9 @@ namespace network
// Don't let the game bind sockets anymore // Don't let the game bind sockets anymore
utils::hook::set(game::select(0x15AAE9344, 0x14B4BD828), bind_stub); utils::hook::set(game::select(0x15AAE9344, 0x14B4BD828), bind_stub);
// Set cl_maxpackets to 100
utils::hook::set<uint8_t>(game::select(0x1412FF342, 0x140177A32), 100 - 15);
} }
}; };
} }