Get an Epic Experience with Premium

Broker: XPBar

Quests & Leveling Login to Add Favorites
  • 7 Likes
  • World of Warcraft
  • 4,833 Monthly Downloads
  • Supports: 6.0.2
  • 148,654 Total Downloads
  • Updated 10/15/2014
  • Created 08/03/2010
  • 175 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: Broker: XPBar v1.7 r046
or

About Broker: XPBar

Port to Broker and upgrade to Ace3 of Wobin's old "Fubar - XPFu".

Displays Infos about XP and watched Faction and adds bars for XP and/or reputation to your Broker bar addon. Select custom colors for bars or use predefined colors based on standing for the reputation bar.

You can attach the bars to (almost) any frame by click selecting the desired anchor frame with the mouse (similar to Xparky). You can attach the bars to any side of the frame on outside as well as on the inside. Adjust anchor position by setting X- and Y-Offset.

Features -

  • Label displays XP or reputation info with colored text depending on progress in level.
  • Tooltip displays extended information about XP and reputation of currently watched faction.
  • Attaches bars for XP and/or reputation to (almost) any globally named frame.
  • Customizable bar colors plus predefined colors for reputation bar baseed on current standing.
  • Shows estimated time to level and kills to level.
  • Ace3 profile support for settings.

Usage Hints -

  • Activating Broker: XPBar in your Broker display will show up the label text in that display only. To display the actual bars you will need to attach them to a frame on your screen first. To do this go to Options->Frame and click the button "Select by Mouse". Select the frame to attach the bars to by left-clicking on it and the bars should show up.
  • The mouse cursor gets highlighted and shows the frame name as tooltip for each frame it hovers over. Left-click on desired frame to attach the bars to. Right-click will disable the selection cursor. Frame names may also be entered manually in the edit box. Use the option "Attach to" to select the side (Top or Bottom) of the frame where you want the bars. Fine adjust the position by using the Offset settings if needed.
  • If you are trying to attach to a Broker display make sure you hit an empty spot on the display. If you click on another plugin on the display the bars will attach to the frame of this Broker plugin only.
  • If you use Docking Station and want to attach to it's panels you need to make sure you have the Global option (Panels -> General) enabled for the panel you want to connect to.
  • The "Jostle" option displaces the blizzard frames by the width of the bars. This should only be used with frames on the upper and lower edge of the screen and not with free floating frames!
  • Consider that the Reputation bar is hidden if no faction is watched.

Update Version 1.7 r046:

  • fixed bug that caused first rep gain to be lost
  • updated libs
  • .toc bump to 60000

Update Version 1.7 r045:

  • corrected initialization of xp history, which fixes regular problem with calculated xp related data
  • bumped toc to 50400

Update Version 1.7 r044:

  • fixed error when sending reputation to active textbox

Update Version 1.7 r043:

  • fixed problem with tracked faction set via Blizzard reputation pane

Update Version 1.7 r042:

  • changed Bar, History and ReputationHistory tables to AceAddon modules
  • new module Factions acting as facade to ugly blizzard faction api
  • fixed bug with folded faction headers (not losing tracked faction anymore)
  • fixed problem with auto-tracking of guild
  • simplified bar handling
  • bar textures now show up as one continuous texture extending to the whole bar width (instead of one texture per section e.g. xp/rested/none)
  • fixed font and font size handling for bar label

Version 1.7 r041:

  • fixed broken mouse selection for frame attachment of bars

Version 1.7 r040:

  • updated korean localization (thanks next96)
  • minor adjustments

Update Version 1.7 r039:

  • modularized addon
  • some code cleanup
  • moved some generic functionality to namespace functions
  • upgraded .toc to 50300

Comments

First Previous Page 2 of 6 Next Last
  • #71

    Alright, I think I got it. When zoning UnitMaxXP("player") returns zero and the result of the following division (-1.#INF) then messes up the bars. The problem is fixed in r036.

  • #70

    If I may make an insight, it appears that this only occurs if rested experience exists. Could you, perhaps, not be properly updating the bar in that case? (ie. moving the spark by xp gained as opposed to xp+rested gained)

    It's been years since I've muddled around in the WoW APIs but that would explain the behavior I am seeing.

  • #69

    Thanks for the /bxp refresh command, very useful.  I have been levelling a new toon recently and ive noticed that the spark is doing the same thing as WonderingFox.  However it works fine after the /bxp refresh  command until a teleport occurs (entering a random dungeon for instance).  Hopefully this will narrow down where to look for this bug.

  • #60

    I'm noticing that 2 of the new factions, The Anglers and The Tillers don't work properly with XPBar.

     I have Switch on Rep gain enabled and whenever gaining either of those factions it won't switch. They also don't show in the drop-down list, and if I choose to click the checkbox for Show as XP bar on the reputations page, it switched XPBar over to No watched faction.

     I think this may have to do with them having all the reputation characters under them when you hit the + next to the faction. 

  • #62

    Thanks for the info. This was a problem with factions which represent a header for subfactions in the faction list but have reputation as well. Fixed in r034.

  • #59

    Is it possible to show the "rested experience" as well?
    In both the dropdown as well as the broker line.

    Optional wise of course.

     

  • #64

    Rested experience is listed in the tooltip already. I see how I could fit it in for the label and the bar text.

  • #67

    In Options in "Bar Properties" you have to activate "Show XP Bar" and "Show Reputation Bar" in order to see the data for XP or Rep in the Tooltip. If you are interested in the tooltip only but dont care about the bar just leave the option "Frame to attach to" (option section "Frame") empty.

  • #66

    Hmm, really need to figure out how to get the tooltip then.
    Somehow it's not showing for me. Only shows the Click, Shift-Click and Right-Click info lines.

     

  • #57

    The estimated time to level is  inaccurate.The correct amount of XP needed to level is displayed. The calculation is correct for the displayed XP per hour, so the XP per hour amount must be wrong. There is no way I am going to make that many kills in that short amount of time.

    Last edited by chaud on 9/29/2012 8:04:38 PM
  • #68

    Okay, I finally tackled it. There is a mixup in the calculation between seconds and minutes. I will put out an update later this week.

  • #65

    Firstly, thanks for pointing out the problem. I have examined the code found 2 errors: a miscalculation which caused an underestimated TTL when rested experience has run out and a problem with handling the historic data which wasn't properly reset after one of the past updates since the timeframe was set in seconds instead of minutes.

    The second fix should take care of the unrealisticly high values for XP per hour and kills per hour.

    The problem is this doesn't seem to address the problem you are having. For the value of XP/hour shown in the screenshot the TTL should be about 20 minutes not 11 still I couldn't make out a cause for this. Since the last changes in r034 affect the TTL calculations too please check if that problem persist and repost on the forum. Please include the option values for 'Time Frame' and 'Weight' in section 'Leveling' to make the diagnosis simpler. Thank you.

    Other than that it seems to me you misinterpret the tooltip in one respect: TTL and 'Kills to level' are unrelated values. Either you continue playing in the crurrent fashion and you will level after 11 minutes. Or you continue and just kill monsters which will bring you to next level after 1257 kills. It does not mean you are supposed to kill 1257 monsters in 11 minutes.

    Best regards
    burny_dd

  • #53

    I get this error every time i mouse over the bar to see the tooltip, only after geting xp from a kill.
    hope it helps! i love this addon :D


    Message: Interface\AddOns\Broker_XPBar\History.lua:183: attempt to call upvalue 'GetNumRaidMembers' (a nil value)
    Time: 09/11/12 01:28:11
    Count: 1
    Stack: Interface\AddOns\Broker_XPBar\History.lua:183: in function `GetKillsToLevel'
    Interface\AddOns\Broker_XPBar\Tooltip.lua:193: in function `DrawTooltip'
    Interface\AddOns\Broker_XPBar\Tooltip.lua:46: in function `CreateTooltip'
    Interface\AddOns\Broker_XPBar\Broker_XPBar.lua:75: in function `OnEnter'
    Interface\AddOns\ChocolateBar\Chocolate.lua:212: in function <Interface\AddOns\ChocolateBar\Chocolate.lua:182>

    Locals: self = <table> {
    ProcessXPHistory = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:233
    historyXP = <table> {
    }
    totalXP = 111432
    weight = 0.8
    startTime = 1347321365
    lvlMaxXP = 3469000
    taintedXP = false
    Initialize = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:66
    GetTimeFrame = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:389
    raidPenaltyPerKill = 0
    activityKills = 1
    historyMobs = <table> {
    }
    SetTimeFrame = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:393
    SetWeight = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:373
    IsTainted = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:408
    taintedMobs = false
    UpdateXP = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:316
    GetWriteBucket = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:90
    totalKills = 1
    Process = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:228
    GetXPPerHour = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:214
    AddKill = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:344
    xpPerKill = 4536
    activeBucket = 22455388
    GetKillsPerHour = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:200
    doneLvlXP = 0
    timeframe = 1800
    activityXP = 111432
    startXP = 81451
    GetWeight = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:369
    ProcessMobHistory = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:259
    GetKillsToLevel = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:173
    grpXpPerKill = 0
    GetTimeToLevel = <function> defined @Interface\AddOns\Broker_XPBar\History.lua:106
    }
    rested = 165386
    xptogo = 3276117
    bonus = 0
    (*temporary) = nil
    (*temporary) = "attempt to call upvalue 'GetNumRaidMembers' (a nil value)"
    GetXPExhaustion = <function> defined =[C]:-1
    UnitXPMax = <function> defined =[C]:-1
    UnitXP = <function> defined =[C]:-1
    GetNumRaidMembers = nil
    GetNumPartyMembers = nil
    ceil = <function> defined =[C]:-1

  • #50

    r030 still contains calls to GetNum*Members() in History.lua, and the function NS:Colorize() in Broker_XPBar.lua still tests for a nil value and then attempts to convert said nil value to a string.

  • #51

    I think the problem with the NS:Colorize()is not that its trying to convert a null it's that it isn't converting 'text' when 'text' is an integer. It then attempts to use as 'text' as a string and fails. I removed the not check and allowed it to call tostring all the time and the addon now works for me.

  • To post a comment, please login or register a new account.
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 experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

VIP trip to SMITE World Championship