markheloking Cheater
Reputation: 2
Joined: 21 Nov 2009 Posts: 35
|
Posted: Thu Jan 14, 2016 10:57 am Post subject: Updating addresses in cheat table from script |
|
|
So currently I'm not using any LUA or such things, but I'm open to use it if that would solve the problem that I'm having.
I have a piece of x86 code that I inject in the game. I edit some values and read some values into my own allocated codespace under a symbol name. I then register that symbol so that it can be used in the cheat table. For example, the script:
| Quote: |
alloc(somemem,128)
symbol(Pointer)
registersymbol(Pointer)
Pointer:
dd 10210600
*some code that conditionally changes the value stored in Pointer*
|
And then in my table I just use the symbol like so to read it's value:
[Pointer]+Offset
Where the offset is manual (since cheatengine doesn't seem to support a symbol as an offset for pointers).
Now when the game is played and the script is ran so that it changes the value of pointer (aka the pointer is relocated), it takes a whole few seconds (about 7 or 8 seconds) to update the cheat table addresses to these new addresses. I can't seem to find the setting under settings that affects this refresh speed. I can see the Pointer in my cheat table update right away (that is the 500ms setting under settings I believe), but the entries that have the [Pointer] used in their address take up to 10 seconds to update to the new value.
So the question is: is it possible to trigger the address refresh from that auto assemble script (maybe with the help of some LUA or something)?
|
|