Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Assign AA script to a CheckBox (CETrainer by Form Designer)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Mon Nov 02, 2015 10:01 am    Post subject: Assign AA script to a CheckBox (CETrainer by Form Designer) Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25833
Location: The netherlands

PostPosted: Mon Nov 02, 2015 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Mon Nov 02, 2015 8:13 pm    Post subject: Reply with quote

Thank you so much Dark Byte,
With your answer, i have learning and understanding basic of AA script.

Regards
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites