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.

    C++ Hack Maker Tutorial By [ghb]


    Stefan
     Share

    Recommended Posts

    welcome to Stefan's c++ hack making guide

     

    --------------------------------------------

    The programs you will be needing

    1. Visual Studio 2003

     

    you can download at http://d4rc.net

     

    --------------------------------------------

    Download:ghb_Public_Source.rar

    ---------------------------------------------

     

    Step 1. getting to know the program

     

    1)go to file/new/project/visual c++ Projects/.NET and press ok

    2)now you have a basic template of the hack, that you can edit to what you like

    3)Form1.cpp will control all of your functions like a warrok hook or message box

    4)Form1.h is were you will be adding your coding for the hacks like stamina

    5) assemblyinfo.cpp, stdafx.cpp, resource.h you dont need to worry about

     

    -------------------------------------------------------------------------------------------

     

    Step 2. starting the coding for your hack

     

    1)What you want to do is add a new c++ header file. You can do that by clicking on cheaderfilexc3.png in the upper left hand corner, and click on header file .h

    2)once you have added it you need to link it with Form1.h and From1.cpp, by adding #include "c++_header.h" under the #pragma once in both files

    3)this is were you will be adding exp. bool Hotkey( int iKey );

    4)Now what you want to do is go to Form1.cpp and add these to help you out

     

     

    [color="#0000ff"]void[/color] *data_process( [color="#0000ff"]void[/color]* pvAddress, [color="#0000ff"]void[/color]* pvBuffer, [color="#0000ff"]unsigned long[/color] m_iSize )
    {
    if( WarRock_Hook( ) )
    {
    DWORD dwDummy = 0;
    if( WriteProcessMemory( hGameHandle, pvAddress, pvBuffer, m_iSize, &dwDummy ) == TRUE )
    {
    return pvAddress;
    }
    }
    return 0;
    }
    
    
    HANDLE hkoolzhook = 0;
    HWND hWnd = 0;
    [color="#0000ff"]int[/color] WarRock_Hook()
    {
    DWORD proc_id = 0;
    if( hnotterhook != NULL )return ([color="#0000ff"]int[/color])hnotterhook;
    hWnd = FindWindow( "WarRock", 0 );
    if( hWnd == NULL )return NULL;
    GetWindowThreadProcessId( hWnd, &proc_id );
    return (int)OpenProcess( PROCESS_ALL_ACCESS, false, proc_id );
    }
    
    [color="#0000ff"]void[/color] message_box( [color="#0000ff"]char[/color]* sbText, [color="#0000ff"]char[/color]* sbCaption )
    {
    MessageBox( 0, sbText, sbCaption, MB_OK );
    }

     

    Then add this in the c++_header.h

     

    [color="#0000ff"]char[/color] 1 Byte = 8 Bit
    [color="#0000ff"]short[/color] 2 Byte = 16 Bit
    [color="#0000ff"]int[/color] 2 or 4 Byte = 16 Bit or 32 Bit
    [color="#0000ff"]long[/color] 4 Byte = 32 Bit
    [color="#0000ff"]float[/color] 4 Byte = 32 Bit
    [color="#0000ff"]double[/color] 8 Byte = 64 Bit
    [color="#0000ff"]long[/color] double 10 Byte = 80 Bit
    [color="#0000ff"]bool[/color] 'True' or 'False'
    [color="#0000ff"]void[/color] HEX or Text strings
    [color="#0000ff"]char[/color]* char array (Text or strings)

     

    *CREDITS*

    Functions = s0biet

    guide = me

    Link to comment
    Share on other sites

    • 3 weeks later...
    • 3 weeks later...

    When i want to make a new project i go to file/new/project then i get a menu i click c++ then .NET and then i have to choose out of many different versions again which one should i take?? whit the standard (first) one i dont get form1.h and form1.cpp plz help me out, wich one should i choose?? or am i totaly wrong ??

    Link to comment
    Share on other sites

    • 2 weeks later...
    • 2 weeks later...
    • 3 weeks later...

    Hey this with the undetect does not work anymore if I

    Get_Handle, GetPointer memcpy change and he is still troztdem Detect.

    What do I do now that he is UD

     

    Sorry for my bad English

    Link to comment
    Share on other sites

    • 2 weeks later...
    • 1 month later...
    • 1 month later...

    In order for that to work, you must define ADR_STAMINA, you can do so by doing this: #define ADR_STAMINA, this is commonly used for updating address's more easily...

     

    #define ADR_STAMINA 0xFFFFFF

    Edited by azmhaxor
    Link to comment
    Share on other sites

    • 3 weeks later...

    -EDIT-

    Sorrz 4 my english, but I'm Italian...

    I wrote

    #define AScope 0xFFFFF //for example (address scope)

    [...]

    private: System::Void timer1_Tick(System::Object *  sender, System::EventArgs *  e)
    		 {
    				   if( WarRock_Hook( ) )
    		 {
    			if( r.Scope )
    			{
    				int Scopevalue = 1;
    
    				data_process( ( void* )AScope, &Scopevalue, sizeof( int ) );
    			}
    			   }
    			 }
    
    private: System::Void checkBox1_CheckedChanged(System::Object *  sender, System::EventArgs *  e)
    		 {
    			 r.Scope = !r.Scope;
    		 }

    but he give me 3 errors;

    he not resolve 3 "esterni" not resolved

    Form1.obj : error LNK2001: simbolo esterno "void * __cdecl data_process(void *,void *,unsigned long)" (?data_process@@$$FYAPAXPAX0K@Z) non risolto
    Form1.obj : error LNK2001: simbolo esterno "int __cdecl WarRock_Hook(void)" (?WarRock_Hook@@$$FYAHXZ) non risolto
    C:\Documents and Settings\*****\Documenti\Visual Studio Projects\form1\Debug\form1.exe : fatal error LNK1120: 2 esterni non risolti

    Edited by KinGalaxy
    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...