| View previous topic :: View next topic |
| Author |
Message |
Kuwaga Newbie cheater
Reputation: 0
Joined: 21 Apr 2012 Posts: 11
|
Posted: Mon Apr 23, 2012 1:08 pm Post subject: Variable offset problem |
|
|
I have the following problem:
All of the values I'm interested in are stored in a memory region and the pointer to the beginning of the region is found at "game.exe+x". So for all the values I'm modifying I use this pointer with varying offsets. But inside that memory region there are certain variables that will often change its location while the game is running and I have trouble adjusting to this, even though I've already found where the offset is stored that I could use to solve this.
The internal offset o is stored at [game.exe+x] at an offset y. The variable I'm interested in is found at [game.exe+x] with an offset z + o.
How can I setup Cheat Engine so it will use this offset in the RAM watch table?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25859 Location: The netherlands
|
Posted: Mon Apr 23, 2012 1:43 pm Post subject: |
|
|
Most likely it's a pointer to a pointer to a value
or a pointer to a pointer to a pointer to a value
...
Just add multiple offsets (do some debugging or a pointerscan, or use a signature scan instead)
_________________
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 |
|
 |
Kuwaga Newbie cheater
Reputation: 0
Joined: 21 Apr 2012 Posts: 11
|
Posted: Mon Apr 23, 2012 2:54 pm Post subject: |
|
|
| No, it's pointer+offset b+[pointer+offset a], pointer being the same pointer
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25859 Location: The netherlands
|
Posted: Mon Apr 23, 2012 3:01 pm Post subject: |
|
|
If you know exactly how it's done then use lua.
Create a function that calculates the address using readInteger and then registers the result as a symbol
Then add an address with that symbolname so you can set the values like any ordinary table entry
And i recommend a timer that executes that lua function every few seconds
_________________
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 |
|
 |
Kuwaga Newbie cheater
Reputation: 0
Joined: 21 Apr 2012 Posts: 11
|
Posted: Mon Apr 23, 2012 3:11 pm Post subject: |
|
|
Ah thanks, that should work.
Edit: Yep, it worked.
|
|
| Back to top |
|
 |
|