Adding Acual Cur / Max Hp to target window

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

NewB6987
a lesser mummy
a lesser mummy
Posts: 51
Joined: Tue Dec 30, 2003 1:02 pm

Adding Acual Cur / Max Hp to target window

Post by NewB6987 » Fri Jan 02, 2004 2:55 pm

I just read http://macroquest2.com/phpBB2/viewtopic.php?t=4185 NAd it seemed to answer what I was going to ask, but will ask it any whay since I can tsee a SS for that piece.

I want to build a target window that reports the Target name, There Pet, Pet %, Position, and direction from me, Lvl, Race, Class. And also what there curant Hp are #### form not % as Well as there Max Hp.

I relise that you can do this using the <EQType>9999</EQType> and <TooltipReference>$spawn($target($$$),hp,cur)</TooltipReference>



Ascii art time: what I am trying to build it to look like

Code: Select all

Target: Bixletropengraphter                  Pet: A Festering Rat        100%
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!..................! 74%
x:  312  y:  -256  dir: NNE  Lvl: 65   Halfling    Druid        2775 /   3750
Now that I see how it is done, ( need to see what it actualy does ) I see that this should be realatively easy to add. But I do wonder if it is posible to add Cur and Max Hp to the memebers In your group ( play a healer would be nice ) If this is posable could someone post a segment for one group memeber.

Thanks all.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Jan 02, 2004 3:17 pm

ALL you know about your targets health is a number 0 to 100.
we CANT know their actual hps
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

se7en
orc pawn
orc pawn
Posts: 21
Joined: Sun Dec 14, 2003 6:51 pm

Post by se7en » Fri Jan 02, 2004 4:58 pm

perhaps he wishes to know player hp?

If i recall correctly, showeq had the functionality to see player hit points, but may have since been eliminated.

J-Squared
orc pawn
orc pawn
Posts: 22
Joined: Wed Nov 19, 2003 11:02 am

Post by J-Squared » Fri Jan 02, 2004 6:44 pm

Yea.. Showeq used to tell you the mob's exact HP totals. That was changed years ago. The client is no longer sent the actual HP number it's only sent it's HP percentage (as LAX already said) If I remember this was changed sometime around the SoV expansion.

The same was done with EXP point totals and also faction numbers. The server now just sends the client percentages to fill the graphic bar on the client. This was SoE (or rather verant's) answer to some of the ShowEQ functions a long time ago.

However all the other data you want in your target window can be done. and there are alot of examples of how to do so in this forum. Just download one of the UI mods and open up the xml files and see how they are doing it.

*edit* Forgot to mention.. you might be confused about this becuse you CAN get YOUR HP total to show.. that's becuse it's you and your HP total is known by the client... you can not however get any other player's HP total or NPC. *end edit*

J

NewB6987
a lesser mummy
a lesser mummy
Posts: 51
Joined: Tue Dec 30, 2003 1:02 pm

Post by NewB6987 » Fri Jan 02, 2004 8:04 pm

Thanks for the reply. I was thinking it was posable becuase there where options for those in the $target Hp argument. Since this has changed, I supose I will live with not knowing just when to through that Harmtouch in PvP.

Thanks again for the replys.

Neoplex
a lesser mummy
a lesser mummy
Posts: 45
Joined: Wed Nov 06, 2002 12:27 pm

Post by Neoplex » Sat Jan 03, 2004 2:08 am

Well.....

You could always try and arrange the mqdps plugin that shire created to store the dps info you get into a File/Database, and then manage to get that info to show somewhere so you get an idea of what hp the mob might have (Kinda like a new variable in your target box)

Im only stating a theory here, wether or not is feasable code wise is beyond my coding knowledge atm.
Noobmonk01 says "Your kung fu is no match for me The tribunal!"
Autoattack on
The Tribunal begins to cast a spell
LOADING PLEASE WAIT ;)

User avatar
driftinsupra
Official loudmouth
Official loudmouth
Posts: 212
Joined: Tue Jan 28, 2003 9:25 pm

Post by driftinsupra » Sat Jan 03, 2004 2:45 pm

That actually sounds like it would be possible but I wonder how accurate the values would actually be.

User avatar
Bad Karma
a snow griffon
a snow griffon
Posts: 346
Joined: Sat Nov 22, 2003 9:34 pm
Contact:

Post by Bad Karma » Sat Jan 03, 2004 8:27 pm

You would probally have to set it to average values based on a mob's type, class and level.

Neoplex
a lesser mummy
a lesser mummy
Posts: 45
Joined: Wed Nov 06, 2002 12:27 pm

Post by Neoplex » Sun Jan 04, 2004 3:30 am

Ya all you would get is a "guess" not an actual value
Noobmonk01 says "Your kung fu is no match for me The tribunal!"
Autoattack on
The Tribunal begins to cast a spell
LOADING PLEASE WAIT ;)

Tiggerty
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sun Nov 16, 2003 8:46 pm

Post by Tiggerty » Mon Jan 05, 2004 10:48 am

I thought about the idea of a database of mobs max HP that it could call from and give you an average idea on a mobs hp based on the percent, rounded up.

But it would be next to impossible to actually gather the exact HP of any given mob. For one you dont always see all damage done to a mob (dots etc) and another factor is that a mob is constantly regening HP every round when you are fighting thus the total damage done to any mob at the end of the fight will always be more than its max hp because of the hp it regened during the fight

Kracken
orc pawn
orc pawn
Posts: 24
Joined: Sat Dec 20, 2003 3:01 pm

Post by Kracken » Tue Jan 06, 2004 2:40 pm

A much simpler solution would be to calulate the 'estimated' total during combat. IE you hit the mob for 1k and its at 90% health its got aprox 10kHP. Of couse you would have to have 'hit events' captured for your group but that could be done as well.

apollo5145
orc pawn
orc pawn
Posts: 26
Joined: Wed Feb 25, 2004 8:14 pm

Post by apollo5145 » Wed Feb 25, 2004 8:14 pm

With the new leadership exp, you can tell a mobs actual HP. That means it's probably being sent to all clients again somehow, just have to find it.

Neoplex
a lesser mummy
a lesser mummy
Posts: 45
Joined: Wed Nov 06, 2002 12:27 pm

Post by Neoplex » Thu Feb 26, 2004 12:02 am

I dont think that leadership aa skill gives you anything more than the standard percentile that we have now.
Noobmonk01 says "Your kung fu is no match for me The tribunal!"
Autoattack on
The Tribunal begins to cast a spell
LOADING PLEASE WAIT ;)

apollo5145
orc pawn
orc pawn
Posts: 26
Joined: Wed Feb 25, 2004 8:14 pm

Post by apollo5145 » Thu Feb 26, 2004 2:58 am

A friend of mine had a bug pop up on his twink and it showed the actual HP of a mob over it's head. He didn't have leadership points yet but was getting the effect somehow. The effect is supposed to tell your group the exact hp of the mob over the name of it.

Eryi
orc pawn
orc pawn
Posts: 19
Joined: Sat Feb 28, 2004 11:24 am

Post by Eryi » Sat Feb 28, 2004 11:31 am

I know for my Leadership Abilities, it shows a Percentile of the NPC's health by their name on anything I target or my Designated Main Assist targets.. Looks like this..

>> a_npc_name - 98% <<

Something I'd really like to see would be the ability to add a small window that reports the Main Assists' (either though a Var or the DMA Leadership skill) target and health percentage. Obviously the client is getting the information, I would just like it laid out better (best for chain pulling).