Quantcast
Download
(28 Kb)
Download
Updated: 09-15-19 01:47 PM
Compatibility:
WoW Classic (1.13.2)
Updated:09-15-19 01:47 PM
Created:05-19-19 08:09 PM
Downloads:294,199
Favorites:236
MD5:

Real Mob Health  Updated less than 3 days ago!  Popular! (More than 5000 hits)

Version: 2.11
by: SDPhantom [More]

RealMobHealth records damage taken by a mob. This is used to estimate its max health when in combat and stores it for better accuracy in the future. RealMobHealth also broadcasts discovered health to others using the addon and can query them for unknown mobs.



Commands:

/RMHDel [UnitID]
Removes selected UnitID from stored health values. This defaults to target if not specified. (Does not effect received peer data)

/RMHWipe
Clears all recorded health data. (Does not effect received peer data)


Known issues:
  • Drunkenness lowers the perceived level of a mob, this will confuse the addon if used while your character is drunk.
  • Recorded damage may not clear if an untargeted mob in CombatLog range resets and is re-engaged.
  • Due to the impreciseness of UnitHealth(), damage recording only starts once a hit brings a mob down to 99% or below.
    To mitigate this, there are a few seconds between when damage recording starts and when reset detection is allowed to run.
  • Race conditions exist in the CombatLog which may cause the addon to occasionally miss damage events at the beginning or end of a fight.
    Examples: CombatLog events firing after a UNIT_DEATH occurs and UnitHealth() not updating in time when a fight starts.
  • Mobs killed by NPCs like faction guards sometimes don't send overkill data in the CombatLog. This causes unusually high health to be recorded.


Localizations:
  • enUS - Native locale by SDPhantom
  • esES - Lynk_One
  • deDE - Figlmueller
  • frFr - Pgmbru
  • koKR - chkid
  • zhCN - EKE00372
  • zhTW - HopeASD
If you wish to help localize RealMobHealth, send me a PasteBin or Gist link to a modified Localization.lua.

Developers:
See the included APIDoc.txt if you wish to add support to your addon or UI.
Due to technical limitations with SavedVars, RealMobHealth cannot be made embeddable.
Be sure to add RealMobHealth in the OptionalDeps tag of your ToC.

If you wish to advertise RealMobHealth support in your addon or UI, include a link pointing to this page (also available on CurseForge) for download. Attempting to include it in your own download may cause versioning issues. LibStub only fixes this for embedded addons. Again, RealMobHealth isn't embeddable and can't be made so.


Contact:
I'm open to questions and suggestions. Feel free to message me here or post in the comments.
I'm also available for support on the WoWUIDev Discord, @mention me (SDPhantom) or send a DM.

2.11 (2019-09-15)
-Localization.lua now uncludes Unicode BOM for easier UTF-8 editing
-Revised deDE localization (courtesy of Dathwada)
-Added esES localization (courtesy of Lynk_One)

2.10 (2019-09-11)
-Added koKR localization (courtesy of chkid)

2.9 (2019-09-10)
-Added deDE localization (courtesy of Figlmueller)
-Fixed zhCN, zhTW, and koKR numeric abbreviations

2.8 (2019-09-09)
-Added zhCN and zhTW localizations (courtesy of EKE00372 and HopeASD)

2.7 (2019-09-08)
-Fixed Localization loader not loading the default locale for some people

2.6 (2019-09-08)
-Added frFR localization (courtesy of Pgmbru)

2.5 (2019-09-06)
-GameTooltip health text is now offloaded to the same on-use generation code that TargetFrame uses

2.4 (2019-09-05) APIVersion: 3.2
-Fixed TargetFrame text not checking options on creation
-Added health text to the GameTooltip's StatusBar
-"Show Tooltip Info" in options has been renamed "Show Tooltip Feedback" to avoid ambiguity with the new health text
-Added API version info to API
Note: APIVersion is noted in this log for continuity, however it's only available starting now
-Added RealMobHealth.OverrideOption() and RealMobHealth.UITweaksSetEnabled() to API (See APIDoc.txt)

2.3 (2019-08-11) APIVersion: 3.1
-Improved UITweaks' integration with layout addons
-Tooltip lines have been added to the localization table
-Tooltip now shows if a creature's health is overridden
-Added RealMobHealth.HasHealthOverride() to API (See APIDoc.txt)

2.2 (2019-08-09)
-Fixed newly created nameplates not checking options

2.1 (2019-08-08)
-Implemented GetNormalizedRealmName() fallback if UnitFullName("player") fails to return realm name
-Fixed stack overflow in UITweaks

2.0 (2019-07-14) APIVersion: 3.0
-Complete restructure
-Supporting code is split into different modules
-Peer system broadcasts discovered health values and makes queries through the AddOn comm channels
-Health recording can now happen when targeting a corpse after witnessing a fight
-New cache timeout system purges damage data from mobs that have not been seen in a while
-Cache timeout varies based on what data exists for the mob and if the addon is aware the mob is dead
-BlizzardUI Tweaks is reintegrated to streamline the new options system
-Lots of API additions/tweaks/changes (See APIDoc.txt)
-Callbacks are now handled by the new event system
-RealMobHealth.GetUnitHealth() speculative mode is now force-enabled. The argument to control it has been removed.

1.1 (2019-06-05) APIVersion: 2.0
-Streamlined the core code
-Fixed issue with Shaman totems getting recorded
-World/Raid bosses are now supported
-Damage reflection is now properly tallied
-More API functions (See APIDoc.txt)
-RealMobHealth.GetHealth() had been renamed RealMobHealth.GetUnitHealth()
-RealMobHealth.GetUnitHealth() now falls back to native values if not enough data present
-GameTooltip hook now only runs if the unit is attackable

1.0 (2019-05-19) APIVersion: 1.0
-Classic release
-Records damage taken of nearby mobs from the CombatLog
-Obtains mob level using mouseover/target/partytarget/raidtarget and if enabled, nameplates
-TargetFrame and Nameplates show text values for health, TargetFrame also shows mana/rage/energy
-Gametooltip shows which mobs have had their health recorded
Post A Reply Comment Options
Unread Yesterday, 11:12 AM  
Diszarmed
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Re: Health Problem

Originally Posted by Don0Mario
I have some problem.
What are the commands for the target Health?
It Always shows me 100 HP as their max Health. When i have ME, or some party member as target, it shows me the correct max Health.
My Command now is:
[Health:current-max-percent]
I'm actually having this same issue with an ElvUI edit. I came here to see if installing RMH might help me out. I already commented on the UI to see if I could get an answer. This just started last night when I installed the UI.
Report comment to moderator  
Reply With Quote
Unread 09-14-19, 02:29 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1818
File comments: 124
Uploads: 23
Re: Health Problem

Originally Posted by Don0Mario
I have some problem.
What are the commands for the target Health?
It Always shows me 100 HP as their max Health. When i have ME, or some party member as target, it shows me the correct max Health.
My Command now is:
[Health:current-max-percent]
This addon doesn't have anything to do with UnitFrame tags. You might want to ask the author of your UI addon.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 09-14-19, 07:42 AM  
Don0Mario
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Health Problem

I have some problem.
What are the commands for the target Health?
It Always shows me 100 HP as their max Health. When i have ME, or some party member as target, it shows me the correct max Health.
My Command now is:
[Health:current-max-percent]
Last edited by Don0Mario : 09-14-19 at 07:44 AM.
Report comment to moderator  
Reply With Quote
Unread 09-13-19, 04:36 AM  
fluegu
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by SDPhantom
Originally Posted by fluegu
Been having issues with UnitFramesImproved
It creates some overlapping text after playing for a few minutes.
Even if I disable all RealMobHealth options except Modify UnitFrame Health.



And thank you for this addon. I love it
Haven't been able to recreate this issue, however I have noticed the health text pop up when looting a corpse. This happens even without RealMobHealth loaded, so that specific issue is a UnitFramesImproved problem.

Edit: I finally got this to happen during an instance run and it's happening without RealMobHealth loaded. It's definitely a UnitFramesImproved bug.
OK thank you. Yeah I opened a ticket in both addons just to be sure. Thank you for your help and the addon
Report comment to moderator  
Reply With Quote
Unread 09-12-19, 03:02 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1818
File comments: 124
Uploads: 23
Originally Posted by fluegu
Been having issues with UnitFramesImproved
It creates some overlapping text after playing for a few minutes.
Even if I disable all RealMobHealth options except Modify UnitFrame Health.



And thank you for this addon. I love it
Haven't been able to recreate this issue, however I have noticed the health text pop up when looting a corpse. This happens even without RealMobHealth loaded, so that specific issue is a UnitFramesImproved problem.

Edit: I finally got this to happen during an instance run and it's happening without RealMobHealth loaded. It's definitely a UnitFramesImproved bug.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 09-12-19 at 11:40 PM.
Report comment to moderator  
Reply With Quote
Unread 09-12-19, 12:43 PM  
fluegu
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Been having issues with UnitFramesImproved
It creates some overlapping text after playing for a few minutes.
Even if I disable all RealMobHealth options except Modify UnitFrame Health.



And thank you for this addon. I love it
Report comment to moderator  
Reply With Quote
Unread 09-11-19, 02:21 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1818
File comments: 124
Uploads: 23
Originally Posted by Firedancer
Would it be possible to get a sub-option in Interface Options > AddOns > RealMobHealth > Show Tooltip Info that only removes the green 'health recorded' info, leaving the red 'health missing' and blue 'override' texts intact? If not, that's fine - I can continue to comment it out every time I update. I completely understand not wanting to add too many options to personal projects.
For the time being, I don't plan on it. I may revisit this idea at a later time though.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 09-11-19, 12:31 AM  
Rayvor
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Rayvor
Hi. I've written simple plugin for ElvUI which show HP using RealMobHealth. Check here https://www.tukui.org/classic-addons.php?id=19
My plugin has been removed by ElvUI dev team. New version ElvUI 1.0.8 gets support RealMobHealth by default.
Report comment to moderator  
Reply With Quote
Unread 09-10-19, 12:33 PM  
Firedancer
An Aku'mai Servant
 
Firedancer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 52
Uploads: 2
Would it be possible to get a sub-option in
Interface Options > AddOns > RealMobHealth > Show Tooltip Info
that only removes the green 'health recorded' info, leaving the red 'health missing' and blue 'override' texts intact? If not, that's fine - I can continue to comment it out every time I update. I completely understand not wanting to add too many options to personal projects.
__________________
(\ /)
( . .) <( if you say 'plz' because it's shorter than 'please' then I'll say 'no' because it's shorter than 'yes' )
c('')('')
Report comment to moderator  
Reply With Quote
Unread 09-09-19, 01:14 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1818
File comments: 124
Uploads: 23
Originally Posted by ObscureScience
Got this error when I dinged today, was in a group.

Code:
1x [ADDON_ACTION_BLOCKED] AddOn 'RealMobHealth' tried to call the protected function 'PartyMemberFrame1:Hide()'.
!BugGrabber\BugGrabber.lua:519: in function <!BugGrabber\BugGrabber.lua:519>
[C]: in function `Hide'
FrameXML\PartyMemberFrame.lua:143: in function `PartyMemberFrame_UpdateMember'
FrameXML\PartyMemberFrame.lua:337: in function `PartyMemberFrame_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals:
InCombatSkipped
It's a Blizzard taint system bug. They happen a lot when group members change while in combat among other places in the UI.
It's complaining about a function being tainted that it hasn't even accessed yet and should be safe to modify.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 09-09-19 at 01:19 PM.
Report comment to moderator  
Reply With Quote
Unread 09-09-19, 12:33 PM  
ObscureScience
A Deviate Faerie Dragon

Forum posts: 10
File comments: 51
Uploads: 0
Got this error when I dinged today, was in a group.

Code:
1x [ADDON_ACTION_BLOCKED] AddOn 'RealMobHealth' tried to call the protected function 'PartyMemberFrame1:Hide()'.
!BugGrabber\BugGrabber.lua:519: in function <!BugGrabber\BugGrabber.lua:519>
[C]: in function `Hide'
FrameXML\PartyMemberFrame.lua:143: in function `PartyMemberFrame_UpdateMember'
FrameXML\PartyMemberFrame.lua:337: in function `PartyMemberFrame_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals:
InCombatSkipped
Report comment to moderator  
Reply With Quote
Unread 09-09-19, 06:31 AM  
DogmaTX
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by SDPhantom
Originally Posted by DogmaTX
Message: Couldn't open Interface\AddOns\BetterVendorPrice\locale\locale.xml
Time: Mon Sep 9 11:41:51 2019
Count: 3
This isn't BetterVendorPrice.
Sorry, confused in tabs.
Report comment to moderator  
Reply With Quote
Unread 09-09-19, 04:33 AM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1818
File comments: 124
Uploads: 23
Originally Posted by DogmaTX
Message: Couldn't open Interface\AddOns\BetterVendorPrice\locale\locale.xml
Time: Mon Sep 9 11:41:51 2019
Count: 3
This isn't BetterVendorPrice.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Unread 09-09-19, 02:43 AM  
DogmaTX
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Message: Couldn't open Interface\AddOns\BetterVendorPrice\locale\locale.xml
Time: Mon Sep 9 11:41:51 2019
Count: 3
Report comment to moderator  
Reply With Quote
Unread 09-08-19, 10:33 PM  
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1818
File comments: 124
Uploads: 23
Re: I dont know where to report error massage so I post it here

Should be fixed now as soon as approval goes through.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: