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.

    First hack, dont work


    djangog00d
     Share

    Recommended Posts

    Hello,

     

    I've made my first hack, but it dont work.

    He give no errors when making and ingame.

    Can someone say me whats wrong in this code?

     

    // Yearupie.cpp : Defines the exported functions for the DLL application.
    //
    
    #include "Stdafx.h"
    #include <Windows.h>
    #include <Stdio.h>
    float Adv0_X,Adv0_Y,Adv0_Z;
    #define ADR_PLAYERPOINTER 0xCEFDB8 // Plyr Base
    #define ADR_SERVERPOINTER 0xCEFDB8 // Serv *
    #define OFS_STAMINA 0x2C // sta oft
    #define OFS_NORECOIL1 0x1C // No Rcol 1
    #define OFS_NORECOIL2 0x20 // No Rcol 2
    #define OFS_NORECOIL3 0x24 // No Rcol 3
    #define OFS_X 0x260 // x
    #define OFS_Y 0x268 // y
    #define OFS_Z 0x264 // z
    #define OFS_SLOT5 0xF91FC // 5th
    #define OFS_NFD 0x32C // nfd
    #define OFS_PREMIUM 0x37C // pre 1
    #define ADR_HACKSHIELD 0x626F50 // shield
    #define ADR_SPEEDROLL 0x9DAAE0 // spd roll
    #define ADR_SPEED 0x9C7F9C //spd
    
    void Adv0cate_Thread(){
    for(;;){
    	DWORD *InGame=(DWORD*)ADR_PLAYERPOINTER;
    	DWORD *Lobby=(DWORD*)ADR_SERVERPOINTER;
    	DWORD dwPlayer=*(DWORD*)ADR_PLAYERPOINTER;
    	DWORD dwServer=*(DWORD*)ADR_SERVERPOINTER;
    	if(dwPlayer!=0){
    		if(dwServer!=0){
    
    			if(*InGame){
    
    				// Set NFD
    				*(float*)(dwPlayer+OFS_NFD)=-999;
    
    				// If Shiftkey is pressed
    				if(GetAsyncKeyState(VK_LSHIFT)&1){
    
    					// Set speed up
    					*(float*)(ADR_SPEEDROLL)=1.85F;
    				}
    
    				// Set premium
    				*(long*)(dwServer+OFS_PREMIUM)=3,10;
    
    				// Set norecoil
    				*(float*)(dwPlayer+OFS_NORECOIL1)=0;
    				*(float*)(dwPlayer+OFS_NORECOIL2)=0;
    				*(float*)(dwPlayer+OFS_NORECOIL3)=0;
    
    				// if stamina is smaller then 30
    				if(dwPlayer!=0&&*(float*)(dwPlayer+OFS_STAMINA)<30){
    
    					// set stamina back to 30
    					*(float*)(dwPlayer+OFS_STAMINA)=30;
    				}
    
    				// Open 5th slot
    				*(long*)(dwServer+OFS_SLOT5)=1;
    
    				// if keypress F2
    				if(GetAsyncKeyState(VK_F2)&1){
    
    					// Save position
    					Adv0_X=*(float*)(dwPlayer+OFS_X);
    					Adv0_Y=*(float*)(dwPlayer+OFS_Y);
    					Adv0_Z=*(float*)(dwPlayer+OFS_Z);
    
    					// If keypress F3
    					if(GetAsyncKeyState(VK_F3)&1){
    
    						// Teleport
    						*(float*)(dwPlayer+OFS_X)=Adv0_X;
    						*(float*)(dwPlayer+OFS_Y)=Adv0_Y;
    						*(float*)(dwPlayer+OFS_Z)=Adv0_Z;
    					}
    				}
    
    				// Speed up
    				*(float*)(ADR_SPEED)=105;
    
    				// Superjump
    				if (GetAsyncKeyState(VK_CONTROL)){
    
    					if(dwPlayer != 0)
    					{
    						*(float*)(dwPlayer+0x190) = 1500;
    					}
    				}
    			}
    
    			if(*Lobby){
    
    				// Set premium
    				*(long*)(dwServer+OFS_PREMIUM)=3,10;
    
    				// Set 5th slot
    				*(long*)(dwServer+OFS_SLOT5)=1;
    			}
    		}
    	}
    }
    Sleep(200);
    }
    
    BOOL WINAPI DllMain(HINSTANCE hModule,DWORD dwReason,LPVOID lpvReserved){
    if(dwReason==DLL_PROCESS_ATTACH){
    	CreateThread(0,0,(LPTHREAD_START_ROUTINE)Adv0cate_Thread,0,0,0);
    }
    return TRUE;
    }

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