Posted: Sun Sep 18, 2022 10:16 am Post subject: Pointed Address plus offset
I've pointer scan for a value multiple times and i got a solid pointer works all the time. I know that if i add some hex to pointed addres like 4, 8, C etc. I get the other values that i'm looking for. So are there a simple way to achieve this automatically?
Like [pointed Address] + 3C4 something like that. For another address and when the process starts cheat engine shows the right values.
If there isn't i tried AOB Injection and getting the value im looking for and store it in allocated newmem but when i try to access stored address lets say its [pHealt] it returns zeros.
I've looked for "find out what accesses this address"
and then "show disassembler" and then "auto assemble" the right addres.
everything is fine (i hope) so far. Below is the script i wrote looking tutorials.
Code:
[ENABLE]
//aobscanmodule(INJECT,Torchlight.exe,D9 9E 94 03 00 00 80) // should be unique
After i add this script to the address list, i add an address manually to check if i cen get "pHealt".
manually added address : [pHealt] + 3C4
i also use pointer : base [pHealth] offset 3C4
when i activate the script manually added address get: 000003C4
So i assume
Code:
mov [pHealth],esi
this part of the code, when i try to move esi to [pHealth] it gets zeros(00000000) whats the problem here that i cannot see?
I know that if i add some hex to pointed addres like 4, 8, C etc. I get the other values that i'm looking for. So are there a simple way to achieve this
Change the last offset. e.g. if a value you want is located 8 bytes after a value you have a pointer to, add 8 to the last offset: 3C4 + 8 = 3CC.
yesil wrote:
i also use pointer : base [pHealth] offset 3C4
base should be `pHealth`, not `[pHealth]` _________________
I don't know where I'm going, but I'll figure it out when I get there.
@ParkourPenguin thank you.
I was ading 4 bytes as another offset to the pointer so that was the problem.
It would be a greater problem to pointer scan one by one for like 8-10 addresses with 4 bytes between each of them. Now i add 4 bytes to the last offset as you said and it works, thank you.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum