Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(399 Kb)
Download
Updated: 08-03-15 02:54 PM
Pictures
File Info
Compatibility:
Fury of Hellfire (6.2)
The Adventure Continues (6.1)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:08-03-15 02:54 PM
Created:07-26-10 03:44 PM
Downloads:11,318
Favorites:156
MD5:
6.2

Broker: XPBar  Updated less than 3 days ago!  Popular! (More than 5000 hits)

Version: 2.0 r052
by: burny_dd [More]

Broker: XPBar - Sparkly XP Bars that can be attached anywhere.

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.

Update for Version 2 -

* New text system for Broker label and bars.
** Provides wide selection of predefined texts for display.
** Custom texts can be freely configured via script API.
* XP and reputation data for completed and incomplete quests.
** Shown in tooltip, in label texts and as bar sections.
** Notifications when completed quests allow to level up when handed in (or to reach the next standing with the watched faction).
* Bar length is now adjustable.
* Bar texts can now be shown side by side. That allows for bigger font sizes especially when XP and reputation bar are shown both.
* Fixed darkened color problem with default addon texture.
* Added option 'No Texture' to display bars just in opaque colors.

NOTE -

* Due to the new text system the old text options have been dumped. Reconfiguring texts for Broker label and bars is required.
* Larger memory footprint mainly due to use of library containing quest reputation reward data since Blizzard broke or scrapped API functions to retrieve that data from quests in log.

Features -

* Attaches bars for XP and/or reputation to (almost) any globally named frame.
* Configure layout of bars: Colors, dimensions, texture.
* Tooltip displays extended information about XP and reputation of currently watched faction.
* Provides data about XP and reputation for completed and incomplete quests in the quest log.
* Notifications when completed quests allow to level up when handed in (or to reach the next standing with the watched faction).
* Customizable texts for bar and Broker label.
* Select texts from predefined selection or define your own texts via script API.
* Provided information includes: Time to Level, Kills to Level, XP/Rep/Kills per Hour,
* 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.

Official thread

Update Version 2.0 r052:

* fixed incorrect identifiers in ScriptEnv functions

Update Version 2.0 r051:

* fixed incorrect notification that could happen after quest hand in
* improved updating of completed/incomplete quest xp/rep to avoid jumpy bar update
* fixed mock values for completed/incomplete quest xp

Update Version 2.0 r050:

* fixed typo that broke GetValue(id) for ids QuestCompletedXP/Rep in text scripts

Update Version 2.0 r049:

* fixed typo that caused notifications to fail
* fixed notifications when switching between factions

Update Version 2.0 r048:

* new text system for bars and Broker labels
* support for completed and incomplete quest XP and reputation (for tooltip, texts and bars)
* bar length adjustable
* side by side option for displaying texts on bars
* fixed darkened color problem of default texture setting
* new option 'No Texture' to display bars in opaque colors

Update Version 1.7 r047:

* updated libs
* .toc bump to 60200

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
Optional Files (0)


Archived Files (34)
File Name
Version
Size
Author
Date
2.0 r051
399kB
burny_dd
07-16-15 03:12 PM
2.0 r050
399kB
burny_dd
07-11-15 03:54 AM
2.0 r049
399kB
burny_dd
07-09-15 02:01 PM
2.0 r048
391kB
burny_dd
07-09-15 08:44 AM
1.7 r047
240kB
burny_dd
06-24-15 05:36 AM
1.7 r046
247kB
burny_dd
10-15-14 03:26 PM
1.7 r045
232kB
burny_dd
10-08-13 02:26 PM
1.7 r044
232kB
burny_dd
07-17-13 03:49 PM
1.7 r043
232kB
burny_dd
07-15-13 03:15 PM
1.7 r042
232kB
burny_dd
07-08-13 04:28 PM
1.7 r042
229kB
burny_dd
06-06-13 05:12 PM
1.7 r040
229kB
burny_dd
06-06-13 03:40 PM
1.7 r039
228kB
burny_dd
05-24-13 08:12 AM
1.6 r038
229kB
burny_dd
01-19-13 01:21 PM
1.6 r037
229kB
burny_dd
01-16-13 12:35 PM
1.6 r036
229kB
burny_dd
10-27-12 02:54 AM
1.6 r035
229kB
burny_dd
10-15-12 03:31 PM
1.6 r034
227kB
burny_dd
10-07-12 11:37 AM
1.6 r033
224kB
burny_dd
09-30-12 10:26 AM
1.6 r032
223kB
burny_dd
09-24-12 03:01 PM
1.6 r031
217kB
burny_dd
09-10-12 11:37 PM
1.6 r030
217kB
burny_dd
09-08-12 09:13 AM
1.6 r029
223kB
burny_dd
08-30-12 07:28 AM
1.6 r028
223kB
burny_dd
08-30-12 03:05 AM
1.6 r027
221kB
burny_dd
08-23-12 11:03 AM
1.5 r026
219kB
burny_dd
07-30-12 03:21 PM
1.5 r025
219kB
burny_dd
07-05-12 12:10 PM
1.4 r024
218kB
burny_dd
06-24-12 04:11 PM
1.3 r023
216kB
burny_dd
06-16-12 03:21 AM
1.3 r022
221kB
burny_dd
06-06-12 02:46 AM
1.3 r021
221kB
burny_dd
06-02-12 02:42 AM
1.2 r020
200kB
burny_dd
02-05-12 03:19 AM
1.2 r019
200kB
burny_dd
12-04-11 10:10 AM
1.2 r018
205kB
burny_dd
10-31-11 09:26 AM


Post A Reply Comment Options
Unread 11-22-10, 09:56 AM  
joshmiller83
Premium Member
Premium Member

Forum posts: 6
File comments: 48
Uploads: 0
Pet XP LDB

How hard would it be to add another LDB object for Hunters to track their Current Pets XP?

Thanks!
joshmiller83 is offline Report comment to moderator  
Reply With Quote
Unread 11-14-10, 06:44 PM  
next96
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
koKR fix no error :)

Thank you fix !!

next96 is offline Report comment to moderator  
Reply With Quote
Unread 11-04-10, 10:50 PM  
next96
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
My Client is Korean.

e-mail address please.

send XPBar locals.
next96 is offline Report comment to moderator  
Reply With Quote
Unread 11-02-10, 01:29 AM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 7
This is a problem at least concerning russian and korean clients. The fix is done but not yet properly tested. Please tell me the localization of your client so I can check back if other localizations are affected as well. The update will be available shortly.
__________________
The first rule of Tautology Club is the first rule of Tautology Club.
burny_dd is offline Report comment to moderator  
Reply With Quote
Unread 11-01-10, 08:28 PM  
next96
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
hi

uf first gain xp, next error.

Code:
1x Broker_XPBar-1.2 r016\Broker_XPBar.lua:1896: invalid capture index
Broker_XPBar-1.2 r016\Broker_XPBar.lua:1896: in function `?'
CallbackHandler-1.0-6 (Ace3):147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
<string>:"safecall Dispatcher[16]":4: in function <[string "safecall Dispatcher[16]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[16]":13: in function `?'
CallbackHandler-1.0-6 (Ace3):92: in function `Fire'
AceEvent-3.0-3 (Ace3):120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

  ---
next96 is offline Report comment to moderator  
Reply With Quote
Unread 10-28-10, 12:37 AM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 7
Seeing similar questions arise on curse.com, have you actually attached the bars to a frame 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 just fine. If you use Docking Station you need to make sure you have the Global option (Panels -> General) enabled for the panel you want to connect to.
__________________
The first rule of Tautology Club is the first rule of Tautology Club.
burny_dd is offline Report comment to moderator  
Reply With Quote
Unread 10-26-10, 06:48 PM  
Bruski
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Tarka
This addon isn't working for me at all. I have chocolate bar and when I enable the xp bar I don't see anything at all. Any idea what the problem might be? Thanks.
I'm having the same issue, was working a week ago, is broken now.
Bruski is offline Report comment to moderator  
Reply With Quote
Unread 10-24-10, 12:29 PM  
Tarka
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
This addon isn't working for me at all. I have chocolate bar and when I enable the xp bar I don't see anything at all. Any idea what the problem might be? Thanks.
Tarka is offline Report comment to moderator  
Reply With Quote
Unread 10-23-10, 12:06 PM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
XP over Rep is exactly what I wanted -- if it applied to the bar as well as just the label. However, as I also have another mod that automatically switches watched reputations on rep changes, simply setting it to watch none still doesn't quite satisfy me.

But don't worry about me. I'll just merge a few lines of code into your new version and carry on happily. I love this mod, and am tremendously grateful for all the work you've put into it! It's excellent!
Jzar is offline Report comment to moderator  
Reply With Quote
Unread 10-23-10, 04:14 AM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 7
Re: Auto Watching Reputation Bar

OK, I lied about giving new features a hold. New revision is up and again quite a few feature updates.

@Mook: Faction tracking for external changes is back in. Looking at the old code it must have worked purely coincidentally.

@AmiYuy: Auto-Hiding of Rep bar is in as well as the 2 new display options you proposed. I took the liberty to use your description as tooltip hint almost to the word. Thanks for the contribution.

@Jzar: The changes above should take care of the things you try to do. If you are leveling and not interested in reputation just set the watched faction to none and the bar is gone. Select option "No XP Bar" for max level to remove the XPBar for max level chars. Set label option to "XP over Rep" as well and you get the XP display for the leveling alt and the reputation label for the maxed out chars. Think that pretty much covers it - all in a single profile

Additionally you can (de)activate all pieces of information on the label seperately now.
__________________
The first rule of Tautology Club is the first rule of Tautology Club.
Last edited by burny_dd : 10-23-10 at 04:20 AM.
burny_dd is offline Report comment to moderator  
Reply With Quote
Unread 10-21-10, 10:17 AM  
Mook
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 120
Uploads: 1
Auto Watching Reputation Bar

Hiya Burny_dd - thanks for all the work you've done on this awesome addon.

I dig the new label options and such, but I've reverted back to the previous version temporarily. If I change the Reputation being watched on my character sheet's Reputation tab, Broker_XPBar no longer picks it up as the new Rep to watch ... I have to go into the Broker_XPBar options and manually set it.

The reason this comes into play is because I have another AddOn, AutoRepSwitch, which automatically switches the watched Rep to whatever faction you last received points from. It still changes the watched Rep on my character sheet, but that no longer carries over to Broker_XPBar.

Maybe some time in the future you can go back to pulling the watched rep from the Blizz setting - or even add 'auto watch' functionality to Broker_XPBar.

Thanks again for a great AddOn!
Mook is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 07:01 PM  
Bruski
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Thanks so much for making this addon!
The only thing I still used fubar for was Fubarxp on leveling character, but with this I can use my beloved chocolate bar!
Thank you so much!
Prettiest XP bar ever!

<3<3<3
Bruski is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 04:51 PM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
OK, I'm so sorry to be constantly haranguing you, but when I find a mod I really like, I tend to want to improve on it in any way I can. So please forgive me.

May I suggest coloring factions using item quality colors? I don't recall if Blizzard uses green for honored, blue for revered, purple for exalted anywhere, but some other rep addons do. Here's how I modified your color table:
Code:
local blizz_rep_colors = {
    [1] = {r=0.80, g=0.13, b=0.13, a=1}, -- hated
    [2] = {r=1.00, g=0.25, b=0.00, a=1}, -- hostile
    [3] = {r=0.93, g=0.40, b=0.13, a=1}, -- unfriendly
    [4] = {r=0.33, g=0.33, b=0.33, a=1}, -- neutral
    [5] = {r=1.00, g=1.00, b=0.00, a=1}, -- friendly
    [6] = ITEM_QUALITY_COLORS[2], -- honoured
    [7] = ITEM_QUALITY_COLORS[3], -- revered
    [8] = ITEM_QUALITY_COLORS[4], -- exalted
}
I really like this change because it makes it easy to tell by looking at the bar what rep level you're at, even if it may not strictly follow Blizzard convention.

Secondly, the bar doesn't seem to be updating when I switch the watched faction. My solution was to add this code to the top of BrokerXPBar:UpdateStanding
Code:
local faction = BrokerXPBar:GetWatchedFactionIndex()
Edit: I'm assuming this was the bug you just fixed. Yay for remembering to refresh before posting!
Last edited by Jzar : 10-20-10 at 04:54 PM.
Jzar is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 04:30 PM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 7
Thanks for the feedback. Luckily I left a rather obvious bug in the addon so I had to update right away. I have changed the labels for the frame selection slightly which hopefully will make them better to understand. Btw. you should be able to type in the name of the frame by hand, but of course the name has to match exactly.

I think I will now collect some feedback for a bit instead of popping out new revisions on a daily basis. Nice to see the addon grow, but I better check it doesn't start mutating and eating users. Ofc bugs will be fixed asap.
__________________
The first rule of Tautology Club is the first rule of Tautology Club.
burny_dd is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 02:38 PM  
AmiYuy
A Deviate Faerie Dragon
 
AmiYuy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 63
Uploads: 1
Awesome, having this lets me cut down from using 3 addons for rep and XP display to one.

Feedback-

1) Add explanation in Frame section:
A minor thing, the "Hook to Frame" portion wasn't clear as to what it did. I tried typing in the box to tell it to hook to my map by typing "Chinchilla", but obviously that didn't work and errored on me. I then tried pressing the button and figured out that that was what I was supposed to do, but perhaps a little explanation of "Click 'Hook to Frame' button then click on the frame you want to attach the bar to." might be worth adding.

2) Automatically switch to display XP if no watched faction:
On my bank alt who has 26% XP through level 1, this was constantly showing "Updating..." since she didn't have a reputation watched. Once I switched to have it display XP and then back to Rep it correctly showed "No watched faction". I'd think it should default to displaying XP if a reputation isn't watched and default to display Rep if at max level or adding an option for it to change like that.

2b) Option to switch automatically between XP/Rep display based on Max Level:
Alternatively or in addition to 2, it would be nice to have the option for when the character is Max Level the addon auto switches to display the watched faction, but when they are below max, it defaults to Experience. I realize there are profiles, but I like to set up my interface on one character using the Default profiles and then just use it on all others without having to deal with changing profiles (Grid is the only exception).

I'm not sure how the menus work, but perhaps you could use radio buttons instead of a drop-down and have short explanations of what each option in the Broker Label section does (either displayed next to the name or on mouse over). That could make it less confusing.

For example:
0 None - Displays title of addon
0 Kills to Level - Displays approximately how many more kills needed to level
0 Time to Level - Displays approximately how much longer it will take to level
0 Rep - Displays watched reputation faction's name, amount of earned reputation, and percent earned.
0 XP - Displays amount of earned XP and percent earned.
0 Rep/XP - Displays reputation label by default, but if no watched faction displays XP.
0 XP/Rep - Displays XP label by default when below max level and Rep when max level


3) Auto-Hide Rep bar if no watched faction:
The Reputation bar should automatically be hidden if a reputation isn't watched.
Last edited by AmiYuy : 10-20-10 at 02:52 PM.
AmiYuy is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: