Disable features

Posts 115 of 23 · Page 1 of 2
Disable features
Hello everyone.

This lines are turn on the features:
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoWeight) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoChange) = 100.0f;

But how i can turn it off?

I'm try this line:

*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 0.0f;

and it's not work.

How i can disable hacks without quit?
Delete this line haha HUAHEUAHE ;d
You have to save the old state for every weapon. To disable a feature, simply restore the old value. If you dont know, how to do that, please quitt hack "coding" and buy some beginner literature.
delete the feature and it is off
Make else and the off value its not 0;
Ok, people. Thanks you all for trying to help me!

Zacherl, very difficult for me at this time.

Ghost Rider, CFhackerfree, where i can put "else" and what off value?

Maybe can someone provide some code, pls?

Thanks.
There is no other way than mine. You have to know the old value to disable a feature.
Quote Originally Posted by Zacherl View Post
There is no other way than mine. You have to know the old value to disable a feature.
Ok, so why isn't it resetting when i restore the old values for my weapon hack?

Code:
                                                                      weapon =  (DWORD*)((*(DWORD*)(CShell + WeaponMgr)) + (4 * i));
					normalvalue = (DWORD*)((*(DWORD*)(CShell + WeaponMgr)) + (4 * i));
					*weapon = *normalvalue;
Code:
weapon =  (DWORD*)((*(DWORD*)(CShell + WeaponMgr)) + (4 * i));
normalvalue = (DWORD*)((*(DWORD*)(CShell + WeaponMgr)) + (4 * i));
At this point "weapon" and "normalvalue" are identical. You have to save the old value before you do any changes to the structs.
Make else
Just make a buckup function :P It only takes 10 lines, and disable or enable a hack takes still 1 line...
Its very easy.
Quote Originally Posted by PSR16F80 View Post
Hello everyone.

This lines are turn on the features:
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoWeight) = 0.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoChange) = 100.0f;

But how i can turn it off?

I'm try this line:

*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 0.0f;

and it's not work.

How i can disable hacks without quit?


*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 1.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoWeight) = 1.2f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoChange) = 1.0f;
I Wish I Can Code Teach Me Guys !!
@PSR16F80

do it like this
Code:
if (noreload)
        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100.0f;
else
        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 1.0f;
Posts 115 of 23 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?