#include <windows.h>
#include "stdafx.h"
#define LtClient 0xA2A7E8
#define reload 0x2424
#define change 0x2428
#define singlefire 0xa38
#define dmg 0x2538
DWORD WINAPI Hacks (LPVOID)
{
bool Change = true,
NoReload = true,
SingleFire = false,
OneHitKill = false;
while(1)
{
DWORD CShell = (DWORD) GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell + 0xA2A7E8);
if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F2) &1) { OneHitKill = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F3) &1) { SingleFire = true; Beep(550, 120); }
if(Change)
{
if (0xA2A7E8)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + change) = 9999;
}
}
}
if(OneHitKill)
{
if (0xA2A7E8)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + dmg) = 999.0f;
}
}
}
if(SingleFire)
{
if (0xA2A7E8)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0xa38) = 1;
}
}
}
if(NoReload)
{
if (0xA2A7E8)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x2424) = 100;
}
}
}
{
}
Sleep(100);
}
}
bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}
DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
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, "Coded By H4CK3R987 (Sam)","Injected !", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
}
return 0;
}
#define LeecherMaster MightySaa0d
#define leech You
DWORD WINAPI Leechs(LPVOID)
{
bool Leecher = false,
DWORD Leeching = (DWORD) GetModuleHandleA("Leeching.dll");
DWORD pLtClient = *(DWORD*)(Leeching + MightySaa0d);
if(GetAsyncKeyState(VK_F1) { Leecher = true; }
if(Leecher)
{
if (pLeecherMaster)
{
for(int you=0; brain<1; i--)
{
if((*(DWORD*)((*(DWORD*)(Leeching+LeecherMaster))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LeecherMaster)) +(4*i))) + leech) = MightySaa0d;
}
}
}