Register for your free account! | Forgot your password?

You last visited: Today at 06:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Health Address

Discussion on Health Address within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
w00tare's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 248
Received Thanks: 279
Health Address

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.
w00tare is offline  
Old 10/10/2010, 19:43   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
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)
pro4never is offline  
Old 10/10/2010, 19:47   #3
 
w00tare's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 248
Received Thanks: 279
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);
	}
w00tare is offline  
Reply


Similar Threads Similar Threads
[HELP]Health Bar(HP) BUG...
01/20/2011 - EO PServer Hosting - 3 Replies
My character Health Bar(HP) always keep low...after i take Hp potion..still the same..how to fix the character health bar(HP)??im using revo client + db..anyone plss help me fix this bug..
[Help] NPC health?
08/18/2010 - CO2 Private Server - 12 Replies
alright so I've currently checked my server again and found out dat once u attack npcs with like skills (not including fb/ss) they get attacked with a random dmg amount...wtf lol? anyone kno how can I fix it so u cant ATTACK ANY npc lol? most of the new sources released nowadays have dis problem but I have not yet fixed it since idk how to...any help would be appreciated :handsdown:
[HELP] Finding Gm address & AoE address on CABAL
10/23/2008 - Cabal Online - 0 Replies
How can i find Gm address and Aoe Address on CABAL ? im using CE please help me. TNX! :bandit:
PC health
01/24/2008 - Off Topic - 6 Replies
ok i need a favor cose i have a hard time finding a program that shoes you all you PC hardweare, fan RPM and temperature... post if you have anything
Health Bar
02/26/2006 - Conquer Online 2 - 4 Replies
why is it that all the monsters and the quards have no HP bar??? what file contains this info so maybe i can reverse it? tnx in advance



All times are GMT +1. The time now is 06:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.