Health Address

10/10/2010 19:41 w00tare#1
Hey,

Someone has it? I tried searching it. Found;
Code:
	#define adr_healthp 0x36A4F98
    #define ofs_healthp 0x0c // 958
	#define ofs_healthp2 0x958 // 0c
But it doesn't work. I just want to get the HP of the user, thanks.
10/10/2010 19:43 pro4never#2
It's doubled and also it changes every time you log iirc.

There was some information posted on tracking it down but I haven't done any memory reading/editing so I wouldn't know.



All I remember is that based on a certain calculation the offset changes and the value it holds is also doubled. (so 100 hp = 200 value)
10/10/2010 19:47 w00tare#3
Quote:
Originally Posted by pro4never View Post
It's doubled and also it changes every time you log iirc.

There was some information posted on tracking it down but I haven't done any memory reading/editing so I wouldn't know.



All I remember is that based on a certain calculation the offset changes and the value it holds is also doubled. (so 100 hp = 200 value)
Okay, thanks, but for me this is to less to work with. I'm using C++ btw.


EDIT: The spoiler contains raw asm I found with CE and olly. (There are 2, this in only ONE)

Okay, I fixed it doesn;'t crash, but doesn't load the value either. I searched for the right way (CE) now;'
Code:
	//#define adr_healthp 0x4AD78B // 4AD622
    #define adr_healthp 0x4AD622
    #define ofs_healthp 0x4
#define ofs_healthp2 0x8
I'm using it like;
Code:
	if (CH_Health ==1)
	{
		DWORD userhealth = adr_healthp + (ofs_healthp*ofs_healthp2);
		sprintf(userh, "%d", (void*)userhealth);
	}