Download
(17 Kb)
Download
Updated: 10/31/20 02:24 PM
Pictures
File Info
Compatibility:
Markarth (6.2.5)
Stonethorn (6.1.5)
Updated:10/31/20 02:24 PM
Created:12/31/17 09:00 AM
Monthly downloads:231
Total downloads:60,629
Favorites:127
MD5:
Categories:Unit Mods, Casting Bars, Cooldowns, Sorcerer, Graphic UI Mods, Info, Plug-in Bars, Utility Mods
Pet Health  Popular! (More than 5000 hits)
Version: 1.12
by: goobsnake [More]
LOCALIZATION'S:




REQUIREMENTS:

If neither of the libraries listed below are installed, the add-on will continue to work but on a very limited basis.

1. LibSlashCommander library required for in-game slash commands.
2. LibAddonMenu is required for addon settings UI.


FEATURES:
* Display a permanent pet health bar window with real time pet health updates
* Choose between the default rectangular pet health frame or ZOS style (Similar to in-game character health bar frame)
* Show center screen unsummoned pet alerts when a pet has died or when you are swimming
* Display center screen low health/shield alerts based on remaining value percentage (Adjust slider to value of 1 or higher)
* Hide pet health bar window while in a group dungeon
* Only display the pet health bar window while in combat
* Movable visual pet health bar window
* Lock pet health bar window in place
* Toggle pet name & health values displayed on the pet health bar window
* Displayed Pet Health values use the whatever you have chosen in the ESO combat settings for all of your other in-game unit frames
* Account wide or per character option saving

SLASH COMMANDS:

/pethealthcombat
Toggles visibility of the health bar to show only during combat (default off)
/pethealthlabels
Toggles pet names on health bar (default on)
/pethealthvalues
Toggles numbers on health bar (default on)
Pet health window use the whatever you have chosen in the ESO combat settings for all of your other in-game unit frames
/pethealthbackground
Toggles background (default on)
/pethealthunsummonedalerts
Displays on-screen alerts when a pet has died or been unsummoned from swimming (default off)
/pethealthwarnhealth
Must enter a number (1 thru 99) after the slash command - Displays an onscreen warning once the pet's health is below the chosen number. (default 0/off)
/pethealthwarnshield
Must enter a number (1 thru 99) after the slash command - Displays an onscreen warning once the pet's shield is below the chosen number. (default 0/off)
/pethealthcombathealth
Must enter a number (0 thru 99) after the slash command and the /pethealthcombat setting must be enabled - Displays the pet health bar when the "in combat" setting is enabled and the pet's health has reached the chosen percentage number. (default 0)
/pethealthhideindungeon
Hides pet health bar window while in group dungeons (default off)
/pethealthsettings
Displays the addon settings UI screen

GITHUB PAGE:

https://github.com/goobsnake/Pet-Health

* This is a continuation of Scootworks Pet Health add-on, with his permission and transfer of author status to me.


DONATIONS:

Current Release - 1.12 Changes:
1. Implemented: Updated API version to 100033 for the upcoming Markath update
1.11 Changes:
1. Implemented: Updated API version to 100032 for the upcoming dlc update
2. Fixed: Some pet names in the Russian client had their names changed preventing the add-on from working correctly
3. Fixed: When morphing the base pet into its upgraded form would sometimes cause an error
1.10a Changes:
1. Removed: Libstub library references removed from various parts of code
2. Fixed: The pethealthbackground slash command will no longer be available if the ZOS style pet health frames are enabled
1.10 Changes:
1. Fixed: Unsummoned alerts will no longer display onscreen when logging out or manually dismissing pets
2. Fixed: Pet health showing 0 health in certain scenarios such as dismissing one of two pets
3. Implemented: Pet health window can now be automatically hidden when entering a group dungeon (Pets no longer take damage in group dungeons)
4. Updated: API version has been updated for Greymoor
1.09 Changes:
1. Fixed: The Pet Health bar was not populating the names of summoned pets due to a change in abilityId's & ability names done in today's Harrowstorm update. **Includes fixes for EN/DE/FR/RU localizations
2. Enabled: libslashcommander has been re-enabled - Make sure you download the latest libslashcommander update!
1.08 Changes:
1. Disabled: libslashcommander slash commands have been disabled due to ongoing PTS errors with that lib. I'll likely re-enable if that lib is fixed.
2. Updated: API version has been updated for Harrowstorm
1.07 Changes:
1. Implemented: The pet health window is now able to be locked or unlocked in place
2. Minor Change: Removed LibStub from being an optional dependency, this lib should be bundled in the LibSlashCommander or LibAddonMenu library files
1.06 Changes:
1. Implemented: Bumped API version to 100028 & 100029
2. Bug Fix: Believe I've fixed the Lua error occurring when a pet has leveled up.
1.05 Changes:
1. Implemented: Bumped API version to 100026
2. Bug Fix: Fixed a crash when "allow out of date addon's" is not checked and certain library's are out of date.
1.04 Changes:
1. Implemented: Account wide settings are now available via the addon menu
2. Implemented: New option to toggle Pet health bars to look like ZOS's standard Player health bars. Low health values will visually pulse the Pet health bar. - Thanks chaoticvoid!
***New feature only available in the addon menu, no slash command. There may be a few visual oddities with low Pet health & full shields that still need to be refined.***
3. Implemented: Russia locale/translation is now available - Thanks SheogorathGR!
1.03 Changes:
1. Implemented: Onscreen pet unsummoned or killed alerts via on/off toggle
2. Implemented: Pet health percentage for the only in combat setting (Configurable)
1.02 Changes:
1. Removed: Libs are now optional and a separate download for you to maintain, they are no longer included with this addon. The addon will continue to work with default settings if no libs are found, see read first section for details
2. Implemented: Addon menu settings UI is now functional thanks to Baertram - Can be accessed via the addon settings area or /pethealthsettings
3. Implemented: Numerous locale additions, changes and general code cleanup thanks to Baertram
4. Implemented: Onscreen low health alert for pets (Configurable)
5. Implemented: Onscreen low shield alert for pets (Configurable)
6. Fixed an issue: Random error caused by "updatepetstats attempt to index a nil value" should be fixed
1.01 Changes:
1. Fixed an issue: Disabled excessive chat messages until I've had more time to sort them out
1.00 Changes:
1. Updated API level to 100025 / Murkmire
2. Changed: This add-on is now simply called "Pet Health" so the saved variables file will be recreated. The in-game client will see this add-on as a new/fresh add-on, so any prior Scootworks Pet Health add-ons will need to be removed/uninstalled. All prior settings and window frame placement will get reverted to default for the first install then be saved & remembered afterwards
3. Changed: Numerous slash command chat messages were altered slightly
4. Changed: /pethealthdebug slash command is no longer available by default
5. Removed: Dependency on LibScootworksFunctions
Archived Files (16)
File Name
Version
Size
Uploader
Date
1.11
17kB
goobsnake
08/20/20 01:28 PM
1.10a
17kB
goobsnake
05/22/20 05:04 PM
1.10
17kB
goobsnake
05/10/20 01:48 PM
1.09a
16kB
goobsnake
02/25/20 12:09 PM
1.09
16kB
goobsnake
02/24/20 10:07 PM
1.08a
16kB
goobsnake
02/23/20 12:14 PM
1.08
16kB
goobsnake
02/23/20 10:51 AM
1.07
16kB
goobsnake
10/02/19 04:10 PM
1.06
16kB
goobsnake
09/25/19 05:01 PM
1.05
16kB
goobsnake
02/25/19 10:44 AM
1.04
16kB
goobsnake
11/29/18 04:57 PM
1.03
12kB
goobsnake
11/06/18 08:43 PM
1.02
11kB
goobsnake
11/05/18 07:50 PM
1.01
63kB
goobsnake
11/01/18 08:59 PM
1.00
63kB
goobsnake
10/31/18 12:49 PM
15
66kB
Scootworks
08/14/18 10:16 AM


Post A Reply Comment Options
Unread 06/05/19, 10:59 PM  
Bonnybones
 
Bonnybones's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
I love this addon, thx a lot.
Since the Release of Elsweyr, there is a bug: I'm playing a PetSorc, and when a pet has a level-up, I get an error-message and the pet healthbar is "empty", like the pet is dead.
Can you fix this, or will you update this addon to 5.05?

My English is bad, but I hope, you can understand what I mean.
Report comment to moderator  
Reply With Quote
Unread 06/09/19, 07:16 AM  
babylon

Forum posts: 14
File comments: 363
Uploads: 0
I have it installed (can see it in addons list as well in Minion and in addons folder), but none of the slash commands work, says they're invalid, and so can't set it up. Any ideas?
Report comment to moderator  
Reply With Quote
Unread 06/18/19, 05:41 PM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 88
Uploads: 1
Originally Posted by babylon
I have it installed (can see it in addons list as well in Minion and in addons folder), but none of the slash commands work, says they're invalid, and so can't set it up. Any ideas?
Not sure when it got removed but I've updated the addon page with the required lib files that you need to download separately for the slash commands or ingame UI options to function.
Report comment to moderator  
Reply With Quote
Unread 06/18/19, 05:41 PM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 88
Uploads: 1
Originally Posted by Bonnybones
I love this addon, thx a lot.
Since the Release of Elsweyr, there is a bug: I'm playing a PetSorc, and when a pet has a level-up, I get an error-message and the pet healthbar is "empty", like the pet is dead.
Can you fix this, or will you update this addon to 5.05?

My English is bad, but I hope, you can understand what I mean.
I understand and I'll look into this for the next update, just no ETA.
Report comment to moderator  
Reply With Quote
Unread 08/22/19, 04:42 AM  
Noxifer

Forum posts: 1
File comments: 43
Uploads: 0
Don't know how I'd manage without this AddOn xD

One issue, though... Lately (only noticed it today, but then I haven't really been out much in combat since Scalebreaker due to temporarily limited playtime) when one of my pets "fakes" 0 HP (as in I get the low-health warning and the HP bar shows up as empty, even if the pet in question is very much alive and kicking) I also get up the script error window, which is somewhat annoying mid-combat ^^;

Error message:


I guess it's the same error that most AddOns ran into with the Scalebreaker update. Or at least the same source ^^;

Edit: Hmm... Haven't run into the script error message lately. So I suppose it could have been caused by a conflicting AddOn that since then has been updated. Or it was a glitch in the main ESO system that's been fixed by one of their updates. I've also run into a lot less "fake 0 HP" instances (so actual low health messages are starting to outnumber them), and even when I get a fake low health warning the HP bar only turns empty half the time, usually in combination with my other pet (2-pet sorc) dying, and when I resummon that other pet the "fake empty" bar returns to normal.
Last edited by Noxifer : 08/27/19 at 08:43 AM.
Report comment to moderator  
Reply With Quote
Unread 09/15/19, 09:13 AM  
dorrson

Forum posts: 0
File comments: 30
Uploads: 0
UI Error...

I've been receiving the following error recently...

user:/AddOns/PetHealth/PetHealth.lua:394: attempt to index a nil value
stack traceback:
user:/AddOns/PetHealth/PetHealth.lua:394: in function 'UpdatePetStats'
user:/AddOns/PetHealth/PetHealth.lua:415: in function 'func'
EsoUI/Libraries/Globals/globalapi.lua:207: in function '(anonymous)'

I noticed a couple other people posting about it, seems that it occurred this time when my Volatile Familiar appeared to go to 0 health, but is in fact still alive.
Report comment to moderator  
Reply With Quote
Unread 09/15/19, 09:18 AM  
dorrson

Forum posts: 0
File comments: 30
Uploads: 0
Re: UI Error...

Originally Posted by dorrson
I've been receiving the following error recently...

user:/AddOns/PetHealth/PetHealth.lua:394: attempt to index a nil value
stack traceback:
user:/AddOns/PetHealth/PetHealth.lua:394: in function 'UpdatePetStats'
user:/AddOns/PetHealth/PetHealth.lua:415: in function 'func'
EsoUI/Libraries/Globals/globalapi.lua:207: in function '(anonymous)'

I noticed a couple other people posting about it, seems that it occurred this time when my Volatile Familiar appeared to go to 0 health, but is in fact still alive.
It appears to occur when one of the pets achieves a new level.
Report comment to moderator  
Reply With Quote
Unread 09/15/19, 03:33 PM  
dorrson

Forum posts: 0
File comments: 30
Uploads: 0
Re: Re: UI Error...

Originally Posted by dorrson
Originally Posted by dorrson
I've been receiving the following error recently...

user:/AddOns/PetHealth/PetHealth.lua:394: attempt to index a nil value
stack traceback:
user:/AddOns/PetHealth/PetHealth.lua:394: in function 'UpdatePetStats'
user:/AddOns/PetHealth/PetHealth.lua:415: in function 'func'
EsoUI/Libraries/Globals/globalapi.lua:207: in function '(anonymous)'

I noticed a couple other people posting about it, seems that it occurred this time when my Volatile Familiar appeared to go to 0 health, but is in fact still alive.
It appears to occur when one of the pets achieves a new level.
Just confirmed, my Twilight Matriarch reached level 3 and I received the error when I had both the Volatile Familiar and Twilight Matriarch summoned.
Report comment to moderator  
Reply With Quote
Unread 09/15/19, 05:04 PM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 88
Uploads: 1
Re: Re: Re: UI Error...

Originally Posted by dorrson
Originally Posted by dorrson
Originally Posted by dorrson
I've been receiving the following error recently...

user:/AddOns/PetHealth/PetHealth.lua:394: attempt to index a nil value
stack traceback:
user:/AddOns/PetHealth/PetHealth.lua:394: in function 'UpdatePetStats'
user:/AddOns/PetHealth/PetHealth.lua:415: in function 'func'
EsoUI/Libraries/Globals/globalapi.lua:207: in function '(anonymous)'

I noticed a couple other people posting about it, seems that it occurred this time when my Volatile Familiar appeared to go to 0 health, but is in fact still alive.
It appears to occur when one of the pets achieves a new level.
Just confirmed, my Twilight Matriarch reached level 3 and I received the error when I had both the Volatile Familiar and Twilight Matriarch summoned.

I'll take a look at this and a few other bugs when the PTS update drops on the server tomorrow. If no significant updates are needed for the upcoming ESO release, I'll release a patch for this soon. Otherwise if there are significant changes needed, there may not be an update for this add-on until the next big ESO release is out (~6 weeks or so).
Report comment to moderator  
Reply With Quote
Unread 09/27/19, 08:04 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Hey goobsnake,

thanks for maiontaning this addon.
Please read this and possibly change your addon accordingly /the global library and LibStub removal part especially):
https://www.esoui.com/forums/showthread.php?t=8765

In your txt file please remove LibStub from the optional depends on tag as LibStub should ONLY be added to libraries as DependsOn or OptionalDependsOn, but not in the addons itsself!
Code:
## OptionalDependsOn: LibSlashCommander LibAddonMenu-2.0

In the code of the settingsmenu this is the old code:
Lua Code:
  1. local isStubActive = CheckAddon('LibStub')
  2.     if isStubActive then
  3.         local isLAMActive = CheckAddon('LibAddonMenu-2.0')
  4.         local isLSCActive = CheckAddon('LibSlashCommander')
  5.         if isLAMActive then
  6.         --Build the LAM addon menu if the library LibAddonMenu-2.0 was found loaded properly
  7.             PetHealth.LAM = LibStub("LibAddonMenu-2.0")
  8.             PetHealth.buildLAMAddonMenu()
  9.         end
  10.         if isLSCActive then
  11.         --Build the slash commands if the library LibSlashCommander was found loaded properly
  12.             LSC = LibStub("LibSlashCommander")
  13.             SlashCommands()
  14.         end
  15.     end

And it could be made easier and use the global variables LibStub, LibAddonMenu2 and LibSlashCommander instead so LibStub is not used if not needed or not loaded:
Lua Code:
  1. if LibAddonMenu2 then
  2.     --Build the LAM addon menu if the library LibAddonMenu-2.0 was found loaded properly
  3.         PetHealth.LAM = LibAddonMenu2
  4.     end
  5.     if PetHealth.LAM == nil and LibStub then
  6.         PetHealth.LAM = LibStub("LibAddonMenu-2.0")
  7.     end
  8.     if PetHealth.LAM ~= nil then
  9.         PetHealth.buildLAMAddonMenu()
  10.     end
  11.     --Build the slash commands if the library LibSlashCommander was found loaded properly
  12.     if LibSlashCommander then
  13.         LSC = LibSlashCommander
  14.     end
  15.     if LSC == nil and LibStub then
  16.         LSC = LibStub("LibSlashCommander")
  17.     end
  18.     if LSC ~= nil then
  19.         SlashCommands()
  20.     end
Last edited by Baertram : 09/27/19 at 08:06 AM.
Report comment to moderator  
Reply With Quote
Unread 10/02/19, 11:32 AM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 88
Uploads: 1
Originally Posted by Baertram
Hey goobsnake,

thanks for maiontaning this addon.
Please read this and possibly change your addon accordingly /the global library and LibStub removal part especially):
https://www.esoui.com/forums/showthread.php?t=8765

In your txt file please remove LibStub from the optional depends on tag as LibStub should ONLY be added to libraries as DependsOn or OptionalDependsOn, but not in the addons itsself!
Code:
## OptionalDependsOn: LibSlashCommander LibAddonMenu-2.0
No problem and I'll be implementing your suggestions in the next update I'll post soon, along with a few other enhancements.
Report comment to moderator  
Reply With Quote
Unread 10/02/19, 04:18 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Well thanks, but you only read the half as it seems

You forgot to change the load of the libraries from currently using LibStub to not using / only using it additionally if no global variable exists in the library, I had described in my post at
And it could be made easier and use the global variables LibStub, LibAddonMenu2 and LibSlashCommander instead so LibStub is not used if not needed or not loaded:
-> See file PetHealth.lua, lines 1007 ff.


Originally Posted by goobsnake
Originally Posted by Baertram
Hey goobsnake,

thanks for maiontaning this addon.
Please read this and possibly change your addon accordingly /the global library and LibStub removal part especially):
https://www.esoui.com/forums/showthread.php?t=8765

In your txt file please remove LibStub from the optional depends on tag as LibStub should ONLY be added to libraries as DependsOn or OptionalDependsOn, but not in the addons itsself!
Code:
## OptionalDependsOn: LibSlashCommander LibAddonMenu-2.0
No problem and I'll be implementing your suggestions in the next update I'll post soon, along with a few other enhancements.
Last edited by Baertram : 10/02/19 at 04:19 PM.
Report comment to moderator  
Reply With Quote
Unread 10/02/19, 09:02 PM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 88
Uploads: 1
Originally Posted by Baertram
Well thanks, but you only read the half as it seems

You forgot to change the load of the libraries from currently using LibStub to not using / only using it additionally if no global variable exists in the library, I had described in my post at


-> See file PetHealth.lua, lines 1007 ff.
The global variables and code you provided only worked if LAM2 and LSC were both installed. If either lib was missing, I would get lua errors. LAM2 or LSC should be completely optional for increased functionality. If neither are installed the addon should still work in a limited function.

I omitted your code change for now since if I was getting Lua errors in certain use cases, other users would definitely get them too. I appreciate the assistance, just didn't want to make those changes until I had more time to see why I was getting Lua errors.
Report comment to moderator  
Reply With Quote
Unread 01/26/20, 09:43 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Okay, I miss-read the OptionalDependsOn, my fault. I thought the 2 libs were DependsOn.

Another thing I noticed, just a visual bug:
If I logout the pet warning tells me the health is low as they get dismissed manually.
Same happens if I dismiss them manually by right clicking the buff on my character or using keybindings to do so.

Maybe one could suppress the warnings there?
Report comment to moderator  
Reply With Quote
Unread 02/23/20, 12:19 PM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 88
Uploads: 1
Originally Posted by Baertram
Okay, I miss-read the OptionalDependsOn, my fault. I thought the 2 libs were DependsOn.

Another thing I noticed, just a visual bug:
If I logout the pet warning tells me the health is low as they get dismissed manually.
Same happens if I dismiss them manually by right clicking the buff on my character or using keybindings to do so.

Maybe one could suppress the warnings there?
Sorry didn't see this post until I pushed out todays update but I'll see if I can get that fixed soon. Have a newborn and toddler at home so not a ton of time currently to do much then simple fixes/api bumps.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.