- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
4,842 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Rift Addons
- Top Skyrim Mods
- Top Minecraft Server Mods
- Top Terraria Maps
- Top Starcraft II Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
Broker_Pet
- 0 Likes
- World of Warcraft
- 4,308 Downloads
- Supports: 4.0.6
- 0 Average Daily Downloads
- Comments
- Created 6/28/2009 2:21:48 PM
- Updated 4/8/2011 3:50:51 PM
- 23 Favorites
- Project Site
- License: GNU General Public License version 2 (GPLv2)
- Release Type: Release
- Newest File: 1.02
About Broker_Pet
What is Broker_Pet?
Broker_Pet is a simple LDB pet display that was requested over on the WoWInterface forums in this thread.
There are two different displays of pet XP:
- A normal xxx/yyy type display
- A pseudo-XP bar made up of the "|" character.
See the screenshots for an example and click the feed to switch between them.
Bugs/Feature Requests
If you feel you have a bug or feature request, please post a ticket on the ticket tracker on Curseforge, a comment on the project is unlikely to get seen in a timely manner.
tag 1.02
f539a794df304e9ea36fd11834c950f95d1c4e5c
rhyddereh <dmangus@requiemtech.com>
2011-04-08 13:49:37 -0700
Tagging as 1.02 with an updated TOC
--------------------
rhyddereh:
- Opps, missed a zero in TOC
- Added Readme
- Remove todo
- .pkgmeta update
- TOC update
- Updated interface number to reflect 3.3
- -- missed a space in one string
- -- switch around happiness colors, fix for XP bar colors
- try again for the savedvariable init code
- -- fix error when clicked as well as the missing not operator
- -- cleanup the savedvariable initialization code
- impliment saved variable per character and an xp bar instead of (xxx/xxx) notation (click to switch between them)
- -- initial drycode
- "broker_pet/mainline: Initial Import"
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| 1.02 | Release | 4.0.6 | 1,142 | 4/8/2011 3:50:51 PM |
| 1.02-nolib | Release | 4.0.6 | 7 | 4/8/2011 3:50:50 PM |
| 1.01 | Release | 3.3.0 | 1,572 | 1/4/2010 4:05:01 PM |
| 1.01-nolib | Release | 3.3.0 | 13 | 1/4/2010 4:04:59 PM |
| 1.0 | Release | 3.1.0 | 1,276 | 7/12/2009 10:36:41 AM |
| 1.0-nolib | Release | 3.1.0 | - | 7/12/2009 10:36:38 AM |
| 0.35b | Beta | 3.1.0 | 173 | 7/11/2009 12:27:47 AM |
| 0.35b-nolib | Beta | 3.1.0 | - | 7/11/2009 12:27:44 AM |
| 0.3b | Beta | 3.1.0 | 147 | 7/10/2009 12:37:39 AM |
| 0.3b-nolib | Beta | 3.1.0 | - | 7/10/2009 12:37:37 AM |
| 0.2b | Beta | 3.1.0 | - | 6/30/2009 10:52:27 PM |
| 0.2b-nolib | Beta | 3.1.0 | - | 6/30/2009 10:52:24 PM |
| 0.1b | Beta | 3.1.0 | - | 6/28/2009 10:26:36 PM |
| 0.1b-nolib | Beta | 3.1.0 | - | 6/28/2009 10:26:29 PM |



Comments
local PetHappiness = 3
if (UnitExists("pet")) then
Obviously it could be cleaned up and streamlined more but this is the fix with the least surgery. I hope the author is around to issue a permanent update.
Have a pet out who is happy. The pet's capitalized name (in a green font), level (in a white font, in brackets: "()") and experience (also in a white font, in "x/x" format) shows up in the LDB display. As in: "Bear (65) 17000/30000"
But a big problem with that: the info should really should be in a tooltip. Depending on the size of your LDB display, all that info can very much overflow the bars/blocks you have.
But then click the LDB display to change the display; as per the mod description: "There are two different displays of pet XP, click the feed to switch between them". Do that and the display bugs out.
It changes from what was provided above to the name, level and a bunch of upright "bars" showing in the LDB display. Like this: "Bear (65) ||||||||||||||||||||||||||||||" About 1/2 of the "bars" are colored blue, about 1/2 are colored white.
This weird behavior when you click to switch to the "different display of pet XP" is repeatable when you change to a different (happy) pet out of your stable.
Broker_Pet 0.2b, using the StatBlockCore LDB display, USEnglish client/server, WoW 3.1.3 live. Log on with a 60-something Hunter with his same-level pet out. The pet's name shows up in a StatBlock block. *But no XP display at all*.
Left-click the block, nothing happens. Right-click the block, an error is thrown up (which repeats every time you right-click the block):
["message"] = "Broker_Pet-0.2b\\Core.lua:25: attempt to call global 'updatedisplay' (a nil value)\nStatBlockCore-2.6\\StatBlockCore.lua:598: in function < interface\\addons\\statblockcore\\statblockcore.lua:596="">\n\n ---",
["type"] = "error",
["session"] = 753,
["counter"] = 6
Exit, upgrade to 0.3b, log back on (with the same pet out), a different error at logon:
"Broker_Pet-0.3b\Core.lua:20: attempt to index global 'Broker_PetDBPC' (a nil value)
: in function `LoadAddOn'
AddonLoader-2.0\AddonLoader.lua:109: in function `LoadAddOn'
AddonLoader-2.0\Conditions.lua:124: in function < interface\addons\addonloader\conditions.lua:117="">".
The StatBlock block reads "No Pet" (in white letters) despite a pet being out and clicking the block does nothing. Using AddonLoader r100-release.