Quantcast
Download
(80 Kb)
Download
Updated: 12/03/18 11:26 AM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Updated:12/03/18 11:26 AM
Created:01/15/17 07:07 PM
Monthly downloads:802
Total downloads:8,112
Favorites:26
MD5:
4.2
SALTI - Currency Totals  Popular! (More than 5000 hits)
Version: 1.27
by: Phinix [More]
SALTI (Save ALT Info) - Currency Totals




UPDATE: The new gifting system is a great way to keep addon authors interested: Please check the Donate tab!


This addon improves the tooltip you see when hovering over your currency totals in the various inventories. Instead of simply "gold" it will now show a tally of all your tracked characters' current Gold, Telvar, Writ Vouchers, and AP, as well as your total banked currency and (optionally) your total account-wide currencies and the total gold in all your current guild banks.


NOTE: The global currency at the bottom and the guild bank totals are OPTIONAL and can be enabled/disabled in the addon settings.

There are several features to configure from Addon Settings:
  • Choose which characters to show tooltip data for by enabling/disabling tracking.
  • Enable or disable the additional class/faction color icons from the tooltip.
  • Optionally show guild bank gold totals (off by default).
  • Optionally show account-wide currency totals (Crowns, Crown Gems, and Transmute Crystals).
  • Track Event Ticket totals. *NEW
  • Remove individual characters from the list of saved data (and update totals instantly).
  • When deleting data for still-existing characters, they will be automatically set to not track.
  • Log into a character and enable tracking (on by default) to include their currency in the tooltip.

Translations needed! (Feel free to PM me if you can help.)


Future plans:

I started this before I discovered Inventory Insight. I had originally intended to expand this to include full inventory item tracking, and I still may. However, since Inventory Insight has already done this in a way that seems comprehensive and well thought out, it may just be re-inventing the wheel. So for now I thought I would upload this as a nice way to include currency tally data on the inventory currency tooltips without having to disable Inventory Insight, if you use that.

Thanks sirinsidiator for LibAddonMenu, and for help getting the function to delete individual characters from the database properly integrated in the Addon Settings menus it provides without requiring a /reloadui.





Click here to view my other addons, or view my Skyrim mods here.
1.27:
- Added buffer function to currency update event function to speed up processing of scenarios like depositing gold in the bank which fire multiple currency update events (one for player carried changed, one for banked changed, etc.).

1.26:
- Fixed Transmutation Crystals still not updating in realtime (forgot to add them to function).
- Fixed guild banks not updating currency (was removed from function as well).
- Minor changes and reformatting of some functions.

1.25:
- Added support for Event Ticket tracking.

1.24:
- Fixed accidental event deletion from previous version preventing instant updating of totals on change.
- Added support for new on-demand saving of variables to file (currently on PTS only).

1.23:
- Updated LibStub, minor maintenance.

1.22:
- Updated Russian translation (thanks stribog).

1.21:
- Fixed several language translations not loading properly.

1.2:
- Converted to character ID-based and Megaserver-specific saved variables to make addon name change friendly and avoid overlapping data when logging in to different regions (NA, EU, PTS) with the same @account.
- Cleaned up code, improved performance, and updated all language translations.
- Added many comments to functions and saved variables.

NOTE: Due to the significant saved variable structure change you will need to log into each character to rebuild the currency database this one time.


1.1.7:
- Rebuilt parts of the login routine to allow automatic adaptation to the max number of characters (future proof) and clean out no longer existing characters automatically from account database.
- Should now be compatible with using multiple login accounts (shows only current).
- Added Google translation support for Spanish, Italian, Japanese, and Russian.
- Added new option to show character list alphabetically or in the order they appear on the login page.
- Various other tweaks and improvements.

1.1.6:
- Updated libs and API bump for Wolfhunter.

1.1.5:
- Updated Libs and API bump for Summerset.

1.1.4:
- Added option under Addon Settings to reset SALTI database. Use if upgrading from previous version causes data not to display, or any time you want to reset all data. Relog on each of your characters to rebuild currency totals.

1.1.3:
- Fixed a minor bug that could prevent showing data for 15th character when enabled/re-enabled.

1.1.2:
- Lib update and API bump for Dragon Bones.
- Added support for 15th character slot.

1.1.1:
- Minor code updates. *Still need language translations! Use the en.lua file as a template and I will include support for any languages people send me.

1.1.0:
- Added new option, 'Show Global Currency' to Addon Settings. When enabled (on by default) this will show the value of all account-wide currencies (Crowns, Crown Gems, and Transmutation Crystals) under the main currency summary.

1.0.9:
- Minor cleanup and formatting update.

1.0.8:
- Cleaned up some code related to localization support.
- Updated French translation (thanks lexo1000).
- Updated German machine translation (still needs human translation).
- Incremented proper version number.

1.07a:
- Updated LibAddonMenu/LibStub.
- API bump for Clockwork City.

1.0.7:
- Changed how the addon behaves when you are already tracking the max number of characters (14) and you delete one and create a new one. The addon will now warn you that you must use the Addon Settings to remove the character you deleted from the SALTI database before you can continue tracking new characters/totals. Before it would simply crash and give a LUA error. There is no way for addons to know what characters were deleted automatically in the API, sorry.

1.0.6a:
- Added French localization support (thanks lexo1000 for the translation) and preliminary German support (machine translated).

1.0.6:
- Added new option: "Use Independent Position." This allows you to have the tooltip appear wherever you moved the hotkey-toggled window.
Set a keybind to show/hide SALTI to drag the window where you want it to show.
- Added slash command /salti to toggle showing/hiding the currency window.

1.0.5:
- Added Writ Voucher support.
- Replaced text headers with icons matching game currency icons.
- Code improvement and function comments.

1.0.4:
- API bump.
- Updated libs.
- Added support for banked AP.

1.0.3:
- Updated for Morrowind.
- Added Warden class support.

1.0.2:
- Improved alignment of the black backdrop behind the gold totals window.
- Formatting.

1.0.1:
- Initial release.
Archived Files (1)
File Name
Version
Size
Uploader
Date
1.26
80kB
Phinix
12/03/18 10:35 AM


Post A Reply Comment Options
Unread 12/03/18, 12:28 PM  
mizrolist

Forum posts: 6
File comments: 16
Uploads: 0
Re: Re: Event tickets

Originally Posted by Phinix
Originally Posted by mizrolist
I don't know if it's possible to include, but it would be nice to see our current event tickets in the SALTI tooltip. Sometimes I lose track if I have 12 already and have to go to the Impresario for a feather or not yet...


Yay!
Report comment to moderator  
Reply With Quote
Unread 12/03/18, 10:38 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 1010
Uploads: 28
Fixed...

So I discovered that I had also removed the event that calls the update function for guild bank totals and those weren't updating either. Again not sure how that happened, but it is fixed now. Also, the previous fix for Transmute Crystals not updating in realtime wasn't working as I didn't also add the line to count how many you actually have to the update. There was some redundancy in the update functions as well and they were not actually linked properly which is fixed. Everything should update in realtime now correctly.

I also discovered that Event Tickets do not trigger the standard EVENT_CURRENCY_UPDATE event, as they are not technically treated as currency by the game even though they show on the currency tab. I have coded around this so that they may still be updated in realtime when you view the SALTI totals.
Last edited by Phinix : 12/03/18 at 10:39 AM.
Report comment to moderator  
Reply With Quote
Unread 12/03/18, 01:02 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 1010
Uploads: 28
Re: Event tickets

Originally Posted by mizrolist
I don't know if it's possible to include, but it would be nice to see our current event tickets in the SALTI tooltip. Sometimes I lose track if I have 12 already and have to go to the Impresario for a feather or not yet...
Version 1.25:
  • Added support for Event Ticket tracking.
Report comment to moderator  
Reply With Quote
Unread 12/02/18, 06:03 AM  
mizrolist

Forum posts: 6
File comments: 16
Uploads: 0
Question Event tickets

I don't know if it's possible to include, but it would be nice to see our current event tickets in the SALTI tooltip. Sometimes I lose track if I have 12 already and have to go to the Impresario for a feather or not yet...
Report comment to moderator  
Reply With Quote
Unread 12/01/18, 08:26 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 1010
Uploads: 28
Realtime updates...

Originally Posted by wolfstar
I've noticed that recently the transmute stones total doesn't update in real time like it used to. I have to either reload or log into another character to see how many I have, or go to the currency tab of my inventory. I'm not sure which recent update this started with.
Don't ask me how, but in the last update I managed to delete the line that registers for currency update events so it was only updating on character load events (login and zone change)! Fixed in 1.24 so all currencies update in realtime again, and also added future compatibility for the API update on PTS to allow priority saving of variable changes to file mid-play.

Thanks for drawing my attention to this.
Last edited by Phinix : 12/01/18 at 08:26 PM.
Report comment to moderator  
Reply With Quote
Unread 12/01/18, 10:48 AM  
wolfstar

Forum posts: 0
File comments: 72
Uploads: 0
I've noticed that recently the transmute stones total doesn't update in real time like it used to. I have to either reload or log into another character to see how many I have, or go to the currency tab of my inventory. I'm not sure which recent update this started with.
Report comment to moderator  
Reply With Quote
Unread 10/16/18, 10:23 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 1010
Uploads: 28
Update...

Version 1.2:
  • Converted to character ID-based and Megaserver-specific saved variables to make addon name change friendly and avoid overlapping data when logging in to different regions (NA, EU, PTS) with the same @account.
  • Cleaned up code, improved performance, and updated all language translations.
  • Added many comments to functions and saved variables.

NOTE: Due to the significant saved variable structure change you will need to log into each character to rebuild the currency database this one time.
Report comment to moderator  
Reply With Quote
Unread 10/02/18, 02:35 AM  
wolfstar

Forum posts: 0
File comments: 72
Uploads: 0
Originally Posted by wolfstar
Hey, i get this error now. I can't hover over my total or use my keybind.
Oh, turns out you had that nifty reset database option which seems to have fixed the error. Sometimes ignoring skepticism pays off.
Report comment to moderator  
Reply With Quote
Unread 09/30/18, 07:12 PM  
wolfstar

Forum posts: 0
File comments: 72
Uploads: 0
Hey, i get this error now. I can't hover over my total or use my keybind.

user:/AddOns/SALTI/SALTI.lua:310: attempt to index a nil value
stack traceback:
user:/AddOns/SALTI/SALTI.lua:310: in function 'MoneyTooltip'
user:/AddOns/SALTI/SALTI.lua:569: in function 'ShowGold'
user:/AddOns/SALTI/SALTI.lua:725: in function 'ZO_CurrencyTemplate_OnMouseEnter'
ItemTooltipSellPriceCurrency_MouseEnter:3: in function '(main chunk)'
Report comment to moderator  
Reply With Quote
Unread 09/30/18, 04:29 AM  
stribog

Forum posts: 0
File comments: 12
Uploads: 0
After the last update periodically shows non-existent data in the characters. What the sums, which they have no.
Report comment to moderator  
Reply With Quote
Unread 09/30/18, 12:37 AM  
stribog

Forum posts: 0
File comments: 12
Uploads: 0
Code:
user:/AddOns/SALTI/language/ru.lua:40: attempt to index a nil value
stack traceback:
user:/AddOns/SALTI/language/ru.lua:40: in function '(main chunk)'
|caaaaaa<Locals> L = tbl </Locals>|r
Russian translation does not work (
Report comment to moderator  
Reply With Quote
Unread 09/28/18, 04:48 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 1010
Uploads: 28
Re: Server Fix Required

Originally Posted by Coolio_Wolfus
Discovered after making a new char on NA that on returning to EU server totals wasn't showing, had to delete the NA char from it's database to get it working again, Ignoring the missing characters to display the known totals may be an option if it can't detect which server?

Oh and welcome back.
Hey, thanks. This is currently on my list of things to do for the next release.
Report comment to moderator  
Reply With Quote
Unread 09/27/18, 09:58 AM  
Coolio_Wolfus

Forum posts: 0
File comments: 21
Uploads: 0
Server Fix Required

Discovered after making a new char on NA that on returning to EU server totals wasn't showing, had to delete the NA char from it's database to get it working again, Ignoring the missing characters to display the known totals may be an option if it can't detect which server?

Oh and welcome back.
Report comment to moderator  
Reply With Quote
Unread 04/07/18, 10:39 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 1010
Uploads: 28
@VexingArcanist:

Version 1.1.4:
  • Added option under Addon Settings to reset SALTI database. Use if upgrading from previous version causes data not to display, or any time you want to reset all data. Relog on each of your characters to rebuild currency totals.

Should make things a little easier in this scenario, or anytime you just want to reset the whole database.
Report comment to moderator  
Reply With Quote
Unread 04/07/18, 09:37 AM  
VexingArcanist

Forum posts: 5
File comments: 39
Uploads: 0
I was having issues with the addon not displaying info in game but it had been working previously. I disabled all other addons except the LibMenu addon which is required for the Delete button for character management. The addon still failed to display info and I was getting a similar message to the one below about not able to track a deleted character.

I resolved my issues in two steps:

1. Disabling all other addons to ensure there wasn't an addon conflict.
2. Using Minion I right clicked on this addon's title and deleted saved variables for this addon.

I went back in to game and the addon was working again. As I went through characters to update SALTIs info on them I began reenabling my other addons in batches, first things I needed to have, then the nice to haves. Everything now works.

I recommend using steps 1-2 if you find your self having issues with no info displaying.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.