Category: Data Broker
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
r2
Date:
12-15-2008 07:49 AM
Size:
6.02 Kb
Downloads:
5,088
Favorites:
181
MD5:
Pictures
Click to enlarge
XP bar with default settings
Ara Broker XP   Popular! (More than 5000 hits)
This data broker plugin provides an ASCII bar representing XP: ||||||||||||||||||||||||||||||

To change options you will have to edit the first 2 lines in the lua file. Here is how it looks:

Code:
local length,	char,	colorXP,	colorRested,	colorRemaining,	thousandSeparator =
	30,	"||",	"6060ff",	"ff8040",	"cccccc",	" "
- length is the number of char used.
- char is the character to use for display. The pipe character has a special meaning so you have to double it to just display one. You are not limited to just one character. If you provide more, the pattern will be repeated length times.
- colorXP, colorRested and colorRemaining are colors in HTML format.
- thousandSeparator is the character used between groups of 3 digits for better reading of large numbers.
  Change Log - Ara Broker XP
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 - Ara Broker XP
Sorry, there are currently no optional files available.
  Archived Versions - Ara Broker XP
File Name
Version
Size
Author
Date
r1
6kB
Aranarth
11-19-2008 07:48 PM
  Comments - Ara Broker XP
Post A Reply Comment Options
Old 10-23-2009, 06:34 AM  
kokomala
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 11
Uploads: 2
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-2009 at 08:20 AM.
kokomala is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-03-2009, 12:25 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 208
Uploads: 6
Quote:
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   Edit/Delete Message Reply With Quote
Old 08-03-2009, 10:13 AM  
KnThrak
A Kobold Labourer
 
KnThrak's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 88
Uploads: 1
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)
KnThrak is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-31-2009, 05:08 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 208
Uploads: 6
Quote:
Originally posted by techsgtchen
I feel that it may be awesome if you could incorporate the glowing experience 'bar' from FuBar_FuXPFu?
http://www.wowace.com/projects/project-13926/

And, the tracking of rest xp for different characters in FuBar_RestFu?
http://www.wowace.com/projects/fubar_restfu/

Thank you very much for your time and energy.
Sorry but I don't think I will add anything to this tiny mod. It would be better to make a new and bigger one that would incorporate your ideas. Try the "addon ideas" section on the wowace forums.
Aranarth is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-31-2009, 05:05 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 208
Uploads: 6
Quote:
Originally posted by willgk
Any hope of this ever?
I don't care for reputations and don't plan to code this kind of plugin, but I can help you in this task if you want.
Aranarth is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-31-2009, 03:26 PM  
willgk
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 44
Uploads: 3
Quote:
Originally posted by willgk
I would love to see this work for rep. I rewrote it a bit to do it but it didn't work entirely right :P.
Any hope of this ever?
willgk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-21-2009, 02:30 PM  
techsgtchen
A Cyclonian
 
techsgtchen's Avatar

Forum posts: 47
File comments: 12
Uploads: 0
I feel that it may be awesome if you could incorporate the glowing experience 'bar' from FuBar_FuXPFu?
http://www.wowace.com/projects/project-13926/

And, the tracking of rest xp for different characters in FuBar_RestFu?
http://www.wowace.com/projects/fubar_restfu/

Thank you very much for your time and energy.
__________________

Last edited by techsgtchen : 05-21-2009 at 02:31 PM.
techsgtchen is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-18-2009, 02:01 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 208
Uploads: 6
Re: Unfortunate

Quote:
Originally posted by Vash12788
This looks to be the best experience mod for LDB but unfortunately it does not work with DockingStation. It does not show up on the plugin list. Please look into this as DockingStation is currently the best LDB display mod available and I'm sure there's a lot of people that want this to work.
It shows for me and the author of DockingStation as you can see in his exemple panel: http://s.wowinterface.com/preview/pvw21390.jpg
I don't know what's wrong in your case, sorry. Maybe you missed it ? It's called "Ara XP" and not "Ara Broker XP" and new plugins are hidden by default.
Aranarth is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-18-2009, 05:07 AM  
Vash12788
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Unfortunate

This looks to be the best experience mod for LDB but unfortunately it does not work with DockingStation. It does not show up on the plugin list. Please look into this as DockingStation is currently the best LDB display mod available and I'm sure there's a lot of people that want this to work.
Vash12788 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-07-2009, 06:54 PM  
willgk
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 44
Uploads: 3
I would love to see this work for rep. I rewrote it a bit to do it but it didn't work entirely right :P.
willgk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-02-2009, 08:03 AM  
Twidget
A Fallenroot Satyr
 
Twidget's Avatar

Forum posts: 23
File comments: 251
Uploads: 0
Re: Re: Bubbles in Tip

Quote:
Originally posted by Aranarth
Edit the lua file and replace line 27
Code:
	GameTooltip:AddLine( format( "Lv. %i", UnitLevel"player" ) )
by
Code:
	local nbBubbles =  floor( (maxXP-XP) / maxXP*20 +.5 )
	GameTooltip:AddDoubleLine( format( "Lv. %i", UnitLevel"player" ), format( "%i bubble%s left", nbBubbles, nbBubbles>1 and "s" or "" ) )
Hi,
I will try that. Thanks!
I bought the WoW Programming book and have been studying. I had already added a few lines to the lua that seem to be working but I want to try yours too. I added the following at line 22:

local function round(num)
local mult = 10^1
return math.floor(num * mult + 0.5) / mult
end

Then at line 36 I added:

GameTooltip:AddDoubleLine( "|cff"..colorRemaining.."Bubbles|r", "|cff"..colorRemaining..round(((maxXP - XP) / 5) * .001))

This way I didn't have to change any of your existing lines. I just added 5.

Thanks for helping me to learn!

Twidget
Twidget is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-30-2009, 11:28 AM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 12
File comments: 208
Uploads: 6
Re: Bubbles in Tip

Quote:
Originally posted by Twidget
Hi,
My spouse and I play together all the time and we are always asking each other "How many bubbles until you level?"... Any chance you could add this to the tool tip? Something that would just say "4 Bubbles to lvl 72" or something like that.

Thanks,
Twidget
Edit the lua file and replace line 27
Code:
	GameTooltip:AddLine( format( "Lv. %i", UnitLevel"player" ) )
by
Code:
	local nbBubbles =  floor( (maxXP-XP) / maxXP*20 +.5 )
	GameTooltip:AddDoubleLine( format( "Lv. %i", UnitLevel"player" ), format( "%i bubble%s left", nbBubbles, nbBubbles>1 and "s" or "" ) )
Aranarth is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-27-2009, 11:27 PM  
Twidget
A Fallenroot Satyr
 
Twidget's Avatar

Forum posts: 23
File comments: 251
Uploads: 0
Question Bubbles in Tip

Hi,
My spouse and I play together all the time and we are always asking each other "How many bubbles until you level?"... Any chance you could add this to the tool tip? Something that would just say "4 Bubbles to lvl 72" or something like that.

Thanks,
Twidget
Twidget is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-25-2009, 10:36 AM  
griffin224
A Flamescale Wyrmkin
 
griffin224's Avatar
Premium Member

Forum posts: 104
File comments: 34
Uploads: 0
Re: Re: Having Problems

Quote:
Originally posted by Aranarth
What display version do you use ? If it's ButtonBin, try to define an icon for it.
How exactly do you define an icon for it? In the .lua file, or in button bin? If in button bin, how exactly?
griffin224 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-11-2009, 10:56 AM  
KnThrak
A Kobold Labourer
 
KnThrak's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 88
Uploads: 1
I like this addon a lot, it's a very neat idea. I'd have two ideas for "improvements" though:

1. Give it an icon. A "@" or "ß" would be fitting as very noticable characters, IMO.
2. Make a copy which is a rep-bar, so one can load either depending on whether the char is maxed, or even both. ^_^
__________________
SQUEAK.
--(The Death of Rats, Terry Pratchett, Soul Music)
KnThrak is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.