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 


Simple Basic trainer getting Lua error

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

Joined: 11 Oct 2014
Posts: 8

PostPosted: Sat Oct 11, 2014 10:20 pm    Post subject: Simple Basic trainer getting Lua error Reply with quote

so i tried to make a trainer through the basic tool the easy way and i just added my hotkeys to the specific addresses and the value to be set when pressed but after i save the trainer as .exe and try to open it i get this message bellow and i even tried deleting every single hotkey and made the trainer kind off empty but it still said the something even though there were no hotkey assigned to it? FYI all the values works in-game if i try to change the values manually in the CE.

Okay i managed to get the error fixed but now when i start it, it starts to spam this in another window the "Lua Engine" and it spams this: error:[string "--TRAINERGENERATORSTART--..."]:187 attempt to call field 'isPlaying' (a boolean value) it has something to do with my .XM music file cause if i don't add a music file i don't get that error but i do want to have one =/ the trainer works great if not for that error..



Ca22pture.JPG
 Description:
the error
 Filesize:  19.73 KB
 Viewed:  3956 Time(s)

Ca22pture.JPG



_________________
"Lightning. It flashes bright, then fades away. It can't protect. It only destroys."
-Claire Farron
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sun Oct 12, 2014 3:37 pm    Post subject: Reply with quote

create your trainer as a script only
Then execute/debug that script and see if you can find what's wrong.

_________________
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
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