Could you give me an example? I Don't get it, it still shows the same valueSeems like you just add the offsets to it without even getting the value of the pointer
*(DWORD*)((*(DWORD*) 0xPointer)+offset1) would, if I am not wrong be the calculation for a pointer with one offset
Sorry for bothering, but how would the code be?Read pointer + offset 1
Then read the result of that + offset two
Then the result of that + offset 3 etc
You're just reading the original address + the sum of the 3 offsets
RPM(pointer + offset1, &pointed);
RPM(pointed + offset2, &pointed);
RPM(pointed + offset3, &pointed);
DWORD Pointer = 0x01F5E5D4;
ReadProcessMemory(hProc,(LPCVOID)(Pointer + Offset1), &Pointed, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset2), &Pointed, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset3), &Pointed, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(Pointed), &CurrentDistance, 4, NULL);
yes it looks correct, but the only way to make sure is to test it.One question. Is this the right address?
C++:DWORD Pointer = 0x01F5E5D4;
![]()
Also the code now looks like this, is this correct ?
C++:ReadProcessMemory(hProc,(LPCVOID)(Pointer + Offset1), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset2), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset3), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed), &CurrentDistance, 4, NULL);
I did test it, but it gives me wrong values, that's why I asked.yes it looks correct, but the only way to make sure is to test it.
i dont see why you havent already.
DWORD Offset1 = 0x24;
ReadProcessMemory(hProc, (LPCVOID)(Pointer), &Pointed, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset1), &Pointed, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset2), &Pointed, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset3), &Pointed, 4, NULL);
think this should be right might have overlooked something im a bit tired.C++:ReadProcessMemory(hProc, (LPCVOID)(Pointer), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset1), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset2), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset3), &Pointed, 4, NULL);
Yeah I forgot the first RPM but that should be correctthink this should be right might have overlooked something im a bit tired.C++:ReadProcessMemory(hProc, (LPCVOID)(Pointer), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset1), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset2), &Pointed, 4, NULL); ReadProcessMemory(hProc,(LPCVOID)(Pointed + Offset3), &Pointed, 4, NULL);
This fixed my error, but now CurrentDistance will always be 0 ? Because I have checks like:not bothering me just harder to focus.
C++:int currentdistance = 0;
if (CurrentDistance > 1 && CurrentDistance < 20 && (GetAsyncKeyState(VK_F1)))
Run it and let's see what you get...This fixed my error, but now CurrentDistance will always be 0 ?
what about a squareRoot in this ? ..Yeah I forgot the first RPM but that should be correct
Yeah, I want to print the distance in the console, then read the memory, so I can set up checks.Run it and let's see what you get...
do you just want to see the distance ?
if (CurrentDistance > 1 && CurrentDistance < 20 && (GetAsyncKeyState(VK_F1)))
Yeah, I made this video using a level 1 pointer, but then that pointer would stop work if u restart the game, or you go to another cityso you are writing a triggerbot set too trigger at distance.
but if you first want too just look at the distance that you have, then
C++:float currentDistance = 0;