Revert "Temporarily diable new protocol to merge changes"
This reverts commit 6d0d3510646121acf41f3164e283b60201fa2d81.
This commit is contained in:
parent
48b5ad815f
commit
4661b26127
@ -172,9 +172,8 @@ namespace auth
|
||||
void post_unpack() override
|
||||
{
|
||||
// Skip connect handler
|
||||
//utils::hook::set<uint8_t>(game::select(0x142253EFA, 0x14053714A), 0xEB);
|
||||
//network::on("connect", handle_connect_packet);
|
||||
(void)&handle_connect_packet;
|
||||
utils::hook::set<uint8_t>(game::select(0x142253EFA, 0x14053714A), 0xEB);
|
||||
network::on("connect", handle_connect_packet);
|
||||
|
||||
// Patch steam id bit check
|
||||
std::vector<std::pair<size_t, size_t>> patches{};
|
||||
@ -221,8 +220,7 @@ namespace auth
|
||||
p(0x141EB5992_g, 0x141EB59D5_g);
|
||||
p(0x141EB74D2_g, 0x141EB7515_g); // ?
|
||||
|
||||
//utils::hook::call(0x14134BF7D_g, send_connect_data_stub);
|
||||
(void)&send_connect_data_stub;
|
||||
utils::hook::call(0x14134BF7D_g, send_connect_data_stub);
|
||||
}
|
||||
|
||||
for (const auto& patch : patches)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#define PROTOCOL 1
|
||||
#define PROTOCOL 2
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace game
|
||||
|
Loading…
Reference in New Issue
Block a user