Results 1 to 9 of 9
  1. #1
    deoxyribonucleicacid's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    The Great White North
    Posts
    53
    Reputation
    19
    Thanks
    36

    [Source] DNA's Stat & Perk Trainer

    Hello everybody.

    This is the source code for my aIW trainer for 1.3.37a.

    Feel free to learn and use the offsets or something.. Just dont copy paste compile and post as 1337 H4X0R 69's Stat trainer or something.

    Code:
    //DNA's aIW Trainer Source Code
    //Please dont make a hack using this. Everyone will know you used this and I will call you a tool.
    
    #include "stdafx.h"
    #include <cstdlib>
    #include <iostream>
    #include <windows.h>
    #include <cstdio>
    #include <stdio.h>
    #include <string.h>
    #include <tlhelp32.h>
    
    using namespace std;
    
    #define XP 0x01B2B81C
    #define SCORE 0x01B2B82C
    #define WINS 0x01B2B864
    #define LOSSES 0x01B2B868
    #define TIES 0x01B2B86C
    #define WSTREAK 0x01B2B870
    #define KILLS 0x01B2B830
    #define HEADSHOTS 0x01B2B844
    #define ASSISTS 0x01B2B840
    #define KSTREAK 0x01B2B834
    #define DEATHS 0x01B2B838
    #define TIMEPLAYED 0x01B2B850
    #define PRESTIGE 0x01B2B824
    
    #define Marathon 0x01B2BF6B
    #define SteadyAim 0x01B2BF6C
    #define Ninja 0x01B2BF6D
    #define Scrambler 0x01B2BF6E
    #define SleightOfHand 0x01B2BF6F
    #define Bling 0x01B2BF70
    #define StoppingPower 0x01B2BF71
    #define Hardline 0x01B2BF72
    #define OneManArmy 0x01B2BF73
    #define ColdBlooded 0x01B2BF74
    #define LastStand 0x01B2BF75
    #define Scavenger 0x01B2BF76
    #define Commando 0x01B2BF77
    #define SitRep 0x01B2BF78
    #define LightWeight 0x01B2BF79
    #define DangerClose 0x01B2BF7A
    
    DWORD FindProcessId(const std::string &processName)
    {
        PROCESSENTRY32 processInfo;
        processInfo.dwSize = sizeof(processInfo);
    
        HANDLE processesSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
        if ( processesSnapshot == INVALID_HANDLE_VALUE )
            return 0;
    
        Process32First(processesSnapshot, &processInfo);
        if ( !processName.compare(processInfo.szExeFile) )
        {
            CloseHandle(processesSnapshot);
            return processInfo.th32ProcessID;
        }
    
        while ( Process32Next(processesSnapshot, &processInfo) )
        {
            if ( !processName.compare(processInfo.szExeFile) )
            {
                CloseHandle(processesSnapshot);
                return processInfo.th32ProcessID;
            }
        }
       
        CloseHandle(processesSnapshot);
        return 0;
    }
    
    void MemWrite(){
       
        HANDLE phandle;
    
        int uxp;
        int uscore;
        int uwins;
        int ulosses;
        int uties;
        int uwstreak;
        int ukills;
        int uheadshots;
        int uassists;
        int ukstreak;
        int udeaths;
        int utimeplayed;
        int uprestige;
        int perks;
        int guns;
        int PROPERKS = 7;
    
        DWORD processID = FindProcessId("iw4mp.dat");
    
        if(processID!=0){
            cout << "\n";  
            cout << "Trainer attached to MW2\n";
            cout << "\n";
            cout << "\n";
            phandle = OpenProcess(PROCESS_ALL_ACCESS,0,processID);
        }
        else{
            cout<<"Open the Game Next Time...\n";
            system("pause");
            exit(0);
        }
    
        if (phandle != 0){
            cout << "What is the XP count you want? ";
            cin >> uxp;
            WriteProcessMemory(phandle,(LPVOID)XP,(LPVOID)&uxp,4,0);
            cout << "Your XP now is " << uxp << "\n";
            cout << "\n";
            cout << "What is the Score amount you want? ";
            cin >> uscore;
            WriteProcessMemory(phandle,(LPVOID)SCORE,(LPVOID)&uscore,4,0);
            cout << "Your new score is " << uscore << "\n";
            cout << "\n";
            cout << "What is the Win count you want? ";
            cin >> uwins;
            WriteProcessMemory(phandle,(LPVOID)WINS,(LPVOID)&uwins,4,0);
            cout << "Your new Win count is " << uwins << "\n";
            cout << "\n";
            cout << "What is the Loss count you want? ";
            cin >> ulosses;
            WriteProcessMemory(phandle,(LPVOID)LOSSES,(LPVOID)&ulosses,4,0);
            cout << "Your new Loss count is " << ulosses << "\n";
            cout << "\n";
            cout << "What is the Tie count you want? ";
            cin >> uties;
            WriteProcessMemory(phandle,(LPVOID)TIES,(LPVOID)&uties,4,0);
            cout << "Your new Tie count is " << uties << "\n";
            cout << "\n";
            cout << "What is the Win Streak count you want? ";
            cin >> uwstreak;
            WriteProcessMemory(phandle,(LPVOID)WSTREAK,(LPVOID)&uwstreak,4,0);
            cout << "Your new Win Streak count is " << uwstreak << "\n";
            cout << "\n";
            cout << "What is the Kill count you want? ";
            cin >> ukills;
            WriteProcessMemory(phandle,(LPVOID)KILLS,(LPVOID)&ukills,4,0);
            cout << "Your new Kill count is " << ukills << "\n";
            cout << "\n";
            cout << "What is the Head Shot count you want? ";
            cin >> uheadshots;
            WriteProcessMemory(phandle,(LPVOID)HEADSHOTS,(LPVOID)&uheadshots,4,0);
            cout << "Your new Head Shot count is " << uheadshots << "\n";
            cout << "\n";
            cout << "What is the Assist count you want? ";
            cin >> uassists;
            WriteProcessMemory(phandle,(LPVOID)ASSISTS,(LPVOID)&uassists,4,0);
            cout << "Your new Assist count is " << uassists << "\n";
            cout << "\n";
            cout << "What is the Kill Streak count you want? ";
            cin >> ukstreak;
            WriteProcessMemory(phandle,(LPVOID)KSTREAK,(LPVOID)&ukstreak,4,0);
            cout << "Your new Kill Streak count is " << ukstreak << "\n";
            cout << "\n";
            cout << "What is the Death count you want? ";
            cin >> udeaths;
            WriteProcessMemory(phandle,(LPVOID)DEATHS,(LPVOID)&udeaths,4,0);
            cout << "Your new Death count is " << udeaths << "\n";
            cout << "\n";
            cout << "What is the Time Played you want? (IN SECONDS) ";
            cin >> utimeplayed;
            WriteProcessMemory(phandle,(LPVOID)TIMEPLAYED,(LPVOID)&utimeplayed,4,0);
            cout << "Your new Time Played is " << utimeplayed << "\n";
            cout << "\n";
            cout << "What is the Prestige you want? (0 for no prestige) ";
            cin >> uprestige;
            WriteProcessMemory(phandle,(LPVOID)PRESTIGE,(LPVOID)&uprestige,4,0);
            cout << "Your new Prestige is " << uprestige << "\n";
            cout << "\n";
            cout << "Do you want Pro Perks? (1 for yes or 2 for no) ";
            cin >> perks;
            if ( perks < 2 ){
                WriteProcessMemory(phandle,(LPVOID)Marathon,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)SteadyAim,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)Ninja,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)Scrambler,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)SleightOfHand,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)Bling,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)StoppingPower,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)Hardline,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)OneManArmy,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)ColdBlooded,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)LastStand,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)Scavenger,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)Commando,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)SitRep,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)LightWeight,(LPVOID)&PROPERKS,4,0);
                WriteProcessMemory(phandle,(LPVOID)DangerClose,(LPVOID)&PROPERKS,4,0);
                cout << "Pro Perks Given\n";
                cout << "\n";
            }
            if (perks > 1){
                cout << "Pro Perks Skiped\n";
                cout << "\n";
            }
        }
        else{
            cout<<"Something Went Wrong.. Error Code: 0x1\n";
    	cout<<"Please Contact deoxyribonucleicacid on MPGH for more information\n";
            system("pause");
            exit(0);
        }
    }
    
    int main(int argc, char* argv[]){
        SetConsoleTitle("DNA's Trainer");
        system("Color 0a");  
        cout << "DNA's MW2 Stat and Perk Trainer\n";
        cout << "Version 1.0 for MW2 Version 1.3.37a\n";
        cout << "Never use this trainer while playing in game.\n";
        cout << "\n";
        MemWrite();
        cout << "\n";
        system("pause");
        return 0;
    }
    DNA

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

    House (09-10-2010),[MPGH]Insane (09-12-2010),jabbathehutt (09-19-2010)

  3. #2
    Beremix's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    I live in my home
    Posts
    64
    Reputation
    10
    Thanks
    9
    looks good good job

  4. #3
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    403
    Thanks
    1,613
    well if it aint the guy that post's viruses in the coding section.


  5. #4
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    Quote Originally Posted by toobanooba View Post
    well if it aint the guy that post's viruses in the coding section.
    It's been taken care of...
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  6. #5
    jabbathehutt's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    616
    Reputation
    18
    Thanks
    725
    My Mood
    Aggressive
    I dont think you made all yourself? Did you?
    Helped out over 5000 guys with my level trainer and other stuff.

    Selling Steam accounts. Send me a message if you're interested.



    Nice forum needs to expands! Register now for a good position! (PM me)


  7. #6
    deoxyribonucleicacid's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    The Great White North
    Posts
    53
    Reputation
    19
    Thanks
    36
    The code? Pretty much all mine except for alittle help from 0rbit but i covered the credits in my official release

  8. #7
    House's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    2,990
    Reputation
    223
    Thanks
    8,955
    My Mood
    Cynical
    nice, thank you for sharing, I am sure someone will find that useful (like me)

  9. #8
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    8,643
    Reputation
    748
    Thanks
    1,818
    My Mood
    Doh
    great i think that this might be usefull!
    Quote Originally Posted by KING View Post
    Stop FACKING SUMMONING ME TO THESE FUCKTARDS CONVOS.
    DAFUQ IS DIS FACKING SHYT.
    SHYT MAKES NO SENSE.

    On a side note. You fags are fucking hatting.
    You guys don't know shyt about spam.
    Danny would post on everysingle post every fucking hour, you couldnt tell which post was recent or anything. It was a fuck fest, he wouldnt have shyt to say....cares he posted like a fag he is.

    Josh made mutiple threads a day. And not just G, everywhere. That why everyone liked that dumb nikka.

    @Richard Nixon -Are you Endrat? @REAP @Digits2012 @Ghost -Son...I am dissapoint @Sjoerd -SMD @Canadian @FrosK -Dumb name is dumb @Nebulaa @That_Kid -Man Up @The XXX Devil -Oh look another joker avatar-how original and neat

    The rest who I didn't mention comment....Suck my left nut....but not to hard...it hurts.

  10. #9
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    And me... this will def be useful...
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

Similar Threads

  1. [Release] DNA's Stat & Perk Trainer [1.3.37a]
    By deoxyribonucleicacid in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 37
    Last Post: 08-25-2010, 08:26 AM
  2. [Release] DNA's Stat & Perk Trainer [1.2.208]
    By deoxyribonucleicacid in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 24
    Last Post: 08-12-2010, 05:34 AM
  3. [Release] Koeninatorrr's MP Stat Trainer & Craig87's SinglePlayer Trainer (1.0.184)!!!!!!
    By Koen in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 68
    Last Post: 03-04-2010, 08:00 AM
  4. [Release] Stat Trainer MW2 Multi-Player *[LEACHED]*
    By toporownz in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 6
    Last Post: 03-02-2010, 12:58 AM
  5. [Release] 1.0.80 Stats Trainer [All Stats!]
    By Tobii in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 43
    Last Post: 02-03-2010, 11:14 AM