Results 1 to 9 of 9

Threaded View

  1. #1
    defaulto's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    461
    Reputation
    427
    Thanks
    347
    My Mood
    Angelic

    Exclamation Cheat Engine Trainer (Checkbox - Enable / Disable Cheat)

    Since I saw that the top thread in here was a request for help for making a trainer in Cheat Engine I decided to share my
    knowledge which I gathered in the last few years. Thanks to MPGH at this point.

    Quote Originally Posted by ZleMyzteX View Post
    So, I want to start doing some trainers for games. I know how to save values and stuff on cheat engine, but i really don't know what to do to get it into a nice looking trainer. Would love to get a link to a tutorial or something, thanks in advance :)
    Thread: https://www.mpgh.net/forum/showthread.php?t=1291262



    Cheat Engine Trainer - Tutorial
    Here we go. I will tell you how to make a Checkbox which, if you check it, enables the Ban Bypass for Memory Editing for Growtopia 2.990.
    This can be used to make professional looking trainers with an user interface or whatever you want.

    First of all. Open Cheat Engine. Navigate to "File" > "Generate generic trainer Lua script from table". It will open up the dialog to make a trainer.
    By clicking on "Design userinterface manually" you can design the trainer yourself.

    Place a Checkbox into you trainer design. Change the properties to your desires. Navigate to the "Events" Tab and Double-click on the Event "OnChange". It will create a new function inside your main lua script for your trainer. Paste this code into that function:
    Code:
    if CETrainer.REPLACE_WITH_YOUR_CHECKBOX_NAME.State == cbChecked then
    autoAssemble[[
    
    // Here you can put your script for the memory editing
    // You won't need the "Prefixes" [Enable] & [Disable]
    // Inside here comes the [Enable] Part
    
    ]]
    else
    autoAssemble[[
    
    // Here you can put your script for the memory editing
    // You won't need the "Prefixes" [Enable] & [Disable]
    // Inside here comes the [Disable] Part
    
    ]]
    end
    What it does is simple. If the Checkbox is checked (cbChecked - is the attribute for that state) it runs the Auto Assemble Part which is defined by this "Prefix" autoAssemble[[Your_Script_into_here]]. And if the Checkbox is not checked it will run the Assemble Part inside the else. Shouldn't be too complicated. If you can code in Cheat Engine's LUA - you get it. There are harder ways to do it. But this one is the most simplest one I've seen while working with Cheat Engine.

    Same can be used with Buttons. But in that case you don't use the OnChange Event but the OnClick one! Now you use the "Prefix" for it again (autoAssemble[[Your_Script_into_here]]). Then put your Script inside the Brackets and you are done. You will need to use 2 Buttons. One to enable and one to disable a "Cheat" as example. Or you use a really complicated way to use bools inside CE's LUA.

    If there's still something you want to know. Ask it in here. I will adjust the thread then. This will then help even more in total.
    I could technically add Screenshots. Add a Tutorial on how to make Script or make a list of operation codes and their bytes value, changes between two different ones, etc.

    If you need a Tutorial for this in C# - I can help you out too.
    And if this helped you - Don't mind to let me know! :)
    - D.

    #LOGS
    12-02-2020 ⌨ [MPGH]defaulto got gifted the Premium Membership from [MPGH]Azuki - sponsored by [MPGH]Flengo.
    27-11-2019 ⌨ [MPGH]defaulto captured the GFX Team Base together with [MPGH]Howl & [MPGH]Poonce.
    08-14-2017 ⌨ defaulto joined the game.

  2. The Following User Says Thank You to defaulto For This Useful Post:

    |Cayn| (06-15-2020)

Similar Threads

  1. [Help] Cheat Engine Trainer.
    By fatbox187 in forum Hack Requests
    Replies: 0
    Last Post: 09-01-2010, 12:18 PM
  2. [RELEASE] Cheat Engine + Trainer Maker Kit Download and Guide!
    By Poif in forum Combat Arms Discussions
    Replies: 37
    Last Post: 09-05-2009, 11:36 AM
  3. [RELEASE] Cheat Engine + Trainer Maker Kit Download and Guide!
    By Poif in forum Combat Arms Europe Hacks
    Replies: 21
    Last Post: 09-01-2009, 05:27 AM
  4. Cheat Engine Trainer Making
    By Jeckels in forum WarRock - International Hacks
    Replies: 61
    Last Post: 08-21-2007, 10:11 PM
  5. Cheat engine trainer help
    By shadowsecret in forum WarRock - International Hacks
    Replies: 1
    Last Post: 03-21-2007, 07:57 PM

Tags for this Thread