+ Reply to Thread
Results 1 to 17 of 17

Thread: [Plugin] Wallet

  1. #1
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    [Plugin] Wallet

    For those that want a floating currency display.

    Wallet has been updated to reflect the new Turbine Barter Wallet functionality. You can now view any of the currencies from the Barter Wallet plus your DP as floating displays.

    Use the "Ctrl+\" UI function to display a tab for moving each docked group of currency displays (only the top currency in a group will show the movement tag). To change the which currencies are displayed, the display order or dock/undock currencies, use the "/wallet setup" chat command to display the Setup dialog. The dialog is pretty self explanatory, the "Show" option will determine if a Currency can be displayed. The "Show Tot" option is only available of non-Serverwide currencies and will display the Server Total beneath the character's quantity. The "Hide if 0" option will hide a currency when it's quantity is 0, even if it is set to Show. If a currency is docked but set to not show or is hidden due to quantity, any currencies docked below it will be moved up to close any gaps in their group. Use the "Docked" checkbox to indicate the top item in any group - items checked as docked will automatically display immediately below the item above them while any "undocked" item starts a new group and can be moved anywhere on screen using the "Ctrl+\" functionality. To change which group a currency in or the order with its group, simply click the up or down arrow in the Order column - the change will be effective immediately so you can look at your currency windows to see how the movement affected them.

    Serverwide currencies are displayed in green and non-Serverwide are white. For those that want to see Serverwide totals for currencies that are not Serverwide, you can hover the mouse over any white currency and you will see a pop-up with the Total and a per character breakdown. If you want to always see the Total for a non-Serverwide currency, you can set the "Show Tot" option for that currency in the Setup window.

    When you first run Wallet, the Gold, DP, Commendation, Shard, Mark, Medallion and Seal currencies will be at the top of the Currency list and set to Show. All other currencies will follow those in the Currency list but will be set to not Show.

    To install, simply download and unzip to your Plugins folder - no dependancies on external files.

    To launch, use /plugins load wallet

    It does have basic display control commands:
    "/wallet show" will display the wallet if it is hidden
    "/wallet hide" will hide the wallet
    "/wallet toggle" will toggle it
    "/wallet setup" will display the Setup dialog

    Version History:
    Version 1.06
    Added option for icons on left and text left aligned.
    Bug fix for gold currency of 1000 or more.

    Version 1.05
    Fixed ItemRemoved bug - currencies that decrease to 0 will now be properly displayed as zero (if set to display when zero) and disassociated with the player wallet
    Fixed the PositionChanged bug. Currencies added while playing will no longer generate an error when moved up or down in the setup window.
    Added context help for the currency icons - hover over an icon to see the name of the currency.
    Fixed a bug in the Setup window that caused the greyed out up/down arrows to incorrectly follow rows that were moved out of the top/bottom positions.

    Version 1.04
    Fixed the DE/FR client defaults - all three clients now have language specific defaults.
    - Note that for existing characters you will have to use the Delete button (see below) to clear out some of the erroneously created duplicate entries.
    Implemented three layers of defaults to make copying settings to alt characters simpler
    - first, there is a "last used" configuration that is saved for each alignment (Creeps only have Commendations so their default display is likely different from Freeps). If an alt that has never had Wallet loaded before is first loaded it will try to load the last used settings.
    - second, there are "Save Default" and "Load Default" buttons that allow a user to set the current configuration as the default and then manually load it at any time on an alt - if you make changes to your layout you can save it and easily load the changed setup on your alts.
    - the third is a language specific version of the old defaults which set Gold, DP, Commendations, Shards, Seals, Marks and Medallions to display and all of the others to be hidden.
    - note that each of these settings is also separated by language so if you save a default in English you would have to recreate that default if you switch to German or French since the Currency names are different and there is no way to uniquely identify the currencies.
    Added Delete buttons for each currency on the Options page that is not in the current character's wallet - this allows users to remove the old defaults if they use the DE or FR client as well as allow removal of any currencies that Turbine eliminates in the future.
    - Note that if you remove a currency but it is subsequently encountered in another character's wallet the currency will be added back in - if you simply don't want to see a currency on specific characters the correct method is to deselect the Show checkbox.

    Version 1.03
    Disabled Gold and DP for Creeps since Turbine has still not implemented GetMoney() and GetDestinyPoints() for Creeps
    Fixed bug in "Hide if 0" options checkbox indexes
    Added work around for Turbine Plugin Manager
    Fixed bug that prevented currencies from displaying if they existed in the wallet but had a 0 quantity when the plugin was loaded

    Version 1.02
    Well... I almost called this version 2.0 since it's nearly a compete re-write
    Changed how Currencies are handled to handle the new Turbine Wallet currencies
    Totally re-wrote the currency display windows to allow a dynamic number of currencies
    Added the "Docked" behaviour for easily moving groups of currencies
    Added the "Hide if 0" behaviour to allow hiding currencies the current player hasn't encountered or has 0 of
    Modified the Options window to allow setting new options per currency as well as re-ordering the currency displays.

    Version 1.01
    Fixed the incorrect icon resource so the copper coin now shows as copper, not silver
    Disabled the window hide on Escape key
    Modified GP display to auto resize to fit any number of digits (well, as many as will fit across your monitor ).
    Added the options window to allow hiding money or dp display.



    Download at LoTROInterface.com
    http://www.lotrointerface.com/downlo...nfo.php?id=612
    Last edited by Garan; Feb 13 2013 at 07:42 PM. Reason: Updated for ver 1.07
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  2. #2
    Member Online status: DaimonUI is offline Reputation: DaimonUI the Neutral
    Join Date
    Aug 2010
    Posts
    81

    Re: [Plugin] Wallet

    Thanks Garan. No need to open the actual wallet ever again ;D
    ╔- -- -
    ║■ Author of DaimonUI for The Lord of the Rings ONLINE ■ Lotrointerface.com ■ ðÐ
    ║■ Sürmä öf Föröchël, Chämpiöns öf Läürëlin. Fröm thë kin öf Thë Shädöws ■
    ║■ http://www.moxguild.com/
    ╚- -- -

  3. #3
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Re: [Plugin] Wallet

    Version 1.01 is now available at LoTROInterface.com
    http://www.lotrointerface.com/downlo...nfo.php?id=612
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  4. #4
    Grand Member Online status: Evendale is offline Reputation: Evendale the Bounders-friend Evendale the Bounders-friend Evendale the Bounders-friend Evendale the Bounders-friend Evendale the Bounders-friend Evendale the Bounders-friend Evendale the Bounders-friend Evendale the Bounders-friend Evendale the Bounders-friend Evendale the Bounders-friend
    Join Date
    Mar 2007
    Posts
    1,779

    Re: [Plugin] Wallet

    Oh, this is very nice. I hate having to open my barter wallet all the time. Would be nice if it showed the number of std SMs you have as well.
    Elendilmir - Evenwyn Burglar - Evendale Guardian
    Combat Analysis (v4.2.3b) - Download "here"

  5. #5
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Re: [Plugin] Wallet

    Quote Originally Posted by Evendale View Post
    Oh, this is very nice. I hate having to open my barter wallet all the time. Would be nice if it showed the number of std SMs you have as well.
    Alas, Money and DP are the only things we have Lua access to so far. No marks or shards.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  6. #6
    Junior Member Online status: NikoD is offline Reputation: NikoD the Neutral
    Join Date
    Jun 2011
    Posts
    4

    Re: [Plugin] Wallet

    Hey,

    I'll toss one little improvement idea just in case you find some time between all your other projects. How about an AltInventory-style tracking of the amount of money across all alts?

  7. #7
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Re: [Plugin] Wallet

    Quote Originally Posted by NikoD View Post
    Hey,

    I'll toss one little improvement idea just in case you find some time between all your other projects. How about an AltInventory-style tracking of the amount of money across all alts?
    AltInventory already does that plus with the Barter Wallet changes, there will be a whole panel in Alt Inventory dedicated to currencies.

    I've considered adding an additional "custom" currency for total coins to Wallet but it hasn't made it to the actual "to do" list.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  8. #8
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Re: [Plugin] Wallet

    Version 1.02 is now available. This is a major re-write of Wallet to enable all of the Barter Wallet currencies. This includes the ability to group currencies in docked groups for easier movement as well as controls to determine whether to show individual currencies, hide them when they are 0, and reorder their display group/sequence. So now, you can have floating displays for any or all of the currencies in the Barter Wallet and your DP.

    Unfortunately, ver 1.02 does not work for Creeps as Turbine has still not implemented GetMoney() for Creep attributes. Ver 1.03 will support all of the currencies except Gold and DP for Creeps but I do not have an anticipated release date for that yet.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  9. #9
    Grand Member Online status: ChromiteSwiftpaw is offline Reputation: ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads ChromiteSwiftpaw the Watcher of Roads
    Join Date
    Jun 2010
    Posts
    1,143

    Re: [Plugin] Wallet

    Wow. How did I miss this plugin? Going to try this when I get home. Thanks, Garan!

  10. #10
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Re: [Plugin] Wallet

    Due to a bug in the Turbine wallet initialization, loading the Wallet plugin with the Turbine Plugin Manager will cause all of the barter wallet currencies to be hidden (they aren't initialized when the plugin gets loaded). A temporary work around is to load the plugin manually. I am working on a better, more permanent solution and should have it available in a day or two.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  11. #11
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Re: [Plugin] Wallet

    Version 1.03 is mostly just bug fixes and workarounds. This version will work for Creeps and will work with the Turbine Plugin Loader.

    Note, for Creeps, the only valid currency will be Commendations since Turbine has not implemented :GetMoney() or :GetDestinyPoints() for MonsterPlayerAttributes. When Turbine implements either of those, they will auto-magically become available in Wallet for Creeps.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  12. #12
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Re: [Plugin] Wallet

    Version 1.04 fixes a localization issue with default currencies as well as adding additional options for setting defaults.

    The first time you load Wallet on a character, it will attempt to load the last used settings so that if you use the same configuration on every character, you don't have to set it up more than once. If you already have several alts that had Wallet loaded and you want to easily change them to a new configuration, use the "Save Default" button on the Options window to save the current configuration, then when you are next on your other alts, use the "Load Default" to recall the default configuration.

    The defaults and "last used" settings are separated by client language and alignment. The language separation is due to the fact that the currencies are identified by name (there is no underlying unique identifier exposed) and since the name changes with the language, the settings would be meaningless. The alignment separation is because Creeps currently only have one currency available to Lua, Commendations, so the Creep layout is likely to be different from Freeps.

    This all may seem a little complicated, but in use, it means that you will most likely only ever have to set up your wallet on one Freep and one Creep and as long as you don't change client languages, those setups will automagically be applied to each new alt and you can save the setup with one click and load it on an alt with one click. Hopefully this will make life much easier for people with many alts.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  13. #13
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Re: [Plugin] Wallet

    Version 1.05 is now available.

    This version is mostly bug fixes, particularly for the 0 quantity bug (currencies that reach 0 quantity never fire a quantity changed event instead they get removed from the barter wallet which was causing grief for the plugin). There were a number of other minor bug fixes for the Setup window.

    One new feature made it into this version, there is now a context pop-up that will display with the currency name if you hover over a currency icon. This became necessary since Turbine reused the same icons for several currencies and it was hard to keep track of which icon was which currency.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  14. #14
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Ver 1.06

    It's been a long while since Wallet got any attention, partially because it was stable and my other plugins were broken by recent updates to the Lua client. Well, it turns out there was a bug that would only appear after you acquired 1000 or more gold. Ver 1.06 fixes this bug (for the few people that will ever have that much gold) as well as adding a left aligned display option (the icons are on the left and the text will be left aligned).
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  15. #15
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832

    Version 1.07

    The major change in Version 1.07 is the inclusion of "Totals" for non-Serverwide currencies. You can now hover over any non-Serverwide currency to see a pop-up with the Total as well as a per character detail for that currency. If you want to always see the Total, there is a new column in the Setup window, "Show Tot" which will display the total for the currency below the character's quantity.

    To help clarify which currencies are per character and which are Serverwide, the quantities are now color coded (using the same colors as the Barter Wallet) - per character are white and Serverwide are green. Additionally, if the Total is always displayed, it will be light blue.

    This functionality was added to replace the Wallet panel which is no longer part of AltInventory. That panel will not be included in the forth coming AltViewer since the ability to view an alt's quantity as well as per Server totals is now available in Wallet.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

  16. #16
    Century Member Online status: Inkpot is offline Reputation: Inkpot has disabled reputation
    Join Date
    Feb 2007
    Location
    WA
    Posts
    102
    I was wondering if it would be possible for Wallet to track how many Turbine Points you currently have on your account?

    Excellent plugin, by the way!

  17. #17
    Poster of Note Online status: Garan is offline Reputation: Garan has disabled reputation
    Join Date
    Mar 2007
    Posts
    832
    Quote Originally Posted by Inkpot View Post
    I was wondering if it would be possible for Wallet to track how many Turbine Points you currently have on your account?

    Excellent plugin, by the way!
    Thanks for the feedback.

    Turbine Points are not exposed to Lua at this time. If Turbine ever does expose them they will certainly be added to Wallet.
    Gnashtooth - Rank 10 Warg - My breath's worse than my bite - but what d'ya want? I eat Hobbitsess fer cryin' out loud
    Garan - Captain of little note - got parked at a Fell Scrying Pool so long it dried up and blew away
    and many, many others...
    "No, no, the hamsters are for the forums. The servers run on chinchillas!"-Patience 7/20/2007

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts