Author Topic: How can i find out the hp of my pet?  (Read 3207 times)

0 Members and 1 Guest are viewing this topic.

Offline DjegoTopic starter

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 0
  • Djego has no influence.
  • Respect: +3
  • Referrals: 0
    • View Profile
How can i find out the hp of my pet?
« on: January 05, 2009, 12:57:05 PM »
0
Hi all, I need a way to find out how many hits my pet currently has, its possible in percent of its maxhits, too... i really cant find any way to get this exept by #Enemyhits, but i don't want to attack my pet... can anyone help?

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: How can i find out the hp of my pet?
« Reply #1 on: January 05, 2009, 12:58:05 PM »
0
Grummel.. Same Idea Same Time but you was Faster..

Yes we need a Way :D

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: How can i find out the hp of my pet?
« Reply #2 on: January 05, 2009, 01:03:16 PM »
0
Check out my pet gump routine.
http://www.scriptuo.com/smf/index.php?topic=31.0

This will give you a starting point to be able to pull up the pet gump (my way sucks), but once you get the gump up, then the OCR routine kicks in and you get a good percentage number back for how damaged your pet is.

This code is not meant to be stand-alone, but to give you ideas.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: How can i find out the hp of my pet?
« Reply #3 on: January 05, 2009, 01:08:44 PM »
0
Okay, The Scriptcode Looks Fine but its not that what we need.

to Explain the Situation...

We have Chars on a German Freeshard,
There are "BiologyPets" Avaible Pets in Possible humanForm to Wear Armor and More
On That Shard it Exist Gargoyle Knifes to Hunt Leather Runic Item.
Some of Our Enemys makes Much Dmg and perhaps the Biopet will be Die.
now we need a Way To Findout ( as Possible without ocr) When Does our Script must help him :)

Offline DjegoTopic starter

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 0
  • Djego has no influence.
  • Respect: +3
  • Referrals: 0
    • View Profile
Re: How can i find out the hp of my pet?
« Reply #4 on: January 05, 2009, 01:24:28 PM »
0
hmm i hoped there's another way of getting its health tha via the gump... but wayne, I'll use it! very much thanks, i'll rip the part i need off your script (giving you credit of course) :D

but it would be a genious feature for SUO to have a variable for that... maybe you can do that?

anyway, thanks, this will enhance my script a lot!

Edit: Okay, i missed the ocr part... thats not that good, then... :/
« Last Edit: January 05, 2009, 01:28:49 PM by Djego »

Tags: