[HTML]#include "stdafx.h"
#include <windows.h>
#define WeaponMgr 0xA68F90
#define NoReload 0x269C
#define OneHit 0x7F8
#define NoChange 0x26A0
#define NoWeight 0x2454
#define NoSpread 0x26A4
DWORD WINAPI Hacks(LPVOID)
{
bool noreload = true;
bool onehit = true;
bool nochange = true;
bool noweight = true;
bool nospread = true;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell+WeaponMgr);
for(int i = 0; i <= 559; i++){
DWORD CShell = *(DWORD*)( pWeaponMgr + (4*i));
if(onehit) {
*(float*)(CShell + OneHit) = 116.0f; //Not Get Client Error
}
if(noreload) {
*(float*)(CShell + NoReload) = 100;
}
}
if(nochange) {
*(float*)(CShell + NoChange) = 0;
}
if(noweight) {
*(float*)(CShell + NoWeight) = 0;
}
}
if(nospread) {
*(float*)(CSell + NoSpread) = 0;
}
}
}
Sleep(100);
}
}
bool Z8()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}
DWORD WINAPI Wait(LPVOID)
{
while(!
Z8()) Sleep(200);//Name Hook Changed To Not Get String Detected
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Credits- Maxpower439","Beta Hack", 0);//BETA ? Give Credits
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}[/HTML]