View previous topic :: View next topic |
Author |
Message |
usernotfound Expert Cheater Reputation: 0
Joined: 21 Feb 2016 Posts: 115
|
Posted: Wed Aug 10, 2016 9:20 pm Post subject: [solved] |
|
|
[solved]
Last edited by usernotfound on Sat Aug 20, 2016 5:56 pm; edited 2 times in total |
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Aug 10, 2016 10:20 pm Post subject: |
|
|
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 |
|
|
usernotfound Expert Cheater Reputation: 0
Joined: 21 Feb 2016 Posts: 115
|
Posted: Wed Aug 10, 2016 10:59 pm Post subject: |
|
|
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 |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Aug 11, 2016 5:14 am Post subject: |
|
|
Post the form here, without the Lua, and we may be able to help.
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Thu Aug 11, 2016 7:13 am Post subject: |
|
|
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).
_________________
|
|
Back to top |
|
|
|