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:162
Total downloads:39,159
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 01/16/24, 07:24 AM  
CheeseTuber

Forum posts: 1
File comments: 14
Uploads: 0
Originally Posted by Phinix
@SCREAMER19 - I am working on getting this updated, hopefully soon!
Thanks a lot Phinix!
Report comment to moderator  
Reply With Quote
Unread 12/29/23, 07:30 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
@SCREAMER19 - I am working on getting this updated, hopefully soon!
Report comment to moderator  
Reply With Quote
Unread 12/08/23, 07:47 AM  
SCREAMER19

Forum posts: 0
File comments: 30
Uploads: 0
@phinix can you add endless archive fortunes
Report comment to moderator  
Reply With Quote
Unread 06/12/23, 11:59 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
@YunaWolf - I'm slowly updating my addon projects though I don't have much time to play lately. Is this still an issue? I am going to add some new methods to the frame generator to automatically resize each column to fit the contents with a user set buffer, however that image looks like a different issue. I will try and test this in the German client mode.
Report comment to moderator  
Reply With Quote
Unread 02/03/23, 04:19 AM  
YunaWolf
 
YunaWolf's Avatar

Forum posts: 2
File comments: 14
Uploads: 0
Hello,

Thank you for this interesting addon.

I just installed it and it is working good, but I have this little "issue"



(German Client, maybe this is the problem?)
Report comment to moderator  
Reply With Quote
Unread 03/27/20, 09:40 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Re: Errors

Originally Posted by stribog
Warning: Spoiler
I am not able to reproduce these errors. Based on the lines referenced it looks like LibPhinixFunctions is not being loaded or is not installed in the right place. I would make sure you have installed it and the latest LibAddonMenu-2.0 so that their main folders are in your \Documents\Elder Scrolls Online\live\AddOns\ folder.

You could also check if it is some sort of addon conflict by disabling everything except SALTI, LibAddonMenu-2.0, and LibPhinixFunctions, and see if the errors go away. Then re-enable addons one at a time reloading the UI (/reloadui) after each one to see which is causing the problem.

The only other thing I can think of is there is something wrong with the saved variables. Try this:

Exit game completely, then go to \Documents\Elder Scrolls Online\live\SavedVariables\ folder.

Delete the following if present:

LibPhinixFunctions.lua
SALTI.lua
LibStub.lua
Last edited by Phinix : 03/27/20 at 09:41 PM.
Report comment to moderator  
Reply With Quote
Unread 03/27/20, 08:58 PM  
stribog

Forum posts: 0
File comments: 23
Uploads: 0
Errors

Code:
user:/AddOns/SALTI/SALTI.lua:229: function expected instead of nil
stack traceback:
user:/AddOns/SALTI/SALTI.lua:229: in function 'MoneyUpdate'
|caaaaaa<Locals> eventCode = 131223, currencyType = 1, currencyLocation = 0, newAmount = 500, oldAmount = 0, reason = 35, tgBank = 612298, ttvBank = 1714, tapBank = 277874, twvBank = 11, tTotalGold = 0, tTotalTelvar = 0, tTotalAP = 0, tTotalWV = 0, k = 1, v = "Vimme Vivaldi" </Locals>|r
Code:
user:/AddOns/SALTI/SALTI.lua:648: function expected instead of nil
stack traceback:
user:/AddOns/SALTI/SALTI.lua:648: in function 'CreateSettingsWindow'
|caaaaaa<Locals> LAM = [table:1]{panelId = 101} </Locals>|r
user:/AddOns/SALTI/SALTI.lua:851: in function 'OnAddonLoaded'
|caaaaaa<Locals> eventCode = 65536, addonName = "SALTI" </Locals>|r
Delete folders and reinstall=(

UPD: deleting SavedVariables helped
Last edited by stribog : 03/27/20 at 09:33 PM.
Report comment to moderator  
Reply With Quote
Unread 03/27/20, 06:06 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Re: Errors...

If receiving 'nil' errors after the update:

Exit the game completely.
  • Delete the \Elder Scrolls Online\live\AddOns\LibPhinixFunctions folder completely.
  • Delete the \Elder Scrolls Online\live\AddOns\SALTI folder completely.
  • Reinstall SALTI, LibPhinixFunctions, and LibAddonMenu-2.0.
Most of these errors are related to the addon not finding the functions it needs in LibPhinixFunctions so if that is not updated it is likely the cause.
Report comment to moderator  
Reply With Quote
Unread 03/27/20, 05:28 PM  
Shadowshire

Forum posts: 1
File comments: 402
Uploads: 0
Arrow SALTI 1.35 UI Error

After installing the most recent release of SALTI, the following UI Error was displayed after I used the key-bind to display the SALTI output on the HUD:

Code:
user:/AddOns/SALTI/SALTI.lua:301: function expected instead of nil
stack traceback:
user:/AddOns/SALTI/SALTI.lua:301: in function 'MoneyTooltip'
|caaaaaa<Locals> opt = 1, numTrackedChars = 6 </Locals>|r

user:/AddOns/SALTI/SALTI.lua:598: in function 'ShowGold'
|caaaaaa<Locals> control = ud </Locals>|r

user:/AddOns/SALTI/SALTI.lua:631: in function 'SALTI:CheckTracking'
|caaaaaa<Locals> self = ud, opt = 10 </Locals>|r

:1: in function '(main chunk)'
|caaaaaa<Locals> keybind = "TOGGLE_SALTI_GOLD" </Locals>|r
Last edited by Shadowshire : 03/27/20 at 05:30 PM.
Report comment to moderator  
Reply With Quote
Unread 03/27/20, 02:28 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

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

Thanks for being patient!
Version 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.
UPDATE: Hi all! Currently living on $576 a month while taking care of my 75 year old father as he self isolates through this pandemic, but thankfully still here doing stuff! If anyone can spare some extra coin for disinfectant and other supplies I would greatly appreciate it! ESO addon love!



Last edited by Phinix : 03/27/20 at 04:02 PM.
Report comment to moderator  
Reply With Quote
Unread 03/11/20, 11:01 AM  
Marazota
AddOn Author - Click to view AddOns

Forum posts: 257
File comments: 1517
Uploads: 2
reloadui while receiving currency can lead to this
did it middle fight in cyro

Report comment to moderator  
Reply With Quote
Unread 08/23/19, 02:44 PM  
Austinseph1

Forum posts: 0
File comments: 25
Uploads: 0
Originally Posted by wolfstar
With undaunted keys now basically being currency, will SALTI start tracking that as well?
I thought the same thing, this would be nice to have.
Report comment to moderator  
Reply With Quote
Unread 08/20/19, 02:25 AM  
wolfstar

Forum posts: 0
File comments: 251
Uploads: 0
With undaunted keys now basically being currency, will SALTI start tracking that as well?
Report comment to moderator  
Reply With Quote
Unread 05/21/19, 05:31 AM  
FWSWBN
 
FWSWBN's Avatar

Forum posts: 17
File comments: 489
Uploads: 0
hi Phinix

small cosmetic info.... icon for necros not showing up (only a white square).

only for info... if you have time you can fix it


thx for your great addons, i use many of them and i like them



EDIT:
THX for quick fix
Last edited by FWSWBN : 05/21/19 at 09:46 AM.
Report comment to moderator  
Reply With Quote
Unread 02/17/19, 07:22 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Event tickets...

Originally Posted by wolfstar
The event tickets are not being updated in real time though. I'm having to go to my currency tab to get the actual count, and from there the SALTI table updates. I think I noticed this during the New Life Festival also, but it was almost over by that point and didn't find it as annoying as during this this event.
Should be fixed in the latest version.

Originally Posted by Alexandriae
Hi there! Love your addon
If I may suggest something, could you add a "lock current window position" option in settings? I didn't like the default window position so I switched on the "use independent position" option to move it in place, but I don't want to accidentally move it again lol.
Since you can only see the currency totals when you have your mouse over the money icon you won't be able to move it accidentally as moving your mouse away to move it makes it go away. The only way you could move it by accident is if you manually showed it using chat commands and left it on the screen at all times.
Last edited by Phinix : 02/17/19 at 07:24 PM.
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.