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 


Convert autoassembler table into trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
EntityReborn
How do I cheat?
Reputation: 0

Joined: 15 Aug 2010
Posts: 9

PostPosted: Wed Oct 16, 2013 11:46 am    Post subject: Convert autoassembler table into trainer Reply with quote

Ok, so I am trying to make the Just Cause 2 v1.0.0.2 +5 table found here by Cielos into a trainer, but as it uses primarily the autoassembler as well as requires [ ] Enable to be checked, this is a bit interesting.

What I thought might work is in lua, wait to attach to JustCause2.exe, and then manually set the checkbox using setProperties('active').

Any thoughts?

Props to Cielos for that table!
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Wed Oct 16, 2013 12:12 pm    Post subject: Reply with quote

the easy way:
1) set hotkeys
2) click "File->generate generic trainer ...."
3) save as EXE file (note: trainer exe must have different name than game process)

_________________
Back to top
View user's profile Send private message MSN Messenger
EntityReborn
How do I cheat?
Reputation: 0

Joined: 15 Aug 2010
Posts: 9

PostPosted: Wed Oct 16, 2013 12:46 pm    Post subject: Reply with quote

Yes, unfortunately this doesn't work. On startup, a window shows up saying that it's a invalid cheat table (Error executing this table's lua script: Undefined lua error), and the lua console says "attempt to call global 'registerHotkey' ( a nil value).

This table has no lua code at all, so I am unsure as to how to proceed.

EDIT:

Ah, the issue was I checked the "Popup trainer on keypress", which added that line. Removing that line caused no issues.
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