Health

Started by sulfur, March 12, 2010, 06:16:33 AM

Previous topic - Next topic

sulfur

Ok I searched mem 2 but there was nothing there my health value in this game is 0x64 and when I get it it goes back up so I searched a unknown 32bit value then I throw a grenade to get hurt then searched for a less than wait till my health goes back up then searched for a greater than and so on but again I always come up with 8 addresses. They all are 0x64 value and when I look in mem view they all do the same. I tried to make a gct code for each, codetype 04 and 0x00 for the value and applied each at different times but they don't work, is there something I am doing wrong?


And what would be the best way to upload screenshots on here I used my snipping tool but it won't let me upload it, it says it is not writable?

GMO

If your using snippet tool do save as jpeg.  and you can uploading to tinypic.com and post the url link
http://gamemasterzer0.blogspot.com
For Codes, Guides, & Support Codemasters-Project
USB Gecko Facebook Page - My Wii's 4.1 U | 4.0 E

sulfur

Here are the addresses:



And this is what it looks like in mem view



The value that is highlighted does not change at all the other one how ever does go down when I get hurt then goes back up so I guess I don't know what I am doing wrong. Can somebody give me any suggestions thanks.

GMO

Did you try modding both 80A2157F & 80A21587
http://gamemasterzer0.blogspot.com
For Codes, Guides, & Support Codemasters-Project
USB Gecko Facebook Page - My Wii's 4.1 U | 4.0 E

sulfur

Ya I tried 00000000 on both but nothing happen this is what it looks like when I get hurt:




I circled the health that went down when I got hurt then the other address did not change but I also circled the 7F that goes up when I get hurt. So do you have any idea why I can't get anywhere on this code?




Skiller

RJAE52=Call of Duty Modern Warfare Reflex(NTSC)

there might be something elts your missing .. Example ..
yes this section is moving .. but the Hex value might just be the middle man ..

try looking for 100 in float .. u can do this in wiird by putting 100 and right clicking on the box u shoudl get 42C80000

u could try and BPW on the address thats changing .. and try to follow it back to find out where its getting its information from as well .
Normaly u should see something like lwz or something and it should be loading to the regester that your BP address is writing ..

make sure your checking both the 80 and 90 section u can run into fake values that are just being read from the other .

wiiztec

7F might be damage taken
If there's any code at all that you want to be button activated, or even able to toggle on & off, and I have the game, just PM me and I'll make it happen

sulfur

Ok here is the disassembler with 10 lines above:


CR  : 28000488  XER : 00000000  CTR : 000016AD  DSIS: 02400000
DAR : 80B5BF88  SRR0: 804F3900  SRR1: 0000B032  LR  : 804F36E8
r0  : 00000064  r1  : 801C98D8  r2  : 801C1300  r3  : 00000000
r4  : 80ADE7CC  r5  : 80B5BF84  r6  : 80B5BE0C  r7  : 00000001
r8  : 00000E53  r9  : 00000001  r10 : 801C98D8  r11 : 801C98C8
r12 : 00000018  r13 : 801C02A0  r14 : 935E0000  r15 : 03534D00
r16 : 8011A2E0  r17 : 00000000  r18 : 00000000  r19 : 802BB000
r20 : 802BA580  r21 : 00000001  r22 : 800E7040  r23 : 800F1000
r24 : 8011A180  r25 : 00000000  r26 : 80B50704  r27 : 80860000
r28 : 808597E8  r29 : 801C9900  r30 : 80AB505C  r31 : 80ADE644

f0  : 00000000  f1  : 509C2E9A  f2  : 00000000  f3  : 00000000
f4  : 00000000  f5  : 00000000  f6  : 00000000  f7  : 00000000
f8  : 00000000  f9  : 00000000  f10 : 00000000  f11 : 00000000
f12 : 3CBE8600  f13 : 3D2B71E0  f14 : 00000000  f15 : 00000000
f16 : 00000000  f17 : 00000000  f18 : 00000000  f19 : 00000000
f20 : 00000000  f21 : 00000000  f22 : 00000000  f23 : 00000000
f24 : 00000000  f25 : 00000000  f26 : 00000000  f27 : 00000000
f28 : 00000000  f29 : BF800000  f30 : 00000000  f31 : 3F800000





804F38D8:  801F001C     lwz     r0,28(r31)
804F38DC:  9003B2C4     stw     r0,-19772(r3)
804F38E0:  801F0020     lwz     r0,32(r31)
804F38E4:  9003B2C8     stw     r0,-19768(r3)
804F38E8:  38A60018     addi    r5,r6,24
804F38EC:  389F0020     addi    r4,r31,32
804F38F0:  380016D9     li      r0,5849
804F38F4:  7C0903A6     mtctr   r0
804F38FC:  80640004     lwz     r3,4(r4)
804F38FC:  84040008     lwzu    r0,8(r4) 

804F3900:  90650004   stw   r3,4(r5)
804F3904:  94050008   stwu   r0,8(r5)
804F3908:  4200FFF0   bdnz+   0x804f38f8
804F390C:  3C9F0001   addis   r4,r31,1
804F3910:  8004B6EC   lwz   r0,-18708(r4)
804F3914:  3C660001   addis   r3,r6,1
804F3918:  9003B6E4   stw   r0,-18716(r3)
804F391C:  8004B6F0   lwz   r0,-18704(r4)
804F3920:  9003B6E8   stw   r0,-18712(r3)
804F3924:  8004B6F4   lwz   r0,-18700(r4)
804F3928:  9003B6EC   stw   r0,-18708(r3)
804F392C:  8004B6F8   lwz   r0,-18696(r4)
804F3930:  9003B6F0   stw   r0,-18704(r3)
804F3934:  8004B6FC   lwz   r0,-18692(r4)
804F3938:  9003B6F4   stw   r0,-18700(r3)
804F393C:  8004B700   lwz   r0,-18688(r4)


And this is what it looks like on the BP screen I have highlighted the register that has the 64 value that goes down when I get it:




I really don't know what I am doing wrong, if anybody has any suggestions I would really appreciate it thanks.

Skiller

804F38F8:  80640004     lwz     r3,4(r4)
804F38FC:  84040008     lwzu    r0,8(r4) 

Check them offsets . on regeter R4 since they seem to be whats holding the value befor its placed there ..

r4  : 80ADE7CC

this might be the area that u need ..

matt123337

#24
He was at the wrong value, the correct value for HP is:81536A50 and it is 00000064 when full hp, nop the stw writing to it (loacation:803B58BC) and.... infinite HP

Code:
Infinite HP [Matt123337]
043B58BC 60000000

Althoght thiere is one issue...

But not a big deal

Skiller

u should Brake on the address your noping .
im betting its tied to more then just your HP that be why that issue u are having is there

matt123337

lol it's not, it's a side effect of having 20 grenades blowing up around you :p

Skiller

Quote from: matt123337 on April 07, 2010, 03:12:34 AM
lol it's not, it's a side effect of having 20 grenades blowing up around you :p
lol . intresting