HelpReadProcessMemory

Posts 1–10 of 10 · Page 1 of 1
ReadProcessMemory
Hey, i need help in RPM, im codding a internal hack, but i don't really know how to use the function ReadProcessMemory() while using a .DLL can someone help me please?
Quote Originally Posted by AOJSdj3iopermakljh89i005rsm View Post
I'm pretty sure using ReadProcessMemory internally is useless..
The problem is this : Im trying to read the Jump addr (for bunny hop) but i don't know how if(CVar.Jump > 266) this doesn't work..
Quote Originally Posted by fowev3rXP View Post
The problem is this : Im trying to read the Jump addr (for bunny hop) but i don't know how if(CVar.Jump > 266) this doesn't work..
you can read process memory internally like this: *Your variable u want to store shit in* = *("datatype"*)((DWORD)Address);
Quote Originally Posted by affe2626 View Post
you can read process memory internally like this: *Your variable u want to store shit in* = *("datatype"*)((DWORD)Address);
this ? ->

DWORD InCrossID = *(DWORD *)(0x0000AA44);
Quote Originally Posted by fowev3rXP View Post
this ? ->

DWORD InCrossID = *(DWORD *)(0x0000AA44);
nah first Client = somehow u got it just search on how u get modules or something and then Localbase = *(DWORD*)((DWORD)Client + localplayer);
and then CrosshairID = *(int*)((DWORD)Localbase + 0xAA44);

and also do u know how to make it externally? start with that if so :P
Quote Originally Posted by affe2626 View Post
nah first Client = somehow u got it just search on how u get modules or something and then Localbase = *(DWORD*)((DWORD)Client + localplayer);
and then CrosshairID = *(int*)((DWORD)Localbase + 0xAA44);

and also do u know how to make it externally? start with that if so :P
Thanks also i know how to do it externally but i stoped codding for a about 2 years tho ... coming back now anyway thx for the help
Quote Originally Posted by affe2626 View Post
nah first Client = somehow u got it just search on how u get modules or something and then Localbase = *(DWORD*)((DWORD)Client + localplayer);
and then CrosshairID = *(int*)((DWORD)Localbase + 0xAA44);

and also do u know how to make it externally? start with that if so :P
Why would you cast "Client" and "Localbase" into a DWORD? You are casting it afterwards anyways?

Just do:

CrosshairID = *reinterpret_cast<int*>(Localbase + 0xAA44);
The concept is the same but instead of using RPM/WPM, you make a pointer to the address.
/Solved & closed.
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us