Proper Trainer Tutorial
Posted: Sun Nov 27, 2022 5:48 pm
I've been searching for a good tutorial to teach myself how to create a full trainer in CE. All the tutorials I've come across so far teach me how to add form controls and do something entirely stupid with them. Like click a button to display Hello World.
Is there some article, forum post, video tutorial, etc. that teaches me how to actually manipulate game (memory) values or inject code? I've released several tables with ASM scripts (a little bit of Lua here and there). I wish to create a form (from scratch) using which I can manipulate the values at specific memory addresses (or memrecs if that is more efficient) on certain events, or enable/disable code injection scripts.
What is the best way? Should I be directly updating the actual memory location with my new value (e.g., through an onChange event of a text box) or should I manipulate the memory record's value in the table through the form? Is there a straightforward way to 'link' memory records to form controls (like we used to do with ODBC in Visual Basic) or do I have to code individual Read and Write scripts for each control?
Same question for ASM scripts: do I need to rewrite those scripts in Lua or should I simply manipulate the .Active property of the memory record?
Btw, I have tried automatic generation of trainers and found it to be completely useless. They do absolutely nothing with the scripts saved in the table. I have also created and publicly released a form that allows users to update the config of a game. It basically outputs a text file (config.ini) and has nothing to do with manipulating memory, but I am somewhat familiar with forms.
Thanks
Is there some article, forum post, video tutorial, etc. that teaches me how to actually manipulate game (memory) values or inject code? I've released several tables with ASM scripts (a little bit of Lua here and there). I wish to create a form (from scratch) using which I can manipulate the values at specific memory addresses (or memrecs if that is more efficient) on certain events, or enable/disable code injection scripts.
What is the best way? Should I be directly updating the actual memory location with my new value (e.g., through an onChange event of a text box) or should I manipulate the memory record's value in the table through the form? Is there a straightforward way to 'link' memory records to form controls (like we used to do with ODBC in Visual Basic) or do I have to code individual Read and Write scripts for each control?
Same question for ASM scripts: do I need to rewrite those scripts in Lua or should I simply manipulate the .Active property of the memory record?
Btw, I have tried automatic generation of trainers and found it to be completely useless. They do absolutely nothing with the scripts saved in the table. I have also created and publicly released a form that allows users to update the config of a game. It basically outputs a text file (config.ini) and has nothing to do with manipulating memory, but I am somewhat familiar with forms.
Thanks