/moved
You will receive better assistance here.
I have a code, but i think im missing something.
but im not sure what.
So can you help me.
Please don't make fun of me, If the code completely wrong. It's my first time.
Don't rage either.
It's just a basic hack i want to make, for now.////addies 01/05/2011
#define WeaponMgr 0xA0F338
#define NoReload 0x2420
#define WeaponDamage 0x07F8
float Hithard = 999.0f;
float FragDmg = 0.0f;
////hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }
//one hit kill
if(onehit)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = Hithard;
}
}
}
////no reload
if(reload)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100;
}
}
}
dont rage plz.
/moved
You will receive better assistance here.
DEHUMANIZE YOURSELF
AND FACE TO BLOODSHED
Have you gotten any errors ?
Warrock Minion 8-13-2011 - N/AA.V.A Minion since 11-1-11 - 11-12-11
Needs WINAPI Stuff, Hooks, And #include <windows.h>.
Edit: Don't Gernades Need To Be Defined Also?
Last edited by FileCorrupt; 09-04-2011 at 08:03 PM.
Not necessarily considering we have no idea what part of his hack this is Could be his base detours or whatever else is needed in CF.
Warrock Minion 8-13-2011 - N/AA.V.A Minion since 11-1-11 - 11-12-11
I'm Assuming That You Have The Rest Of Swiftdude's Base In There Too? These Are His Functions.
@[CF]Hackers
Could you provide some more info on the snippet you posted, for example what it is ?
Warrock Minion 8-13-2011 - N/AA.V.A Minion since 11-1-11 - 11-12-11
just post the full code.
and every one know it is swiftdude's base.
Yep, we all know this is swifts base..
@[CF]Hackers You have missed addys, and missing ready2hook, wait and maindll
Ps: Missing also credits to swiftdude
@[CF]Hackers
your weapon mgr is wrong
use 0xA2A7E8
and no reload is 0x2424