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.

    [Tutorial] Making Hacks With C++ 2008! [Warrock] [Gordon Source!]


    3123123222222
     Share

    Recommended Posts

    Hello And Welcome to my Tutorial [ Almog6666 ] On how making your own Hacks For [WARROCK]

     

     

    FIRST CHILL OUT HEAR IT AND THEN START:

    http://www.youtube.com/watch?v=FMgeR0EJjZA

     

    Admins Please make this sticky O.o I think its usefull ^^

    Waht Is On The Hack:~

    <U>Waht You Gonna Need:

    • C++ 2008 Express Edition.
    • Microsoft DirectX 9.0 Summer SDK (I use Update Summer 2004)

     

    You can download those here: (Its Free)

    First I want give credits..

    Tutorial : *-~Made By Almog6666~-*

    Hack Source : *-~Made By Gordon `~-*

    Thnx Gordon xD How Do We Make A HACK?

     

     

     

    1. Make Sure u downloaded All The Stuff (C++ 2008 || Summer SDK)
    2. Open C++ And at the top Click File >> New >> Project|| Then Go To Win32 And Select Win32 Project.
    3. Enter The Name in the textbox and click "OK" Button Window Will PopUp! Click Next
    4. In Action Type Select DLL And Press FINISH
    5. The Window Will be closed and u will get The CPP File where u writh the hack..
    6. Enter This Code Over There:

    #include <windows.h> //This is for CreateThread and Sleep
    #pragma warning(disable: 4312) //Disable annoying warnings
    
    
    void HackLoop(); //Prototype of our thread
    
    BOOL __stdcall DllMain(void *, unsigned long reason, void *)
    {
    switch(reason)
    {
    	case DLL_PROCESS_ATTACH: //Our DLL was attached to WarRock
    		//We'll create a thread hence the process does not stuck
    		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackLoop, 0, 0, 0);
    		break;
    }
    
    return TRUE;
    }
    
    
    template <class T>
    class CHack
    {
    public:
    void SetAddress(DWORD addy) 
    {
    	address = addy;
    	if(!IsBadReadPtr((void*)address, 4))
    	{
    		VirtualProtect((void*)address, sizeof(T), 0x40, &oldProtect);
    		memcpy(&backup, (void*)addy, sizeof(T));
    		VirtualProtect((void*)address, sizeof(T), oldProtect, 0);
    	}
    }
    void SetData(T Data)
    {
    	if(!IsBadReadPtr((void*)address, 4))
    	{
    		VirtualProtect((void*)address, sizeof(T), 0x40, &oldProtect);
    		memcpy((void*)address, &Data, sizeof(T));
    		VirtualProtect((void*)address, sizeof(T), oldProtect, 0);
    	}
    }
    void Restore()
    {
    	if(!IsBadReadPtr((void*)address, 4))
    	{
    		VirtualProtect((void*)address, sizeof(T), 0x40, &oldProtect);
    		memcpy((void*)address, &backup, sizeof(T));
    		VirtualProtect((void*)address, sizeof(T), oldProtect, 0);
    	}
    }
    private:
    T data;
    T backup;
    DWORD address;
    DWORD oldProtect;
    }; 
    
    class CHackPtr
    {
    public:
    void SetAddress(DWORD addy) 
    {
    	paddress = (DWORD*)addy;
    }
    void SetByte(DWORD offset, char value)
    {
    	if(*paddress)
    	{
    		RelativeAddress = *paddress + offset;
    		memcpy((void*)RelativeAddress, &value, sizeof(char));
    	}
    }
    void SetShort(DWORD offset, short value)
    {
    	if(*paddress)
    	{
    		RelativeAddress = *paddress + offset;
    		memcpy((void*)RelativeAddress, &value, sizeof(short));
    	}
    }
    void SetInt(DWORD offset, int value)
    {
    	if(*paddress)
    	{
    		RelativeAddress = *paddress + offset;
    		memcpy((void*)RelativeAddress, &value, sizeof(int));
    	}
    }
    void SetFloat(DWORD offset, float value)
    {
    	if(*paddress)
    	{
    		RelativeAddress = *paddress + offset;
    		memcpy((void*)RelativeAddress, &value, sizeof(float));
    	}
    }
    
    char GetByte(DWORD offset)
    {
    	char buf;
    	if(*paddress)
    	{
    		RelativeAddress = *paddress + offset;
    		memcpy(&buf, (void*)RelativeAddress, sizeof(char));
    		return buf;
    	}
    	return 0;
    }
    short GetShort(DWORD offset)
    {
    	short buf;
    	if(*paddress)
    	{
    		RelativeAddress = *paddress + offset;
    		memcpy(&buf, (void*)RelativeAddress, sizeof(short));
    		return buf;
    	}
    	return 0;
    }
    int GetInt(DWORD offset)
    {
    	int buf;
    	if(*paddress)
    	{
    		RelativeAddress = *paddress + offset;
    		memcpy(&buf, (void*)RelativeAddress, sizeof(int));
    		return buf;
    	}
    	return 0;
    }
    float GetFloat(DWORD offset)
    {
    	float buf;
    	if(*paddress)
    	{
    		RelativeAddress = *paddress + offset;
    		memcpy(&buf, (void*)RelativeAddress, sizeof(float));
    		return buf;
    	}
    	return 0;
    }
    
    private:
    DWORD* paddress;
    DWORD RelativeAddress;
    };
    
    CHack <BYTE>NoWater;
    CHack <int>NoBounds1;
    CHack <int>NoBounds2;
    CHack <float>Speedhack;
    CHack <float>NoSpread;
    CHackPtr PlayerPointer;
    CHackPtr ServerPointer;
    
    void HackLoop()
    {
    static bool bInit = false;
    if(!bInit)
    {
    	MessageBox(0, "Hack by Gordon", "Credit me!", 0);
    	//Set all our addresses there - this gets executed ONCE
    	NoWater.SetAddress(0x009FB0C0);   //Change ME!
    	NoBounds1.SetAddress(0x00C4011C); //Change ME!
    	NoBounds2.SetAddress(0x00C40120); //Change ME!
    	Speedhack.SetAddress(0x00980C20); //Change ME!
    	NoSpread.SetAddress(0x00AD821C); //Change ME!
    
    	ServerPointer.SetAddress(0x00B1BEF8);
    	PlayerPointer.SetAddress(0x00C93348);
    
    	bInit = true;
    }
    
    while(true)
    {
    	NoWater.SetData(0);
    	NoBounds1.SetData(0);
    	NoBounds2.SetData(0);
    	NoSpread.SetData(0);
    	Speedhack.SetData(500.0f);
    
    	ServerPointer.SetByte(0x374, 3); //Premium
    
    	PlayerPointer.SetFloat(0x000,   100); //Stamina
    	PlayerPointer.SetFloat(0x2F0, -2000); //NFD
    
    	PlayerPointer.SetFloat(0x20, 0); //Norecoil 1
    	PlayerPointer.SetFloat(0x24, 0); //Norecoil 2
    	PlayerPointer.SetFloat(0x28, 0); //Norecoil 3
    
    	if(GetAsyncKeyState(VK_SPACE))
    	{
    		//float CurrentHeight = PlayerPointer.GetFloat(0x128);
    		//CurrentHeight += 400; //We want to go higher
    		PlayerPointer.SetFloat(0x128, 1500);
    	}
    
    	Sleep(20);
    }
    }

     

     

     

     

    THENX TO GORDON FOR THE SOURCE

     

    8. Edit The Addys \ Offest \ How u wanna call it With The correct version of The Offest \ Addys of Warrock ((****I added to them //change it! means need change..****))

     

    9. BRB i gotta pee ;)

     

    10. Im Back ^^ Now waht u wanna do is : Right Click On This : rightclick.png Then Click Properties.

    11. Then Click On The "+" Next to "+Configuration Properties" >> Click On "General" Then Look Bit Down And You see: "Charcter Set " Set It as "Use Multi-Byte bla."

    12. Press "OK" (I dont know waht u have i have it on hebrow Languge)

    13)Look Up.. Where file and edit and build.. serch for tools Click It And click Options >> Click On Projects And Tools >> VC++ Directories Then Click On The Symbol looks like a folder. and direct it to "Summer SDK" Folder Then In This Folder find the "Include" Folder Click it and then Click "OK".

    14. Look bit up u can see "Show directories for:" Select "Library Files" And direct it like in step 13 BUT not to "Include" Folder Select "Lib" Folder Click "OK".15 . THEN FINALY :o Click Build >> Build "Your Project Name" ;)

    16. LAST|| Go to where u chosed to save ur projects.. debug folder.. Then U will see.. UR DLL!!! name it something will not be detected like : internet.dll and inject it!

     

    HOW MAKE ~**Under Ground!**~

    add this to the end of the code but above the :

     

    {

    {

    Thet under the "Sleep(1)"

     

    add this :

    if(GetAsyncKeyState(VK_DELETE)) //UnderGround Hack By Almog6666

    {

    //float CurrentHeight = PlayerPointer.GetFloat(0x128);

    //CurrentHeight += 400; //We want to go higher

    PlayerPointer.SetFloat(0x128, -5);

    }

     

    Sleep(1);

     

    THEN When u push in game "Delete" button u get underground ;)

     

    PLEASE GIVE ME A THENX ! I worked 2 Hours ON IT! PELASEand also Sticky IT XDDD Bye

    Edited by Stefan
    • Upvote 1
    • Downvote 1
    Link to comment
    Share on other sites

    Hello And Welcome to my Tutorial [ Almog6666 ] On how making your own Hacks For [WARROCK]

     

    [ Hidden part. View original post. ]

    thx

    Link to comment
    Share on other sites

    Hello And Welcome to my Tutorial [ Almog6666 ] On how making your own Hacks For [WARROCK]

     

    [ Hidden part. View original post. ]

    Link to comment
    Share on other sites

    looking..

     

    edit: nice to see, that someone understands my code O.o

    Edited by Gordon`
    Link to comment
    Share on other sites

    Hello And Welcome to my Tutorial [ Almog6666 ] On how making your own Hacks For [WARROCK]

     

    [ Hidden part. View original post. ]

     

     

    rep

    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...