mga sir, ask ko lang why d gumagana yung stw at boneshot? everythings working perfect except sa dalawa po. may mali ba sa codings sir. ty bagong addresses naman po siya sir
#include <windows.h>
#define ADR_Playerpointer 0x00
#define ADR_Serverpointer 0x00
#define ADR_Boneshot 0x007F63BC
#define ADR_Stw 0x007F1680
#define ADR_GlassWalls 0x00
#define ADR_Stamina 0x00
#define ADR_SNS 0x0
#define OFS_NoRecoil1 0x00
#define OFS_NoRecoil2 0x00
#define OFS_NoRecoil3 0x00
DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer;
void Boneshot()
{
if(GetAsyncKeyState(VK_INSERT) &1)
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_Boneshot = 1237;
}
}
void Boneshotoff()
{
if(GetAsyncKeyState(VK_HOME) &1)
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_Boneshot = 1237;
}
}
void stw()
{
*(double*)ADR_Stw = 0;
}
void glasswall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_GlassWalls = 1;
else
{
*(int**)ADR_GlassWalls = 0;
}
}
void sns()
{
*(double*)ADR_SNS = 0;
}
void Stamina() //UnliSP
{
*(float*)ADR_Stamina = 9999999;
*(float*)ADR_Stamina = 0;
*(float*)ADR_Stamina = 0;
*(float*)ADR_Stamina = 0;
*(float*)ADR_Stamina = 9999999;
}
void nr()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NoRecoil1) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil2) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil3) = 0;
}
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
glasswall();
Stamina();
sns();
nr();
}
if(*outgame)
{
}
Sleep(200);
}
}
//--------------------------End HackThread--------------------------//