Download
(8 Kb)
Download
Updated: 08-01-11 06:05 PM
Pictures
File Info
Updated:08-01-11 06:05 PM
Created:11-19-08 05:48 PM
Downloads:12,173
Favorites:222
MD5:
Ara Broker XP  Popular! (More than 5000 hits)
Version: r4
by: Aranarth [More]
This data broker plugin provides an ASCII bar representing XP: ||||||||||||||||||||||||||||||

Click the ASCII bar to display config menu. You can change:
- the pattern used in the ASCII bar (default is |).
- the length / number of pattern repetitions (default is 30).
- colors for earned, rested and remaining xp.
- the thousand separator / the character used between groups of 3 digits for better reading or large numbers.
r4
- Fixed the "1 bubblebubbles left" message issue.


r3
- Click the block to access options. You no longer need to edit the lua file.
- Max level is not hardcoded anymore: it will scale with expansions.
- In the tooltip: added number of bubbles left next to level.
- The thousand separator defaults to a comma if your client is enUS, or a space otherwise.


r2
- Added variable "thousandSeparator": in the tooltip, it's the character between groups of 3 digits. Defaults to " ".
- Added the LDB attribute "type" (set to "data source") for better recognition & display integration.
- Small code tweak in FormatXP function.


r1
- Initial release.
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
r3
8kB
Aranarth
12-06-10 02:44 PM
r2
6kB
Aranarth
12-15-08 05:49 AM
r1
6kB
Aranarth
11-19-08 05:48 PM


Post A Reply Comment Options
Old 10-29-11, 02:33 PM  
zerohaste
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
For some reason I'm getting an error when trying to chat colors by right clicking on the XP bar and going to Colors.

Code:
Message: [string "ColorPickerOkayButton:OnClick"]:2: attempt to call field 'func' (a nil value)
Time: 10/29/11 15:30:31
Count: 6
Stack: [string "*:OnClick"]:2: in function <[string "*:OnClick"]:1>

Locals: self = ColorPickerOkayButton {
 0 = <userdata>
}
button = "LeftButton"
down = false
(*temporary) = nil
(*temporary) = "attempt to call field 'func' (a nil value)"
No solution so far searching the internet. I'm using the addon through DockingStation. All I really want to do is change the purple XP text color to something else. It's extremely difficult to read as purple text.
zerohaste is offline Report comment to moderator  
Reply With Quote
Old 08-01-11, 06:34 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 7
Re: Slight bug when at less than 5% XP left to go

@Taryble:

Thank you for pointing that issue it's now fixed. It was a typo with the "|4" syntax.

Here is a better format string exemple: "%i |4mouse:mice;".
As you have probably already guessed, it's a singular/plural selector: it looks at the preceding number (the argument provided for "%i") and if it's greater than 1 it displays the 2nd string (between ":" and ";"), otherwise it displays the first.
Last edited by Aranarth : 08-01-11 at 06:35 PM.
Aranarth is offline Report comment to moderator  
Reply With Quote
Old 08-01-11, 11:23 AM  
Taryble
A Molten Giant
 
Taryble's Avatar

Forum posts: 811
File comments: 37
Uploads: 0
Slight bug when at less than 5% XP left to go

The bug is in the "x bubbles to go" display text - when you're at 1 bubble, it says "1 bubblebubbles left".

I looked into editing the lua for the addon, but I'm not sure how you're picking which string to display (bubble or bubbles) - I've never bothered much with the :format() on the end of a string (well, okay, bothered with it at all).

Also, what does the "|4" mean on that line in the lua code? (line 172, which seems to be the line where everything is done involving this bug )
__________________
-- Taryble
Taryble is offline Report comment to moderator  
Reply With Quote
Old 12-27-10, 09:45 AM  
Caramirdan
A Kobold Labourer
 
Caramirdan's Avatar

Forum posts: 0
File comments: 44
Uploads: 0
Re: Option to remove

Originally posted by speak
I'm wondering if we could get the option to remove the "XX Bubbles Left" text at the top of the tooltip when mousing over this plugin. I don't know what bubbles are so I don't care about how many are left. I know what percentage is so that's what I only care about seeing
Thanks
I like the "XX Bubbles Left" reminder--that's the number I tell my friends, because most don't give a hoot about percentages, unlike you and I do.
Caramirdan is offline Report comment to moderator  
Reply With Quote
Old 12-25-10, 08:33 PM  
heltonaugusto
A Kobold Labourer
Premium Member

Forum posts: 0
File comments: 1
Uploads: 0
Re: Option to remove

Originally posted by speak
I'm wondering if we could get the option to remove the "XX Bubbles Left" text at the top of the tooltip when mousing over this plugin. I don't know what bubbles are so I don't care about how many are left. I know what percentage is so that's what I only care about seeing
Thanks
The default XP bar has 20 bubbles, when talking to people who haven't an XP addon they will often tell you how many bubbles are left for level instead of %.
heltonaugusto is offline Report comment to moderator  
Reply With Quote
Old 12-08-10, 09:06 PM  
speak
A Wyrmkin Dreamwalker
 
speak's Avatar

Forum posts: 57
File comments: 186
Uploads: 0
Option to remove "XX Bubbles Left"

I'm wondering if we could get the option to remove the "XX Bubbles Left" text at the top of the tooltip when mousing over this plugin. I don't know what bubbles are so I don't care about how many are left. I know what percentage is so that's what I only care about seeing
Thanks
speak is offline Report comment to moderator  
Reply With Quote
Old 12-06-10, 03:34 PM  
speak
A Wyrmkin Dreamwalker
 
speak's Avatar

Forum posts: 57
File comments: 186
Uploads: 0
Thank you very much for the r3 update!
speak is offline Report comment to moderator  
Reply With Quote
Old 09-14-10, 02:50 PM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 78
Uploads: 4
To make it work with Cataclysm on line of 4 of Ara_Broker_XP.lua

Code:
if( UnitLevel"player" == 85 )then return end
Change the 80 to 85
__________________
akgis is offline Report comment to moderator  
Reply With Quote
Old 07-27-10, 07:21 PM  
sietelle
A Kobold Labourer

Forum posts: 1
File comments: 51
Uploads: 0
ascii XP, it's like.. so simple yet i've never seen it/thought of it lol
sietelle is offline Report comment to moderator  
Reply With Quote
Old 02-09-10, 05:48 PM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
Well, we'll see what the Cataclysm beta brings, but for the WotLK beta, WoWInterface was able to secure beta keys for just about all us addon authors. I'm optomistic that you'll get one for next xpac.
Jzar is offline Report comment to moderator  
Reply With Quote
Old 02-09-10, 11:54 AM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 7
Originally posted by Jzar
Aranarth, I know you're not playing right now, but you still seem to be semi-active, so I'll make this feature request anyways. What would you think about adding a yellow (or other) bar coloring representing the xp you'll have after you hand in all completed quests?

I think this would be a wonderful feature, because then I would know when I've hit the threshold while doing quests of when I can hearth back to my questing hub, and turn in all my quests and get a level from it.

As far as I can figure, you'd have to watch quest status update events, and whenever one is marked completed, scan the quest log, and total the xp it says you'll earn from completed quests. Also watch gear changed events, and rescan the quest log anytime a piece of heirloom gear is equipped or removed, as that changes the expected amount of xp gain.

If you are disinclined to implement this yourself, or just don't have the time, would you merge it if I submitted a patch file to you with this feature? Or should I not waste my time?

Thanks for everything, I still love all your mods!
The idea is interesting, I may look into it if I plan to make a bigger XP plugin, but that's certainly not before the beta of Cataclysm (if I get a key, which is unlikely).
Aranarth is offline Report comment to moderator  
Reply With Quote
Old 01-29-10, 05:37 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
Aranarth, I know you're not playing right now, but you still seem to be semi-active, so I'll make this feature request anyways. What would you think about adding a yellow (or other) bar coloring representing the xp you'll have after you hand in all completed quests?

I think this would be a wonderful feature, because then I would know when I've hit the threshold while doing quests of when I can hearth back to my questing hub, and turn in all my quests and get a level from it.

As far as I can figure, you'd have to watch quest status update events, and whenever one is marked completed, scan the quest log, and total the xp it says you'll earn from completed quests. Also watch gear changed events, and rescan the quest log anytime a piece of heirloom gear is equipped or removed, as that changes the expected amount of xp gain.

If you are disinclined to implement this yourself, or just don't have the time, would you merge it if I submitted a patch file to you with this feature? Or should I not waste my time?

Thanks for everything, I still love all your mods!
Jzar is offline Report comment to moderator  
Reply With Quote
Old 10-23-09, 04:34 AM  
kokomala
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 22
Uploads: 5
Any chance of having this minor addition to your block.text put in your Function OnEvent(self, event, unit)? Basically its just putting the text "XP:" in front of the reputation bar (not the tooltip).

Code:
block.text =
		"|cff"..colorRested .. "XP:"..
		"|cff"..colorXP	..strsub( bar, 1, lenXP*lenChar )..
		"|r|cff"..colorRested	..strsub( bar, 1, lenRested*lenChar )..
		"|r|cff"..colorRemaining..strsub( bar, 1, (length-lenXP-lenRested) * lenChar ).."|r"
Last edited by kokomala : 10-23-09 at 06:20 AM.
kokomala is offline Report comment to moderator  
Reply With Quote
Old 08-03-09, 10:25 AM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 394
Uploads: 7
Originally posted by KnThrak
While I am 99% happy with this, can you give it the options of Ara_Broker_Repuation? Just a small polish, basically allowing text instead of bar display, and giving it an icon.

OR, (ofc) merge it with the Rep mod, below lvl80 it shows XP by default, at lvl80 it always shows Rep.

^_^
Sorry, Im not ready for this kind of merge.

If you want text instead of ASCII bar, there's plenty of addons you can try.
Aranarth is offline Report comment to moderator  
Reply With Quote
Old 08-03-09, 08:13 AM  
Carighan
A Defias Bandit
 
Carighan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 96
Uploads: 2
While I am 99% happy with this, can you give it the options of Ara_Broker_Repuation? Just a small polish, basically allowing text instead of bar display, and giving it an icon.

OR, (ofc) merge it with the Rep mod, below lvl80 it shows XP by default, at lvl80 it always shows Rep.

^_^
__________________
SQUEAK.
--(The Death of Rats, Terry Pratchett, Soul Music)
Carighan is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: