Download
(232 Kb)
Download
Updated: 10-08-13 02:26 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:10-08-13 02:26 PM
Created:07-26-10 03:44 PM
Downloads:10,343
Favorites:153
MD5:
5.4
Broker: XPBar  Popular! (More than 5000 hits)
Version: 1.7 r045
by: burny_dd [More]
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.

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.

* 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.

New features -

* optional Minimap-Button to use addon without Broker display
* added XP per hour to tooltip
* added kills to level (KTL) to tooltip and as broker label option
* added time to level (TTL) to tooltip and as broker label option

The TTL/KTL predictions are still experimental. Goal is to provide precise predictions based on player preferences. All XP calculations are session only - the idea is to give a prediction based on what you do now.
Mob experience is calculated based on the last mob kills and standard deviation is used to eliminate outliers. Possible group bonuses and raid penalties are taken into account as well as rested bonus. The TTL and KTL prediction can be customized. The calculation is based on the data for the whole session and the activity in the last X minutes. The length of the activity frame can be up to 120 minutes. Session and activity XP rates will be weighted for the prediction.
Default values are 30 min activity and weighted 0.8. So session data will have an impact of 20% and the last 30 minutes will make up 80% in the calculation. Depending on your preferences you can shift the weight and time frame to favour the whole session or more recent data.

* option to hide bar or Broker text for XP or Rep on reaching max. level or Rep
* new label options to allow for a single 'omnipotent' configuration that fits the needs of leveling and maxed out chars
* added "Rep over XP" as broker label option showing reputation values on default and falls back to XP if no faction is watched
* added "XP over Rep" as broker label option showing XP values on default and falls back to reputation if maximum level is reached

Official thread
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 (27)
File Name
Version
Size
Author
Date
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 10-15-10, 06:23 AM  
dyaeblca
A Kobold Labourer
 
dyaeblca's Avatar

Forum posts: 0
File comments: 31
Uploads: 0
Originally posted by tuff_ghost
- When the bar is horizontal and hooked to a ButtonBin frame, it doesn't correctly expand to the size of the frame. Mine is always about 110 pixels wide, even when the BB frame it's hooked to is 600+.
I have the same issue with ChocolateBar
dyaeblca is offline Report comment to moderator  
Reply With Quote
Unread 10-16-10, 08:13 AM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 6
@tuff:
The label text colors are set by hand and work as intended. Although the next update will handle the coloring more consistently.
@tuff + dyaeblca:
I have tried out the issue with ButtonBin and everything works as expected. And I'm using the XPBars on ChocolateBars myself.
Make sure you really hit the bar of the ButtonBin/ChocolateBar. If you click on a Broker label of some addon the xp bars will get attached to this and only span the width of that label.
__________________
The first rule of Tautology Club is the first rule of Tautology Club.
Last edited by burny_dd : 10-17-10 at 03:37 PM.
burny_dd is offline Report comment to moderator  
Reply With Quote
Unread 10-17-10, 11:21 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
Would it be possible to have the "Show XP Bar" option behave as if it were unchecked entirely when the character is at max level? That way I can save a few pixels of real estate without having to create separate profiles for maxed characters.

Edit: It might also be nice to have an option to hide the rep bar when tracking a faction with which I'm 999/1000 Exalted.

Also, I got this when I selected "Time to level" (I think) display option:

Date: 2010-10-17 11:08:21
ID: 2
Error occured in: Global
Count: 1
Message: AceTimer-3.0: CancelTimer(handle[, silent]): 'UpdateLabel' - no such timer registered
Debug:
...rkInventory\Externals\Ace3-AceTimer\AceTimer-3.0.lua:327: CancelTimer()
Broker_XPBar\Broker_XPBar.lua:2168: SetShowText()
Broker_XPBar\Broker_XPBar.lua:773:
Broker_XPBar\Broker_XPBar.lua:772
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:797:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:612
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9:
[string "safecall Dispatcher[3]"]:5
(tail call): ?
...ddOns\AckisRecipeList\libs\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
...st\libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:439:
...st\libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:430
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9:
[string "safecall Dispatcher[3]"]:5
(tail call): ?
...ddOns\AckisRecipeList\libs\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
...s\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:345:
...s\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:335
Last edited by Jzar : 10-17-10 at 03:49 PM.
Jzar is offline Report comment to moderator  
Reply With Quote
Unread 10-17-10, 03:31 PM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 6
Took care of the bug, thanks for the notice :-)

Added option "No Label at max. Level" in section "Leveling" which will remove the label text entirely at max. Level. This will affect the label only when it's on a XP-based option (XP, TTL, KTL).

Edit: I just realized I misread you. You were referring to the bar itself not the label in the Broker display. Well, if I don't see a prob with that till the next revision it will be in there.
__________________
The first rule of Tautology Club is the first rule of Tautology Club.
Last edited by burny_dd : 10-17-10 at 03:36 PM.
burny_dd is offline Report comment to moderator  
Reply With Quote
Unread 10-17-10, 04:04 PM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
Thank you for such a rapid response! I just discovered this today, and am ecstatic to see you taking suggestions and implementing them so quickly.

So, I edited my comment below before I saw your response, so here's the recap: Yes, I would like it to actually hide the XP bar and spark itself when you're at max level. Similarly, if a reputation is at Exalted status and up to 999/1000, I really don't see a need to keep that bar visible either. If you could maybe create those two options, I'll be your fan for life!
Last edited by Jzar : 10-17-10 at 04:05 PM.
Jzar is offline Report comment to moderator  
Reply With Quote
Unread 10-17-10, 04:45 PM  
Henrick
A Murloc Raider

Forum posts: 5
File comments: 12
Uploads: 0
Great work on this addon. I have a small request. Could you add XP Gained this Session to label display on the broker bar? I hacked something into it to show in Chocolate Bar but would rather it be permanent.

Thanks
Henrick is offline Report comment to moderator  
Reply With Quote
Unread 10-17-10, 05:55 PM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 241
Uploads: 2
ButtonBin

Don't suppose this would play nice with that LDB display, would it?

Edit: My bad, tired, missed a few comments. That said I haven't tried this save once some months back, and I recall it wouldn't even show up in ButtonBin.
Last edited by SkunkWerks : 10-17-10 at 05:59 PM.
SkunkWerks is offline Report comment to moderator  
Reply With Quote
Unread 10-18-10, 11:53 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
OK, I hate to be picky, but you can't implement something I want if I don't first suggest it, right? So I'll just put this up and hope.

On my leveling toons, the rep bar and XP bar are kind of hard to tell apart. The colors blend pretty well and I'm not sure where the change from rested to normal XP lies.

So my idea to solve this would be have the option that hides the XP bar at max level (80 for now but not much longer!) also hide the rep bar when you're NOT at max level. Or make them two separate options that you're able to toggle independently of each other. I can see leveling toons caring about rep with a few factions for short periods while leveling I guess, but on the whole I only care about rep with anyone when I'm max.
Jzar is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 01:01 PM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 6
Alright, you now got a new options section "Max. XP/Rep" to hide the bars and label texts upon reaching max. level/reputation. I shifted some other options into an own section "Broker Label" as well.

I'm not in favour of the idea to add an option to hide rep when NOT on max level. I think it's confusing to have too many conditional exceptions. After all there is the possibility to setup profiles and with just 2 of them you can cover all you have described below.
__________________
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:26 PM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
Yes, of course. Switching profiles for this mod now is yet another thing I will have to do when I start a new toon (which I do routinely) but I certainly appreciate you taking some of my suggestions. Cheers!

Edit: Well, I opted instead to hack the "hide rep bar while leveling" option in myself, I guess I'll just have to manually merge any changes to Broker_XPBar you make in the future. Still, that'll probably happen less often than I make new toons!

So, here's my next suggestion: Could you make the tooltip show when I mousover the XP bar, rather than (or in addition to) the tooltip on the LDB feed? Maybe a smaller, less intrusive version of the tooltip? Though, I'm not sure how to determine which information would be the most important.
Last edited by Jzar : 10-20-10 at 02:40 PM.
Jzar 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: 64
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
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: 6
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, 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, 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-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
Post A Reply



Category Jump: