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 


[solved]

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

Joined: 21 Feb 2016
Posts: 115

PostPosted: Wed Aug 10, 2016 9:20 pm    Post subject: [solved] Reply with quote

[solved]

Last edited by usernotfound on Sat Aug 20, 2016 5:56 pm; edited 2 times in total
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Aug 10, 2016 10:20 pm    Post subject: Reply with quote

Do you have something defined in the form's OnShow event?
Sounds like it's trying to call one of the events but you didn't define the function in your script.
Back to top
View user's profile Send private message
usernotfound
Expert Cheater
Reputation: 0

Joined: 21 Feb 2016
Posts: 115

PostPosted: Wed Aug 10, 2016 10:59 pm    Post subject: Reply with quote

Zanzer wrote:
Do you have something defined in the form's OnShow event?
Sounds like it's trying to call one of the events but you didn't define the function in your script.


Not in my main form no, I've used OnShow for my PageControl tabs but when I sort through the different pages no errors are written to that Lua Engine window, so I assume that's not the cause. The tabs function as they should, so do my toggleboxes. The error only appears once when the EXE/LUA is first opened, I can't figure out how to replicate the actual cause for it though.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Aug 11, 2016 5:14 am    Post subject: Reply with quote

Post the form here, without the Lua, and we may be able to help.
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Thu Aug 11, 2016 7:13 am    Post subject: Reply with quote

Well, simply add prints after each function that get executed.
For example i'd print "start" as soon as the trainer loaded, and then add print before each function getting executed.
based on what you have printed you could tell what function throwing that error, and from there investigate (you can print inside that function too to address the problem more accurately).

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
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