Quantcast
Download
(16 Kb)
Download
Updated: 02/25/20 12:09 PM
Pictures
File Info
Compatibility:
Harrowstorm (5.3.4)
Updated:02/25/20 12:09 PM
Created:12/31/17 09:00 AM
Monthly downloads:918
Total downloads:29,363
Favorites:68
MD5:
Categories:Unit Mods, Casting Bars, Cooldowns, Sorcerer, Graphic UI Mods, Info, Plug-in Bars, Utility Mods
5.3.4
Pet Health  Popular! (More than 5000 hits)
Version: 1.09a
by: goobsnake [More]



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

Current Release - 1.09a 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!

Previous Release - 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

OPTIONS

**The hp values are only visible if you activate it in ESO combat settings**

**** LibSlashCommander library required for slash commands and LibAddonMenu is required for UI options ****
/pethealthcombat - enables/disables visibility of the health bar only during combat (default off = show in & out of combat)
/pethealthlabels - enables/disables pet names on health bar (default on)
/pethealthvalues - enables/disables numbers on health bar (default on)
/pethealthbackground - enables/disables background (default on)
/pethealthunsummonedalerts- Displays on-screen alerts when a pet has died or been unsummoned (default off)
/pethealthwarnhealth - Must enter a number (0 thru 99) after the slash command - Displays an onscreen warning once the pet's health is below the chosen number. (default 0)
/pethealthwarnshield - Must enter a number (0 thru 99) after the slash command - Displays an onscreen warning once the pet's shield is below the chosen number. (default 0)
/pethealthcombathealth - Must enter a number (0 thru 99) after the slash command and the /pethealthcombat setting must be enabled - Has the pet health bar's only display when the only in combat setting is enabled and the pet's health has reached the chosen number. (default 0)
/pethealthsettings - Displays the addon settings UI screen

My github page for this add-on:

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


Donations:


Current Release - 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:
  • Implemented: The pet health window is now able to be locked or unlocked in place
  • Minor Change: Removed LibStub from being an optional dependency, this lib should be bundled in the LibSlashCommander or LibAddonMenu library files

1.06 Changes:
  • Implemented: Bumped API version to 100028 & 100029
  • Bug Fix: Believe I've fixed the Lua error occurring when a pet has leveled up.


1.05 Changes:
  • Implemented: Bumped API version to 100026
  • 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:
  • Implemented: Account wide settings are now available via the addon menu
  • 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.
  • Implemented: Russia locale/translation is now available - Thanks SheogorathGR!

1.03 Changes:
  • Implemented: Onscreen pet unsummoned or killed alerts via on/off toggle
  • Implemented: Pet health percentage for the only in combat setting (Configurable)

1.02 Changes:
  • 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
  • Implemented: Addon menu settings UI is now functional thanks to Baertram - Can be accessed via the addon settings area or /pethealthsettings
  • Implemented: Numerous locale additions, changes and general code cleanup thanks to Baertram
  • Implemented: Onscreen low health alert for pets (Configurable)
  • Implemented: Onscreen low shield alert for pets (Configurable)
  • Fixed an issue: Random error caused by "updatepetstats attempt to index a nil value" should be fixed

1.01 Changes:
  • Fixed an issue: Disabled excessive chat messages until I've had more time to sort them out

1.00 Changes:
  • Updated API level to 100025 / Murkmire
  • 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
  • Changed: Numerous slash command chat messages were altered slightly
  • Changed: /pethealthdebug slash command is no longer available by default
  • Removed: Dependency on LibScootworksFunctions
Archived Files (12)
File Name
Version
Size
Uploader
Date
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 02/25/20, 10:00 AM  
BaronVonHeller

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Twilight Matriarch Bar not Showing

Originally Posted by goobsnake
Originally Posted by BaronVonHeller
I love your addon. It's amazing and extremely helpful! Unfortunately, after this last big update It only show's the summoned Clanafear's bar. I've tried uninstalling, checked all the settings, unsummoned the Clan and only the twilight with no success. Has anyone else experienced this? Do you have any suggestions?

Thanks again for the awesome addon!
Download the latest update (v1.09) and check. I've only been able to test the English localization to confirm its working for me. If you're using German, French or Russian localization it may not be working just yet, I still need to try to verify those.
This fixed it. Thank you!
Report comment to moderator  
Reply With Quote
Unread 02/25/20, 09:14 AM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 69
Uploads: 1
Re: Twilight Matriarch Bar not Showing

Originally Posted by BaronVonHeller
I love your addon. It's amazing and extremely helpful! Unfortunately, after this last big update It only show's the summoned Clanafear's bar. I've tried uninstalling, checked all the settings, unsummoned the Clan and only the twilight with no success. Has anyone else experienced this? Do you have any suggestions?

Thanks again for the awesome addon!
Download the latest update (v1.09) and check. I've only been able to test the English localization to confirm its working for me. If you're using German, French or Russian localization it may not be working just yet, I still need to try to verify those.
Report comment to moderator  
Reply With Quote
Unread 02/25/20, 07:46 AM  
Foxsabre

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by goobsnake
Originally Posted by Foxsabre
Hi, i have come to love this addon, but with the new update the health bar no longer appears, is this something that can be fixed?

Thanks
I found the issue and will have a fix later today. The abilityid's for pets seemed to change with today's update.
Your a star many thanks.
Report comment to moderator  
Reply With Quote
Unread 02/25/20, 06:31 AM  
BaronVonHeller

Forum posts: 0
File comments: 2
Uploads: 0
Twilight Matriarch Bar not Showing

I love your addon. It's amazing and extremely helpful! Unfortunately, after this last big update It only show's the summoned Clanafear's bar. I've tried uninstalling, checked all the settings, unsummoned the Clan and only the twilight with no success. Has anyone else experienced this? Do you have any suggestions?

Thanks again for the awesome addon!
Report comment to moderator  
Reply With Quote
Unread 02/24/20, 11:25 PM  
BornDownUnder
AddOn Author - Click to view AddOns

Forum posts: 59
File comments: 195
Uploads: 1
Request for overlay on 'non-overlay' bars

First of all, love your addon, it is really simplistic yet is very much needed.

As subject title suggests, I am much in preference of the non-overlay bar style.

However I am unable to use the text overlay portion of your addon with the 'ZoS-style' bars as it uses your additional rectangle only bars.

Being so out of touch with lua at present I would like to request either assistance with your current code to implement on my end or for you to add an option to enable the health text overlay to the more 'vanilla' bars.
Report comment to moderator  
Reply With Quote
Unread 02/24/20, 06:29 PM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 69
Uploads: 1
Originally Posted by Foxsabre
Hi, i have come to love this addon, but with the new update the health bar no longer appears, is this something that can be fixed?

Thanks
I found the issue and will have a fix later today. The abilityid's for pets seemed to change with today's update.
Report comment to moderator  
Reply With Quote
Unread 02/24/20, 03:00 PM  
Foxsabre

Forum posts: 0
File comments: 2
Uploads: 0
Hi, i have come to love this addon, but with the new update the health bar no longer appears, is this something that can be fixed?

Thanks
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: 69
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
Unread 01/26/20, 09:43 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2710
File comments: 3243
Uploads: 57
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 10/02/19, 09:02 PM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 69
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 10/02/19, 04:18 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2710
File comments: 3243
Uploads: 57
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, 11:32 AM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 69
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 09/27/19, 08:04 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2710
File comments: 3243
Uploads: 57
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 09/15/19, 05:04 PM  
goobsnake
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 69
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/15/19, 03:33 PM  
dorrson

Forum posts: 0
File comments: 25
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
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.