Download
(104 Kb)
Download
Updated: 05/20/19 10:43 AM
Updated:05/20/19 10:43 AM
Created:03/05/19 05:46 PM
Monthly downloads:94
Total downloads:14,606
Favorites:28
MD5:
Set Tracker - UPDATED  Popular! (More than 5000 hits)
Version: 2.0.7
by: qbit [More]
3/25/2021:

I sent the following to someone that emailed me directly. I appreciate their interest in the addon and wherewithal to track down how to contact me directly. The people interested in this addon should know my quoted response below. The addon is open source by default since it is just a LUA script. Feel free to fork it. The addon should no longer be necessary after the "sticker book" or whatever they called it was released.

No, I do not play ESO anymore. I should probably post a note to the discussion thread on the forum there. I stopped playing when they stupidly disabled the API Master Merchant required to download sales data regarding guild stores. My "end game" was playing the economy, and I was in five different trade guilds. The API disabling ended my stay in ESO. It took away what I enjoyed, and I don't care if they re-enabled it at this point. All that said, the new "Sticker Book" should remove the need to use this addon. This addon was for the purpose of limited inventory and set tracking. You no longer have to do that after the new "Sticker Book" implementation (and I'll be honest, it made me consider playing again; but MMOs are toxic in my life). Yes, I still read the ESO forums despite being banned because I'm an asshole. Good luck and stay safe. I'm going to logon and copy/paste this to the thread.




ORIGINAL ADDON by Elephant: https://www.esoui.com/downloads/info...etTracker.html

The original addon is no longer being maintained. Future bug fixes and features will go into this one.

All credit for this addon goes to the original author Elephant.




To-do list (in no particular order):

-Make addon remove inventory holdings associated with deleted characters. It was not previously doing this with guild banks.

-Fix free bag space display feature. It doesn't appear to work despite loading proper data into tables.

-Check compatibility of all existing features with multiple accounts (I don't currently have a second account).

-Continued checks with compatibility with Inventory Grid View addon. It appears to be ignoring the tracked set icon offset. Which is fine, because it is displayed in a good place and doesn't conflict with CraftStore need-to-research icon placement. I don't use Inventory Grid View.

-Compatibility checks with FCO ItemSaver addon. I don't use this addon.

-Sort item holdings list.

-Add drop-down menu with preview to choose custom icon textures instead of manually entering file names.

-Add options to adjust icon offset in different inventory views (guild store, decon stations, etc.). The item icons are displayed at different locations for these lists, so a user might want to use different set tracker icon offsets.

-Add vertical icon offset slider and icon size adjustment.

-Allow crafted sets to be categorized/tracked and remove option for "track crafted sets".

-Add button in addon settings to delete the item holding inventory data from the SavedVars (will require the user to logon to each account/character, revist homes to populate home storage, revisit guild banks, etc.). This is to fix bad item holding data for deleted characters, guild banks they are no longer a member of, etc. without having to delete the entire SavedVars file.

-Add button in each tracked category option (where you can define a name and color) that clears all tracked sets for that category. This would be a QoL improvement for when these are adjusted and you want to clear the tracked sets for a fresh start without deleting SavedVars file.

-Enable the commented out code that gives an option for alpha transparency on the SetTracker holdings display window. This may have problems and is why it was disabled.

-Update localization tables to include any missing strings and make them consistent with en.lua and get translations for those if necessary. Also add localizations for the new addon setting menu options described above.

-Figure out why set tracking icons are not shown in item tooltip but are shown in popup item data.

-Some way to track needed traits/weights and highlight them in the inventory window. So when you're fumbling around in bags in those moments after a dungeon/trial, it's easier to see what you want to keep and what to trade without reviewing the item holdings list.
2.0.7
-API bump for Elsweyr.

2.0.6
-Items now sort in the holdings list output for easier review and comparison of holdings.

2.0.5
-Fixed decon and guild store tracked icon offset functionality to use the settings slider in SetTracker options.
-Added function that will remove guild bank items from the inventory lists when you disable the feature to track guild banks.

2.0.4
-Added optional dependency for CustomQualityColors addon. This addon needs to load before SetTracker for it to be compatible with tooltips.

2.0.3
-Updated embedded libraries and corrected issue with addon settings panel.

2.0.2
-API bump for Wrathstone.
-Corrected functions for new guild store API.
Archived Files (5)
File Name
Version
Size
Uploader
Date
2.0.6
104kB
qbit
05/11/19 09:59 AM
2.0.5
103kB
qbit
05/05/19 02:44 AM
2.0.4
103kB
qbit
05/03/19 07:46 PM
2.0.3
106kB
qbit
05/03/19 10:36 AM
2.0.2
104kB
qbit
03/05/19 06:46 PM


Post A Reply Comment Options
Unread 04/09/20, 11:22 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4971
File comments: 6038
Uploads: 78
I've worked on a fixed SetTracker.txt and calls in the code for you already, will post it here later.
It will also remove the false ZO_PreHook to the inventory context menu and use LibCustomMenu instead.
And it fixes a problem with function SetTracker.GetMaxTrackStates(): If someone called this before SetTracker had loaded it's SavedVariables it crashed. SVs will be loaded now if not already done, if someone access this global function.

Edit:
SetTracker 2.0.8 without libraries but imperformant and SavedVAriables with text instead uniqueIds

Needs the following libraries installed seperately with their newest versions:
LibAddonMenu-2.0
LibCustomMenu
LibMsgWin-1.0


Changelog:
Code:
	2.0.8	-API bump for Greymoor - Baertram
			-Removed embedded old libraries
			-Added dependencies properly to SetTracker.txt (including newest vesion checks via >=)
			-Removed LibStub calls and exchanged them with calls to the librarie's global variables
			-Fixed LibCustomMenu call to properly use LibCustomMenu:RegisterContextMenu instead of meanwhile outdated ZO_PreHook to ZO_InventorySlot_ShowContextMenu

Edit:
With Set Tracker enabled my inventory lags on each open or filter change a lot! There seems to be some code which should be optimized...
Last edited by Baertram : 04/17/20 at 09:58 AM.
Report comment to moderator  
Reply With Quote
Unread 04/09/20, 10:55 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4971
File comments: 6038
Uploads: 78
Libraries need fix!
Please remove the embedded libraries and let the users install them as standalone versions!
Or if you include them include them ALL with their txt files!!!
Do NOT load the libraries hardcoded anymore from SetTracker.txt.
The txt files will be loaded by the game' addon manager properly and he assures that only the newest version will be loaded, no matter if it's inside your addon's folder or directly in the AddOns or in any other addon's subfolder (as long as they also use their own txt files!).

Wrong:
Code:
Libs/LibAddonMneu-2.0/LibAddonMenu2-0.lua
...
Hardcoded lines for libraries which got their own txt file

Correct:
Code:
## APIVersion: 100030 100031
## Version: 2.0.8
## AddOnVersion: 020080
## Title: |cFFFFB0Set Tracker|r
## Author: @Elephant42, updated by @q.bit
## SavedVariables: ST_SavedVariables
## DependsOn: LibMsgWin-1.0>=9 LibAddonMenu-2.0>=28 LibCustomMenu>=691
## OptionalDependsOn: CustomQualityColors

locales/en.lua
locales/$(language).lua
SetTracker.lua
SetTracker.xml
Bindings.xml
Include the libs in the libs subfolder but in total (extract their whole zip archive AND include ALL files and folders of the librraies in total, especially the txt files of the libs).

If a lib does not provide a txt file you can call it hardcoded from your addon's txt file.

LibStub is obsolete
Please refrain from using LibStub any longer. All major librraies can be called without it today.
Libs provide the ## AddOnVersion: tag in their own txt file which assure that only the newest lib version will be loaded.
And they provide a global variable like LibAddonMenu2 which can be used instead of using LibStub to call it. So please change your code to not use LibStub anymore.
Last edited by Baertram : 04/09/20 at 11:22 AM.
Report comment to moderator  
Reply With Quote
Unread 03/25/20, 03:09 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4971
File comments: 6038
Uploads: 78
Hey qbit,

Please read this and change your context menu on the inventory rows to use LibCustomMenu properly instead to assure all addons can work properly together and to benefit from LibCustomMenu's code (assures there won#t be any insecure error messages due to inventory context menu "hooks"):
https://www.esoui.com/forums/showthread.php?t=9052

Many thanks!
Report comment to moderator  
Reply With Quote
Unread 11/18/19, 07:11 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4971
File comments: 6038
Uploads: 78
Could you PLEASE change the SavedVariables from the very very old "character name" format, which is obviously not rename save, to the character ID settings!
Just renamed a few chars to welcome them to the family name and noticed that your addon is still using this outdated method of SavedVariable saving, unfortunately.

Old/outdated since years/not rename save - Character name:
Code:
ZO_SavedVars:New
New/rename save - Character ID:
ZO_SavedVars:NewCharacterId
-> https://wiki.esoui.com/AddOn_Quick_Q...cal_machine.3F

Both got the same parameters so you just need to exchange the function name!

Should be also easy to migrate the settings, here is an example function how to get the character IDs and names so you can check old SV table and migrate to the new one ONCE:
Lua Code:
  1. --Function to get all characters of the account, ID and name.
  2. --Returns a table with 2 possible variants, either the character ID is key and the name is the value,
  3. --or vice versa.
  4. --Parameter boolean, keyIsCharName:
  5. -->True: the key of the returned table is the character name
  6. -->False: the key of the returned table is the unique cahracter ID (standard)
  7. local function getCharactersOfAccount(keyIsCharName)
  8.     keyIsCharName = keyIsCharName or false
  9.     local charactersOfAccount
  10.     --Check all the characters of the account
  11.     for i = 1, GetNumCharacters() do
  12.         local name, _, _, _, _, _, characterId = GetCharacterInfo(i)
  13.         local charName = zo_strformat(SI_UNIT_NAME, name)
  14.         if characterId ~= nil and charName ~= "" then
  15.             if charactersOfAccount == nil then charactersOfAccount = {} end
  16.             if keyIsCharName then
  17.                 charactersOfAccount[charName]   = characterId
  18.             else
  19.                 charactersOfAccount[characterId]= charName
  20.             end
  21.         end
  22.     end
  23.     return charactersOfAccount
  24. end

Additional SavedVariables info:
https://wiki.esoui.com/Circonians_Sa...ables_Tutorial

Thank you very very much qbit!
Report comment to moderator  
Reply With Quote
Unread 07/19/19, 11:27 AM  
Tadian

Forum posts: 0
File comments: 5
Uploads: 0
Is it possible to scale the icon for tracking? Mostly the second tracking option. It's barely visible most of the time.
Last edited by Tadian : 07/19/19 at 11:28 AM.
Report comment to moderator  
Reply With Quote
Unread 07/17/19, 01:11 PM  
Draekhost

Forum posts: 0
File comments: 8
Uploads: 0
Small Lua Error

Hello,

When I open my guild store, I get the following Lua Error:

Code:
user:/AddOns/SetTracker/SetTracker.lua:
2352: attempt to index a nil value
stack traceback:
user:/AddOns/SetTracker/SetTracker.lua:
2352: in function 'hookTradingList'
I'm running AwesomeGuildStore, CraftStore, Master Merchant, TTC, and a bunch of others that I don't think are related.

Just in case, here are a few others I'm running: Inventory Insight, Personal Assistant, Votan's Search Box, Research Assistant, Potion Maker, MultiCraft, Lui Extended, Itemization Browser, Inventory Grid View, Azurah, Advanced Filters, and a bunch more that are mostly combat/quest focused.
Report comment to moderator  
Reply With Quote
Unread 06/28/19, 10:46 AM  
qbit
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
Originally Posted by krueo
Hey guys,

first things first: This addon is a must. So, many thanks to you qbit for picking it up!

But how can I add more Set Categories for tracking behind the first five?
I have not found any Max Tracks Option in the ingame menu, nor in the code.
Everything behind the five initial ones is greyed out in the user interface.

Thanks for help!
There is an option to put the Set Tracker categories in a submenu (pops out when you hover mouse over it). You need to enable that to get more than 5 categories. This is so your right-click menu doesn't get too big.
Report comment to moderator  
Reply With Quote
Unread 06/28/19, 03:49 AM  
krueo

Forum posts: 0
File comments: 1
Uploads: 0
Hey guys,

first things first: This addon is a must. So, many thanks to you qbit for picking it up!

But how can I add more Set Categories for tracking behind the first five?
I have not found any Max Tracks Option in the ingame menu, nor in the code.
Everything behind the five initial ones is greyed out in the user interface.

Thanks for help!
Report comment to moderator  
Reply With Quote
Unread 06/25/19, 10:27 PM  
qbit
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
Originally Posted by phpones
Hey man, thanks for taking up the mod, Set Tracker is a must. I hope you just don't abandon it shortly after taking it up because ZOS is trying improvements on their side (as a professional AAA game developer, I can relate with them).

Anyway, just some suggestions for a future update:
1) Your icon position range is too short, it doesn't allow the full range of inventory window. 525 should cover the full range and you let your user decide what he wants.
Code:
getOptionSlider(SI_SETTRK_SETTINGS_NAME18, "IconOffsetBackpack", 0, 525, 1, nil, SI_SETTRK_SETTINGS_TT18, nil, nil),
2) Your default icon position is in the middle of text. To avoid clashes with other important addons, I suggest default by the end, at 465. Another position that might work is between equipment icon and text, but it gets very tight (that would be at 88). But 465 is the best one in my opinion.
Code:
IconOffsetBackpack	= 465,
Keep doing the good work and thanks for the mod.
I agree the default icon offset is off. One of those things I left in from the previous addon, as I'm not trying to change much. I will implement these changes in the next few days and test and upload an update. Thanks for the code!

I have started playing again. I can do an "mm /missing" and get the sales data. Guess that uses a different API path.
Report comment to moderator  
Reply With Quote
Unread 06/24/19, 08:26 AM  
phpones

Forum posts: 3
File comments: 47
Uploads: 0
Hey man, thanks for taking up the mod, Set Tracker is a must. I hope you just don't abandon it shortly after taking it up because ZOS is trying improvements on their side (as a professional AAA game developer, I can relate with them).

Anyway, just some suggestions for a future update:
1) Your icon position range is too short, it doesn't allow the full range of inventory window. 525 should cover the full range and you let your user decide what he wants.
Code:
getOptionSlider(SI_SETTRK_SETTINGS_NAME18, "IconOffsetBackpack", 0, 525, 1, nil, SI_SETTRK_SETTINGS_TT18, nil, nil),
2) Your default icon position is in the middle of text. To avoid clashes with other important addons, I suggest default by the end, at 465. Another position that might work is between equipment icon and text, but it gets very tight (that would be at 88). But 465 is the best one in my opinion.
Code:
IconOffsetBackpack	= 465,
Keep doing the good work and thanks for the mod.
Last edited by phpones : 06/24/19 at 08:27 AM.
Report comment to moderator  
Reply With Quote
Unread 06/13/19, 04:39 PM  
qbit
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
Taking a break

I'm unsubscribing from ESO+ and will no longer play the game until they re-enable guild history API functions. They're a very important part of my experience as a trader, and I completely disagree with their course of action on this one. I have a year of sales data from four large trading guilds that will now have a gap in it. Quite a disappointment to me they went this route. I'll be monitoring the forums daily (as usual, for the entertainment).

I can't imagine being a GM of a trading guild right now.
Report comment to moderator  
Reply With Quote
Unread 05/20/19, 11:34 AM  
qbit
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
Update 2.0.7 changes

2.0.7
-API bump for Elsweyr.


I never got a chance to test on the PTS, but I'm not seeing any issues with the Elsweyr update. I wasn't anticipating any.

I've had to take a break from playing and working on this addon due to some life responsibilities I need to address. I'm only logging in now every few days to download sales data and pay guild dues. I'm not even doing writs. Being unemployed for six months and doing paperwork to keep the house has taken a toll (especially the latter; it is an obscene number of documents). I should be able to start working on it again in a couple or three weeks. I don't intend to quit progressing in ESO or working on this addon.

I'm still familiarizing myself with Lua and addon development in this game. I'm used to using a debugger where I can step through code and watch variables. I doubt I can have that robust kind of debugging in ESO, but the DevTools addon has been a lot of help. I still have to do a lot of /reloadui and look at the crash dumps. This is something I need to do more research into. This is slowing development quite a bit.

I really like the new logon/character screen music in the Elsweyr update. Much better to me than the previous music. I think it will be much nicer to wake to after falling asleep at the keyboard, as I often do.

If anyone wants to gift me Elsweyr, send me a PM. It would be much appreciated. I don't need it for this addon development, but progressing through the new content would be enjoyable.

I haven't got any scripting errors or odd behavior with Set Tracker and the addons I have installed. Post here if there are issues you encounter so I can try to reproduce them. These are usually quick fixes as opposed to adding new features.

Happy gaming, everyone!
Report comment to moderator  
Reply With Quote
Unread 05/19/19, 05:58 AM  
gimmy77
 
gimmy77's Avatar

Forum posts: 8
File comments: 14
Uploads: 0
This addon is very useful, I hope there are possibilities to fix and expand ....
Report comment to moderator  
Reply With Quote
Unread 05/17/19, 03:42 PM  
Dropastone

Forum posts: 0
File comments: 40
Uploads: 0
Re: Re: Can't tracks sets anymore?

Hi, I disabled all addons except settracker and I got the same problem. So, I did a complete uninstall then reinstalled and I no longer have the problem.

Thanks.


Originally Posted by qbit
Originally Posted by Dropastone




Set tracker icons are greyed out, they're normally red. Also, the context menu doesn't give the option to track sets anymore. That's a right click on the Girdle of the Eternal Yokeda. No option to track set?
Everything works fine for me. See screenshot in spoiler below. Disable all of your addons except SetTracker and check if it's working right. Then start re-enabling them one at a time to track down the conflict. Start with any that modify that context menu. Let me know what you find. You can also try to use one of the previous versions that are posted in the Other Files tab. I think there is a conflict with another addon, though.

Warning: Spoiler
Report comment to moderator  
Reply With Quote
Unread 05/16/19, 10:02 AM  
qbit
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
Re: Can't tracks sets anymore?

Originally Posted by Dropastone




Set tracker icons are greyed out, they're normally red. Also, the context menu doesn't give the option to track sets anymore. That's a right click on the Girdle of the Eternal Yokeda. No option to track set?
Everything works fine for me. See screenshot in spoiler below. Disable all of your addons except SetTracker and check if it's working right. Then start re-enabling them one at a time to track down the conflict. Start with any that modify that context menu. Let me know what you find. You can also try to use one of the previous versions that are posted in the Other Files tab. I think there is a conflict with another addon, though.

Warning: Spoiler
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: