Posted: Mon Jan 24, 2022 11:49 am Post subject: Get specific address from within aobs code!
I'm a little confused.
I am using an aobs code to get the correct value.
And I'm trying to get the address of a specific value from within that code.
But I cannot move the current address to the address I want to receive.
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
Posted: Mon Jan 24, 2022 1:45 pm Post subject:
Add the difference, in bytes, as an offset to where you want the address to start. CE will return the starting address where the pattern is found, so then in your case, add +40 to the result to get to where E8 03 00 00 is at. _________________
Add the difference, in bytes, as an offset to where you want the address to start. CE will return the starting address where the pattern is found, so then in your case, add +40 to the result to get to where E8 03 00 00 is at.
Code:
tostring(aobs[0]) .. "+40"
Thanks for saving the day.
This was something I've wondered about for a long time.
+1 is yours when the time is up.
Thanks.
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