I can not understand two codes
At me it is impossible to make without return, and also a fast mining of a bomb.
At me such code:
Code:
#include <windows.h>
#define GhstMgr1 0xA7D434 //еще одна главная херня
#define GhstMgr2 0xA7D438 //2
#define WeaponMgr 0xAE4534 //главная херня
//это все антиотдача
#define NoRecoil 0x24CC
#define NoRecoil2 0x18D4
#define NoRecoil3 0x18D8
#define NoRecoil4 0x18DC
#define NoRecoil5 0x253C
#define NoRecoil6 0x2540
//это все антиотдача
#define NoSpread 0x2650 //прицел
#define C4PlantTime 0x7C
#define C4DefuseTime 0x80
void hacks()
{
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(100);
}
Beep(500,500);
bool pWeaponMgr = true;
bool pGhstMgr1 = true;
bool pGhstMgr2 = true;
bool CF_NoRecoil = true;
for(int i=0; i<560; i++)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD pGhstMgr1 = *(DWORD*)(CShell + GhstMgr1);
DWORD pGhstMgr2 = *(DWORD*)(CShell + GhstMgr2);
if(CF_NoRecoil)
{
if (WeaponMgr)
{
for (int i=0; i<560; i++)
for (int y=0; y<9; y++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil2) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil3) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil4) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil5) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoRecoil6) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*y))) + NoSpread) = -1.0f;
}
}}}
if (C4PlantTime)
{
if ((pGhstMgr1) || (pGhstMgr2))
{
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+GhstMgr1+GhstMgr2))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+GhstMgr1+GhstMgr2)) +(4*i))) + C4PlantTime ) = 1;
}
}
}
if (C4DefuseTime)
{
if ((pGhstMgr1) || (pGhstMgr2))
{
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+GhstMgr1+GhstMgr2))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+GhstMgr1+GhstMgr2)) +(4*i))) + C4DefuseTime ) = 1;
}
}
}
Sleep(100);
}
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if(fdwReason==DLL_PROCESS_ATTACH)
{
MessageBoxA(0, "Автор: DdoosS\n\nБлагодарности: MegaR, Madhack\nДата релиза: 08.01.12","Gio Hack v 1.0", 0);
DisableThreadLibraryCalls(hinstDLL);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hacks, NULL, NULL, NULL);
}
return TRUE;
}
Where errors?
To me said that a bomb mining have blocked, but I do чит on Russian CF. In Russian CF the mining works 100 %.