Dismiss Notice
Want to Shorten Your Long URL? Check out our sister website Tiniurl to solve your needs!

Question How to find Address

Discussion in 'Gunz Hacks/Bots Discussion' started by Jorklenis2, Jun 11, 2017.

  1. Jorklenis2

    Jorklenis2 GunZ Hacks

    Messages:
    14
    Likes Received:
    0
    Joined:
    Nov 6, 2010
    Gender:
    Male
    I'm creating a shotbot just for my use, I do not want to disturb anyone on any server, I just want to know the doubts of this, well let's get down to business.

    I would like to know how to find directions to use hack in gunz.

    But how to know the function of each direction that gives you the program?

    This is the code I am using, here I ask for the code of the crosshair, but no idea where to go.

    PHP:
    int main() {
      
    DWORD address = [INSERT-YOU-CROSSAIR-ADDRESS]
      
    int value 0;
      
    DWORD pid;
      
    HWND hwnd;
            
    hwnd FindWindow(NULL,"GunZ Tropical");
      if(!
    hwnd) {
        
    cout <<"Window not found!\n";
        
    cin.get();
      }
      else {
        
    GetWindowThreadProcessId(hwnd,&pid);
        
    HANDLE phandle OpenProcess(PROCESS_VM_READ,0,pid);
        if(!
    phandle) {
          
    cout <<"Could not get handle!\n";
          
    cin.get();
        }
        else {
          while(
    1) {
            
    ReadProcessMemory(phandle,(void*)address,&value,sizeof(value),0);

            if(
    value==1) {
              
    Code Shotbot Funcional NO POST :P
            
    }

            
    Sleep(1000);
          }
        return 
    0;
        }
      }
    }
     
    Last edited: Jun 11, 2017

Share This Page