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 


Assembly script cheat table in Lua scripting

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Sat Dec 21, 2013 5:22 am    Post subject: Assembly script cheat table in Lua scripting Reply with quote

Hello, i downloaded this .CT table from this forum
It is a cheat table for Europa Universalis 4

My question is how do i use the whole script of auto assembler in lua scripting so that i can create a GUI trainer through lua for it?

I will create a form and then will use the script in the below attached cheat table?

Kindly help me out. Also i created an editor through lua scripting so have knowledge about it . But im new to autoassembler.



EU4.CT
 Description:

Download
 Filename:  EU4.CT
 Filesize:  77.19 KB
 Downloaded:  1100 Time(s)

Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Dec 21, 2013 5:25 am    Post subject: Reply with quote

example

script = [[//your assembly script, please delete [ENABLE] and don't include [DISABLE] or disable script]]
autoAssemble(script);


Example..

script = [[luacall(print('Test'))]]
autoAssemble(script);

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Sat Dec 21, 2013 5:31 am    Post subject: Reply with quote

sorry i didnt quite get it. Can you explain it a bit furthur. im noob yea Neutral
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Dec 21, 2013 6:12 am    Post subject: Reply with quote

insert all your assembly function into the [[ ]] (between).
and press execute.. you'll understand it

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Dec 21, 2013 6:35 am    Post subject: Reply with quote

Just load that table. Assign hotkeys to the entries and click file->generate generic lua script trainer from table (or whatever i called it)
That will create a lua script that creates a gui with the cheats

After generation you can then modify it by adding buttons and other stuff and fill in events,like onClick
In those events you can then also toggle entries in the table, besides hotkeys only.
Get a reference to the memoryrecord, and then set the Active property to true

_________________
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
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Sat Dec 21, 2013 7:56 am    Post subject: Reply with quote

thank you very much
dark byte and spammer Smile
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 Lua Scripting 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