player.Pet.HP / MaxHP

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
JackBlonder
Posts: 99
Joined: Sat Dec 18, 2010 6:55 am

player.Pet.HP / MaxHP

#1 Post by JackBlonder »

I'm trying to get my pets HP, but when I use
cprintf(cli.blue, "Pet.HP: %d\n", player.Pet.HP);
cprintf(cli.blue, "Pet.MaxHP: %d\n", player.Pet.MaxHP);
I get values of

Pet.HP: 726893232
Pet.MaxHP: -1

Am I wrong with using %d for integer or what's the problem?
User avatar
Administrator
Site Admin
Posts: 5340
Joined: Sat Jan 05, 2008 4:21 pm

Re: player.Pet.HP / MaxHP

#2 Post by Administrator »

Most likely that the pointers are off or something. Not your fault. We'll look into it.
fred55555
Posts: 101
Joined: Sat Aug 07, 2010 7:57 pm

Re: player.Pet.HP / MaxHP

#3 Post by fred55555 »

any update to this ? please
Post Reply