Fix connecting + scheduler mp addresses

This commit is contained in:
Federico Cecchetto 2022-02-26 20:12:05 +01:00
parent 514f6cd310
commit ac17a5ff1d
3 changed files with 31 additions and 28 deletions

View File

@ -225,6 +225,9 @@ namespace auth
utils::hook::jump(0x140488BC1, get_direct_connect_stub(), true); // H1(1.4)
utils::hook::call(0x140250ED2, send_connect_data_stub); // H1(1.4)
// Check for sending connect packet
utils::hook::set(0x14059A6E0, 0xC301B0);
}
command::add("guid", []()

View File

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