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,211
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/17/17, 03:26 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Love it!
Thank you
Report comment to moderator  
Reply With Quote
Unread 01/17/17, 02:19 PM  
barrrt

Forum posts: 0
File comments: 4
Uploads: 0
I was just wondering how much gold I have between my 9 toons in prep for Homestead... now I know without having to worry about doing math myself :-) Thank you!
Report comment to moderator  
Reply With Quote
Unread 05/22/17, 03:11 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
LUA error

Code:
2017-05-22T17:06:16.549-05:00 |cff0000Lua Error: user:/AddOns/SALTI/SALTI.lua:175: attempt to index a nil value
stack traceback:
	user:/AddOns/SALTI/SALTI.lua:175: in function 'MoneyTooltip'
	user:/AddOns/SALTI/SALTI.lua:350: in function 'ZO_CurrencyTemplate_OnMouseEnter'
	ItemTooltipSellPriceCurrency_MouseEnter:3: in function '(main chunk)'|r
2017-05-22T17:06:22.532-05:00 |cff0000Lua Error: user:/AddOns/SALTI/SALTI.lua:175: attempt to index a nil value
stack traceback:
	user:/AddOns/SALTI/SALTI.lua:175: in function 'MoneyTooltip'
	user:/AddOns/SALTI/SALTI.lua:350: in function 'ZO_CurrencyTemplate_OnMouseEnter'
	ItemTooltipSellPriceCurrency_MouseEnter:3: in function '(main chunk)'|r
Popping since update of game

Thank you
Report comment to moderator  
Reply With Quote
Unread 05/23/17, 09:59 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
@Anceane: Fixed.
Report comment to moderator  
Reply With Quote
Unread 05/24/17, 02:24 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Originally Posted by Phinix
@Anceane: Fixed.

Yay!! thank you
Report comment to moderator  
Reply With Quote
Unread 08/14/17, 02:02 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
No LUA error but addon does not update ap and tel var currency

So i tested this morning by removing all my ap from all characters and putting them in bank.

The retrait was well updated, but the bank shows 0 too
Same for Tel var

I deleted after that my savedvar, but it still does the same.


Thank you
Report comment to moderator  
Reply With Quote
Unread 08/15/17, 05:06 PM  
FWSWBN
 
FWSWBN's Avatar

Forum posts: 17
File comments: 490
Uploads: 0
Works nice, no errors found.

Put gold, telvar and ap in bank and it shows up.
only the voucher dont show up.

small cosmetic bug (i personally dont like it so because reading is much more difficult).

it is possible that you can add an option to move this window or let it open left side of the inventory.

so it opens over the inventory and its a little bit hart to read (some numbers i cant read, because other numbers are over them).

maybe you can do this, it would be very nice
Report comment to moderator  
Reply With Quote
Unread 08/15/17, 07:16 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
not working, pictures posted

Total of my AP all on one character


Deposit of 1687630 AP into the bank, keeping 1 AP on character

Consultation of my currency : i can see the gold, Telvar, but 0 ap .... when i should see 1687630 ap


I deleted my old savedvar, started new, settings are not saved.
While in game, i opend the savedvar, the amount of AP is well shown. Once i log off, reloadui or quit, the amount of AP vanish from the saved variable.
Report comment to moderator  
Reply With Quote
Unread 08/22/17, 08:26 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Banking AP

@Anceane

Banking of AP was a recently added feature. The latest version 1.0.4 supports this now, once it has been approved (already uploaded).
Report comment to moderator  
Reply With Quote
Unread 08/23/17, 03:09 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Writ Voucher support plus...

I added Writ Voucher support in the latest version. Also, there is a new option "Use Independent Postition" in the Addon Settings. When enabled, the location of the popup 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.
Last edited by Phinix : 08/23/17 at 03:13 AM.
Report comment to moderator  
Reply With Quote
Unread 08/23/17, 06:35 AM  
FWSWBN
 
FWSWBN's Avatar

Forum posts: 17
File comments: 490
Uploads: 0
Re: Writ Voucher support plus...

Originally Posted by Phinix
I added Writ Voucher support in the latest version. Also, there is a new option "Use Independent Postition" in the Addon Settings. When enabled, the location of the popup 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.
great work, thx
Report comment to moderator  
Reply With Quote
Unread 08/23/17, 08:38 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
THank you!! love this little addon
Report comment to moderator  
Reply With Quote
Unread 11/26/17, 02:25 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Account-wide currency...

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.
Report comment to moderator  
Reply With Quote
Unread 11/27/17, 12:25 PM  
wolfstar

Forum posts: 0
File comments: 252
Uploads: 0
! I love that I'll be able to see how many transmute stones I have without going to a station!
Report comment to moderator  
Reply With Quote
Unread 02/17/18, 02:07 PM  
FWSWBN
 
FWSWBN's Avatar

Forum posts: 17
File comments: 490
Uploads: 0
Hi,

i love this addon, until the latest patch.
now you can have 15 chars and the addon dont like it.


(german client)

i delete the addon, log in in every char and the last char get this error message.

maybe you can fix it it would be very nice


EDIT:
sadly no answers, nothing
Last edited by FWSWBN : 03/17/18 at 10:06 AM.
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.