I got this error ...can someone help!!!???
Okey so me and michielr made a hack it is a noreload and norecoil hack....eventrully it was really easy....welll when we were done I got this error from X-trap.....
ImageShack® - Online Photo and Video Hosting
Does it mean I have to use a injector?????
my code:
Code:
#include <windows.h>
bool injected = true;
DWORD WINAPI hacks(LPVOID)
{
bool Basic = true;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD WeaponMgr = *(DWORD*)(CShell + 0xA68F80);
if( Basic )
{
if( WeaponMgr )
for(int i = 0; i < 576; i ++)
{
PDWORD Weapon2 = (PDWORD)(CShell + 0xA68F80);
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if ( Weapon )
{
for(int y = 0; y<9;y++)
{
*(float*)( Weapon + (0x1928) + (4*y)) = 0.0f;
*(float*)( Weapon + (0x192C) + (4*y)) = 0.0f;
*(float*)( Weapon + (0x1930) + (4*y)) = 0.0f;
*(float*)( Weapon + (0x26A4) + (4*y)) = 0.0f;
*(float*)( Weapon + (0x20FC) + (4*y)) = 0.0f;
*(float*)( Weapon + (0x1F94) + (4*y)) = 0.0f;
*(float*)( Weapon + (0x269C)) = (float)75;//reload
}
}
}
}
}
}
BOOL WINAPI runner(LPVOID) {
Sleep(2000);
try {
DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
if(dllfile == false) {
throw 1;
}
}
catch (int error) {
switch(error) {
case 1:
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
return false;
default:
return false;
}
}
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hacks, NULL, NULL, NULL);
return true;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH) {
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
}
return true;
}
Please do not leech this.....
credits to:
@badboy3(me)
@michielr