Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    jopopino's Avatar
    Join Date
    May 2008
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    14

    [TUTORIAL] Making a WarRock hack in C++! Noob-Friendly: Step by Step [TUTORIAL]

    Ok, Welcome to my tutorial on how to make a WarRock hack.

    Requirements:
    - Microsoft Visual C++ 2008 Express Edition: Visual C++ 2008 Express Edition -> Go to where you see download and click it.
    - A Computer

    __________________
    Open Visual C++ and go to: File -> New -> Project.
    Search for name and enter "Hack". Click Ok.
    Now you will see another window pop-up. Click next.
    Now at "Application type" select "DLL". And at Additional Options select "Empty Project". Now click finish. Then at the top bar select: Project -> Add New Item -> Then select C++ File (.cpp). And name it "Main". Now copy and paste this text into "Main.cpp":

    Code:
    //
    #include <stdio.h>
    #include <windows.h>
    //
    This is for including files into the DLL.
    Now copy and paste this into "Main.cpp"

    Code:
    // Addresses
    #define Playerpointer 0x00CC4778
    #define Serverpointer 0x00BCE110
    #define OFF_NFD    0x00000308
    #define OFS_STAMINA 0x00000010
    #define OFS_Z 0x00000240
    // End Addresses
    These are the addresses. Everytime WarRock updates the addresses wil be updated too. So these addresses are from 14/09/09, but if youre reading this tut after 14/09/09 and another update is done you will need to replace them with the new addresses, wich can be found at this forum under WarRock International.

    NOTE: When you change the addresses, only replace the 0x0000000 not the #define OFS_Z

    So enough about the addresses. Now it's time to enter the real codes.
    We are going to make the following hacks: Unlimited Stamina, Super Jump and No Fall Damage (NFD). Copy and paste this into "Main.cpp":

    Code:
    /////////////////
    DWORD *ingame= (DWORD*)Playerpointer;
    DWORD *megame= (DWORD*)Serverpointer;
    ////////////////
    
    // HACK CODES //
    
    
    void Stamina()
    {
        DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
        if(dwPlayerPtr != 0)
    {
       *(float*)(dwPlayerPtr+OFS_STAMINA) = 100;
    }
    }
    
    void Jump()
    {
    if(GetAsyncKeyState(VK_CONTROL) &1)
    {
        DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
        if(dwPlayerPtr != 0)
    {
       *(float*)(dwPlayerPtr+OFS_Z) = 2500;
    }
    }
    }
    
    void NFD()
    {
        DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
        if(dwPlayerPtr != 0)
    {
        *(float*)(dwPlayerPtr+OFF_NFD) = -20000;
    }
    }
    
    void HackThread()
    {
        for(;;)
        {
            if(*ingame) //check if we are ingame.. prevent crashs
        {
            NFD();
            Jump();
            Stamina();
            }
            if(*megame)
            {
    		// Add the PX Items here.
    		
    		}
             Sleep(200); //prevent for overloading the cpu
        }
    }
    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
    {
        if(dwReason == DLL_PROCESS_ATTACH)
        {
            CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0); //create the hackthread
        }
        return TRUE;
    }
    Now go to: Build -> Build Hack. Then go to the folder where your're C++ projects are saved. At my comp it saves under: "My documents\Visual Studio 8\Projects" Then open the map called "Hack". Then go to Debug and you'll see Hack.dll. Now find an injector on this forum. Download it and place it in the same map as "Hack.dll" rename it to the same name as the DLL. So rename it to "Hack.exe". Then open "Hack.exe" start WarRock and it will inject.

    So now you've made a WarRock hack. You've made: Stamina, NFD (No Fall Damge) and Superjump.

    If you want to add more hacks this is what to do:
    Search this forum for more sources of hacks.
    Then paste that above "(void) HackThread()".
    Then go to "if(*ingame)" and then add the name of the hack you want to add to the list. The name can be found at the source of the hack you want to add, next to "void [Then here will be the name] ()"
    Type this name into the list and then build it.
    Last edited by jopopino; 09-17-2009 at 02:43 PM.

  2. The Following 8 Users Say Thank You to jopopino For This Useful Post:

    BMW M5 (09-20-2009),choompu (11-23-2018),Felipeb18 (01-08-2010),guru2008 (09-30-2009),Jerry12358 (09-20-2009),Matrix_NEO006 (10-11-2009),onbekend1234 (09-19-2009),oretsouk9 (09-18-2009)

  3. #2
    NoJustice's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    I don't care about CF
    Posts
    2,878
    Reputation
    123
    Thanks
    1,752
    My Mood
    Bored
    lol leech fail learn to code

  4. The Following User Says Thank You to NoJustice For This Useful Post:

    Hell_Demon (09-18-2009)

  5. #3
    jopopino's Avatar
    Join Date
    May 2008
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    14
    What do you mean? I didn't leech it nuub

  6. #4
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    not even a tutorial, copy paste ftl

  7. #5
    BMW M5's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    U.S.A
    Posts
    1,161
    Reputation
    14
    Thanks
    196
    My Mood
    Aggressive
    after i enter name and press ok a window doesnt pop up please help

  8. #6
    BooYa's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    hre
    Posts
    111
    Reputation
    10
    Thanks
    19
    What does this teach us? How to copy and paste?

  9. #7
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Pretty much. This guy has no idea how any of this works, but if you want to go off and copy and paste some codes together and call yourself a hacker be my guest. That's what everyone else does...

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  10. The Following User Says Thank You to why06 For This Useful Post:

    Hell_Demon (09-22-2009)

  11. #8
    Vannillia's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    In Here Burning Smart Asses Lawlz ^^
    Posts
    174
    Reputation
    11
    Thanks
    25
    My Mood
    Happy
    Whats the warrock hack addresses today?

  12. #9
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    can someone help i missing allot of templates including the DLL template please help pm a message if u have the answer.
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    https://www.mpgh.net/forum/148-showro...en-archer.html


    @ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist


    neuest gift from Yura~Chan:
    https://bakyurayuu.deviantar*****m/#/d372taw
    2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
    come on you know that don't want to push that ordinary button

  13. #10
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    templates are useless, create a new empty project and c+p the following:
    Code:
    #include <windows.h>
    
    bool APIENTRY DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID lpReserved)
    {
        switch(dwReason)
        {
        case DLL_PROCESS_ATTACH:
            //DisableThreadLibraryCalls(hInst);
            break;
        case DLL_PROCESS_DETACH:
            break;
        case DLL_THREAD_ATTACH:
            break;
        case DLL_THREAD_DETACH:
            break;
        return true;
    }
    written from the top of my head
    Ah we-a blaze the fyah, make it bun dem!

  14. #11
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    Quote Originally Posted by Hell_Demon View Post
    templates are useless, create a new empty project and c+p the following:
    Code:
    #include <windows.h>
    
    bool APIENTRY DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID lpReserved)
    {
        switch(dwReason)
        {
        case DLL_PROCESS_ATTACH:
            //DisableThreadLibraryCalls(hInst);
            break;
        case DLL_PROCESS_DETACH:
            break;
        case DLL_THREAD_ATTACH:
            break;
        case DLL_THREAD_DETACH:
            break;
        return true;
    }
    written from the top of my head
    i asked this because i had one but after reinstalling windows and C++ it was gone tried reinstall but no use + normally the C++ give a error DLL unknown or something :P
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    https://www.mpgh.net/forum/148-showro...en-archer.html


    @ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist


    neuest gift from Yura~Chan:
    https://bakyurayuu.deviantar*****m/#/d372taw
    2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
    come on you know that don't want to push that ordinary button

  15. #12
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Quote Originally Posted by Hell_Demon View Post
    templates are useless
    You know now that I think about it, a lot of times on these hacks they keep repeating the same function a million times which is basically assigning a value to an address. You could create a template function to handle all of the different type pointers and then just stick hacks of the same type in a loop
    Code:
    template <class T> void freezeValue(T*, T)
    {
      // Sets T* to some value T and freezes it there
    };
    //Values to be frozen
    
    
    
    // some huge-ass list....
    
    //maybe another template function for addresses that you just want to read their values...
    template <class T>  T readValuesAt(T*)
    {
       // Do something...
       return T;
    }

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  16. #13
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy

  17. #14
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    That's a nice source written by Gorden, I'm almost tempted to copy it, but I'm fairly confident I know everything he's doing in the code besides the .dll so I think I will just make one from scratch on my own that way I don't have to bother with providing credits, once I get around to actually figuring out how to get addresses for CA -_-...

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  18. #15
    LordZephini's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Nowhere
    Posts
    20
    Reputation
    10
    Thanks
    0
    Dude this is great, thanks alot.
    ----♥♥-♥♥----Put This
    ---♥♥---♥♥---In Your
    ---♥♥---♥♥---Sig If
    ---♥♥---♥♥---You Know
    ----♥♥-♥♥----Someone
    -----♥♥♥-----Who Died Or Is Suffering
    ----♥♥-♥♥----from
    ---♥♥---♥♥---Cancer
    I reject your reality and substitute my own!
    [IMG]https://************.com/sig/020/LordZephini.jpg[/IMG]
    Click Here for my FREE PRIVATE VIP HACKS!!!

Page 1 of 2 12 LastLast

Similar Threads

  1. how to make a Warrock hack
    By ikilled3u3 in forum C++/C Programming
    Replies: 9
    Last Post: 03-06-2010, 06:55 PM
  2. [Tutorials]Need tuts for making a warrock hack and an injector
    By shad0wboss in forum Programming Tutorial Requests
    Replies: 1
    Last Post: 12-20-2009, 03:41 PM
  3. How to make a warrock hack in C++! :)
    By pwnzaz77 in forum C++/C Programming
    Replies: 43
    Last Post: 11-23-2009, 08:51 PM
  4. Somebody plz make korean warrock hack
    By stass15 in forum WarRock - International Hacks
    Replies: 20
    Last Post: 07-10-2007, 05:43 AM
  5. [HELP] How do i make undetected warrock hacks
    By xtrylanx in forum WarRock - International Hacks
    Replies: 29
    Last Post: 06-10-2007, 10:07 AM

Tags for this Thread