AntumDeluge Cheater Reputation: 0
Joined: 20 Dec 2018 Posts: 48
|
Posted: Fri Apr 19, 2019 6:58 pm Post subject: [Solved] Handle Renamed Executable |
|
|
I just realized that Cheat Engine tables do not work on renamed executable processes. Is there no global variable that can be used to represent the main process in the address field & code injection scripts?
-- Edit --
The lua global process stores this info, so I would think there would be a way to expose it in a table address entry.
Also, can lua variables be used in auto assembler ASM code? Example:
Code: | {$lua}
address = process .. '+22FB51'
{$asm}
aobscanmodule(aobTest,process,74 14 DD 40 08)
...
newmem:
jmp address
...
|
Or is there a different way to do it?
-- Edit -
Actually, I would probably need to use luaCall?
Code: | aobscanmodule(aobTest,luaCall(process),74 14 DD 40 08)
...
newmem:
jmp luaCall(address)
... |
Would that be correct?
-- Edit --
For table entry addresses, I assume I would need to define a symbol with the value of process, if that is possible.
Solved: Oops, I was making a big mistake. To use lua globals in table memory records & auto assembler scripts, you need to prefix with '$'. So no need to use luaCall at all:
Code: | {$lua}
address = process .. '+22FB51'
{$asm}
aobscanmodule(aobTest,$process,74 14 DD 40 08)
...
newmem:
jmp $address
... |
|
|