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!
good job dude... this is C++ right?
Originally Posted by mhklmn
good job dude... this is C++ right?
Yes Sir it is.
@Jabuuty761
Please move this thread to the coding section.
And look at the message I sent you about my trainer release.
It gives me an error :P can you help?
Originally Posted by PrtPeter
It gives me an error :P can you help?
Whats the error? You do know you just dont copy and paste this right?
Originally Posted by Spark
Whats the error? You do know you just dont copy and paste this right?
haha he probally did C+P lol!!!
Originally Posted by DareoTheOreo
haha he probally did C+P lol!!!
Yeah. Sad noob. You cant c+p and expect it to work.
Originally Posted by Spark
Yeah. Sad noob. You cant c+p and expect it to work.
thats true...
Originally Posted by DareoTheOreo
thats true...
mhmm you gotta edit it or put it in right place.
Originally Posted by Spark
mhmm you gotta edit it or put it in right place.
or use your bot
Originally Posted by DareoTheOreo
or use your bot
Yeah. And the tut. Will be delayed. Cant get ahold of my own code because Im having trouble with visual c++ 2010.
Originally Posted by Spark
Yeah. And the tut. Will be delayed. Cant get ahold of my own code because Im having trouble with visual c++ 2010.
use Visual C++ 2008 Express is awesome
Originally Posted by DareoTheOreo
use Visual C++ 2008 Express is awesome
Thats the same thing o.o
Originally Posted by Spark
Thats the same thing o.o
well then...
Originally Posted by DareoTheOreo
well then...
Yeah j- dog told me about another one. Bloodshed something.