Download
(42 Kb)
Download
Updated: 06/12/23 11:57 AM
Pictures
File Info
Compatibility:
Necrom (9.0.0)
Updated:06/12/23 11:57 AM
Created:01/15/17 07:07 PM
Monthly downloads:149
Total downloads:39,208
Favorites:61
MD5:
SALTI - Currency Totals  Popular! (More than 5000 hits)
Version: 1.46
by: Phinix [More]
SALTI (Save ALT Info) Currency Totals


(Click your flag to translate the page. Addon includes in-game support for all listed languages.)

REQUIRED LIBRARIES: LibAddonMenu


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).
  • 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.
  • Track Event Ticket totals in the account-wide section. *NEW
  • Track Undaunted Key totals in the account-wide section. *NEW

*NEW New option "Use Independent Postition" in the Addon Settings. When enabled, the location of the currency tooltip will be wherever the hotkey-toggled window was last positioned.
Set a keybind or type /salti to show/hide SALTI to configure the window position.

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 without requiring a /reloadui.




Gold donations are always welcome!
PC NA: @IllusoryID



Click here to view my other addons.
Hi all, I’m back and working on addons again. Times are tough and I am desperately in need of financial support at the moment dealing with disability due to a bleeding brain cavernoma and other expenses on less than $600 monthly fixed income. If anyone can help, or knows anyone that can help, or can possibly feature some of my work on their stream to help drive support my way, I would be immensely grateful. It will help me to continue to bring cool content and updates to you all!


1.46:
- Updated for Necrom.
- Added support for Arcanist class icons in the currency display window.

1.45:
- Updated for Scribes of Fate.

1.44:
- Updated for High Isle.
- EDIT: Removed some testing functions.

1.43:
- Updated for Ascending Tide.
- Removed dependency on LibPhinixFunctions (too many libs).
- Minor code maintenance.

1.42:
- Updated API for Waking Flame update.

1.41:
- Added Global Currency support for Seals of Endeavors.
- Slightly modified Global Currency header to just "Global:" to save space.
- Updated API and version number to Blackwood.
- Minor code maintenance.

1.40:
- Added support for Outfit Tokens in the account-wide currency summary.
- Rebuilt the way account-wide currency is tallied now that all types have a return value from the game API.
- Rearranged account-wide currency list and added a slider to change the space between items.
- Rearranged the addon settings panel.
- Cleaned up some code and performed various maintenance.
- Updated API for live server and current PTS.

1.39:
- Updated API for Flames of Ambition.

1.38:
- Fixed a bug where carried gold totals were not updated properly in saved variables when looting gold from mail until totals were changed by some other means.

1.37:
- Updated API version for Stonethorn.

1.36:
- Updated API version for Greymoor.

1.35:
- Added slider to control horizontal position of undaunted keys when shown.

1.34:
- Updated API version for Harrowstorm.
- Added Undaunted Keys to the global currency display.
- Added option to show (or not) the Undaunted Keys.
- Removed dependency on LibStub.
- Various fixes and code maintenance.

1.33:
- Updated API version for Scalebreaker.

1.32:
- Added icon support for new Necromancer class.
- API bump for Elsweyr.

1.31:
- Migrated global functions to LibPhinixFunctions for speed and streamlining of code. Please manually install the LibPhinixFunctions library.
- Minor code maintenance.

1.30:
- Minor maintenance.

1.29:
- Updated for Wrathstone.

1.28:
- Fixed problem with Event Ticket totals not updating until manual opening of the inventory currency tab.
- Updated library requirements. Must now install Libstub and LibAddonMenu separately. This will avoid version conflicts and out of date library errors in the future.

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.
Post A Reply Comment Options
Unread 03/22/18, 04:21 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Update...

Sorry for the lack of replies. Haven't really been playing ESO for a while now... Maybe I will come back some day.

In the meantime, here is an update for Dragon Bones that supports the 15th character slot.
Report comment to moderator  
Reply With Quote
Unread 03/22/18, 05:23 PM  
FWSWBN
 
FWSWBN's Avatar

Forum posts: 17
File comments: 490
Uploads: 0
Re: Update...

Originally Posted by Phinix
Sorry for the lack of replies. Haven't really been playing ESO for a while now... Maybe I will come back some day.

In the meantime, here is an update for Dragon Bones that supports the 15th character slot.

happy you OK

next time....only a little info and everything is fine and real life comes allways first.
Report comment to moderator  
Reply With Quote
Unread 04/07/18, 09:37 AM  
VexingArcanist

Forum posts: 5
File comments: 41
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
Unread 04/07/18, 10:39 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
@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 09/27/18, 09:58 AM  
Coolio_Wolfus

Forum posts: 0
File comments: 28
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 09/28/18, 04:48 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
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/30/18, 12:37 AM  
stribog

Forum posts: 0
File comments: 23
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/30/18, 04:29 AM  
stribog

Forum posts: 0
File comments: 23
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, 07:12 PM  
wolfstar

Forum posts: 0
File comments: 252
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 10/02/18, 02:35 AM  
wolfstar

Forum posts: 0
File comments: 252
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 10/16/18, 10:23 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
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 12/01/18, 10:48 AM  
wolfstar

Forum posts: 0
File comments: 252
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 12/01/18, 08:26 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
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/02/18, 06:03 AM  
mizrolist

Forum posts: 6
File comments: 18
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/03/18, 01:02 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
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
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.