Why this isnt working :O

Posts 1–4 of 4 · Page 1 of 1
Why this isnt working :O
Superjump hack not working whats wrong?

#include <Windows.h>
#include <stdio.h>

#define ADR_PLAYERPOINTER 0x00C7C738
#define OFS_Z 0x00102EC




void jumpjump()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD DPP = *(DWORD*)ADR_PLAYERPOINTER;
if (DPP != 0)
{
*(FLOAT*)(DPP+OFS_Z) = 1000;
}
}
}
void LollodHacks()
{
for(;
{
jumpjump();
Sleep(50);

}
}

BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)

{

if (dwReason = DLL_PROCESS_ATTACH )
{
DWORD dwID1 = 0;
HANDLE hThread1 = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)LollodHacks, NULL, NULL, &dwID1 );
CloseHandle(hThread1);
}
return TRUE;
}



After injecting I join game press ctrl nothing happens ...
Addys what Im using http://www.mpgh.net/forum/262-warroc...9-05-11-a.html

Not copy paste but I followed tutorial ...

...and no errors/warnings
#include <Windows.h>
#include <stdio.h>

#define ADR_PLAYERPOINTER 0x00C7C738
#define OFS_Z 0x00102EC




void jumpjump()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD DPP = *(DWORD*)ADR_PLAYERPOINTER;
if (DPP != 0)
{
*(FLOAT*)(DPP+OFS_Z) = 1000;
}
}
}
void LollodHacks()
{
for(;
{
jumpjump();
Sleep(50);

}
}

BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res){
switch(DWORD_GRUND){
case 1:

CreateThread(0, 0, (LPTHREAD_START_ROUTINE) LollodHacks , 0, 0, 0);
break;
case 2:
break;}
return TRUE;}


//------------------------------------------------------
// test this now is work
try:

Code:
#include <windows.h>

/*Addies*/

#define ADR_PLAYERPOINTER 0x00 // your addy
#define ADR_SERVERPOINTER 0x00 // your addy
#define OFS_Z 0x00 // your addy

/*DWORDS*/

DWORD *ingame = (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame = (DWORD*)ADR_SERVERPOINTER;

/*Addies*/

/*VOIDS*/

void SuperJump()
{
     DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
   
     if(dwPlayerPtr != 0)
     {

       if(GetAsyncKeyState(VK_CONTROL) &1)
       {
       *(float*)(dwPlayerPtr+OFS_Z) = 2000; // height of jump
        }
      }
}

/*VOIDS*/

/*HT*/

void HackThread()
{
   for(;;)
   {
     if(*ingame)
      { 
        SuperJump(); 
       }
      if(*outgame)
      {
       }
    }
Sleep(200);
}

/*HT*/

/*DLLMain*/

BOOL WINAPI DllMain(HINSTANCE mod, DWORD WIZDOM_BASE1, LPVOID res){
switch(WIZDOM_BASE1){
case 1:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE) HackThread, 0, 0, 0);
break;
case 2:
break;}
return TRUE;}

/*ALL CREDITS TO ME I CODED HOLE THING!*/

/*DLLMain*/

//End Scene

ALL CREDITS TO ME I CODED HOLE THING!*/
ALL CREDITS TO ME I CODED HOLE THING!*/
ALL CREDITS TO ME I CODED HOLE THING!*/
ALL CREDITS TO ME I CODED HOLE THING!*/
Ugh next time you post code put it in [code] brackets please .. thanks
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us