Addresses are correctly defined, but whenever I turn it on, CF just crashes(no error message, no Xtrap warning, nothing):
It happens with any hack that uses WeaponMgr, but others(Fast Defuse, No Fall Damage) are working fine... any help?Code:for(int y =0; y<321;y++) { *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + WeaponRange) = 172200; }
also make sure you have these if statements in your loop.
DWORD pWeaponMgr = *(DWORD*)(dwCShell + WeaponMgr);
if(pWeaponMgr)
{
for(int y=0; y<321; y++)
if((*(DWORD*)(pWeaponMgr+(4*y))) != NULL)
//memhack here
}
Last edited by kjbmarr; 05-10-2013 at 07:28 PM.
For some reson, pWeaponMgr is returning NULL to me, I checked with this code:
Anyone ever had this problem?Code:if(GetAsyncKeyState(VK_NUMPAD0)&1) { DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr); if(pWeaponMgr==NULL) { Beep(500,100);//When I press 0, I hear a beep because pWeaponMgr is null... /*for(int i = 0; i< 445; i++) { if((*(DWORD*)(pWeaponMgr+(4*i))) != NULL) { *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0x80C) = 117220; } }*/ } }
@JamesRo The problem is you cant code