help x-trao cf fg

Posts 1–3 of 3 · Page 1 of 1
help x-trao cf fg
help x-trao cf fg
code
Code:
#define WeaponMgr	 0xB65E94
#define NoRecoil1    0x4C0
#define NoRecoil2    0x4C4
#define NoRecoil3    0x4C8
#define NoRecoil4    0x1C
#define NoRecoil5    0xE98
#define NoRecoil6    0x168
DWORD WINAPI Base(void)
{
	//bool noreload = true;
	bool wall = true;
	bool seeghost = true ;
	bool knife = true;
while(1)
{
if(GetModuleHandleA("CShell.dll") && GetModuleHandleA("ClientFx.fxd"))
{
Sleep(100);
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD pNoRecoil = *(DWORD*)(CShell + WeaponMgr);
DWORD noreload = *(DWORD*)(CShell + WeaponMgr);
if(noreload)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++) 
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBD8) = 100;
}
}
}
       
Sleep(100);
if (pWeaponMgr){
			for(int i=0; i<577; i++){
				if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
					DWORD pNoRecoil = *(DWORD*)(pWeaponMgr + (4*i));
					for(int y=0; y<6; y++){
						if(pNoRecoil){
							*(float*)(pNoRecoil + (NoRecoil1 + (4*y))) = 0.0f;
							*(float*)(pNoRecoil + (NoRecoil2 + (4*y))) = 0.0f;
							*(float*)(pNoRecoil + (NoRecoil3 + (4*y))) = 0.0f;
							*(float*)(pNoRecoil + (NoRecoil4 + (4*y))) = 0.0f;
							*(float*)(pNoRecoil + (NoRecoil5 + (4*y))) = 0.0f;
							*(float*)(pNoRecoil + (NoRecoil6 + (4*y))) = 0.0f;
							
						}
					}
				}
			}		
		}				     

}
}
}
DWORD WINAPI MemoryHook(LPVOID)
{
_asm {
   PUSH 0;
   PUSH 0;
   CALL Base;
   PUSH 0;
   PUSH 0;
   PUSH 0;
  }
}

BOOL APIENTRY DllMain( HMODULE hModule,DWORD ul_reason_for_call,LPVOID lpReserved )
{
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
	
	CreateThread(0,0,(LPTHREAD_START_ROUTINE)MemoryHook,0,0,0);  
}
return TRUE;
}
while(1) = xtrao
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us