Help

Broker_Pet

Hunter Login to Add Favorites
  • 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
or
Support development! **
Donate

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:

  1. A normal xxx/yyy type display
  2. 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"

Comments

  • #8
    Sadly pet happiness & pet loyalty have been removed from game as of Patch 4.1 which makes this another obsolete addon.
  • #9
    It is not completely obsolete since it also reports your (hunter) pet's XP leveling progress.
  • #7
    Here is a fix for 4.1. Edit lines 20-21 of Core.lua as follows:

    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.
  • #5
    Latest version 1.0 still has problems. It now works for one thing its supposed to do, but doesn't work for the second.

    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.
  • #6
    All as per design, please see my reply to this comment on the request thread.
  • #1
    The mod is not particularly good or useful so far.

    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
  • #2
    Try newest beta as well as know that if the pet is the same level as you it will not display XP information as it cannot level up.
  • #3
    Retrying 0.2b, there is no XP display at all for a pet 3 levels lower than the character either. Just a big red pet name in the StatBlock block.

    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.
  • #4
    can you try r9 on curseforge?
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!