From 70e405f0c45e6780a5729a57fd6cd81081dabe82 Mon Sep 17 00:00:00 2001 From: BrentVL-1952840 <70229620+Brentdevent@users.noreply.github.com> Date: Sat, 4 Mar 2023 15:42:44 +0100 Subject: [PATCH] Update party --- src/client/component/party.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/component/party.cpp b/src/client/component/party.cpp index e7490803..3fa172ea 100644 --- a/src/client/component/party.cpp +++ b/src/client/component/party.cpp @@ -90,7 +90,7 @@ namespace party { const auto LobbyJoin_Begin = reinterpret_cast(0x141ED9540_g); + game::LobbyType targetLobbyType)>(0x141ED94D0_g); if (!LobbyJoin_Begin(0, game::CONTROLLER_INDEX_FIRST, game::LOBBY_TYPE_PRIVATE, game::LOBBY_TYPE_PRIVATE)) { @@ -205,7 +205,7 @@ namespace party game::netadr_t get_connected_server() { constexpr auto local_client_num = 0ull; - const auto address = *reinterpret_cast(0x1453DABB8_g) + (0x25780 * local_client_num) + 0x10; + const auto address = *reinterpret_cast(0x1453D8BB8_g) + (0x25780 * local_client_num) + 0x10; return *reinterpret_cast(address); } @@ -297,7 +297,7 @@ namespace party { void post_unpack() override { - utils::hook::jump(0x141EE6030_g, &connect_stub); + utils::hook::jump(0x141EE5FE0_g, &connect_stub); network::on("infoResponse", handle_info_response); scheduler::loop(cleanup_queried_servers, scheduler::async, 200ms); @@ -313,4 +313,4 @@ namespace party }; } -REGISTER_COMPONENT(party::component) +REGISTER_COMPONENT_WORKING(party::component)