View previous topic :: View next topic |
Author |
Message |
XaneXXXX Expert Cheater Reputation: 0
Joined: 29 Nov 2012 Posts: 212
|
Posted: Sat Feb 28, 2015 11:32 am Post subject: How to edit unprotected CEtrainer table? |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sat Feb 28, 2015 11:34 am Post subject: |
|
|
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 |
|
|
XaneXXXX Expert Cheater Reputation: 0
Joined: 29 Nov 2012 Posts: 212
|
Posted: Sat Feb 28, 2015 12:09 pm Post subject: |
|
|
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 |
|
|
|