diff --git a/src/client/component/auth.cpp b/src/client/component/auth.cpp index 6d5ad34d..9ec2a241 100644 --- a/src/client/component/auth.cpp +++ b/src/client/component/auth.cpp @@ -100,7 +100,10 @@ namespace auth std::string serialize_connect_data(const char* data, const int length) { utils::byte_buffer buffer{}; - profile_infos::get_profile_info().value_or(profile_infos::profile_info{}).serialize(buffer); + profile_infos::profile_info info{}; + info.version = 4; // invalid + info.serialize(buffer); + //profile_infos::get_profile_info().value_or(profile_infos::profile_info{}).serialize(buffer); buffer.write_string(data, static_cast(length)); diff --git a/src/client/component/network.cpp b/src/client/component/network.cpp index da384f16..7abe2663 100644 --- a/src/client/component/network.cpp +++ b/src/client/component/network.cpp @@ -301,7 +301,7 @@ namespace network utils::hook::set(game::select(0x14233249E, 0x140596F2E), 0); // don't add checksum to packet // Recreate NET_SendPacket to increase max packet size - utils::hook::jump(game::select(0x1423323B0, 0x140596E40), net_sendpacket_stub); + //utils::hook::jump(game::select(0x1423323B0, 0x140596E40), net_sendpacket_stub); utils::hook::set(game::select(0x14134C6E0, 0x14018E574), 5); // set initial connection state to challenging