HelpDetected Base?

Posts 1–4 of 4 · Page 1 of 1
Detected Base?
#include "windows.h"
// Define //
#define WeaponMgr 0xF48EEC
#define ChangeWeaponAnimRatio 0xC40
#define BulletPosOffset 0x353C
#define ShotReactPitch 0x371C
#define DetailPerturbShot 0xEFC
#define DetailReactPitchShot 0x1064
#define DetailReactYawShot 0x11CC
// Player Pointer //
#define PlayerPtr 0x5A8928
#define PlayerPtrOffset 0x54
// No Recoil //
#define NoRecoil1 0x272
#define NoRecoil2 0x50
#define NoRecoil3 0x278
// Client Bypass //
#define Client28_3 0x378495


DWORD APIENTRY Hacks (LPVOID)
{bool Hack = true;
while(1)
{DWORD CShell =(DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD norecoil = *(DWORD*)(NoRecoil1 + NoRecoil2 + NoRecoil3);
if (Hack)
{
if (pWeaponMgr) //Define WeaponMgr
{
for (int i = 0; i < 850;i++) //850 am i right?
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + norecoil);
}
}
}
Sleep (250);
}
}
bool Ready2Hook()
{
if (GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return true;
return false;
}
DWORD APIENTRY Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(400);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return true;
}
BOOL APIENTRY DllMain ( HINSTANCE HDll, DWORD DwReason , LPVOID LpvReason )
{
DisableThreadLibraryCalls(HDll);
switch (DwReason)
{
case 1 LL_PROCESS_ATTACH;
MessageBoxA(0,"Crossfire Hack Has Been Injected","Hack Cf Base Working",0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait, 0, 0, 0);

case 2 LL_PROCESS_DETACH;
break;
}
return true;
}


no errors but detected
this is my first try/time coding in C++
can someone help me and correct it and pm me the correct code..
Code:
GetModuleHandleA("CShell.dll")
Patched!
Quote Originally Posted by dreek1 View Post
GetModuleHandleA("EncryptedCShell")
how about this?
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?