@
Jheamuel123 pano po pag mousewheel? ganto po ?
void SNS()
{
if(GetKeyState(VK_MBUTTON))
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_SupernoSpread = 0;
}
else
{
*(float*)ADR_SupernoSpread= 5;
}
}
---------- Post added at 07:08 PM ---------- Previous post was at 07:06 PM ----------
ito na po ung buong code ko pero nag error naman po sya :[ SORRY PO BAGUHAN LANG .
#include <windows.h>
#define ADR_PlayerPointer 0x00ABF51C
#define ADR_ServerPointer 0x009B93C0
#define ADR_SupernoSpread 0x007E75D0
#define OFS_NORECOIL1 0x00000C444
#define OFS_NORECOIL2 0x00000C44C
#define OFS_NORECOIL3 0x00000C448
//Player and Server Generator
DWORD *playing= (DWORD*)ADR_PlayerPointer;
DWORD *lobby= (DWORD*)ADR_ServerPointer;
void SNSOn() // supernospread key insert = on
{
if(GetKeyState(VK_INSERT)&1)
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_SupernoSpread = 0;
}
}
void SNSOff() // supernospread key delete = off
{
if(GetKeyState(VK_DELETE)&1)
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_SupernoSpread = 5;
}
}
void NoRecoil()
{
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(*playing)
{
NoRecoil();
SNS();
}
if(*lobby)
{
}
Sleep(200); //prevent for overloading the cpu
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
MessageBoxA(NULL,"made by Clarence mendoza","Successfully Injected",MB_OK);
}
return TRUE;
}