Some fixes

This commit is contained in:
Federico Cecchetto 2022-02-27 16:10:04 +01:00
parent 242c9d5beb
commit fc9eed11de
3 changed files with 5 additions and 5 deletions

View File

@ -256,7 +256,7 @@ namespace network
utils::hook::set<uint8_t>(0x14051345A, 0); // H1MP64(1.4) utils::hook::set<uint8_t>(0x14051345A, 0); // H1MP64(1.4)
// don't read checksum // don't read checksum
utils::hook::jump(0x140513389, 0x14051339F); // H1MP64(1.4) utils::hook::set(0x1404F6620, 0xC301B0); // H1MP64(1.4)
// don't try to reconnect client // don't try to reconnect client
utils::hook::call(0x140480DFF, reconnect_migratated_client); // H1MP64(1.4) utils::hook::call(0x140480DFF, reconnect_migratated_client); // H1MP64(1.4)

View File

@ -272,7 +272,7 @@ namespace patches
cmd_lui_notify_server_hook.create(0x140335A70, cmd_lui_notify_server_stub); // H1(1.4) cmd_lui_notify_server_hook.create(0x140335A70, cmd_lui_notify_server_stub); // H1(1.4)
// Prevent clients from sending invalid reliableAcknowledge // Prevent clients from sending invalid reliableAcknowledge
utils::hook::call(0x1404899C6, sv_execute_client_message_stub); // H1(1.4) // utils::hook::call(0x1404899C6, sv_execute_client_message_stub); // H1(1.4)
} }
}; };
} }

View File

@ -180,9 +180,9 @@ namespace scheduler
void post_unpack() override void post_unpack() override
{ {
r_end_frame_hook.create(SELECT_VALUE(0x1404F7310, 0x1405FE470), scheduler::r_end_frame_stub); // H1(1.4) r_end_frame_hook.create(SELECT_VALUE(0x1404F7310, 0x1405FE470), scheduler::r_end_frame_stub);
g_run_frame_hook.create(SELECT_VALUE(0x1402772D0, 0x14033A640), scheduler::server_frame_stub); // H1(1.4) g_run_frame_hook.create(SELECT_VALUE(0x1402772D0, 0x14033A640), scheduler::server_frame_stub);
main_frame_hook.create(SELECT_VALUE(0x1401CE8D0, 0x1400D82A0), scheduler::main_frame_stub); // H1(1.4) main_frame_hook.create(SELECT_VALUE(0x1401CE8D0, 0x1400D8310), scheduler::main_frame_stub);
} }
void pre_destroy() override void pre_destroy() override