Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4390 from Imrglop/master
Browse files Browse the repository at this point in the history
Update client instance
  • Loading branch information
richardletshacks authored Apr 7, 2021
2 parents 3ea78ca + 0e84fb8 commit 3653131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Memory/GameData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ void GameData::retrieveClientInstance() {
logF("clinet: %llX", clientInstanceOffset);
}
}*/
clientInstanceOffset = 0x03A30ED8; // pointer scanned, can't find good signatures so it'll stay
g_Data.clientInstance = reinterpret_cast<C_ClientInstance*>(g_Data.slimMem->ReadPtr<uintptr_t*>(g_Data.gameModule->ptrBase + clientInstanceOffset, {0x0, 0x0, 0x40}));
clientInstanceOffset = 0x03B53828; // pointer scanned, can't find good signatures so it'll stay
g_Data.clientInstance = reinterpret_cast<C_ClientInstance*>(g_Data.slimMem->ReadPtr<uintptr_t*>(g_Data.gameModule->ptrBase + clientInstanceOffset, {0x0, 0x50, 0x0}));

#ifdef _DEBUG
if (g_Data.clientInstance == 0)
Expand Down

4 comments on commit 3653131

@TheCrazyInsanity
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you get the client instance offset?

@Drakesdrs
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder aswell.

@Cxiro
Copy link

@Cxiro Cxiro commented on 3653131 Apr 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you get the client instance offset?

easy

@TheCrazyInsanity
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you get the client instance offset?

easy

if its easy why don't u say

Please sign in to comment.