Skip to content

Commit

Permalink
Patched for DayZ 1.21.156300
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioganea committed Jul 2, 2023
1 parent a137fbb commit 99d19e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TCI-DLL/detour.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ void CreateDetour() {
//0x2AC3AB <- DayZ 1.20.155881
//0x2AC4CB <- DayZ 1.20.155981
//0x2AEA0B <- DayZ 1.21.156243
//0x2AEA3B <- DayZ 1.21.156300

const uint64_t relativeAddrFuncA = 0x2AEA0B;
const uint64_t relativeAddrFuncA = 0x2AEA3B;
uint64_t hookAddress = (uint64_t)GetModuleHandle(NULL) + relativeAddrFuncA;

#ifdef DESKTOP_DEBUG_FILE
Expand Down

0 comments on commit 99d19e0

Please sign in to comment.