View previous topic :: View next topic |
Author |
Message |
iafale How do I cheat?
Reputation: 0
Joined: 11 May 2020 Posts: 2
|
Posted: Mon May 11, 2020 1:04 am Post subject: Add an address to the table via script |
|
|
Hello everyone! I'm a new user and i'm also new with script (unfortunately).
I can easily find the address i need (the value is encrypted and the only way is changed/unchanged value a lot of times).
Try to find a static address is not a valid way (the game work with lua and the address change without restart the application (if i understand correctly... )).
But, i found an alternative way to find the address immediately:
place a break point on
mov [ecx],eax
ecx is the address i am looking for, eax is the new value. Obviously is a shared code, and if I give as a condition on the break point:
EBP==0xFFFFFFFB and EDI-ESI==0x6C
Here we are
Now, the question is:
is there a way to do all this through a script and directly add the address (ecx) to the cheat engine table?
I hope i explained myself correctly and sorry for my english. Thanks in advance to all those who will reply.
|
|
Back to top |
|
 |
blankTM Cheater
Reputation: 1
Joined: 03 May 2020 Posts: 49
|
Posted: Mon May 11, 2020 9:50 am Post subject: Re: Add an address to the table via script |
|
|
Replace 0x05C03953 with mov [ecx], the address where eax is located
Code: | <?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="31">
<CheatEntries>
<CheatEntry>
<ID>11</ID>
<Description>"initialization"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{$lua}
if syntaxcheck then return end
[ENABLE]
debug_setBreakpoint(0x05C03953,function()
if EBP ==0xFFFFFFFB and EDI-ESI == 0X6C then
_value=ECX
end
end)
[DISABLE]
debug_removeBreakpoint(0x05C03953)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>12</ID>
<Description>"value"</Description>
<VariableType>4 Bytes</VariableType>
<Address>_value</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
<UserdefinedSymbols/>
</CheatTable>
|
|
|
Back to top |
|
 |
iafale How do I cheat?
Reputation: 0
Joined: 11 May 2020 Posts: 2
|
Posted: Mon May 11, 2020 1:35 pm Post subject: |
|
|
Hi blankTM thank you so much for your answer.
I tried your code and it works great. if i can take advantage of your kindness, would you have any good books to recommend?
I found "Programming in Lua, fourth edition by Roberto Ierusalimschy"
And I'd like to have an opinion
Thanks again
Edit:
keep in mind that i am a novice
|
|
Back to top |
|
 |
blankTM Cheater
Reputation: 1
Joined: 03 May 2020 Posts: 49
|
Posted: Mon May 11, 2020 7:08 pm Post subject: |
|
|
iafale wrote: | Hi blankTM thank you so much for your answer.
I tried your code and it works great. if i can take advantage of your kindness, would you have any good books to recommend?
I found "Programming in Lua, fourth edition by Roberto Ierusalimschy"
And I'd like to have an opinion
Thanks again
Edit:
keep in mind that i am a novice |
I can't send the address
|
|
Back to top |
|
 |
|