OMFGDUDE (04-05-2012)
@OMFGDUDE
value is wrong and you need 2 offsets
you can find the rigth Offsets here:
https://www.mpgh.net/forum/242-crossf...onlog-etc.html
KnifeOHK1: 0xBBC
KnifeOHK2: 0xBC8
(@DaRk)
Code:#define knives ((i==5)||(i==35)||(i==74)||(i==132)||(i==189)||(i= =239)||(i==261)||(i==269)||(i==270)||(i==271)||(i= =372)||(i==437)||(i==517)||(548)) if( pWeaponMgr) { for(int i=0; i<600; i++) { DWORD Waffe= *(DWORD*)(pWeaponMgr+(4*i)); if(Waffe || && knives) { for(int y=0; y<10; y++) { *(float*)(Waffe + OFFSET+y*4) = Wert/VALUE; *(float*)(Waffe + OFFSET+y*4) = Wert/VALUE; }}
Last edited by CFhackerfree; 04-04-2012 at 08:08 PM.
OMFGDUDE (04-05-2012)
@CFhackerfree can i ask u why ur looping through 10?? 10*4 = 40, 40 as hex is 28. so BBC + 28 = BE4 that's not right coz KnifeNormalAmmoDamage offset is 0xBBC and KnifeNormalAmmoDamge2 is BD4. u have to loop through 4 bytes each to BD4 . but u looped with 10, which equals BE4, that's not right ...it's suppose to be 6 why coz..6*4 = 24 and 24 as hex is 18 so BBC + 18 = BD4. Same thing goes for BC8, BC8 + 18 = BEO which is KnifeBigShotAmmoDamage2
PS. u dont have to define knives
Last edited by DaRk; 04-04-2012 at 10:18 PM.
OMFGDUDE (04-05-2012)
Ok, thanks all, i made it for CF NA and it works great, but for CF RU it dont takes any damage. Why? It is patched or what? What do you think?
@DaRk
hm... for me working fine -.-
OMFGDUDE (04-05-2012)
CFhackerfree (04-05-2012),OMFGDUDE (04-05-2012)