Category: Data Broker
Addon Information
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 06:49 AM
Size:
6.02 Kb
Downloads:
6,535
Favorites:
193
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 06:48 PM
  Comments - Ara Broker XP
Post A Reply Comment Options
Old 07-27-2010, 08:21 PM  
sietelle
A Kobold Labourer

Forum posts: 1
File comments: 48
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-2010, 06:48 PM  
Jzar
A Flamescale Wyrmkin
 
Jzar's Avatar
Interface Author - Click to view interfaces

Forum posts: 131
File comments: 251
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-2010, 12:54 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 13
File comments: 286
Uploads: 6
Quote:
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-2010, 06:37 AM  
Jzar
A Flamescale Wyrmkin
 
Jzar's Avatar
Interface Author - Click to view interfaces

Forum posts: 131
File comments: 251
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-2009, 05:34 AM  
kokomala
A Defias Bandit
Interface Author - Click to view interfaces

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

Forum posts: 13
File comments: 286
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  
Reply With Quote
Old 08-03-2009, 09:13 AM  
KnThrak
A Kobold Labourer
 
KnThrak's Avatar
Interface Author - Click to view interfaces

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

Forum posts: 13
File comments: 286
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  
Reply With Quote
Old 05-31-2009, 04:05 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 13
File comments: 286
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  
Reply With Quote
Old 05-31-2009, 02:26 PM  
willgk
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 113
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  
Reply With Quote
Old 05-21-2009, 01:30 PM  
techsgtchen
A Theradrim Guardian
 
techsgtchen's Avatar

Forum posts: 61
File comments: 19
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 01:31 PM.
techsgtchen is offline Report comment to moderator  
Reply With Quote
Old 05-18-2009, 01:01 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 13
File comments: 286
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  
Reply With Quote
Old 05-18-2009, 04: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  
Reply With Quote
Old 04-07-2009, 05:54 PM  
willgk
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 113
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  
Reply With Quote
Old 04-02-2009, 07:03 AM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 338
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  
Reply With Quote
Post A Reply



Category Jump:




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


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