Well for the people who don't know or want to implement a script into their trainer follow this guide and you will soon under stand
Okay to start off heres a simple script below..
Code:
Full God Mode
//v99.2 <--- Current Version
[Enable]
009FF50C: <--- Your Adress
db 0F 84 <---- Double Byte To Enable
[Disable]
009FF50C: // 0F 85 ? ? 00 00 8B 86 ? ? 00 00 83 E0 ? 83 F8 ? 0F 84 ? ? 00 00 8B ? 8B
Ignore the above code since the adresses are the same for enable and disable.
db 0F 85 <--- Your disable double bytes
Now to put the script above for god mode to use.
Step1: Add a checkbox. Lets say you just started a brand new project and you put your veryfirst checkbox on the form so it would be CheckBox1.
Step 2: Double click the checkbox and should look like this:
Steps 3: Time to add the enable and disable functions to the check box. So go to the file where you hold your codes and do this.
Code:
//Name Of Hack <---- This is optional good for organizations and prevent being mixed up with hacks.
DWORD "THIS SPOT IS FOR A SUB NAME" = THIS SPOT IS FOR YOUR ADDY;
BYTE SUB NAME GOES HERE[] = {DOUBLE BYTES GO HERE};
BYTE SUBNAMEGOESHERE[] = {DOUBLE BYTES GO HERE};
void Form1::checkBox1_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
if(this->checkBox1->Checked)
{
WriteMemory(SUB NAME,THIS SPACE IS FOR NUMBER OF BYTES,BYTES GO HERE); <--- Event if it is checked it uses the enable bytes.
}
else
{
WriteMemory(SUB NAME,THIS SPACE IS FOR NUMBER OF BYTES,BYTES); <--- If unchecked it sends disable bytes.
}
}
That is the basic structure of the check and unchecking commands of the checkbox. Now to add the things from the script into the structure.
Code:
//Full Godmode <-- Name of hack
DWORD FGM = 0x0043BD42; <--- "FGM" is full godmode which is my subname for this tut. 0x009FF50C is the adress.
Note: Always add 0x before the adress so It declares it as a byte.
BYTE enableFGM[] = {0x0F, 0x84}; <---enableFGM pretty much explains it self. And besides are the double bytes from the script.
BYTE disableFGM[] = {0x0F, 0x84};
void Form1::checkBox1_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
if(this->checkBox1->Checked)
{
WriteMemory(FGM,2,0x0F, 0x84);
}
else
{
WriteMemory(FGM,2,0x0F, 0x85); <-- Number "2" in between the sub name and bytes are number of bytes. Very important. Lets say you have 4 bytes then it would be 4 and so on.
}
}
Follow this tut and you should be good! Thanks for reading and hope you learned something!