Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Dreamer's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Seattle
    Posts
    8,745
    Reputation
    393
    Thanks
    1,481
    My Mood
    Bitchy

    Post Updating A Script In Your Trainer

    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:
    Code:
    private: System::Void checkBox1_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
    		 }
    };
    }
    To fix it simple delete the "{" and the "}" at the end so it will look like this.

    Code:
    private: System::Void checkBox1_CheckedChanged(System::Object^  sender, System::EventArgs^  e);
    		 
    };
    }
    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!
    Resource Team: Feb/5/2012 - May/5/2012
    Middleman: April/25/2012 - September/16/12


  2. The Following 3 Users Say Thank You to Dreamer For This Useful Post:

    DareoTheOreo (07-21-2011),mitch1490 (08-11-2011),Sketchy (07-20-2011)

  3. #2
    DareoTheOreo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Under your bed
    Posts
    2,791
    Reputation
    92
    Thanks
    182
    My Mood
    Confused
    good job dude... this is C++ right?
    I've made way to many mistakes... >.<

    If you wish to come in contact with me, please @ mention me, or vm/pm me, or you can email dareon454@yahoo.com
    Dareo's Inject (made by me and Shunnai) : Dareo's Inject
    Dareo's Inject CA Version V1.0 (made by me and Shunnai) : Dareo's Inject CA Version V1.0

  4. #3
    Dreamer's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Seattle
    Posts
    8,745
    Reputation
    393
    Thanks
    1,481
    My Mood
    Bitchy
    Quote Originally Posted by mhklmn View Post
    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.
    Resource Team: Feb/5/2012 - May/5/2012
    Middleman: April/25/2012 - September/16/12


  5. #4
    PrtPeter's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    It gives me an error :P can you help?

  6. #5
    Dreamer's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Seattle
    Posts
    8,745
    Reputation
    393
    Thanks
    1,481
    My Mood
    Bitchy
    Quote Originally Posted by PrtPeter View Post
    It gives me an error :P can you help?
    Whats the error? You do know you just dont copy and paste this right?
    Resource Team: Feb/5/2012 - May/5/2012
    Middleman: April/25/2012 - September/16/12


  7. #6
    DareoTheOreo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Under your bed
    Posts
    2,791
    Reputation
    92
    Thanks
    182
    My Mood
    Confused
    Quote Originally Posted by Spark View Post
    Whats the error? You do know you just dont copy and paste this right?
    haha he probally did C+P lol!!!
    I've made way to many mistakes... >.<

    If you wish to come in contact with me, please @ mention me, or vm/pm me, or you can email dareon454@yahoo.com
    Dareo's Inject (made by me and Shunnai) : Dareo's Inject
    Dareo's Inject CA Version V1.0 (made by me and Shunnai) : Dareo's Inject CA Version V1.0

  8. #7
    Dreamer's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Seattle
    Posts
    8,745
    Reputation
    393
    Thanks
    1,481
    My Mood
    Bitchy
    Quote Originally Posted by DareoTheOreo View Post
    haha he probally did C+P lol!!!
    Yeah. Sad noob. You cant c+p and expect it to work.
    Resource Team: Feb/5/2012 - May/5/2012
    Middleman: April/25/2012 - September/16/12


  9. #8
    DareoTheOreo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Under your bed
    Posts
    2,791
    Reputation
    92
    Thanks
    182
    My Mood
    Confused
    Quote Originally Posted by Spark View Post
    Yeah. Sad noob. You cant c+p and expect it to work.
    thats true...
    I've made way to many mistakes... >.<

    If you wish to come in contact with me, please @ mention me, or vm/pm me, or you can email dareon454@yahoo.com
    Dareo's Inject (made by me and Shunnai) : Dareo's Inject
    Dareo's Inject CA Version V1.0 (made by me and Shunnai) : Dareo's Inject CA Version V1.0

  10. #9
    Dreamer's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Seattle
    Posts
    8,745
    Reputation
    393
    Thanks
    1,481
    My Mood
    Bitchy
    Quote Originally Posted by DareoTheOreo View Post
    thats true...
    mhmm you gotta edit it or put it in right place.
    Resource Team: Feb/5/2012 - May/5/2012
    Middleman: April/25/2012 - September/16/12


  11. #10
    DareoTheOreo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Under your bed
    Posts
    2,791
    Reputation
    92
    Thanks
    182
    My Mood
    Confused
    Quote Originally Posted by Spark View Post
    mhmm you gotta edit it or put it in right place.
    or use your bot
    I've made way to many mistakes... >.<

    If you wish to come in contact with me, please @ mention me, or vm/pm me, or you can email dareon454@yahoo.com
    Dareo's Inject (made by me and Shunnai) : Dareo's Inject
    Dareo's Inject CA Version V1.0 (made by me and Shunnai) : Dareo's Inject CA Version V1.0

  12. #11
    Dreamer's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Seattle
    Posts
    8,745
    Reputation
    393
    Thanks
    1,481
    My Mood
    Bitchy
    Quote Originally Posted by DareoTheOreo View Post
    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.
    Resource Team: Feb/5/2012 - May/5/2012
    Middleman: April/25/2012 - September/16/12


  13. #12
    DareoTheOreo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Under your bed
    Posts
    2,791
    Reputation
    92
    Thanks
    182
    My Mood
    Confused
    Quote Originally Posted by Spark View Post
    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
    I've made way to many mistakes... >.<

    If you wish to come in contact with me, please @ mention me, or vm/pm me, or you can email dareon454@yahoo.com
    Dareo's Inject (made by me and Shunnai) : Dareo's Inject
    Dareo's Inject CA Version V1.0 (made by me and Shunnai) : Dareo's Inject CA Version V1.0

  14. #13
    Dreamer's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Seattle
    Posts
    8,745
    Reputation
    393
    Thanks
    1,481
    My Mood
    Bitchy
    Quote Originally Posted by DareoTheOreo View Post
    use Visual C++ 2008 Express is awesome

    Thats the same thing o.o
    Resource Team: Feb/5/2012 - May/5/2012
    Middleman: April/25/2012 - September/16/12


  15. #14
    DareoTheOreo's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Under your bed
    Posts
    2,791
    Reputation
    92
    Thanks
    182
    My Mood
    Confused
    Quote Originally Posted by Spark View Post

    Thats the same thing o.o
    well then...
    I've made way to many mistakes... >.<

    If you wish to come in contact with me, please @ mention me, or vm/pm me, or you can email dareon454@yahoo.com
    Dareo's Inject (made by me and Shunnai) : Dareo's Inject
    Dareo's Inject CA Version V1.0 (made by me and Shunnai) : Dareo's Inject CA Version V1.0

  16. #15
    Dreamer's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Seattle
    Posts
    8,745
    Reputation
    393
    Thanks
    1,481
    My Mood
    Bitchy
    Quote Originally Posted by DareoTheOreo View Post
    well then...
    Yeah j- dog told me about another one. Bloodshed something.
    Resource Team: Feb/5/2012 - May/5/2012
    Middleman: April/25/2012 - September/16/12


Page 1 of 2 12 LastLast

Similar Threads

  1. Writing your own C++ Trainer
    By l0ngcat in forum Game Hacking Tutorials
    Replies: 46
    Last Post: 03-06-2019, 10:29 PM
  2. [Release] Proxy Scripts (Make your own proxy.)
    By Cal in forum General Hacking
    Replies: 5
    Last Post: 05-19-2011, 07:11 PM
  3. How to get your trainer detected
    By juppeli in forum WarRock - International Hacks
    Replies: 18
    Last Post: 10-09-2007, 09:52 AM
  4. [Update-Release]My new undetected trainer
    By ferrar1000 in forum WarRock - International Hacks
    Replies: 100
    Last Post: 10-07-2007, 10:31 AM
  5. [Tutorial] How to VB.Net your trainer
    By dezer in forum WarRock - International Hacks
    Replies: 10
    Last Post: 07-16-2007, 10:28 PM

Tags for this Thread