Originally Posted by
ayay456
Ano PO ang MALI N2
#include <windows.h>
#include <stdio.h>
#define ADR_PlayerPointer 0xA95790
#define ADR_ServerPointer 0xA94738
#define ADR_GlassWalls 0xA938C8
#define ADR_NearFog 0xA9C62C
#define ADR_FarFog 0xA9C634
#define ADR_SuperNoSpread 0x8BC608
#define ADR_BoneShots 0x8BD5C0
#define ADR_BoneShots 0xB2A118
#define OFS_NoRecoil1 0x00C444
#define OFS_NoRecoil2 0x00C448
#define OFS_NoRecoil3 0x00C44C
DWORD *ingame= (DWORD*) ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;
void GlassWalls()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_Glasswalls = 1;
else
{
*(int**)ADR_GlassWalls = 0;
}
}
void All()
{
*(double*)ADR_SuperNoSpread = 0;
*(int*)ADR_NoBounds1 = 0;
*(int*)ADR_NoBounds2 = 0;
*(int*)ADR_NoBounds3 = 0;
*(float*)FarFog = 0;
*(float*)NearFog = 0;}
}
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -10000;
}
*(float*)(dwPlayerPtr+OFS_NoRecoil1) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil2) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil3) = 0;
}
}
void GlassWalls()
{
if(GetKeyState(VK_F5))
*(float*)ADR_BoneShots = 1235;
else
{
*(float**)ADR_BoneShots = 1237;
}
}
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
GlassWalls();
All();
BoneShots();
BoneShotsoff();
}
if(*outgame)
{
}
Sleep(200); //prevent for overloading the cpu
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "Made by: ", "Message OgieWar", MB_OK);
MessageBoxA(NULL, "Jhem and all Coderz", "Credits", MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
}
return TRUE;
}