Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    Help With Hack


    bighig
     Share

    Recommended Posts

    Ok so i looked around on how to make a hack.

    i found a tut,

    But i can't debug it or compile, i need help, this is what i did,

    opened a Win 32 project, Dll , Empty Project

    And open a Cpp,

     

    then put in this code:

    /*

    Project : Bighig's first Pub

    Author : Bighig

    Date : 25/July

    */

    #include <stdio.h>

    #include <windows.h>

    // Adress List //

     

    #define Playerpointer 0x0000000

    #define Serverpointer 0x000000

    #define OFF_NFD 0x000002E0

    #define OFS_STAMINA 0x00000010

    #define OFS_Z 0x000002C0

     

    // end adress list //

    /////////////////

    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(;O.o

    {

    if(*ingame) //check if we are ingame.. prevent crashs

    {

    NFD();

    Jump();

    Stamina();

    }

    if(*megame)

    {

    // PREMIUM HACK & PX & Intsant spwn here also 5the slot 2 //

    }

    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;

    }

     

    What did i do wrong?

    Edited by bighig
    Link to comment
    Share on other sites

    Ok so i looked around on how to make a hack.

    i found a tut,

    But i can't debug it or compile, i need help, this is what i did,

    opened a Win 32 project, Dll , Empty Project

    And open a Cpp,

     

    then put in this code:

    /*
       Project : Bighig's first Pub
       Author  : Bighig
       Date    : 25/July
    */
    #include <stdio.h>
    #include <windows.h>
    // Adress List //
    
    #define Playerpointer 0x0000000
    #define Serverpointer 0x000000
    #define OFF_NFD    0x000002E0
    #define OFS_STAMINA 0x00000010
    #define OFS_Z 0x000002C0
    
    // end adress list //
    /////////////////
    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)
           {
               // PREMIUM HACK & PX  & Intsant spwn here also 5the slot 2 //
           }
            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;
    }
    

    What did i do wrong?

     

    Why can't you compile it? You're getting errors? Other reasons? Tell us a bit more exactly please!

     

    Btw. moved to coding

    Link to comment
    Share on other sites

    Why can't you compile it? You're getting errors? Other reasons? Tell us a bit more exactly please!

     

    Btw. moved to coding

    Yeah, It won't let me Complite it, after it complies it says "Succesful Compeile = 0

    And When i try and Debug it it says there were alot of errors, do you wish to continue

    Link to comment
    Share on other sites

    Yeah, It won't let me Complite it, after it complies it says "Succesful Compeile = 0

    And When i try and Debug it it says there were alot of errors, do you wish to continue

     

    I'm sure you dont know how to code something..

    So learn the basics..stop c&p

    Link to comment
    Share on other sites

    • 2 weeks later...

    @ generos i think u can´t code too....

    so stop talking so much shit...

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...