Page 1 of 1

player.Pet.HP / MaxHP

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

Re: player.Pet.HP / MaxHP

Posted: Tue Dec 21, 2010 9:29 pm
by Administrator
Most likely that the pointers are off or something. Not your fault. We'll look into it.

Re: player.Pet.HP / MaxHP

Posted: Wed Dec 22, 2010 1:25 pm
by fred55555
any update to this ? please