Results 1 to 15 of 44

Threaded View

  1. #1
    pwnzaz77's Avatar
    Join Date
    Oct 2008
    Posts
    45
    Reputation
    10
    Thanks
    33

    Talking How to make a warrock hack in C++! :)

    How to code a C++ hack for warrock! I WILL GET PICTURES SOON!

    Okay first of all you are going to need Visual C++ 2008 Express Edition. You can get it at the microsoft website or use google. Im not allowed to post links sorry.

    First you need to open C++, then go to File>New> Project. A window should appear, click next then under "Application Type" click DLL then click finish.

    Go up to Project>Add new item. Another window will appear. Click Header file and type in "addresses".

    In here you need to put warrock hack addresses. You can get them off MPGH in the warrock section every time warrock updates.

    These addresses are modified when warrock is open and that is how you hack it.

    If you click on filenamehere.cpp then you need to type in
    Code:
    #include "stdafx.h" 
    #include "addressess.h"
    These make sure that stdafx.h and addressess.h are included. Addressess.h is where your addressess are.

    You then need to go to addressess.h and type in
    Code:
    #define ADR_PLAYERPTR 0x00CB11C8
    #define ADR_SERVERPTR 0x00B39BE0
    These are 2 addresses,the ADR stands for address. The 0x00CB11C8 and 0x00B39BE0 are the actual address. These are changed everytime warrock updates.
    Type in
    Code:
    #define OFS_Z 0x240
    The OFS stands for offset. This is an offset for the Z axis of the game. It is used for the superjump hack and No fall damage.

    Go back over to the filenamehere.cpp and type in
    Code:
     int SuperJump = 1;
     int NoFall = 1;
    This declares the SuperJump and No fall(No fall damage) and tells the program that they are true/activated. The 1 means true and if it said 0 then it would mean false. So true/false would mean activated/deactivated or on/off.

    We then need to type
    Code:
    void PlayerHacks(void)
    {
    DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
      if(dwPlayerPtr != 0){
    
    This defines all the functions(hacks). Under this we type all of our functions(hacks).
    if(GetAsyncKeyState(VK_CONTROL) &1){ //superjump when u press ctrl
       if(SuperJump){ // if you press CTRL then...
         *(float*)(dwPlayerPtr+OFS_Z) = 2000.0F; // Warrock character will jump to 2000 in the Z axis (up)
        }
      }
    The text after the "//" are comments. I wrote these to explain what happens. Under that we need to type
    Code:
       if (NoFall) // if  no fall then
       {*(float*)(dwPlayerPtr+OFS_NOFALL) = -35000.0F;} // i think you need to be damaged 35000 to be affected from falling
    So far we have two hacks, SuperJump and No fall damage. Click on stdafx.h and below "#include <windows.h>" type
    Code:
    void PlayerHacks(void);
    Click on dllmain.cpp and delete all the code and replace it with
    Code:
    #include "stdafx.h"
    
    void hDllMain(void)
    {
     while(true){
      PlayerHacks();
      Sleep(30);
     }
    }
    
    
    BOOL APIENTRY DllMain( HMODULE hModule,
                           DWORD  ul_reason_for_call,
                           LPVOID lpReserved
    					 )
    {
    	switch (ul_reason_for_call)
    	{
    	case DLL_PROCESS_ATTACH:
        DWORD dwID1 = 0;
        HANDLE hThread1 = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)hDllMain, NULL, NULL,&dwID1 );
        CloseHandle(hThread1);
    	break;
    	}
    	return TRUE;
    }
    After all of that go to File > Save all and then click Build > Build Solution.

    Your hack will then appear in your visual C++ projects folder. Mine is in my documents >> Visual Studio 2008 >> Projects. Find the folder with your hack. Open it and go to debug. Right click the filenamehere.dll and go to copy. Make a new folder on your desktop named First hack. Paste the .dll file into it and then find an injector from MPGH. Put the injector in the First Hack folder and rename it to the name of your .dll file. Open the injector and run Warrock. Log in and hack! If it doesnt work then you have either coded it wrong or the addressess are out of date! I hope this works for you and if it helps then click the Thanks button and reply I may help you if i can

  2. The Following 19 Users Say Thank You to pwnzaz77 For This Useful Post:

    as1as5 (08-22-2009),billy9999 (03-28-2010),c00k1Es (09-04-2009),chigo (10-13-2010),FabyVip (08-13-2009),gchronic (08-14-2009),Gravity.. (09-04-2009),kyote (09-26-2009),lancerator (05-15-2011),lenora1 (03-16-2012),nick358 (08-09-2009),osher1995 (08-06-2009),perestroika57 (08-18-2009),rekk.. (09-27-2009),scripttester2 (08-06-2009),smoke341 (09-18-2009),str1ke_bl4ze (04-28-2011),UnitedMassacre (08-05-2009),winner9 (05-05-2012)

Similar Threads

  1. [Request] How to make korean warrock acc.
    By xxhealxx in forum WarRock Korea Hacks
    Replies: 4
    Last Post: 04-06-2008, 08:32 PM
  2. [tut for noobs]How to make a boneshot hack with vb
    By atheist in forum WarRock - International Hacks
    Replies: 18
    Last Post: 02-19-2008, 07:20 AM
  3. [tut for noobs] How to make a invi hack with vb
    By atheist in forum WarRock - International Hacks
    Replies: 14
    Last Post: 02-15-2008, 03:36 AM
  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