#include <windows.h>
#include "stdafx.h"
#define LtClient 0x10A314B0
#define reload 0x2424
#define change 0x2428
#define singlefire 0xa38
#define dmg 0x7FC
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 + 0x10A314B0);
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 (0x10A314B0)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) + change) = 9999;
}
}
}
if(OneHitKill)
{
if (0x10A314B0)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) + dmg) = 999.0f;
}
}
}
if(SingleFire)
{
if (0x10A314B0)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) + singlefire) = 1;
}
}
}
if(NoReload)
{
if (0x10A314B0)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) + reload) = 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;
}

#include <windows.h>
#include "stdafx.h"
#define LtClient 0xA314B0
#define reload 0x2424
#define change 0x2428
#define singlefire 0xa38
#define dmg 0x7FC
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 + 0xA314B0);
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 (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) + change) = 9999;
}
}
}
if(OneHitKill)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) + dmg) = 999.0f;
}
}
}
if(SingleFire)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) + singlefire) = 1;
}
}
}
if(NoReload)
{
if (pLtClient)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0x10A314B0))+(4*i))) + reload) = 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;
}
