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 » Tue Dec 21, 2010 1:57 pm

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: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: player.Pet.HP / MaxHP

#2 Post by Administrator » Tue Dec 21, 2010 9:29 pm

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 » Wed Dec 22, 2010 1:25 pm

any update to this ? please

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 15 guests