HelpWrite to a level 2 Pointer (what exactly is wrong with my code) (VB.net)

Posts 1–2 of 2 · Page 1 of 1
Write to a level 2 Pointer (what exactly is wrong with my code) (VB.net)
Whats up.
Im not into memory hacking with offsets yet, but i did it a few years ago and just "unlearned" it somehow. And im doing it in vb.net, just because i began with this language. Im better in it then in english lol.

Code:
WriteDMAFloat("GTA5", &H7FF720E62130, Offsets:={&H8, &H280}, Value:=51221, Level:=2, nsize:=4)
So: Im trying to write to a float value(health in this case) and i used someones Cheat Engine Table to get the WorldPTR. So i scanned the AoB Pattern and got this Address(static): 0x7FF71F3428F1 and its not a pointer, if im not completly dumb. I mean, yes, its a "WorldPTR" but its just aob scanned. Now i added the offsets 8 and 280, to get to the health value. But if im trying to launch the code, absolutly nothing happens. Do i have to add in the Baseaddress or what is wrong here? The WorldPTR should be the right one.
And my next question(the first one is still activ):

Code:
aobscanmodule(WorldPTR,GTA5.exe,48 8B 05 ? ? ? ? 45 ? ? ? ? 48 8B 48 08 48 85 C9 74 07)
registersymbol(WorldPTR)

local addr = getAddress("WorldPTR")
addr = addr + readInteger(addr + 3) + 7
unregisterSymbol("WorldPTR")
registerSymbol("WorldPTR", addr, true)
I took this code from a Cheat Table. What exactly does it? I do understand everything, but it mindfucks me anyway. Here is a version, where i am trying to explain it, but its wrong anyway:

Code:
aobscanmodule(WorldPTR,GTA5.exe,48 8B 05 ? ? ? ? 45 ? ? ? ? 48 8B 48 08 48 85 C9 74 07) //Scans the aob pattern

registersymbol(WorldPTR) //obv

local addr = getAddress("WorldPTR") //gets the address in integer form(?)

addr = addr + readInteger(addr + 3) + 7 //thats the mindfuck part. If i do addr + 3, the result is: "28440632" and if i do + 4 it says "1157739000". I mean, yes it converts it to an integer(?) and adds +3 but i really don't get it. If i do 28440632 + 1, the logical result is 28440633 for me lol. Or does it add +1 to the address and not to the converted integer? Oh my gosh i need help

unregisterSymbol("WorldPTR") //obv

registerSymbol("WorldPTR", addr, true) //obv
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us