Download
(11 Kb)
Download
Updated: 02-02-13 06:08 PM
Pictures
File Info
Updated:02-02-13 06:08 PM
Created:02-21-12 11:22 PM
Downloads:5,129
Favorites:11
MD5:
Money Bar  Popular! (More than 5000 hits)
Version: 1.12
by: Montage [More]
Money bar is a small bar that tracks all of your currencies.

NOTE: I completely overhauled the filtering process. If you have any errors, you may want to try /moneybar default to reset everything then /moneybar filter to set up your currencies again. Let me know what you think about the new filter system, if it's better, worse, or whatever.

NOTE: Now depends on LibSimpleWidgets
http://www.riftui.com/downloads/info...leWidgets.html


Slash Commands:
English
/moneybar move toggles the bar to be movable. When toggled on, the bar is movable by dragging with your mouse
/moneybar default sets the bar to the default position,width, orientation, and colors
/moneybar alpha <a> sets the bar's transparency. 'a' is a number between 0 and 10 with 10 being solid and 0 being invisible
/moneybar scale <w> allows you to change the width or height of the bar (default setting is 1750 for horiz and 1000 for vert
/moneybar orient <horiz/vert> sets the bar to horizontal or vertical
/moneybar filter brings up a menu that allows you to pick which currencies to track
/moneybarcolor bar <r g b/color> takes in colors or RGB numbers as r g b where r, g, and b are between 0 and 255
/moneybarcolor text <r g b/color> takes in colors or RGB numbers as r g b where r, g, and b are between 0 and 255
Current color options are black, red, green, blue, brown, white, orange, and purple

German
/moneybar bewegen wechselt die leiste, um beweglich zu sein. Wenn auf getoggelt, die leiste ist beweglichen durch ziehen mit der maus.
/moneybar default legt die messlatte an die vorgabe lage, breite, ausrichtung und farben.
/moneybar alpha <a> legt die messlatte der transparenz. 'a' eine zahl zwischen 0 und 10 mit 10 sein fester und 0 unsichtbar.
/moneybar MaBstab <w> konnen sie die breite oder hohe des balkens andern (default einstellung ist 1750).
/moneybar orient <horiz/vert> legt die messlatte fur horizontale oder vertikale.
/moneybar filtern offnet ein menu, mit dem sie auswahlen, welche wahrungen auf die spur erlaubt.
/moneybarcolor leiste <r g b/farbe> nimmt in farben oder RGB zahlen als r g b where r, g, und b sind zwischen 0 und 255.
/moneybarcolor text <r g b/farbe> nimmt in farben oder RGB zahlen als r g b where r, g, und b sind zwischen 0 und 255.
Strom farbe optionen sind schwarz, rot, grun, blau, braun, weiB, orange, und lila.

French
/moneybar deplacer permet de basculer la barre pour etre mobile. Lorsqu'il est active, la barre est mobile en faisant glisser avec votre souris.
/moneybar defaut fixe la barre a la position par defaut, la largeur, l'orientation, et les couleurs
/moneybar alpha <a> etablit la transparence de la barre. 'a' est un nombre compris entre 0 et 10 avec 10 etant solide et 0 etant invisible
/moneybar echelle <w> vous permet de changer la largeur ou la hauteur de la barre (réglage par defaut est 1750)
/moneybar orient <horiz/vert> définit la barre a l'horizontale ou verticale
/moneybar filtrer fait apparaitre un menu qui vous permet de choisir quelles devises a suivre
/moneybarcolor bar <r g b/couleur> prend des couleurs RVB ou des numeros comme r g b ou r, g, et b est compris entre 0 et 255
/moneybarcolor text <r g b/couleur> prend des couleurs RVB ou des numéros comme r g b ou r, g, et b est compris entre 0 et 255
Options de couleur actuelles sont de couleur noire, rouge, vert, bleu, brun, blanc, orange et violet

This is my first addon, so feel free to give me feedback on how I can improve.
1.2
The bar can be scaled.
Variables can now be saved.
The bar can now be moved.

1.3
Variables are not only saved, but are loaded.
Bar color can be changed.
Text color can be changed.

1.4
The bar can now be vertical!
Changed some code to attempt to fix moving text. Hopefully it works!
Please report any issues with the vertical option.

1.5
With help from Timebomb there are several changes.
The bar can no be dragged and dropped to where you want it!
Some of the scaling issues should work now
With any luck the moving issues will be fixed as well.

1.6
The filter is now in!
Fixed some of the help output to reflect some of the changes
Changed the limits for the bar size to accommodate the fact that some may only track a few currencies.


1.6.1
Now should support German!
Also I discovered the Change Log!
Removed the spam from test code that some guy who will remained unnamed didn't remove.

1.6.2
Now fully, hopefully, translated to German and French.
Fixed the issue where text would move by the distance from the edge of the screen.

1.7
Added Infernal Marks
Changed how the currencies you want to track are printed out when Okay is clicked on

1.7.1
Fixed an issue where Favor could not be removed
Corrected a typo preventing French players from tracking Infernal Marks


1.8
Added Mark of Conquest, Unique Snowflake, Prize Ticket, Glass Beads, Summerfest Merit Badge, and Summerfest Friendship Bracelet
Changed MoneyBar.GetStack() to expect a currency id rather than a currency name
Created MoneyBar.BuildFilterUI() to build the Filter UI when the addon loads rather than every time the player uses the filter slash command

1.10
Added Master Craftsman's Mark, Empyreal Stone, Infinity Stone, Autumn Harvest Signet, and Autumn Harvest Ambersap

1.11
Complete overhaul of the filtering system
Now needs LibSimpleWidget to run, this is what was used to build the filter ui
Now can only track currencies that the player has.

1.12
Fixed issue with a blank bar on log in
Optional Files (0)


Archived Files (16)
File Name
Version
Size
Author
Date
1.11
11kB
Montage
01-20-13 11:58 AM
1.10
187kB
Montage
12-18-12 11:27 PM
1.8
159kB
Montage
07-01-12 03:25 PM
1.7.1
124kB
Montage
04-28-12 11:52 AM
1.7.1
124kB
Montage
04-23-12 07:32 PM
1.7
124kB
Montage
04-20-12 07:12 PM
1.6.3
120kB
Montage
03-27-12 05:38 PM
1.6.2 Beta
10kB
Montage
03-09-12 01:38 PM
1.6.1 Beta
9kB
Montage
03-07-12 04:27 PM
1.6 Beta
8kB
Montage
03-05-12 07:15 PM
1.5 Beta
7kB
Montage
02-29-12 06:50 PM
1.4 Beta
7kB
Montage
02-28-12 06:04 PM
1.3 Beta
7kB
Montage
02-24-12 11:12 AM
1.2 Beta
6kB
Montage
02-22-12 11:16 PM
1.1 Beta
6kB
Montage
02-22-12 06:59 PM
1.0 Beta
6kB
Montage
02-21-12 11:40 PM


Post A Reply Comment Options
Unread 02-24-12, 01:58 AM  
Juicebox
 
Juicebox's Avatar

Forum posts: 0
File comments: 10
Uploads: 0
Quote:
Originally Posted by Montage
Quote:
Originally Posted by Juicebox
After logging out while using the addon, it resets it the default place and says null on everything.
Thanks for the replies with what you're finding! I hope to the have the variables issue worked out soon. The nil on everything on load is an API issue that is going to be fixed in 1.8. Basically it loads the addon before your character's information is available sometimes.
Np! Anything on the number shifting?
Juicebox is offline Report comment to moderator  
Reply With Quote
Unread 02-24-12, 06:23 AM  
taldaas
Bomani Harbinger

Forum posts: 5
File comments: 7
Uploads: 0
Any chance of making this capable of being verticle? With wide screen monitors, it's a lot easy to have unessential information to the far left or right.

Also, I would love to see something where you could pick what you see instead of just money. stats, money, FPS, # of daily randoms left, Lockouts (abreviated)

I know, the API probably doesn't support all, but hopefully some or most, and hopefully it will get better
taldaas is offline Report comment to moderator  
Reply With Quote
Unread 02-24-12, 10:18 AM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
Quote:
Originally Posted by Juicebox
Quote:
Originally Posted by Montage
Quote:
Originally Posted by Juicebox
After logging out while using the addon, it resets it the default place and says null on everything.
Thanks for the replies with what you're finding! I hope to the have the variables issue worked out soon. The nil on everything on load is an API issue that is going to be fixed in 1.8. Basically it loads the addon before your character's information is available sometimes.
Np! Anything on the number shifting?
I still haven't been able to reproduce. What resolution are you running at? What size did you scale the bar to?
Montage is offline Report comment to moderator  
Reply With Quote
Unread 02-24-12, 10:21 AM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
Quote:
Originally Posted by taldaas
Any chance of making this capable of being verticle? With wide screen monitors, it's a lot easy to have unessential information to the far left or right.

Also, I would love to see something where you could pick what you see instead of just money. stats, money, FPS, # of daily randoms left, Lockouts (abreviated)

I know, the API probably doesn't support all, but hopefully some or most, and hopefully it will get better
I hope to implement a vertical option. When I can, and the API allows it, I plan to make more features as well! Thanks for the feedback!
Montage is offline Report comment to moderator  
Reply With Quote
Unread 02-24-12, 03:25 PM  
Juicebox
 
Juicebox's Avatar

Forum posts: 0
File comments: 10
Uploads: 0
Quote:
Originally Posted by Montage
Quote:
Originally Posted by Juicebox
Quote:
Originally Posted by Montage
Quote:
Originally Posted by Juicebox
After logging out while using the addon, it resets it the default place and says null on everything.
Thanks for the replies with what you're finding! I hope to the have the variables issue worked out soon. The nil on everything on load is an API issue that is going to be fixed in 1.8. Basically it loads the addon before your character's information is available sometimes.
Np! Anything on the number shifting?
I still haven't been able to reproduce. What resolution are you running at? What size did you scale the bar to?
My resolution is 1360x768 and the bar scale is what it is default but I want to scale it to fit the whole bottom of the screen like you have in your screenshot.
Juicebox is offline Report comment to moderator  
Reply With Quote
Unread 02-24-12, 07:11 PM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
I tried at your resolution both full screen and windowed with no problems. Are the icons moving? The text is set to the right side of the icon so they shouldn't move if the icon doesn't. All of my frames are local so they shouldn't be influenced by other addons. I can't think of what could be causing this, but as I work on it I'll keep an eye out for what could be causing it.
Montage is offline Report comment to moderator  
Reply With Quote
Unread 02-24-12, 09:53 PM  
Juicebox
 
Juicebox's Avatar

Forum posts: 0
File comments: 10
Uploads: 0
Quote:
Originally Posted by Montage
I tried at your resolution both full screen and windowed with no problems. Are the icons moving? The text is set to the right side of the icon so they shouldn't move if the icon doesn't. All of my frames are local so they shouldn't be influenced by other addons. I can't think of what could be causing this, but as I work on it I'll keep an eye out for what could be causing it.
I'll take some pictures of before porting and after porting so you can get a general idea.

This is before porting;


This is after porting to Stillmoor;
Last edited by Juicebox : 02-24-12 at 10:04 PM.
Juicebox is offline Report comment to moderator  
Reply With Quote
Unread 02-25-12, 10:30 PM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
I'll see if I can find a way to keep that from happening even though I can't get it to happen on my end. That's really weird that the icons don't budge but the text does
Montage is offline Report comment to moderator  
Reply With Quote
Unread 02-27-12, 09:02 PM  
Magi

Forum posts: 0
File comments: 2
Uploads: 0
All currencies continue to show nil.

How can I address this?
Magi is offline Report comment to moderator  
Reply With Quote
Unread 02-27-12, 09:06 PM  
Magi

Forum posts: 0
File comments: 2
Uploads: 0
Quote:
Originally Posted by Magi
All currencies continue to show nil.

How can I address this?
Fixed it
Magi is offline Report comment to moderator  
Reply With Quote
Unread 02-28-12, 03:52 PM  
TimeBomb
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 54
Uploads: 6
Montage, this is a very nice addon you have. Quite useful .

I hope you don't mind, but I have taken the liberty to help you out a bit.
I have modified MoneyBar to do/fix a couple things.

1) /moneybar move now toggles on/off the free movement of MoneyBar. When it is toggled on, it is now easily moveable via click and drag. (The functions I use are modified versions of what LibSimpleWidgets uses for SimpleWindow.)

2) When changing the width, it appeared to cause some issues with the alignment of the text/icons, as others have brought forth.
I have modified the /moneybar scale and /moneybar default functions to completely reload the UI, instead of just changing a couple things - which usually wasn't enough, and resulted in visual oddities.
After testing the commands, as well as teleporting with a small(width-wise) moneybar, I have not found any issues.

The code (Money.lua): http://pastebin.com/DgQC1Vcs
Last edited by TimeBomb : 02-28-12 at 03:53 PM.
TimeBomb is offline Report comment to moderator  
Reply With Quote
Unread 02-28-12, 06:06 PM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
Quote:
Originally Posted by TimeBomb
Montage, this is a very nice addon you have. Quite useful .

I hope you don't mind, but I have taken the liberty to help you out a bit.
I have modified MoneyBar to do/fix a couple things.

1) /moneybar move now toggles on/off the free movement of MoneyBar. When it is toggled on, it is now easily moveable via click and drag. (The functions I use are modified versions of what LibSimpleWidgets uses for SimpleWindow.)

2) When changing the width, it appeared to cause some issues with the alignment of the text/icons, as others have brought forth.
I have modified the /moneybar scale and /moneybar default functions to completely reload the UI, instead of just changing a couple things - which usually wasn't enough, and resulted in visual oddities.
After testing the commands, as well as teleporting with a small(width-wise) moneybar, I have not found any issues.

The code (Money.lua): http://pastebin.com/DgQC1Vcs
Thank you, I'll definitely put that in! I tried to make it a drag an move first but I couldn't get it to work.

I didn't know you could do slash commands from the addon itself, or is it fairly limited?

My only regret is that I didn't see this post before I got the new version up
Last edited by Montage : 02-28-12 at 06:08 PM.
Montage is offline Report comment to moderator  
Reply With Quote
Unread 02-28-12, 07:51 PM  
TimeBomb
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 54
Uploads: 6
Quote:
Originally Posted by Montage
Quote:
Originally Posted by TimeBomb
snip
Thank you, I'll definitely put that in! I tried to make it a drag an move first but I couldn't get it to work.

I didn't know you could do slash commands from the addon itself, or is it fairly limited?

My only regret is that I didn't see this post before I got the new version up
Hehe, no worries.
I am a bit confused as to what you mean "slash commands from the addon itself".

You can put the slash command in a macro. You can put a specific macro in an addon frame.
You can call functions from the slash command. Change variables. Do pretty much anything. Slash commands are nothing more than a function with user input as its arguments.

If you would like to elaborate, I would be happy to do my best to help/explain.
TimeBomb is offline Report comment to moderator  
Reply With Quote
Unread 02-28-12, 09:25 PM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
Quote:
Originally Posted by TimeBomb
Quote:
Originally Posted by Montage
Quote:
Originally Posted by TimeBomb
snip
snip
Hehe, no worries.
I am a bit confused as to what you mean "slash commands from the addon itself".

You can put the slash command in a macro. You can put a specific macro in an addon frame.
You can call functions from the slash command. Change variables. Do pretty much anything. Slash commands are nothing more than a function with user input as its arguments.

If you would like to elaborate, I would be happy to do my best to help/explain.
As I understand it from reading the forums, the API doesn't allow slash commands to be operated from the addon. I thought that was the main issue with UI Addons as you lose the ability to right click to leave parties and so forth.
Montage is offline Report comment to moderator  
Reply With Quote
Unread 02-28-12, 09:46 PM  
TimeBomb
Claw of Regulos
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 54
Uploads: 6
Quote:
Originally Posted by Montage
Quote:
Originally Posted by TimeBomb
Quote:
Originally Posted by Montage
Quote:
Originally Posted by TimeBomb
snip
snip
Hehe, no worries.
I am a bit confused as to what you mean "slash commands from the addon itself".

You can put the slash command in a macro. You can put a specific macro in an addon frame.
You can call functions from the slash command. Change variables. Do pretty much anything. Slash commands are nothing more than a function with user input as its arguments.

If you would like to elaborate, I would be happy to do my best to help/explain.
As I understand it from reading the forums, the API doesn't allow slash commands to be operated from the addon. I thought that was the main issue with UI Addons as you lose the ability to right click to leave parties and so forth.
Technically, you can put a macro in a UI frame. It wouldn't be changable in combat, and you have to click it to make the macro activate. (Someone correct me if I'm wrong.)
I haven't played w/ macro's in addons yet, but I would assume that many commands, ex. /partyleave, are not available, as there have been lots of questions about when that will be implemented.
TimeBomb is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: