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 


Renaming Forms

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

Joined: 14 Feb 2017
Posts: 4

PostPosted: Sat Jun 24, 2017 8:50 am    Post subject: Renaming Forms Reply with quote

Greetings.

I'm working with an existing .ct file which contains a couple of forms. In an effort to learn CE's form designer I have been studying this file as a teaching tool.

The .ct file works as expected; the forms, when called, open properly. I see that they are declared in the XML and have a property Class="TCEForm". Following that is an Ascii85 encoded string.

Using the designer, I have changed the Name property of a form, clicked the Save button on the toolbar in CE, overwriting the source .ct file. I note that the node for the form has indeed been renamed.

I then edited the call to open the form:
form_show(FormName), replacing FormName with the new name.

Running the script results in an exception:
Error
This is not a valid cheat table (Error executing this table's lua script: Undefined lua error)

In addition, the Lua Engine reports:
Error:Invalid class object

I found later that opening a form for edit, making no actual changes, then saving and overwriting the .ct file results in the same error.

Can someone please tell me how to properly rename a form? Thank you.
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 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