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 


show_form error and other issues

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

Joined: 09 Jun 2015
Posts: 77

PostPosted: Fri Jul 08, 2016 5:41 pm    Post subject: show_form error and other issues Reply with quote

I'm making a trainer for resident evil 5, and I loaded it with a combobox too. Although, it keeps telling me the trainer attempts to call nilvalues, one being show_form... It is listed as an undefined lua error. It also says whenever I select any item in my combobox, it says it attempted to call a nilvalue as well. Could somebody please help me with this?

Code:




Also, could you check for any errors in my code please? Much appreciated.


Last edited by Reclaimer Shawn on Tue Jul 12, 2016 5:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Fri Jul 08, 2016 6:05 pm    Post subject: Reply with quote

Code:
UDF1.show()

Combobox is calling nil probably because the error prevented the function CEComboBox1Select from being initialized.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Jul 08, 2016 6:06 pm    Post subject: Reply with quote

Code:
UDF1.Show()

Code:
index = UDF1.CEComboBox1.ItemIndex
Back to top
View user's profile Send private message
Reclaimer Shawn
Advanced Cheater
Reputation: 0

Joined: 09 Jun 2015
Posts: 77

PostPosted: Fri Jul 08, 2016 7:45 pm    Post subject: Reply with quote

Thank you all, I was able to get it working. However, I lost my form file. For some reason, when I was modifying my form, I saved over it somehow with a fresh one, wiping everything clean. Is there a way I can extract a .frm from my own executable file?
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