Prevent kicking clients without dw handle
This commit is contained in:
parent
1f73feb6bc
commit
219cda9293
@ -139,6 +139,7 @@ namespace network
|
|||||||
// intercept command handling
|
// intercept command handling
|
||||||
utils::hook::jump(0x14134D146_g, utils::hook::assemble(handle_command_stub));
|
utils::hook::jump(0x14134D146_g, utils::hook::assemble(handle_command_stub));
|
||||||
|
|
||||||
|
utils::hook::set<uint8_t>(0x14224E90D_g, 0xEB); // don't kick clients without dw handle
|
||||||
|
|
||||||
// TODO: Fix that
|
// TODO: Fix that
|
||||||
scheduler::once(create_ip_socket, scheduler::main);
|
scheduler::once(create_ip_socket, scheduler::main);
|
||||||
|
Loading…
Reference in New Issue
Block a user