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 


How to edit unprotected CEtrainer table?

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

Joined: 29 Nov 2012
Posts: 212

PostPosted: Sat Feb 28, 2015 11:32 am    Post subject: How to edit unprotected CEtrainer table? Reply with quote

So i have made a trainer which works perfectly. But i have no idea how to edit it. I want to add new hotkeys/options to it. But when i click on > Table > Restore and Show, only the trainer comes up. I can change the DESIGN but i don't want that. I only want to add new hotkeys/options to it. When i click on generate generic trainer lua script etc, the design of the trainer get's weird. Everything changes back to default options so i have to create the whole trainer again, even if i just want to add a new hotkey. So how do i edit it?

Thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sat Feb 28, 2015 11:34 am    Post subject: Reply with quote

rename the .cetrainer to .ct

open that table with cheat engine and then add new entries/hotkeys to the table, and adjust the script in table->lua script. Perhaps add a few new entries to the gui as well, and when done, save (as .cetrainer or .exe )

_________________
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
XaneXXXX
Expert Cheater
Reputation: 0

Joined: 29 Nov 2012
Posts: 212

PostPosted: Sat Feb 28, 2015 12:09 pm    Post subject: Reply with quote

Thanks for your answer, How do you mean? I'm not good with lua programming, and " Perhaps add a few new entries to the gui as well". That's the problem. I can't get that window open, which allows me to add a new entry to the design.

Do you mean that i should add a new hotkey in lua table?

memoryrecordhotkey_onHotkey(memrec192_hotkey1,onHotkey14)
function onHotkey15(Hotkey)
--Executed before the hotkey is handled
cheatcomponent_setActive(CETrainer_CHEAT15, true, 1500)
if gBeepOnAction then
beep()
end
end


And then edit the hotkey or something?
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