diff --git a/src/client/component/auth.cpp b/src/client/component/auth.cpp index d5e2d4f6..45405af4 100644 --- a/src/client/component/auth.cpp +++ b/src/client/component/auth.cpp @@ -172,8 +172,9 @@ namespace auth void post_unpack() override { // Skip connect handler - utils::hook::set(game::select(0x142253EFA, 0x14053714A), 0xEB); - network::on("connect", handle_connect_packet); + //utils::hook::set(game::select(0x142253EFA, 0x14053714A), 0xEB); + //network::on("connect", handle_connect_packet); + (void)&handle_connect_packet; // Patch steam id bit check std::vector> patches{}; @@ -220,7 +221,8 @@ namespace auth p(0x141EB5992_g, 0x141EB59D5_g); p(0x141EB74D2_g, 0x141EB7515_g); // ? - utils::hook::call(0x14134BF7D_g, send_connect_data_stub); + //utils::hook::call(0x14134BF7D_g, send_connect_data_stub); + (void)&send_connect_data_stub; } for (const auto& patch : patches) diff --git a/src/client/game/structs.hpp b/src/client/game/structs.hpp index 1e852b6c..a54fddbf 100644 --- a/src/client/game/structs.hpp +++ b/src/client/game/structs.hpp @@ -1,6 +1,6 @@ #pragma once -#define PROTOCOL 2 +#define PROTOCOL 1 #ifdef __cplusplus namespace game