|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Drivium Advanced Cheater Reputation: 0
Joined: 16 Apr 2013 Posts: 97
|
Posted: Tue Jun 09, 2020 12:44 am Post subject: How to give a pointer a name to reference for offsetting |
|
|
So, I'm working on a table for a game where aob's aren't really reliable, so I'm using pointers. The only problem is whenever this game get's a new patch, it breaks the pointers and I have to find them all over again. So, my thought is, to set it up so I only have to find a single pointer, then offset that pointer to get to my other memory addresses. To do that, I'd need some way of referencing it.
For example, I have this cheat that creates "_coords" which I can then reference to populate my memory addresses, but it's an aob, not a pointer:
Code: | [ENABLE]
aobscan(arraystart,?? ff ff ff f1 3f ?? ?? ?? 80 00 ?? ?? 11)
label(_coords)
registersymbol(_coords)
arraystart:
_coords:
[DISABLE]
unregistersymbol(_coords) |
https://forum.cheatengine.org/download.php?id=124663
My pointer cheat is just a normal address with offsets: https://forum.cheatengine.org/files/gameexample_133.png. So, hoping there's someway to convert this pointer to asm, give it "name" to reference by, then create new basic cheat in the table where I reference my pointer script by name + offsets like "pointerbase+1ef"
Hope this makes sense...
Description: |
|
Filesize: |
11.43 KB |
Viewed: |
2304 Time(s) |
|
Description: |
|
Filesize: |
28.08 KB |
Viewed: |
2182 Time(s) |
|
Last edited by Drivium on Tue Jun 09, 2020 12:55 am; edited 1 time in total |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Tue Jun 09, 2020 12:53 am Post subject: |
|
|
you can replace "Game.exe"+02f1af20 with the pointerbase (e.g _coords)
Perhaps you need to add one more offset to the bottom with value 0 in case _coords contains the address where the base is stored instead of the address itself
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Drivium Advanced Cheater Reputation: 0
Joined: 16 Apr 2013 Posts: 97
|
Posted: Tue Jun 09, 2020 1:04 am Post subject: |
|
|
I'm thinking I need to convert my pointer (the one pointer I'll have to re-find if game is patched) into asm and give it a name, then I can reference it in a regular cheat like my coords (only used as example of how I've used name referenced with aob's, but want to do it with a pointer in the same way if possible). Aob will not work in this case. A pointer will give me a valid address in the area of interest. Just need a single pointer to get me there, then I can offshoot that on my own without the need for more pointers.
So, here's the order of my thinking:
1. Find my one and only pointer, convert it into an asm script with a name I can reference
2. Create a new cheat (non-pointer) and reference named pointer like "namedpointer+ offset"
3. Done.
The part I don't know how to do is to convert a pointer into an asm script and give it a name for referencing.
I may not be articulating well and I'm sorry for that! lol
|
|
Back to top |
|
|
|
|
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
|
|