What is the problem with my Hack?
I made this hack today, but it's not working, only works no-reload,
Help-me Please.
My Source Code:
#define WeaponMgr 0xA68F90
#define NoReload 0x269C
#define NoSpread 0x26A0
#define NoWeight 0x2450
#define NoChange 0x2698
#define OneHit 0x7F8
bool recoil = true;
bool nospread = true;
bool noweight = true;
bool nochange = true;
bool noreload = true;
bool onehit = true;
if(nospread){
if (pWeaponMgr){
for(int i=0; i<614; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoSpread) = 0.0f;
}
}
}
} // end NoSpread
if(nochange){
if (pWeaponMgr){
for(int i=0; i<614; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoChange) = 100.0f;
}
}
}
} // end NoChange
if(noweight){
if (pWeaponMgr){
for(int i=0; i<614; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoWeight) = 0.0f;
}
}
}
} // end noWeight
if(noreload){
if (pWeaponMgr){
for(int i=0; i<614; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 150;
}
}
}
} // end NoReload
if(onehit){
if (pWeaponMgr){
for(int i=0; i<614; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + OneHit) = 9999;
}
}
}
} // end OneHitKill
if possible send me the code to run the onehitkill and wall hack. thanks !