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