Quantcast
Download
(231 Kb)
Download
Updated: 10-26-16 04:20 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.5)
Updated:10-26-16 04:20 PM
Created:12-07-14 12:12 AM
Downloads:3,402
Favorites:32
MD5:
Categories:Garrisons, Unit Mods

BodyguardHealth

Version: v2.5.1
by: Sharparam [More]

An AddOn that displays your bodyguard's current health in a frame on the screen.

Usage

Go grab your bodyguard and the healthframe will pop up! The frame can be unlocked and moved from the options.

Configuring

Run the /bgh options command in-game to bring up the options window.

New in v2.0.0

Version 2.0.0 enables targeting of the bodyguard by clicking on the frame!

License

Copyright (c) 2014 by Adam Hellberg.

BodyguardHealth is licensed under the MIT License, see the LICENSE file for more information.

tag v2.5.1
8b341d6fce7c99be9d837cba0330d5c4115d7e59
Adam Hellberg <sharparam@sharparam.com>
2016-10-27 00:11:18 +0200

Version for 7.1

--------------------

Adam Hellberg:
- Bump interface version
- Do not load frame in Dalaran (Legion)
- Update PEW log statement for new zones
- Update IsValidZone to consider Legion zones
* Instead of a zone blacklist, it's now using a whitelist.
* Because of the zone list being a whitelist, we no longer need to
check the continent.

tag v2.5.0
61d3d273713a3db0aa7df91970102a983f9b0945
Adam Hellberg <sharparam@sharparam.com>
2016-08-31 00:08:22 +0200

Added opacity controls

--------------------

Adam Hellberg:
- Add option to control opacity
Implements #19.

tag v2.4.1
21fe2c3bd0e326095c68aee0c43a7cb8e51f1a56
Adam Hellberg <sharparam@sharparam.com>
2016-08-26 11:56:13 +0200

Release for Legion

--------------------

Adam Hellberg:
- Update interface version for 7.0.3

tag v2.1.2
17788cd438d1ff76d96e243137d0d6a43b6b506d
Adam Hellberg <sharparam@sharparam.com>
2015-02-10 22:17:24 +0100

Hotfix load order issues

--------------------

Adam Hellberg:
- Fix load order in TOC.

tag v2.1.1
cacf2084c17734bcae46df80ad6228acbcfd35d4
Adam Hellberg <sharparam@sharparam.com>
2015-02-09 23:49:32 +0100

Hide in pet battles and fix a lib not being loaded

--------------------

Adam Hellberg:
- Fix frame not actually hiding on pet battle start
- Load AceGUI-3.0-SharedMediaWidgets in TOC
- Hide frame during pet battles (request).
- Queue Show/Hide when in combat, rather than abort entirely.

tag v2.0.1
5ac9346e967510ca03bbd367e31c0878997b47d3
Adam Hellberg <sharparam@sharparam.com>
2015-01-26 13:57:24 +0100

Improve targeting and fix combat issues.

Targeting now uses /targetexact.
Fix issue where frame settings attempted to update in combat.

--------------------

Adam Hellberg:
- Fix frame trying to update settings in combat
- Use targetexact command instead of target.
This avoids edge cases where something else might be targeted.

tag v2.0.0
3e2a3fa586ebd9c972c81afd3c09ca37b40c749a
Adam Hellberg <sharparam@sharparam.com>
2015-01-23 21:23:54 +0100

Frame redesigned to support targeting

--------------------

Adam Hellberg:
- Fix UpdateName trying to update macro in combat
- Change 'Menu enabled' -> 'Clickthrough'.
This makes it more clear what it's really controlling now.
- Add targeting to frame.

tag v1.3.1
5a3262dc4587bc3e19037d49f17f00e2f9d83245
Adam Hellberg <sharparam@sharparam.com>
2014-12-20 16:24:14 +0100

Hotfix issue with addon enable state

--------------------

Adam Hellberg:
- Fix addon still hiding gossip when disabled

tag v1.1.7
9a7f8a500eb65b94f5ed8f7df1d5626e71a0a12f
Adam Hellberg <sharparam@sharparam.com>
2014-12-11 03:08:17 +0100

Fix some zone errors and log statements

--------------------

Adam Hellberg:
- Fix zone name sometimes being nil
- Even more aggressive checking
- Make zone checking more aggressive to counter false-positives
- Fix invalid path to LSM in ToC

tag v1.1.5
ef3a07e85ded8f336d6cb0ad04520e450d06978a
Adam Hellberg <sharparam@sharparam.com>
2014-12-10 00:41:19 +0100

Frame display should work now

--------------------

Adam Hellberg:
- Remove outdated log statement
- And? Or? What's the difference\!
- Further improve zone detection and make login restoration more robust

tag v1.1.3
a0f241b78308d677792c7d07a86ce63b2b47bd86
Adam Hellberg <sharparam@sharparam.com>
2014-12-09 20:43:04 +0100

Fixed no-lib issue

--------------------

Adam Hellberg:
- Replace embeds.xml with ToC entries.
As reported in WoWAce ticket #1:
http://www.wowace.com/addons/bodyguardhealth/tickets/1-toc-isnt-loading-libs-properly/
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Author
Date
v2.5.0
230kB
Sharparam
08-30-16 04:23 PM
v2.4.1
230kB
Sharparam
08-26-16 06:00 AM
v2.4.0-beta
230kB
Sharparam
08-15-16 06:16 AM
v2.1.2
224kB
Sharparam
02-10-15 04:17 PM
v2.1.1
224kB
Sharparam
02-09-15 05:05 PM
v2.0.1
224kB
Sharparam
01-26-15 07:06 AM
v2.0.0
224kB
Sharparam
01-24-15 07:18 PM
v1.3.1
221kB
Sharparam
12-20-14 03:06 PM
v1.1.7
220kB
Sharparam
12-11-14 12:12 PM
v1.1.5
220kB
Sharparam
12-09-14 06:21 PM
v1.1.3
219kB
Sharparam
12-09-14 01:48 PM
v1.1.0
219kB
Sharparam
12-07-14 12:12 AM


Post A Reply Comment Options
Unread 07-20-16, 06:20 PM  
Ookami.kun
A Cliff Giant
 
Ookami.kun's Avatar

Forum posts: 75
File comments: 227
Uploads: 0
The following error is occurring after the most recent patch. Thanks.

Code:
Date: 2016-07-20 19:55:32
ID: -28
Error occured in: Global
Count: 2
Message: ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua line 147:
   Usage: GetBuildings(garrisonType)
Debug:
   [C]: GetBuildings()
   ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua:147:
      ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua:144
   ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua:369: UpdateFromBuilding()
   BodyguardHealth\main.lua:135: ?()
   BodyguardHealth\main.lua:283:
      BodyguardHealth\main.lua:281
Locals:
(*temporary) = <table> {
}

AddOns:
__________________
Report comment to moderator  
Reply With Quote
Unread 04-13-15, 12:36 PM  
Sharparam
A Warpwood Thunder Caller
 
Sharparam's Avatar
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 17
Uploads: 6
Originally Posted by Tonyleila
Aren't you a mount collector? Just build the stables right now it takes only about 4 weeks to get 8 mounts
I don't have an active sub at the moment, and the PTR doesn't seem to allow character copy without an active main account, so I'm unable to test out features requiring garrison features or lvl 100 characters (not sure if you can level up on a PTR and do it the long way though). So it's difficult for me to work on things that aren't simplish bug fixes, unfortunately.

The mount-in-training being somewhat complex, from what I gathered of the sUF issue, it'd be difficult to implement without being able to test my changes.
Report comment to moderator  
Reply With Quote
Unread 04-08-15, 12:47 PM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 2004
Uploads: 38
Originally Posted by Sharparam
For the mount issue, once you are done with the mount business (I've never used the stable so I'm not sure how the whole thing works), is the bodyguard summoned back or do you need to go get it at the barracks again? If you run /etrace before getting the mount and "using" it, does it output anything relevant? (There could be a large amount of events being thrown at once but try to screenshot those that occur the moment you mount up and the bodyguard disappears, if you click on one of the events it should be selected with a blue color and it will stop scrolling to show new entries).
You can mount and dismount on the mounts any time when you have the item for it in your bags. The bodyguard is summoned back as soon as you dismount.
Sadly I have already removed the stables building cause I already have farmed all the mounts you can get from it. Aren't you a mount collector? Just build the stables right now it takes only about 4 weeks to get 8 mounts
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Report comment to moderator  
Reply With Quote
Unread 04-08-15, 10:55 AM  
Sharparam
A Warpwood Thunder Caller
 
Sharparam's Avatar
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 17
Uploads: 6
I've pushed alpha updates that add some text formatting options and greater span of values on the frame size, they'll be available as alpha versions on Curse/WowAce once the packager is done with it (or download from GitHub). Let me know what you think.

The other features will need more time to implement, something I'm short of at the moment, so I'll have to see when I can devote some time to implementing that.

For the mount issue, once you are done with the mount business (I've never used the stable so I'm not sure how the whole thing works), is the bodyguard summoned back or do you need to go get it at the barracks again? If you run /etrace before getting the mount and "using" it, does it output anything relevant? (There could be a large amount of events being thrown at once but try to screenshot those that occur the moment you mount up and the bodyguard disappears, if you click on one of the events it should be selected with a blue color and it will stop scrolling to show new entries).
Report comment to moderator  
Reply With Quote
Unread 04-07-15, 02:14 PM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 2004
Uploads: 38
"Mount in training" is the mount you get from stabels
They have an own special unitframe that shows up like a hunter pet in the default UI.


You can't have a pet or Bodyguard while "Mount in training" is active. You can cast while siting on the mount.
Some info maybe here: http://www.wowace.com/addons/shadowe...-health-frame/
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Last edited by Tonyleila : 04-07-15 at 02:39 PM.
Report comment to moderator  
Reply With Quote
Unread 04-07-15, 12:38 PM  
Sharparam
A Warpwood Thunder Caller
 
Sharparam's Avatar
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 17
Uploads: 6
Originally Posted by Tonyleila
- Change the font/color of the name and put it on the HP bar instead of above and hide active text
This is doable, but there will need to be a mechanic for switching layouts between the current one and a more condensed mode. Related issue on GitHub.

Originally Posted by Tonyleila
- Put a one pixel border around the HP Bar instead of around the names +background + bar.
I'll look into implementing this as a configurable option.

Originally Posted by Tonyleila
- minimum bar size is 200, why? I have tryed to use scale but thats not a very good option to make it a specific size smaller then 200
I put the minimum horizontal size at 200 due to the way name and status text are sized and position, though there's no real limitation I guess. I'll push out an update to set the minimum lower (1 should suffice I guess, since a width of 0 doesn't make much sense).

Originally Posted by Tonyleila
- I guess its not possible to make it show the HP as 97,9k, show the buffs and debuffs or even show the target / casts of your bodyguard like its possible if you set it as focus...
Alternative HP displays can be implemented, as for (de)buff tracking, it's more complex, and exists as an open issue on the library.

Originally Posted by Tonyleila
1. When you fly away to anywhere with http://www.wowhead.com/item=119093
your boadyguard gets out ranged and it shows as an empty bar with 0% hp.
Do you still have this bug? There may have been changes between your comment and now that fixed it, but I'm not sure.

Originally Posted by Tonyleila
2 While you are on your Mount in training the bodyguard frame shoud not show up, it shows up as "active" and sometimes as "unknow" but the bodyguard disappears as soon as you mount up.
"Mount in training"?

Edit: I pushed a new alpha version to WowAce that should let you pick a health text style for the bar (empty, percentage, shortened number, long number, mixed), it should be packaged momentarily. Let me know if it works and is what you were looking for. (Don't have access to WoW right now so can't test myself).
Last edited by Sharparam : 04-07-15 at 01:19 PM.
Report comment to moderator  
Reply With Quote
Unread 02-12-15, 02:23 PM  
Granz121
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Thanks for making this mod. This is useful and helps. Nice work!
Report comment to moderator  
Reply With Quote
Unread 02-10-15, 02:58 AM  
Sharparam
A Warpwood Thunder Caller
 
Sharparam's Avatar
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 17
Uploads: 6
Originally Posted by Baine
with your new version i get this error...
I don't know how I do it, the load order is incorrect with the GUI lib loading before LSM, fixing in next release. Thanks for sticking with me :P
Report comment to moderator  
Reply With Quote
Unread 02-10-15, 02:34 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 381
Uploads: 2
with your new version i get this error message:
Code:
Message: ...Widgets\AceGUI-3.0-SharedMediaWidgets\prototypes.lua:16: Cannot find a library instance of "LibSharedMedia-3.0".
Time: 02/10/15 09:33:28
Count: 1
Stack: [C]: in function `error'
...rface\AddOns\BodyguardHealth\lib\LibStub\LibStub.lua:38: in function `LibStub'
...Widgets\AceGUI-3.0-SharedMediaWidgets\prototypes.lua:16: in main chunk

Locals: (*temporary) = "Cannot find a library instance of "LibSharedMedia-3.0"."
had many other similar errors before, so i disabled all but yours and still get this
__________________
Last edited by Baine : 02-10-15 at 02:37 AM.
Report comment to moderator  
Reply With Quote
Unread 02-09-15, 08:36 PM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 2004
Uploads: 38
I came back to test this today, looks much better now!
Only some small things missing:
- Change the font/color of the name and put it on the HP bar instead of above and hide active text
- Put a one pixel border around the HP Bar instead of around the names +background + bar.
- minimum bar size is 200, why? I have tryed to use scale but thats not a very good option to make it a specific size smaller then 200
- I guess its not possible to make it show the HP as 97,9k, show the buffs and debuffs or even show the target / casts of your bodyguard like its possible if you set it as focus...


BUGS:
1. When you fly away to anywhere with http://www.wowhead.com/item=119093
your boadyguard gets out ranged and it shows as an empty bar with 0% hp.

2 While you are on your Mount in training the bodyguard frame shoud not show up, it shows up as "active" and sometimes as "unknow" but the bodyguard disappears as soon as you mount up.

Here is my current setup:
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Last edited by Tonyleila : 02-09-15 at 08:46 PM.
Report comment to moderator  
Reply With Quote
Unread 02-09-15, 07:46 AM  
Sharparam
A Warpwood Thunder Caller
 
Sharparam's Avatar
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 17
Uploads: 6
Originally Posted by Baine
when i open the options i get the following error:
It seems that (yet again) I have forgotten to load the library in the TOC. Will be fixed in the next release.
Report comment to moderator  
Reply With Quote
Unread 02-09-15, 06:59 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 381
Uploads: 2
when i open the options i get the following error:
Code:
Message: Invalid Custom Control Type - LSM30_Sound
Time: 02/09/15 13:58:41
Count: 2
Stack: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1588: in function `FeedGroup'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1868: in function `Open'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:829: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:614>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...ce\AddOns\AuctionLite\Libs\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
...te\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:68: in function <...te\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>

Locals: <none>
__________________
Report comment to moderator  
Reply With Quote
Unread 01-26-15, 06:56 AM  
Sharparam
A Warpwood Thunder Caller
 
Sharparam's Avatar
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 17
Uploads: 6
Re: Combat error

Originally Posted by sauron
Been using this for a while now liking it so far but since last update get the following error :
This will be fixed in v2.0.1, thanks for the report!
Report comment to moderator  
Reply With Quote
Unread 01-26-15, 01:53 AM  
sauron
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
Combat error

Been using this for a while now liking it so far but since last update get the following error :

Code:
Date: 2015-01-26 07:52:09
ID: 1
Error occured in: AddOn: BodyguardHealth
Count: 23
Message: Note: AddOn BodyguardHealth attempted to call a protected function (BodyguardHealthFrame:ClearAllPoints()) during combat lockdown.
Debug:
   [C]: ClearAllPoints()
   BodyguardHealth\frame.lua:99: UpdateSettings()
   BodyguardHealth\frame.lua:276: Show()
   BodyguardHealth\main.lua:143:
      BodyguardHealth\main.lua:137
   [C]: pcall()
   ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua:134:
      ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua:132
   ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua:226: ?()
   ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua:319:
      ...AddOns\BodyguardHealth\lib\LibBodyguard-1.0\main.lua:318
Locals:
None
AddOns:
  Swatter, v5.21.5490 (SanctimoniousSwamprat)
  WowheadLooter, v60005
  AckisRecipeList, v3.0.13
  AraBrokerGuildFriends, vr70
  Atlas, v1.31.00
  AtlasBattlegrounds, v1.31.00
  AtlasBurningCrusade, v1.31.00
  AtlasCataclysm, v1.31.00
  AtlasClassicWoW, v1.31.00
  AtlasDungeonLocs, v1.31.00
  AtlasMistsofPandaria, v1.31.00
  AtlasOutdoorRaids, v1.31.00
  AtlasScenarios, v1.31.00
  AtlasTransportation, v1.31.00
  AtlasWrathoftheLichKing, v1.31.00
  AtlasLoot, vv7.07.03
  AtlasLootCataclysm, vv7.07.03
  AtlasLootClassicWoW, vv7.07.03
  AtlasLootLoader, vv7.07.03
  AtlasLootMistsofPandaria, vv7.07.03
  AuctionLite, v1.8.13
  BagBrother, v6.0.16
  Bagnon, v6.0.16
  BagSync, v8.1
  Bartender4, v4.6.5
  BasicChatMods, v7.48
  BodyguardHealth, vv2.0.0
  BrokerDualSpec, v1.8.1
  BrokerGarrison, v1.6.6
  ckaosMilitia, v6.0v8
  Critline, v4.6.3.
  CritlineAuraMonitor, v4.6.3.
  CurrencySorter, v
  DBMCore, v
  DBMDefaultSkin, v
  DBMLDB, v
  DBMSpellTimers, v
  DBMStatusBarTimers, v
  DebugLib, v5.1.DEV.337(/embedded)
  HandyNotes, vv1.3.2
  HandyNotesDraenorTreasures, v1.09a
  HandyNotesHallowsEnd, vv1.1
  HandyNotesLorewalkers, v1
  HandyNotesLostAndFound, v1
  HandynotesTimelessTreasures, v1.0.2
  HealBot, v6.0.3.9
  HealBotTips, v6.0.3.9
  HomingDigeon, v1.6.0
  LeatrixPlus, v6.0.42
  LeFollowers, v1.2
  Mapster, v1.6.2
  MikScrollingBattleText, v5.7.138
  MineOMatic, v6.0.3.007
  MoveAnything, v15.0.8
  MyProf, v1.0-2014122901
  Overachiever, v0.81
  OverachieverTrade, v0.81
  Pawn, v1.9.13
  PetBattleTeams, v3.2.8
  Rarity, v1.0
  RarityOptions, v
  Raven, vr331
  ShadowedUnitFrames, vv4.0.9
  Stubby, v5.21.5490 (SanctimoniousSwamprat)
  Titan, v5.4.3.60000
  TitanBag, v5.4.3.60000
  TitanClock, v5.4.3.60000
  TitanGold, v5.4.3.60000
  TitanLocation, v5.4.3.60000
  TitanLootType, v5.4.3.60000
  TitanPerformance, v5.4.3.60000
  TitanRepair, v5.4.3.60000
  TitanReputation, v3.8.4
  TitanSocial, v6.0r30
  TitanVolume, v5.4.3.60000
  TitanXP, v5.4.3.60000
  TradeSkillInfo, vv2.3.5
  BlizRuntimeLib_enUS v6.0.3.60000 <none>
  (ck=802)
Report comment to moderator  
Reply With Quote
Unread 01-24-15, 08:14 PM  
bsmorgan
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 126
File comments: 102
Uploads: 5
Version 2.0 allows targeting the bodyguard through the frame.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: