 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
a00053 How do I cheat?
Reputation: 0
Joined: 26 May 2019 Posts: 1
|
Posted: Sun May 26, 2019 5:29 pm Post subject: how put this code in lua script |
|
|
how put this auto semmble code in lua script without error
| Code: |
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [esi+04],219FFB7C
originalcode:
mov [esi+04],eax
mov [esp+74],FFFFFFFF
exit:
jmp returnhere
"game.dat"+166857:
jmp newmem
nop
nop
nop
nop
nop
nop
returnhere:
[DISABLE]
|
that code work perfect with injection auto assembly
I want use this code with lua script
if you can help me ... thank you
|
|
| Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Sun May 26, 2019 6:56 pm Post subject: |
|
|
| Code: | autoAssemble([[
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [esi+04],219FFB7C
originalcode:
mov [esi+04],eax
mov [esp+74],FFFFFFFF
exit:
jmp returnhere
"game.dat"+166857:
jmp newmem
nop
nop
nop
nop
nop
nop
returnhere:
[DISABLE]
]]) |
https://wiki.cheatengine.org/index.php?title=Lua:autoAssemble
_________________
|
|
| 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
|
|