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,196
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 12:21 PM
1.6 r037
229kB
burny_dd
01-16-13 11:35 AM
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 02:19 AM
1.2 r019
200kB
burny_dd
12-04-11 09:10 AM
1.2 r018
205kB
burny_dd
10-31-11 09:26 AM


Post A Reply Comment Options
Old 11-22-10, 08:56 AM  
joshmiller83
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
Old 11-14-10, 05:44 PM  
next96
A Kobold Labourer

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

Thank you fix !!

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

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

e-mail address please.

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

Forum posts: 4
File comments: 21
Uploads: 6
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
Old 11-01-10, 08:28 PM  
next96
A Kobold Labourer

Forum posts: 0
File comments: 5
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
Old 10-28-10, 12:37 AM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 6
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
Old 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
Old 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
Old 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
Old 10-23-10, 04:14 AM  
burny_dd
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 21
Uploads: 6
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
Old 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
Old 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
Old 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
Old 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
Old 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
Post A Reply



Category Jump: