Temporarily diable new protocol to merge changes

This commit is contained in:
momo5502 2023-04-07 14:37:34 +02:00
parent 5ed2a1355e
commit a28235df26
2 changed files with 6 additions and 4 deletions

View File

@ -172,8 +172,9 @@ namespace auth
void post_unpack() override void post_unpack() override
{ {
// Skip connect handler // Skip connect handler
utils::hook::set<uint8_t>(game::select(0x142253EFA, 0x14053714A), 0xEB); //utils::hook::set<uint8_t>(game::select(0x142253EFA, 0x14053714A), 0xEB);
network::on("connect", handle_connect_packet); //network::on("connect", handle_connect_packet);
(void)&handle_connect_packet;
// Patch steam id bit check // Patch steam id bit check
std::vector<std::pair<size_t, size_t>> patches{}; std::vector<std::pair<size_t, size_t>> patches{};
@ -220,7 +221,8 @@ namespace auth
p(0x141EB5992_g, 0x141EB59D5_g); p(0x141EB5992_g, 0x141EB59D5_g);
p(0x141EB74D2_g, 0x141EB7515_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) for (const auto& patch : patches)

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#define PROTOCOL 2 #define PROTOCOL 1
#ifdef __cplusplus #ifdef __cplusplus
namespace game namespace game