Page 1 of 1

Adding Acual Cur / Max Hp to target window

Posted: Fri Jan 02, 2004 2:55 pm
by NewB6987
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.

Posted: Fri Jan 02, 2004 3:17 pm
by Lax
ALL you know about your targets health is a number 0 to 100.
we CANT know their actual hps

Posted: Fri Jan 02, 2004 4:58 pm
by se7en
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.

Posted: Fri Jan 02, 2004 6:44 pm
by J-Squared
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

Posted: Fri Jan 02, 2004 8:04 pm
by NewB6987
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.

Posted: Sat Jan 03, 2004 2:08 am
by Neoplex
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.

Posted: Sat Jan 03, 2004 2:45 pm
by driftinsupra
That actually sounds like it would be possible but I wonder how accurate the values would actually be.

Posted: Sat Jan 03, 2004 8:27 pm
by Bad Karma
You would probally have to set it to average values based on a mob's type, class and level.

Posted: Sun Jan 04, 2004 3:30 am
by Neoplex
Ya all you would get is a "guess" not an actual value

Posted: Mon Jan 05, 2004 10:48 am
by Tiggerty
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

Posted: Tue Jan 06, 2004 2:40 pm
by Kracken
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.

Posted: Wed Feb 25, 2004 8:14 pm
by apollo5145
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.

Posted: Thu Feb 26, 2004 12:02 am
by Neoplex
I dont think that leadership aa skill gives you anything more than the standard percentile that we have now.

Posted: Thu Feb 26, 2004 2:58 am
by apollo5145
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.

Posted: Sat Feb 28, 2004 11:31 am
by Eryi
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).