 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Mon Nov 02, 2015 10:01 am Post subject: Assign AA script to a CheckBox (CETrainer by Form Designer) |
|
|
Hi guys,
I am not familiar with AA script, then my question :
How to put this AA script under a CheckBox on change event / or a ButtonClick(sender), cause i have tried to writing the script to that function when test a trainer made by form desingner and it say error on "[ENABLE]'. (I am not use generating generic trainer from Cheat Table).
| 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 byte ptr [ebp+48],01
mov [ebp+24],eax
originalcode:
//mov byte ptr [ebp+48],00
//mov [ebp+24],eax
exit:
jmp returnhere
"game.exe"+93AA3:
jmp newmem
nop
nop
returnhere:
[DISABLE]
|
Thank you and regards
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Mon Nov 02, 2015 10:06 am Post subject: |
|
|
| Code: |
autoAssemble([[
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 byte ptr [ebp+48],01
mov [ebp+24],eax
originalcode:
//mov byte ptr [ebp+48],00
//mov [ebp+24],eax
exit:
jmp returnhere
"game.exe"+93AA3:
jmp newmem
nop
nop
returnhere:
]])
|
please note that disable isn't supported by lua autoAssemble
If you wish to have disable support, then use the addresslist object to activate and deactivate entries with code
_________________
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 |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Mon Nov 02, 2015 8:13 pm Post subject: |
|
|
Thank you so much Dark Byte,
With your answer, i have learning and understanding basic of AA script.
Regards
|
|
| 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
|
|