Navigation Menu

Skip to content

Commit

Permalink
Fix 'dedi bug' - Part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
unk-1 committed Feb 2, 2018
1 parent c4e3d6b commit 388085f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ElDorito/Source/Patches/Network.cpp
Expand Up @@ -887,6 +887,9 @@ namespace
}
}

const auto network_generate_identifier = (__int64(*)())(0x00431010);
*(uint64_t*)((uint8_t*)request+0x1D0) = network_generate_identifier(); // replace player identifier (local ipv4, port) with something more unique

// Continue the join process
typedef bool(__thiscall *Network_session_handle_join_requestFunc)(Blam::Network::Session *thisPtr, const Blam::Network::NetworkAddress &address, void *request);
auto Network_session_handle_join_request = reinterpret_cast<Network_session_handle_join_requestFunc>(0x4DA410);
Expand Down

0 comments on commit 388085f

Please sign in to comment.