Download
(73Kb)
Download
Updated: 12-31-12 06:09 AM
Pictures
File Info
Updated:12-31-12 06:09 AM
Created:11-01-12 09:53 AM
Downloads:2,670
Favorites:19
MD5:

Pet Battle HUD

Version: 5.1.0.1
by: smashed [More]

Pet Battle HUD is like player frames for your pet team. I made this addon because I kept getting into pet battles and my pets were either dead or had very low health. Now you have that information available at all times.

Coming soon
* Use PetBattle Teams information to quickly change pet teams if you have that addon installed.
* Options panel
* Lock Pet Battle HUD in place
* Hide Pet Battle HUD if in party, raid, or if you are in combat, and other circumstances.
* Max, Medium, and Mini styles that will take up more or less screen area.
* Heal pets buttons that will use the pet battle bandages, or global cooldown whichever is available.
* Targetting system for minimap that will alert you if there is a pet you do not have available.

5.1.0.1
*Fixed 5.1 patch problems
*Added /pbh missing on (or off) - disable or enable the missing pet messages

5.0.7.2
* Added pet family indicators
* Fixed some bugs

5.0.7.1
* Changed UI elements

5.0.7
* Bug fix

5.0.6

* Added level
* Added Speed
* Added Power
* Names are colorized to indicate quality

5.0.4

*Initial release
*Heads up display for your pet battle team.
*Updates HP/XP in real time, even through pet battles.
*Displays information in the chat frame about what pets are available for capture in each zone you visit.

Optional Files (0)


Post A Reply Comment Options
Unread 03-31-13, 07:43 AM  
LSG
A Defias Bandit
 
LSG's Avatar

Forum posts: 2
File comments: 34
Uploads: 0
I love this addon. Exactly what I was looking for. Simple and shows the info I need.

But... for me it's kind of small. Is there an option I'm missing to change the scale? If not, I'd like to request the ability to resize.

Thanks!!
Report comment to moderator  
Reply With Quote
Unread 12-31-12, 06:07 AM  
smashed
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
5.1 Patch

Sorry yall,
I have fixed the 5.1 patch issues, and uploading new file shortly.
As far as it saying that there are no pets from this zone to collect or whatever, well that is Blizzard's fault. The code reads from the pet journal and compares what is in there.
When Blizzard fixes the problems in the journal it will work properly.
I don't feel like hard coding every error because there is a lot of them to fix.
Thx,
Smashed
Report comment to moderator  
Reply With Quote
Unread 12-22-12, 11:05 AM  
Eclidean
A Defias Bandit

Forum posts: 3
File comments: 4
Uploads: 0
Yes, THIS hasnt worked since 2 patches ago, bummer, I liked it
Report comment to moderator  
Reply With Quote
Unread 12-05-12, 10:10 PM  
Shinryu Masaki
A Kobold Labourer
 
Shinryu Masaki's Avatar

Forum posts: 0
File comments: 26
Uploads: 0
If you can fix it then go ahead! I miss this addon very much, it was so useful.
Report comment to moderator  
Reply With Quote
Unread 12-05-12, 09:03 AM  
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 162
File comments: 362
Uploads: 17
is this still beindg supported or should i try to fix the problem myself?
__________________
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 06:43 PM  
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 162
File comments: 362
Uploads: 17
Errors Galore

ok bud im eagerly waiting for your 1.1, is there a fix i can do in the mean time


Lua Code:
  1. 208x petbattlehud\petbattlehud-5.0.7.2.lua:329: attempt to concatenate field "name" (a boolean value)
  2. petbattlehud\petbattlehud-5.0.7.2.lua:329: in function "PBHUD_UpdatePetHUD"
  3. petbattlehud\petbattlehud-5.0.7.2.lua:34: in function "PBHUD_OnUpdate"
  4. <string>:"*:OnUpdate":1: in function <string>:"*:OnUpdate":1
  5.  
  6. Locals:
  7. self = PBHUD {
  8.  0 = <userdata>
  9. }
__________________
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 02:02 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 101
Uploads: 0
incorrect reporting

upon logging in hovering above sindragosa's fall - hoping to find the elusive scourged whelpling (that i can see multiples of while on a taxi) mod reported the following:

PBHUD: You have all the capturable pets from Icecrown.

unfortunately at that time i still had not captured this last elusive pet. perhaps it was broadcasting that message from the future somehow. i did indeed battle and capture one about an hour later. sadly it was only of common quality but after weeks of checking i'll take what i can get.
Last edited by txamethyst : 11-16-12 at 02:03 PM.
Report comment to moderator  
Reply With Quote
Unread 11-11-12, 08:47 PM  
smashed
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Originally Posted by jeffy162
EDIT: Sorry, posted the first error and later, after reviewing the errors in !BugGrabber saved variable file, I realized the first error was from Mapster. I've deleted it. Again, sorry to have posted an error that was not related to this addon./EDIT
It was very related to this addon, it was something dumb that I did. Anyhow it is fixed now, thanks again.
Report comment to moderator  
Reply With Quote
Unread 11-11-12, 03:09 PM  
smashed
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
bug fixes

Ok the errors you were getting should be resolved. I am going to work on adding the option panel in next. Thanks again.
Report comment to moderator  
Reply With Quote
Unread 11-09-12, 08:03 PM  
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2364
File comments: 116
Uploads: 11
Thank you.

Another error from the latest release. This occurred the very first time I got into a pet battle:

Lua Code:
  1. 7x petbattlehud\petbattlehud-5.0.7.1.lua:175: attempt to call global "GetSummonedPetID" (a nil value)
  2. petbattlehud\petbattlehud-5.0.7.1.lua:175: in function "PBHUD_PetDamage"
  3. petbattlehud\petbattlehud-5.0.7.1.lua:141: in function "PBHUD_OnEvent"
  4. <string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1
  5.  
  6. Locals:
  7. self = PBHUD {
  8.  0 = <userdata>
  9. }
  10. event = "CHAT_MSG_PET_BATTLE_COMBAT_LOG"
  11. argz = <table> {
  12.  1 = ""
  13.  2 = ""
  14.  3 = ""
  15.  4 = ""
  16.  5 = ""
  17.  6 = 0
  18.  7 = 0
  19.  8 = ""
  20.  9 = 0
  21.  10 = 219
  22.  11 = ""
  23.  12 = 0
  24.  13 = false
  25.  14 = false
  26.  15 = "(nil)"
  27.  16 = "(nil)"
  28.  17 = "(nil)"
  29.  18 = "(nil)"
  30.  19 = "(nil)"
  31.  20 = "(nil)"
  32.  21 = "(nil)"
  33.  22 = "(nil)"
  34.  23 = "(nil)"
  35.  24 = "(nil)"
  36.  25 = "(nil)"
  37.  26 = "(nil)"
  38.  27 = "(nil)"
  39.  28 = "(nil)"
  40.  29 = "(nil)"
  41.  0 = "|TINTERFACE\ICONS\ABILITY_ROGUE_SPRINT.BLP:14|t|cff4e96f7|HbattlePetAbil:162:156:45:42|h[Adrenaline Rush]|h|r dealt 23 damage to your |TINTERFACE\ICONS\ABILITY_MOUNT_JUNGLETIGER.BLP:14|tCubbee."
  42. }
  43. argztxt = " argz[0]=[|TINTERFACE\ICONS\ABILITY_ROGUE_SPRINT.BLP:14|t|cff4e96f7|HbattlePetAbil:162:156:45:42|h[Adrenaline Rush]|h|r dealt 23 damage to your |TINTERFACE\ICONS\ABILITY_MOUNT_JUNGLETIGER.BLP:14|tCubbee.] argz[1]=[] argz[2]=[] argz[3]=[] argz[4]=[] argz[5]=[] argz[6]=[0] argz[7]=[0] argz[8]=[] argz[9]=[0] argz[10]=[219] argz[11]=[] argz[12]=[0] argz[13]=[false] argz[14]=[false]"
  44. narg = <table> {
  45.  1 = "icons"
  46.  2 = "ability"
  47.  3 = "rogue"
  48.  4 = "sprint"
  49.  5 = "blp"
  50.  6 = "14"
  51.  7 = "t"
  52.  8 = "cff4e96f7"
  53.  9 = "hbattlepetabil"
  54.  10 = "162"
  55.  11 = "156"
  56.  12 = "45"
  57.  13 = "42"
  58.  14 = "h"
  59.  15 = "adrenaline"
  60.  16 = "rush"
  61.  17 = "h"
  62.  18 = "r"
  63.  19 = "dealt"
  64.  20 = "23"
  65.  21 = "damage"
  66.  22 = "to"
  67.  23 = "your"
  68.  24 = "tinterface"
  69.  25 = "icons"
  70.  26 = "ability"
  71.  27 = "mount"
  72.  28 = "jungletiger"
  73.  29 = "blp"
  74.  30 = "14"
  75.  31 = "tcubbee"
  76.  0 = "tinterface"
  77. }
  78. numarg = 32
  79. otxt = "  (0:tinterface) (1:icons) (2:ability) (3:rogue) (4:sprint) (5:blp) (6:14) (7:t) (8:cff4e96f7) (9:hbattlepetabil) (10:162) (11:156) (12:45) (13:42) (14:h) (15:adrenaline) (16:rush) (17:h) (18:r) (19:dealt) (20:23) (21:damage) (22:to) (23:your) (24:tinterface) (25:icons) (26:ability) (27:mount) (28:jungletiger) (29:blp) (30:14) (31:tcubbee)"
  80. oti = 0
  81. (for generator) = <func> =[C]:-1
  82. (for state) = nil
  83. (for control) = "|TINTERFACE\ICONS\ABILITY_ROGUE_SPRINT.BLP:14|t|cff4e96f7|HbattlePetAbil:162:156:45:42|h[Adrenaline Rush]|h|r "
  84. _ = "|TINTERFACE\ICONS\ABILITY_ROGUE_SPRINT.BLP:14|t|cff4e96f7|HbattlePetAbil:162:156:45:42|h[Adrenaline Rush]|h|r "
  85. dmg = "23"
  86. _ = "|TINTERFACE\ICONS\ABILITY_MOUNT_JUNGLETIGER.BLP:14"
  87. petname = "Cubbee"
EDIT: Sorry, posted the first error and later, after reviewing the errors in !BugGrabber saved variable file, I realized the first error was from Mapster. I've deleted it. Again, sorry to have posted an error that was not related to this addon./EDIT
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?

[SIGPIC][/SIGPIC]
Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
Last edited by jeffy162 : 11-10-12 at 01:38 PM.
Report comment to moderator  
Reply With Quote
Unread 11-09-12, 07:42 PM  
smashed
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Re: ERROR! (AND a couple feature requests)

Yes thanks for the input, I will look into the error you got.
I also plan on adding an options panel to the next update and I will add locking in place and hide features.
Report comment to moderator  
Reply With Quote
Unread 11-06-12, 05:38 PM  
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2364
File comments: 116
Uploads: 11
ERROR! (AND a couple feature requests)

Well, two actually:
Lua Code:
  1. 2x petbattlehud\petbattlehud-5.0.7.lua:179: attempt to index field "?" (a nil value)
  2. petbattlehud\petbattlehud-5.0.7.lua:179: in function "PBHUD_PetDamage"
  3. petbattlehud\petbattlehud-5.0.7.lua:142: in function "PBHUD_OnEvent"
  4. <string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1
  5.  
  6. Locals:
  7. self = PBHUD {
  8.  0 = <userdata>
  9. }
  10. event = "CHAT_MSG_PET_BATTLE_COMBAT_LOG"
  11. argz = <table> {
  12.  1 = ""
  13.  2 = ""
  14.  3 = ""
  15.  4 = ""
  16.  5 = ""
  17.  6 = 0
  18.  7 = 0
  19.  8 = ""
  20.  9 = 0
  21.  10 = 218
  22.  11 = ""
  23.  12 = 0
  24.  13 = false
  25.  14 = false
  26.  15 = "(nil)"
  27.  16 = "(nil)"
  28.  17 = "(nil)"
  29.  18 = "(nil)"
  30.  19 = "(nil)"
  31.  20 = "(nil)"
  32.  21 = "(nil)"
  33.  22 = "(nil)"
  34.  23 = "(nil)"
  35.  24 = "(nil)"
  36.  25 = "(nil)"
  37.  26 = "(nil)"
  38.  27 = "(nil)"
  39.  28 = "(nil)"
  40.  29 = "(nil)"
  41.  0 = "|TINTERFACE\ICONS\INV_MISC_MONSTERCLAW_03.BLP:14|t|cff4e96f7|HbattlePetAbil:429:59:10:9|h[Claw]|h|r dealt 26 damage to your |TINTERFACE\ICONS\INV_MISC_MONSTERTAIL_01.BLP:14|tRabnutzy."
  42. }
  43. argztxt = " argz[0]=[|TINTERFACE\ICONS\INV_MISC_MONSTERCLAW_03.BLP:14|t|cff4e96f7|HbattlePetAbil:429:59:10:9|h[Claw]|h|r dealt 26 damage to your |TINTERFACE\ICONS\INV_MISC_MONSTERTAIL_01.BLP:14|tRabnutzy.] argz[1]=[] argz[2]=[] argz[3]=[] argz[4]=[] argz[5]=[] argz[6]=[0] argz[7]=[0] argz[8]=[] argz[9]=[0] argz[10]=[218] argz[11]=[] argz[12]=[0] argz[13]=[false] argz[14]=[false]"
  44. narg = <table> {
  45.  1 = "icons"
  46.  2 = "inv"
  47.  3 = "misc"
  48.  4 = "monsterclaw"
  49.  5 = "03"
  50.  6 = "blp"
  51.  7 = "14"
  52.  8 = "t"
  53.  9 = "cff4e96f7"
  54.  10 = "hbattlepetabil"
  55.  11 = "429"
  56.  12 = "59"
  57.  13 = "10"
  58.  14 = "9"
  59.  15 = "h"
  60.  16 = "claw"
  61.  17 = "h"
  62.  18 = "r"
  63.  19 = "dealt"
  64.  20 = "26"
  65.  21 = "damage"
  66.  22 = "to"
  67.  23 = "your"
  68.  24 = "tinterface"
  69.  25 = "icons"
  70.  26 = "inv"
  71.  27 = "misc"
  72.  28 = "monstertail"
  73.  29 = "01"
  74.  30 = "blp"
  75.  31 = "14"
  76.  32 = "trabnutzy"
  77.  0 = "tinterface"
  78. }
  79. numarg = 33
  80. otxt = "  (0:tinterface) (1:icons) (2:inv) (3:misc) (4:monsterclaw) (5:03) (6:blp) (7:14) (8:t) (9:cff4e96f7) (10:hbattlepetabil) (11:429) (12:59) (13:10) (14:9) (15:h) (16:claw) (17:h) (18:r) (19:dealt) (20:26) (21:damage) (22:to) (23:your) (24:tinterface) (25:icons) (26:inv) (27:misc) (28:monstertail) (29:01) (30:blp) (31:14) (32:trabnutzy)"
  81. oti = 0
  82. (for generator) = <func> =[C]:-1
  83. (for state) = nil
  84. (for control) = "|TINTERFACE\ICONS\INV_MISC_MONSTERCLAW_03.BLP:14|t|cff4e96f7|HbattlePetAbil:429:59:10:9|h[Claw]|h|r "
  85. _ = "|TINTERFACE\ICONS\INV_MISC_MONSTERCLAW_03.BLP:14|t|cff4e96f7|HbattlePetAbil:429:59:10:9|h[Claw]|h|r "
  86. dmg = "26"
  87. _ = "|TINTERFACE\ICONS\INV_MISC_MONSTERTAIL_01.BLP:14"
  88. petname = "Rabnutzy"
and:
Lua Code:
  1. 1x petbattlehud\petbattlehud-5.0.7.lua:168: attempt to index field "?" (a nil value)
  2. petbattlehud\petbattlehud-5.0.7.lua:168: in function "PBHUD_PetHeal"
  3. petbattlehud\petbattlehud-5.0.7.lua:145: in function "PBHUD_OnEvent"
  4. <string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1
  5.  
  6. Locals:
  7. self = PBHUD {
  8.  0 = <userdata>
  9. }
  10. event = "CHAT_MSG_PET_BATTLE_COMBAT_LOG"
  11. argz = <table> {
  12.  1 = ""
  13.  2 = ""
  14.  3 = ""
  15.  4 = ""
  16.  5 = ""
  17.  6 = 0
  18.  7 = 0
  19.  8 = ""
  20.  9 = 0
  21.  10 = 229
  22.  11 = ""
  23.  12 = 0
  24.  13 = false
  25.  14 = false
  26.  15 = "(nil)"
  27.  16 = "(nil)"
  28.  17 = "(nil)"
  29.  18 = "(nil)"
  30.  19 = "(nil)"
  31.  20 = "(nil)"
  32.  21 = "(nil)"
  33.  22 = "(nil)"
  34.  23 = "(nil)"
  35.  24 = "(nil)"
  36.  25 = "(nil)"
  37.  26 = "(nil)"
  38.  27 = "(nil)"
  39.  28 = "(nil)"
  40.  29 = "(nil)"
  41.  0 = "|TINTERFACE\ICONS\INV_MISC_EMBERWEAVEBANDAGE.BLP:14|t|cff4e96f7|HbattlePetAbil:681:429:63:84|h[Battle Recovery]|h|r healed 28 damage from your |TINTERFACE\ICONS\INV_MISC_MONSTERTAIL_01.BLP:14|tRabnutzy."
  42. }
  43. argztxt = " argz[0]=[|TINTERFACE\ICONS\INV_MISC_EMBERWEAVEBANDAGE.BLP:14|t|cff4e96f7|HbattlePetAbil:681:429:63:84|h[Battle Recovery]|h|r healed 28 damage from your |TINTERFACE\ICONS\INV_MISC_MONSTERTAIL_01.BLP:14|tRabnutzy.] argz[1]=[] argz[2]=[] argz[3]=[] argz[4]=[] argz[5]=[] argz[6]=[0] argz[7]=[0] argz[8]=[] argz[9]=[0] argz[10]=[229] argz[11]=[] argz[12]=[0] argz[13]=[false] argz[14]=[false]"
  44. narg = <table> {
  45.  1 = "icons"
  46.  2 = "inv"
  47.  3 = "misc"
  48.  4 = "emberweavebandage"
  49.  5 = "blp"
  50.  6 = "14"
  51.  7 = "t"
  52.  8 = "cff4e96f7"
  53.  9 = "hbattlepetabil"
  54.  10 = "681"
  55.  11 = "429"
  56.  12 = "63"
  57.  13 = "84"
  58.  14 = "h"
  59.  15 = "battle"
  60.  16 = "recovery"
  61.  17 = "h"
  62.  18 = "r"
  63.  19 = "healed"
  64.  20 = "28"
  65.  21 = "damage"
  66.  22 = "from"
  67.  23 = "your"
  68.  24 = "tinterface"
  69.  25 = "icons"
  70.  26 = "inv"
  71.  27 = "misc"
  72.  28 = "monstertail"
  73.  29 = "01"
  74.  30 = "blp"
  75.  31 = "14"
  76.  32 = "trabnutzy"
  77.  0 = "tinterface"
  78. }
  79. numarg = 33
  80. otxt = "  (0:tinterface) (1:icons) (2:inv) (3:misc) (4:emberweavebandage) (5:blp) (6:14) (7:t) (8:cff4e96f7) (9:hbattlepetabil) (10:681) (11:429) (12:63) (13:84) (14:h) (15:battle) (16:recovery) (17:h) (18:r) (19:healed) (20:28) (21:damage) (22:from) (23:your) (24:tinterface) (25:icons) (26:inv) (27:misc) (28:monstertail) (29:01) (30:blp) (31:14) (32:trabnutzy)"
  81. oti = 0
  82. (for generator) = <func> =[C]:-1
  83. (for state) = nil
  84. (for control) = "|TINTERFACE\ICONS\INV_MISC_EMBERWEAVEBANDAGE.BLP:14|t|cff4e96f7|HbattlePetAbil:681:429:63:84|h[Battle Recovery]|h|r "
  85. _ = "|TINTERFACE\ICONS\INV_MISC_EMBERWEAVEBANDAGE.BLP:14|t|cff4e96f7|HbattlePetAbil:681:429:63:84|h[Battle Recovery]|h|r "
  86. heal = "28"
  87. _ = "|TINTERFACE\ICONS\INV_MISC_MONSTERTAIL_01.BLP:14"
  88. petname = "Rabnutzy"
I would also like to make a request to add some features, if that is OK:
1) Could you possibly add the ability to lock the frame in place, and
2) Hide the frame out of combat with, perhaps, something like a 30 second delay (after combat ends and before the frame hides). Possible to make the delay adjustable?
3) SharedMedia support for fonts and bar textures??

I like this addon, but not being able to lock the frame in place is going to, eventually, become a problem. Also, having the frame always visible takes quite a bit of space. For someone with a huge screen it's probably not an issue, but I play on a laptop and being able to have the frame hide when not in combat (after a delay to check stats, of course) would be really nice.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?

[SIGPIC][/SIGPIC]
Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
Last edited by jeffy162 : 11-06-12 at 11:26 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: