Solved Reading Memory

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

maxownage01

Jr.Coder
Full Member
Nobleman
Apr 23, 2015
69
493
1
Game: Counter Strike: Global Offensive
Experience Level: Just trainers, moving onto making an external triggerbot.

Problem: So in essence im not really sure how all the offsets and what not work. I mean i've found the "client.dll" and i've got all the correct offsets, im just not sure if im doing this right. I want to find the enemy players team, to make sure I don't shoot at a teammate.

C++:
DWORD localPlayer = 0x04AC9154;

DWORD LocalBase = ReadProcessMemory(hProc, (LPVOID)BaseAdress, &localPlayer, sizeof(localPlayer), nullptr);
int LocalTeam = LocalBase + mteamNum;
 
Last edited:

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,142
78,998
2,393
ReadProcessMemory(hproc, (LPVOID)(localbase + mteamNum), &localTeam, blahblahblah)

and your example doesn't make sense, you declare localPlayer with an address that is dynamic, and then overwrite it with the baseaddress of client.dll...Not really understanding it :(

Do this tut:
 
Last edited:

maxownage01

Jr.Coder
Full Member
Nobleman
Apr 23, 2015
69
493
1
Rake;47913 said:
ReadProcessMemory(hproc, (LPVOID)(localbase + mteamNum), &localTeam, blahblahblah)

and your example doesn't make sense, you declare localPlayer with an address that is dynamic, and then overwrite it with the baseaddress of client.dll...Not really understanding it :(
Yeah i've confused myself, I got the localPlayer from:
"
LocalPlayer -> m_dwLocalPlayer: ________________ 0x00AA6818
"

Not really too sure what Im supposed to read in.
 

wolf22j

Coder
Full Member
Nobleman
Mar 19, 2014
133
1,778
20
RPM does not return a value like how you are using it with local base. It returns 0 for failure and nonzero for success.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods