Download
(36 Kb)
Download
Updated: 08/28/23 04:18 PM
Pictures
File Info
Compatibility:
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Lost Depths (8.1.5)
High Isle (8.0.0)
Updated:08/28/23 04:18 PM
Created:04/03/14 12:57 AM
Monthly downloads:3,437
Total downloads:1,658,153
Favorites:1,950
MD5:
Research Assistant (Find your researchable items)  Popular! (More than 5000 hits)
Version: 0.9.6.1
by: Baertram, ingeniousclown, katkat42, Randactyl
Removed libraries. Please install the following needed libraries as standalone version:
LibResearch
LibAddonMenu-2.0
LibAddonMenu-2.0 - OrderListBox widget


A simple addon that adds a little icon to the list view. The icon only shows up for weapons and armor, and will be ORANGE if you do not have the trait researched. If the icon is GREY, that means you don't need to hold onto it for research! If you have duplicate traits, they will all be YELLOW except for the lowest quality item, which will be ORANGE.

The TEAL interwoven circle icon signifies INTRICATE, and the YELLOW gold pieces icon signified ORNATE.

Features:
  • Toggle-able crafting vocations so you only see the icons for items you really care about.
  • Customizable colors
  • Choose between two different main icons for your Research Assistant.
  • Ability to track ORNATE and INTRICATE items, and the ability to track them regardless of what crafting vocations you have toggled on or off.
  • Cross-character research tracking with settings independent to each character! Now you can see at a glance what gear is important to your main crafting character(s)! (You must log in to a character to make the character appear in the dropdown box.)
  • Optionally select different characters for light and medium armor, and for weaponsmithing and armorsmithing.
  • Optionally change the order of the inventory "priority": An order list shows the inventory that will be used as preferred "bag to take the researchable items from" at the top, the 2nd preferred below, and so on. Reload the UI after changing this order please!

How does RA calculate if the item is researchable or a duplicate (also researchable but another item with the same trait should be prefered for research)?

ResearchAssistant builds a kind of preference value on each item with a trait and compares the following things:
-quality
-item level
-Set item or not
-where is it (bank, bag, guild bank, house bank) -> This order can be changed in the settings
-slotindex in the bag

All together produce an integer number where the lowest number is the one to use for reasearch (red icon) and all others with a higher number and same trait will be duplicates (yellow).

As the bag where the item lays plays a BIG role here moving it between bags can change this preference value in total and make items marked for research -> duplicate now e.g.

The order of "priority" in the bags is (where lower = will be priorized for research)
So moving items from the bank (which is the best place to put your items for research obviously as all chars can access it!) to your bag will raise the score and therefor the item might become a duplicate now.
You are able to change this order of bags/inventories in the settings.


For developers:
If you used the code that used to be here, please make your new add-ons use libResearch instead!

Function to check if an item (bagId, slotIndex) is researchable with a charcter which is set inside teh ReseearchAssistant settings for the item's crafting type.
Will return true if it is researchable for that char or false if not (or item is not researchable at all).

Lua Code:
  1. local isresearchableByCharFromRAsettings = false
  2. if ResearchAssistant ~= nil and ResearchAssistant.IsItemResearchableWithSettingsCharacter ~= nil then
  3.    isresearchableByCharFromRAsettings = ResearchAssistant.IsItemResearchableWithSettingsCharacter(bagId, slotIndex)
  4. end

If you use the German or French clients, and you see untranslated text, please feel free to contribute a translation on the Comments page!


If you need something to stop you from accidentally destroying your gear, try my (Randactyl)Item Saver add-on.
As an alternative you can also try this addon of Baertram:
FCO ItemSaver


People have been asking me a lot for a sort of grid or print-out for known traits. It was always something I wanted to add but I have never had the time. Stormknight, however, has come out with a wonderful tool called AI Research Grid. You should give it a try if this is a feature you want!


Thanks to these people:
tejón for improving the look and feel and for providing the basis for the algorithm for the YELLOW/ORANGE icons!
Tonyleila and Iphitos for providing German translations!
Ykses, Flagrick, and svan for providing French translations!
Kwisatz for providing Spanish translations!
Carter_DC, for finding and reporting a rare but annoying bug!


Note: This add-on only covers research lines for the BIG THREE (meanwhile FOUR) crafting vocations. This means I will not be implementing known recipes in this add-on. However, if this is something you want, you should give Wobin a visit and download his Sous Chef addon!

If you like what I'm doing feel free to donate something or contact me on the EU servers: @Baertram

Research Assistant at GitHub
https://github.com/Baertram/ResearchAssistant
Important
Update from version 0.9.4.7 to 0.9.4.8
!BACKUP YOUR OLD SAVEDVARIABLES IF YOU WANT TO KEEP THEM BEFORE LOGIN AND BEFORE UPDATING THIS ADDON!


Changelog
0.9.6.1 - Baertram - 2023-08-28
Fixed API versions of dependencies


0.9.6.0 - Baertram - 2023-08-28
Updated Spanish translation - Thanks to Kigrup

0.9.5.9 - Baertram - 2023-03-14
Updated API and dependencies
Added Chinese translation - Thanks to LoongKeiZ

0.9.5.8 - Baertram - 2022-09-18
Updated API and dependencies
Fixed nil error at research item preference value comparison scanner (number < boolean)

0.9.5.7 - Baertram - 2022-06-19
Updated API and dependencies
Fixed error with missing translations

0.9.5.6 - Baertram - 2022-05-26
Research Assistant 0.9.5.6
-Updated API version
-Updated dependency versions
-> Attention: Added new dependency "LibAddonMenuorderListBox widget"
-Added order list box to change the order of the priorized "where do we take the research items from" bag. Default order is bank>bag>guild bank>house bank.
If you change this list (via drag & drop or mark item and use the move buttons at the right edge of the order widget) reload the UI afterwards please!
-Added support for Giladil the ragpicker, thanks to all of you who have sent in GitHub pull requests or wrote me a PM with your code!
-Tried to fix character selection box showing numbers instead of character names -> If this still happens please contact meh and explain me how I'm able to rebuild this as I was not actually able to get that error (tested everything that is possible, even character renaming!).
A good advice for all addons is: Please logout or reload the UI properly after changing guilds.
-Translation fixes for French, thanks lexo1000

0.9.5.5 - Baertram - 2022-02-15
Updated API for Deadlands + PTS
Fixed item weight tooltip not showing the text
Fixed item protection routines to properly check all with logical AND conjunctions (FCOIS marker icon, ZOs lock, set item, set item max level)

0.9.5.4 - Baertram - 2021-11-03
Updated API for Deadlands
Updated needed dependency versions

0.9.5.3 - Baertram - 2021-07-27
Removed debug messages

0.9.5.2 - Baertram - 2021-07-23
Fix for non-supported traits and trait textures

0.9.5.1 - Baertram - 2021-07-23
-Updated dependency versions
-Added new options for tooltips (show armor/weapon type, show armor weight)
-Recoded the tooltips to fix their update in inventories
-Changed the tooltips to show the crafting research character name at the top within []. If the crafting is not tracked and the marker icon is shown (due to the new protected setting e.g.) it will show "-not tracked-" as character name
-Added new options for protected items (show marker icon and tooltip)
-Added RU translations (only a few so far for the tooltips)
-Updated some other translations

0.9.5.0 - Baertram - 2021-07-21
-Updated API version
-Fixed boolean/number comparison error for e.g. bank researchable items

0.9.4.9 - Baertram
To address the problems for users with multiple accounts and/or characters:

Added setting "Use logged in char for all researches" -> Only works if setting "Account-wide same research characters" is disabled!
If you set this setting all characters for research will always be the currently logged in user, automatically upon login.
The popup asking you to choose a character will be gone then AFTER you have enabled this setting.

0.9.4.8 - Baertram
You need to login with each character at least once to scan it's researched data again.

Updated API version

Changed:
-SavedVariables will be saved on each server differently now
Please logon with all your cahracters at least once to let it scan their traits!
If you have not chosen a research character in the settings the addon will show you a popup remembering you to choose one.

Improved:
-Standard: Account-wide research character settings (or different for each cahracter if you like and got the need to)
-Characters will be saved with heir rename-safe unique characterID now
-Character names will show the class icon and colour in the dropdown boxes now. The boxes are sorted by the classes now.
-Speed up of item scanning
-Set items should be at a lower "research priority" than non-set items now
-Tooltips will show the character names you have researched etc. the trait with in several lines now.
-Tooltips will show you if you have chosen a character as researcher but haven't logged it in yet

Added:
-ZOs locked / FCOItemSaver locked items will be ignored on researchable item scans etc. (except FCOItemSaver items marked for research if the setting to allow research of them is enabled in the FCOIS settings).
Many thanks for bugfixing, error testing and ideas to: Nimble

0.9.4.7 - Baertram
-Updated API version
-Fixed: Scanning of bags during combat was disabled. It will scan after the combat now
-Added event filtering so scans are not started due to duarability or locked item changes, only for real looted item changes

0.9.4.6 - Baertram
Fixed: removed debug chat output

0.9.4.5 - Baertram
-Raised API
-Removed library "LibResearch". You need to install this as standalone version now from this link:
https://www.esoui.com/downloads/info517-LibResearch.html
-Added new function:
Code:
--Returns true if the given item at bag and slot can be researched with the the character set in the
--ResearchAssistant settings for the crafting type.
--If the item is a researchable the return value will be true
--If the item is a duplicate the return value will be "duplicate".
--Otherwise it returns false!
function ResearchAssistant.IsItemResearchableOrDuplicateWithSettingsCharacter(bagId, slotIndex)
0.9.4.4 - Baertram
---Removed libraries. Please install the following needed libraries as standalone version: LibStub, LibAddonMenu-2.0
- Updated API for Wrathstone
- Fixed changed control and function names

0.9.4.3 - Baertram
- updated API version to "Summerset"
- updated LibAddonMenu to version 2.0r26
- fixed to support Jewelry Crafting
- added global function for other addons to check if an item can be researched by the character you have setup in the ResearchAssistant settings for the crafting type:

boolean _isresearchableByCharFromRAsettings_ = ResearchAssistant.IsItemResearchableWithSettingsCharacter(bagId, slotIndex)



0.9.4.2 - Randactyl
- updated LibAddonMenu to version 2.0r19
- updated API version

0.9.4.1 - Randactyl
- updated LibStub to version 4
- updated LibAddonMenu to version 2.0r18
- updated API version

0.9.4
[missing changelog]

0.9.3:
- Updated to API 100011 (Update 6).

0.9.2:
- Improved German translations, thanks to Iphitos!
- Fixed a formatting issue with the tooltips
- Tweaked the icon's position
- Fixed a minor issue with the color picker code -- thanks Carter_DC!

0.9.1:
-Updated to API 100010 (Update 5).

0.9.0:
- Added a few more translations. Thank you svan and Flagrick!
- Guild store support!

0.8.10:
-Yet yet another bug fix.

0.8.9:
-Yet another bug fix.

0.8.8:
-Another bug fix.

0.8.7:
-Major bug fix.

0.8.6:
-Fixed a bug with usage of new libResearch.

0.8.5:
-Updated to API 100009 (Update 4).
-New version of libResearch.

0.8.4:
- Made mouseover tooltips more useful: they now display the names of all characters
that know the trait of the item shown
- Fixed a bug that only happened with new characters who had never held a traited
item before.
- Added French translations -- thanks Flagrick!
- removed extraneous checkbox from options menu

v0.8.3a:
- Includes the right version of libResearch

v0.8.3:
- Updated to API 100008 (Update 3).

v0.8.2:
- More bug fixes, for ornate jewelry.

v0.8.1:
- Fixed several bugs introduced in last update: showing "research me" icon on
traitless items, throwing errors when jewelery or disguises are in inventory,
"Hide icon for known traits" not working.

v0.8.0:
- Revamped the Cross-Character system completely. Instead of self-tracking being
the norm and cross-character tracking being a special case, cross-character tracking
is the norm, and each category can be set individually to self or off if self-tracking
is desired. This also fixes bugs where indicators were changing color in "weird" ways
while cross-character tracking was turned on.
- Fixed a bug where Intricate and Ornate icons were not being displayed in the right
place in Inventory Grid View.
- Split Leatherworking from Clothier items, and split Weaponsmithing from Armorsmithing
items. These can now be tracked for separate characters, or linked like they used to be.

v0.7.3c
-Fixed an error where add-on was not looking at the first item in inventory.

v0.7.3b
-Hit Ctrl+s on a file this time. Whoops.


v0.7.3
-Updated to LibAddonMenu-2.0r8
-Updated to API 100007 and added requisite README


v0.7.2
-Updated to LibAddonMenu-2.0


v0.7.1
-Fixed error spam when you own a ring or amulet with an intricate or ornate trait.
-Buffered the EVENT_INVENTORY_SINGLE_SLOT_UPDATE event; this should prevent hanging when using this add-on in tandem with junk management or bank management add-ons that move a lot of inventory.
-Updated to libResearch 1.0r2


v0.7.0
-BIG CRAGLORN UPDATE!
-Wrote and implemented a new library, libResearch. DEVELOPERS: if you previously used my exposed functions, please implement libResearch instead!
-Leveraged new API functions to clean up the code and make it slightly tighter, more performant and (hopefully) more reliable.
-Added cross-character functionality. This is disabled by default and must be configured individually for each character. You need to log in to a character before it shows up in the dropdown box.


v0.6.7b
-Fixed a typo that caused all the weird flickering and resizing issues.
-Before I found the typo, I thought the issue was something else. As a result, the indicator should no longer lag behind when changing filters or adding things to your inventory, and the whole add-on should perform better overall.
-Grid View compatibility requires Inventory Grid View v1.1.0b or later.


v0.6.7
-Added FULL grid view support! If you don't like how it looks, you can turn off the grid view support in the settings. It will still work in list view with this off.
-Wrote an easy-to-use function for other addons to use to check if an item is researchable.


v0.6.6c
-Fixed settings bug again; for real this time.


v0.6.6b
-Fixed some dumb mistakes that prevented the settings from initializing correctly.


v0.6.6
-Stacks of items in the deconstruct window will now always be YELLOW. If it is the last trait of its kind when it reaches a stack size of 1, it will turn orange.
-Profession tracking options are now character specific and have earned their own place in the settings menu. I changed this in such a way that it won't reset the rest of your settings, but the three tracking settings will be changed to ON upon applying this update.
-Added french translations thanks to Ykses


v0.6.5
-Stopped amulets from showing the research icon.
-Changed the saved settings to be Account wide. THIS WILL WIPE YOUR SETTINGS I'M SORRY!
-Added a new setting called "Show researched icon" that will toggle GRAY (already researched) icon.
-Organized and cleaned up the options menu.
-Full German translation (with the exception of the new things) provided by Tonyleila!


v.0.6.4b
-Removed git crap from the zip because I'm a noob.


v0.6.4
-Traits that are currently researching will now show up as known for the purposes of this addon.


v0.6.3
-Added icon tooltip German translation.


v0.6.2
-Added tooltips due to popular demand. They're defaulted to off. You can turn them on in the settings.


v0.6.1c
-Fixed all jewelry showing up (again). Now only ORNATE jewelry should show up.


v0.6.1b
-Fixed traitless items being flagged as orange.


v0.6.1
-Fixed the error with the new version.


v0.6.0
-Improved the algorithm; it should now correctly color duplicates.
-Exact tie duplicates will now arbitrarily decide who is better.
-Exact ties between the BANK and INVENTORY will always show the INVENTORY item as YELLOW, and the BANK item as ORANGE. Exact ties between your personal space and the GUILD BANK will always color the GUILD BANK as yellow.
-Added ORNATE and INTRICATE icons.
-Adding a settings page with a bunch of new options, including:
-Selecting icon texture
-Fully customizable colors
-Ability to toggle the crafting vocations
-Ability to toggle "always on" tracking for ORNATE and INTRICATE


v0.5.0
-Added some of tejón's tweaks.
-Changed the icon
-Added "preferred item" functionality. If you have multiple items of a trait you don't have researched, it will be ORANGE if it is the lowest quality (defined by ) of the set, or YELLOW otherwise.
-RED changed to BURNT ORANGE
-GREEN changed to GREY


v0.4.5
-Fixed the issue with stores and banks breaking the add-on.


v0.4.4b
-Fixed the "color" command.


v0.4.4
-Added command "/ra color" to toggle the duplicate item color between YELLOW and TEAL. This should (hopefully) help the color-deficient folks :)


v0.4.3b
-Fixed(?) an error that caused errors to sometimes show.


v0.4.2
-The deconstruction window show now show icons again.


v0.4.1
-Fixed an issue where "duplicates" were not differentiating between different item types.


v0.4.0
-Added YELLOW indicator for duplicate items in the inventory.


v0.3.3
-Fixed the errors that sometimes pop up on startup.


v0.3.2
-Fixed an issue that would make the add-on show indicators on the wrong items under certain circumstances.


v0.3.1
-Fixed an issue where sometimes the windows wouldn't show the indicators.


v0.3.0
-Fixed the "All shields are green" bug.
-Fixed the bug where if you had the trait of an earlier line in a skill known, the later lines would be green even if you didn't know them. Example: You know a trait for daggers but not for swords, both swords and daggers would be green.
-Fixed issue where when you loot an item and open the inventory, the indicators didn't properly update.
-Rings no longer have an indicator.


v0.2.0
-(hopefully) fixed an error where an item would sometimes show up as green if that trait had already been researched in a different profession's research line.


v0.1.1
-(hopefully) fixed an error that people were seeing on startup


v0.1
-Initial upload
Archived Files (71)
File Name
Version
Size
Uploader
Date
0.9.6.0
36kB
Baertram
08/28/23 01:14 PM
0.9.5.9
35kB
Baertram
03/14/23 09:01 AM
0.9.5.8
33kB
Baertram
09/18/22 07:19 AM
0.9.5.7
32kB
Baertram
06/19/22 11:53 AM
0.9.5.6
31kB
Baertram
05/26/22 10:54 AM
0.9.5.5
29kB
Baertram
02/15/22 04:56 AM
0.9.5.4
29kB
Baertram
11/03/21 06:29 AM
0.9.5.3
29kB
Baertram
07/26/21 07:12 PM
0.9.5.2
29kB
Baertram
07/23/21 10:22 AM
0.9.5.1
29kB
Baertram
07/22/21 05:59 PM
0.9.5.0
23kB
Baertram
07/21/21 01:59 AM
0.9.4.9
23kB
Baertram
03/05/20 03:40 PM
0.9.4.8
23kB
Baertram
02/23/20 07:20 PM
0.9.4.7
15kB
Baertram
02/08/20 04:02 PM
0.9.4.6
15kB
Baertram
06/18/19 04:37 PM
0.9.4.5
15kB
Baertram
06/18/19 04:02 PM
0.9.4.4
17kB
Baertram
02/25/19 10:00 AM
0.9.4.3
66kB
Baertram
06/03/18 11:29 AM
0.9.4.2
51kB
Randactyl
03/07/16 06:26 AM
0.9.4.1
50kB
Randactyl
11/03/15 12:37 PM
0.9.4
43kB
katkat42
03/03/15 08:26 PM
0.9.3
39kB
katkat42
01/22/15 12:16 AM
0.9.2
39kB
katkat42
11/29/14 07:20 PM
0.9.1
38kB
katkat42
11/03/14 10:16 AM
0.9.0
37kB
katkat42
10/16/14 07:00 PM
0.8.10
37kB
katkat42
09/17/14 09:19 PM
0.8.9
37kB
katkat42
09/16/14 01:43 PM
0.8.8
37kB
katkat42
09/16/14 12:04 PM
0.8.7
37kB
katkat42
09/16/14 09:33 AM
0.8.6
37kB
katkat42
09/15/14 03:37 PM
0.8.5
37kB
katkat42
09/15/14 01:36 PM
0.8.4
36kB
katkat42
08/24/14 12:07 PM
0.8.3a
36kB
katkat42
08/04/14 05:04 PM
0.8.3
36kB
katkat42
08/04/14 12:54 PM
0.8.2
36kB
katkat42
08/02/14 10:41 AM
0.8.1
36kB
katkat42
08/01/14 05:48 PM
0.8.0
36kB
katkat42
07/31/14 09:26 PM
0.7.3c
34kB
katkat42
07/26/14 07:45 PM
0.7.3b
35kB
ingeniousclown
06/26/14 09:34 PM
0.7.3
35kB
ingeniousclown
06/26/14 09:31 PM
0.7.2
35kB
ingeniousclown
06/14/14 05:19 PM
0.7.1
24kB
ingeniousclown
05/25/14 08:10 PM
0.7.0
23kB
ingeniousclown
05/24/14 11:11 AM
0.6.7b
15kB
ingeniousclown
04/28/14 11:22 PM
0.6.7
14kB
ingeniousclown
04/28/14 08:46 PM
0.6.6c
14kB
ingeniousclown
04/26/14 12:51 AM
0.6.6b
14kB
ingeniousclown
04/25/14 08:57 PM
0.6.6
14kB
ingeniousclown
04/25/14 05:46 PM
0.6.5
13kB
ingeniousclown
04/20/14 12:28 AM
0.6.4b
12kB
ingeniousclown
04/15/14 11:54 PM
0.6.3
12kB
ingeniousclown
04/15/14 09:45 PM
0.6.2
12kB
ingeniousclown
04/15/14 07:06 PM
0.6.1c
11kB
ingeniousclown
04/13/14 09:02 PM
0.6.1b
11kB
ingeniousclown
04/13/14 05:44 PM
0.6.1
11kB
ingeniousclown
04/13/14 04:26 PM
0.6.0
11kB
ingeniousclown
04/13/14 03:56 PM
0.5.0
4kB
ingeniousclown
04/11/14 12:17 AM
0.4.5
3kB
ingeniousclown
04/10/14 09:14 PM
0.4.4b
3kB
ingeniousclown
04/10/14 08:13 AM
0.4.4
3kB
ingeniousclown
04/09/14 08:23 PM
0.4.3b
3kB
ingeniousclown
04/08/14 02:01 AM
0.4.2
3kB
ingeniousclown
04/07/14 11:31 PM
0.4.1
3kB
ingeniousclown
04/07/14 09:33 PM
0.4.0
3kB
ingeniousclown
04/07/14 08:46 PM
0.3.3
3kB
ingeniousclown
04/04/14 04:12 PM
0.3.2
3kB
ingeniousclown
04/04/14 11:24 AM
0.3.1
2kB
ingeniousclown
04/04/14 12:47 AM
0.3.0
2kB
ingeniousclown
04/04/14 12:37 AM
0.2.0
2kB
ingeniousclown
04/03/14 06:46 PM
0.1.1
2kB
ingeniousclown
04/03/14 06:12 PM
0.1
3kB
ingeniousclown
04/03/14 12:57 AM


Post A Reply Comment Options
Unread 05/29/22, 01:25 PM  
Darenn

Forum posts: 0
File comments: 2
Uploads: 0
Addon does not work.

Addon does not work. All addons are updated and installed, I tried to run only this addon and the addons necessary for it - the same error, I also reinstalled it with clearing local variables.

user:/AddOns/ResearchAssistant/ResearchAssistantSettings.lua:45: attempt to index a nil value
stack traceback:
user:/AddOns/ResearchAssistant/ResearchAssistantSettings.lua:45: in function '(main chunk)'
|caaaaaa<Locals> RA = [table:1]{lang = "ru"}, currentlyLoggedInCharId = 8798292083057942, langToUse = "ru", strBase = [table:2]{}, maxHouseBankBag = 16, bagToPreferenceOrderListBoxEntries = [table:3]{}, bagToPreferenceOrderListBoxEntriesDefaults = [table:4]{}, bagToPreferencePriorityDefaults = [table:5]{1 = 2}, bagToPreferencePriority = [table:6]{1 = 3}, cnt = 14, idx = 1, bagId = 2 </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 05/29/22, 11:56 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Re: Addon not working

Originally Posted by Ufo13-X
Hello. After updating through the Minion program, the addon stopped working. It doesn't even show up in the game settings, in the add-ons section. All required libraries are installed. Please fix it.
Check the dependencies properly again, it works if your libraries are ALL installed and enabled. Read the description please or check ingame. If this is not working tell me which dependencies you have for installed and what version of that libraries you got installed and enabled. I'm pretty sure reading the Changelog will help you too.
Last edited by Baertram : 05/29/22 at 11:56 AM.
Report comment to moderator  
Reply With Quote
Unread 05/29/22, 02:16 AM  
Ufo13-X
 
Ufo13-X's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Addon not working

Hello. After updating through the Minion program, the addon stopped working. It doesn't even show up in the game settings, in the add-ons section. All required libraries are installed. Please fix it.
Report comment to moderator  
Reply With Quote
Unread 03/13/22, 05:21 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Re: No color

Quick answer: No, never had that problem.
Check the RA settings and validate the colors there are set to something non-black.
Probably you got any other addon active that is interfering here or you get any lua error message and just did not see it because any addon like BugEater etc. is suppressing it!

Update ALL your addons and libraries first! Make sure there are NO libraries in subfolders of other addons, like described here:
https://www.esoui.com/forums/showthread.php?t=9149

And then I'll have to provide you the same answer that I gave to everyone posting any bug and which is also described here in detail "How to report bugs please":
https://www.esoui.com/forums/showthread.php?t=8858

Disable all other addons and libraries ecpt Research Assistant!
test if it works then.
If not:
Do you get any error mesasge?
What is your settings in this addon in detail?
How many chars research what?
Did you split up the research crafting types?
What items do not show the color (weapons, armor, jewelry)?
Additioal info?


Originally Posted by willwilco
I have the little square icons next to items in my inventory, but none of them have any color to them. They are all the same color, black. Any ideas?
Last edited by Baertram : 03/13/22 at 05:22 AM.
Report comment to moderator  
Reply With Quote
Unread 03/12/22, 07:48 PM  
willwilco

Forum posts: 7
File comments: 2
Uploads: 0
No color

I have the little square icons next to items in my inventory, but none of them have any color to them. They are all the same color, black. Any ideas?
Report comment to moderator  
Reply With Quote
Unread 02/16/22, 12:36 PM  
Messajah
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 30
Uploads: 1
Originally Posted by Baertram
You are right that the total maximum level is CP160 and the checks could be modified to respect that "as total maximum level".

I guess that depends on the players themselves. Some will keep the current max level items to wear them (1st char e.g.), others will decon or research them (other toons), and so on.

So far no one said this is troubling so I have not changed or added more settings to overcomplicate it
I agree, I just wanted to be sure that I didn't misunderstand things. I just thought it was a bit strange that L50 non-CP items are protected too when "only protect max level" items is enabled. But I don't think I'll have any CP0 L50 items at all (they don't drop for me anymore since I am far into CP levels), so I will never notice this "quirk" at all and that's why it doesn't really matter.

Thanks again for everything!

Last edited by Messajah : 02/16/22 at 12:36 PM.
Report comment to moderator  
Reply With Quote
Unread 02/16/22, 10:54 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Originally Posted by Messajah
Hi, thanks for alerting me to this, that's very good to know! What you say is actually incorrect though.
Oh well, seems I had changed this in the past then to "not protect" by default FCOIS SavedVariables.
But the idea behind it (always protected) is not incorrect, it just depends on the settings


About the item levels:
It's only about your character beeing below level 50 and below CPs even start. In that case the maximum level is 50.

If a player is below CPs he will loot the items with the level he currently got. CPs API functions should return 0 then, unless you buy a CP100 pr CP* item somewhere in stores, then it will be returning the CP level of that item and normal level API function should return 50.
If a player is exactly level 50 with 0 (or was it starting automatically at 1? Not sure anymore) CP levels you will loot CP0 items, and not level 50 anymore. CP API returns 0, normal level API returns 50.

So the maximum level will check for either 50 if CPs return 0 or nil (nil should not happen on gear items, but who knows) and if it's o/nil it will check for the level to be 50 as maximum.

You are right that the total maximum level is CP160 and the checks could respect that "as total maximum level".
I guess that depends on the players themselves. Some will keep the current max level items to wear them (1st char e.g.), others will decon or research them (other toons), and so on.
So far no one said this is troubling so I have not changed or added more settings to overcomplicate it
Last edited by Baertram : 02/16/22 at 10:54 AM.
Report comment to moderator  
Reply With Quote
Unread 02/16/22, 10:21 AM  
Messajah
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 30
Uploads: 1
Originally Posted by Baertram
Thanks for the analysis and info

A hint:
FCOIS.IsResearchLocked() does not return false if the item is marked for research, by default! All marker icons in FCOIS "protect" items! So if you add the research marker it is protected, also against research! You need to exclude that in the FCOIS settings first in order to make researchable marked items non-protected at research stations.

Same accounts to all other marker icons and API FCOIS.IS***Locked(bagId, slotIndex) functions.
The static marker icons need a protection exclusion at the settings. The dynamic icons can have multiple different exclusions defined at each of the icon settings (e.g. protect against sell but allow deconstruction).
Hi, thanks for alerting me to this, that's very good to know! What you say is actually incorrect though.

With default FCOIS settings, the behavior is as follows:

- I can mark some item as "Research" icon in FCOIS.
- I enable "protect FCOIS marked items" in Research Assistant.
- I /reloadui just to be completely sure all RA icons are refreshed.
- The icon I've marked as "Research" in FCOIS is NOT PROTECTED against calculations by Research Assistant. I still see the red "research this" Research Assistant icon on my Research-marked FCOIS item.
- If I change the FCOIS mark from "Research" to any other FCOIS marks/icons, then Research Assistant immediately protects the item (RA removes its red "research this" suggestion icon).

I then checked the FCOIS source code again to be sure:

FCOIS.IsResearchLocked() (this is what RA calls for checking FCOIS status):

- It first checks if "check jewelry items" is enabled in FCOIS, and if so it returns the result of FCOIS.IsJewelryResearchLocked(), which internally runs FCOIScish() with dialog-type set to "jewelry research".
- Otherwise, it returns the value of FCOIScish() with dialog-type set to "smithing research" (this means ANY research window, not just smithing).
- FCOIScish is a shortcut to FCOIS.ItemSelectionHandler

FCOIS.ItemSelectionHandler():

- On line 728 of FCOIS_Protection.lua, you can see how it handles research items:

Code:
                --Research and research marker icon is allowed to be used at research panel and research dialog?
                elseif ((iconIdToCheck==FCOIS_CON_ICON_RESEARCH and settings.allowResearch == true) and (whereAreWe == FCOIS_CON_RESEARCH or whereAreWe == FCOIS_CON_JEWELRY_RESEARCH or whereAreWe == FCOIS_CON_RESEARCH_DIALOG or whereAreWe == FCOIS_CON_JEWELRY_RESEARCH_DIALOG)) then
                    isBlockedLoop = false
                end
- So if the item has the icon "Research" and the "allowResearch" option is enabled (which is enabled by default in FCOIS, you can see it in "src/FCOIS_DefaultSettings.lua"), and the dialog-type it's being asked about is any of the RESEARCH GUIs of the game, then un-protect this item.
- In other words: Items marked as "Research" icon in FCOIS GUI are not protected while you're at a Research window. This is FCOIS default behavior.
- And Research Assistant specifically asks "is this item protected if we're at a research window? (dialog-type = research)", so it gets the answer "No this item is not protected" when items are marked with FCOIS's Research icon.
- Other item types in FCOIS can be manually toggled to "allow research of this icon type", as you say! Which would then make Research Assistant consider those marked items in its research algorithm too. Thanks for that info!
- Phew that was a lot of research!



Originally Posted by Baertram
Unless that has changed in the past the API provides no CP info on gear items < level 50.
That said: If your char is below level 50 all gear items (including set items) drop as non-cp gear items so they do not have any CP not CP160 max level, but level 50 max.
Yeah that's what I interpreted the code as. So if a player is exactly level 50 with 0 CP levels, and they loot an item, it will be a CP0/L50 item.

The confusion was in Research Assistant: It treats those CP0/L50 items as "max level sets" even though they're not CP160 (true max level) sets.

To put it another way: It treats "garbage" level 50 non-CP set items as "protected max level set items". Meaning that it treats CP0/L50 like they're equally important as CP160 items, and protects both as if both were max level sets.

But I don't think it's a big issue. I am unlikely to see many L50 CP0 items in the game and I can manually figure out that they should be researched/destroyed.

There's probably some good reason why Research Assistant protects Level 50 items with 0 CP when "protect max level sets" is enabled.


Anyway thanks a lot for the extra info, I've tweaked my FCOIS research settings to make the Research Assistant integration even better! My journey to being a master crafter is easier now thanks to you!
Last edited by Messajah : 02/16/22 at 10:28 AM.
Report comment to moderator  
Reply With Quote
Unread 02/16/22, 07:56 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Thanks for the analysis and info

A hint:
FCOIS.IsResearchLocked() does not return false if the item is marked for research, by default! All marker icons in FCOIS "protect" items! So if you add the research marker it is protected, also against research! You need to exclude that in the FCOIS settings first in order to make researchable marked items non-protected at research stations.

Same accounts to all other marker icons and API FCOIS.IS***Locked(bagId, slotIndex) functions.
The static marker icons need a protection exclusion at the settings. The dynamic icons can have multiple different exclusions defined at each of the icon settings (e.g. protect against sell but allow deconstruction).

The only surprise/quirk for me was in step 3, where it skips an item that has "CP >= 160" OR "no CP but is level 50"
Unless that has changed in the past the API provides no CP info on gear items < level 50.
That said: If your char is below level 50 all gear items (including set items) drop as non-cp gear items so they do not have any CP not CP160 max level, but level 50 max.



Originally Posted by Messajah
@Baertram: Superb work. Thanks a lot! The new version works perfectly. Enabling all protection features now gives full protection!

I did a code review of "ResearchAssistantScanner:IsItemProtectedAgainstResearch" since I was curious what the logic is (due to the slightly unclear way it was described in the changelog).

Here's what I found (if anyone else is curious too):
  1. If FCO ItemSaver protection is enabled in RA, then it runs FCOIS.IsResearchLocked() which returns true if the item is marked with *any* FCOIS icon/mark except "Research". In other words, it protects all your FCOIS items.
  2. If the item hasn't become protected yet, and if ZOS Lock protection is enabled in RA, then it protects the item if it has a ZOS lock. That's the vanilla game's right-click "Lock Item" feature.
  3. If the item hasn't become protected yet, and if "Skip sets" is enabled in RA, then it checks if the item is part of a set (has set bonuses). If so, and "only skip max-level sets" is DISABLED, then it skips/protects the item immediately. Else if "only skip-max-level sets" is ENABLED, it analyzes the item's CP and if it has CP and it's >= 160 then it skips/protects the item, otherwise it checks if it's a Level 50 non-CP (item that doesn't have a CP stat) and if so it skips/protects the item.
  4. All of these checks are sequential and as soon as something protects the item, the other checks don't run. Therefore it's safe to enable every protection feature.
  5. Summed up, when all protection features are enabled, it does: if (FCOIS-protected) or (ZOS-protected) or (SET-protected AND SET-maxlevel-protected). That's perfect!

The only surprise/quirk for me was in step 3, where it skips an item that has "CP >= 160" OR "no CP but is level 50". I don't know enough about the game yet (I joined on Feb 1st ) to know if it makes sense to skip level 50 non-CP items too. What are those items? Are there certain items that have level 50 but *can't* have a CP stat? I guess that some items like that exist at endgame. The logic just surprised me since I didn't think L50 "CP0/no-CP" set items existed at endgame.

Anyway, it works excellently now. Thanks again. This is such a lifesaver addon. I don't have to think so long about what to deconstruct or research anymore, and it's perfect for taking most of the stress out of crafting research!

Last edited by Baertram : 02/16/22 at 08:00 AM.
Report comment to moderator  
Reply With Quote
Unread 02/15/22, 11:28 PM  
Messajah
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 30
Uploads: 1
@Baertram: Superb work. Thanks a lot! The new version works perfectly. Enabling all protection features now gives full protection!

I did a code review of "ResearchAssistantScanner:IsItemProtectedAgainstResearch" since I was curious what the logic is (due to the slightly unclear way it was described in the changelog).

Here's what I found (if anyone else is curious too):
  1. If FCO ItemSaver protection is enabled in RA, then it runs FCOIS.IsResearchLocked() which returns true if the item is marked with *any* FCOIS icon/mark except "Research". In other words, it protects all your FCOIS items.
  2. If the item hasn't become protected yet, and if ZOS Lock protection is enabled in RA, then it protects the item if it has a ZOS lock. That's the vanilla game's right-click "Lock Item" feature.
  3. If the item hasn't become protected yet, and if "Skip sets" is enabled in RA, then it checks if the item is part of a set (has set bonuses). If so, and "only skip max-level sets" is DISABLED, then it skips/protects the item immediately. Else if "only skip-max-level sets" is ENABLED, it analyzes the item's CP and if it has CP and it's >= 160 then it skips/protects the item, otherwise it checks if it's a Level 50 non-CP (item that doesn't have a CP stat) and if so it skips/protects the item.
  4. All of these checks are sequential and as soon as something protects the item, the other checks don't run. Therefore it's safe to enable every protection feature.
  5. Summed up, when all protection features are enabled, it does: if (FCOIS-protected) or (ZOS-protected) or (SET-protected AND SET-maxlevel-protected). That's perfect!

The only surprise/quirk for me was in step 3, where it skips an item that has "CP >= 160" OR "no CP but is level 50". I don't know enough about the game yet (I joined on Feb 1st ) to know if it makes sense to skip level 50 non-CP items too. What are those items? Are there certain items that have level 50 but *can't* have a CP stat? I guess that some items like that exist at endgame. The logic just surprised me since I didn't think L50 "CP0/no-CP" set items existed at endgame.

Anyway, it works excellently now. Thanks again. This is such a lifesaver addon. I don't have to think so long about what to deconstruct or research anymore, and it's perfect for taking most of the stress out of crafting research!

Last edited by Messajah : 02/15/22 at 11:43 PM.
Report comment to moderator  
Reply With Quote
Unread 02/15/22, 03:44 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Thanks for the feedback and bugs report.
You are right, it should connect the settings with logically OR.
I'll have a look at it.

Edit:

Item weight
Yeah, I passed in the wrong variable to the text detection... Makes it impossible for the code to determine the "text" for the output if you pass in the outputtext variable (is empty at that time as it should get filled there ) instead of the armorType variable...
Fixed


Protection
In fact the code for the FCOIS/ZOs locked was running after the set/set max level checks were done. It should have been the other way around.
First check for any protective marker icon, than afterwards do the set item checks.
Thanks for the hint!

Originally Posted by Messajah
This is an incredibly helpful addon, thank you so much!

I discovered a bug: Item weight in tooltip option is broken. I enabled tooltips + type + weight, but the tooltips on Research Assistant icons shows everything except the weight.


Edit: I discovered another bug, in Research Assistant's protection feature:

- Skip ZOs marked should always skip items if they are marked with ZOs "Lock".
- Skip FCOItemSaver marked should always skip items if they have a FCOIS icon (except the "Research") icon.
- But here's the bug: If you also enable "Skip set items" and "Skip sets: Max level only", then the other two settings above break and suddenly change behavior.
- This is completely unexpected behavior, since "automatically detect sets but only auto-skip max-level sets" is not logically mutually exclusive with "skip fcois/zo locked items". I expected full protection which automatically avoids items that are part of "max-level sets OR zo-lock OR fcois lock".
- The current behavior with all 4 checkboxes is: Skip item if ("FCOIS (non-research)" OR "ZO Lock") AND ("set" AND "max-level-set").
- The expected behavior with all 4 checkboxes is: Skip item if "FCOIS (non-research)" OR "ZO Lock" OR ("set" AND "max-level-set").
- There might also be other inconsistent behavior if "set" is enabled but not "max-level-sets". I have only tried this with all 4 checkboxes enabled.
Last edited by Baertram : 02/15/22 at 04:53 AM.
Report comment to moderator  
Reply With Quote
Unread 02/14/22, 05:26 PM  
Messajah
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 30
Uploads: 1
This is an incredibly helpful addon, thank you so much!

I discovered a bug: Item weight in tooltip option is broken. I enabled tooltips + type + weight, but the tooltips on Research Assistant icons shows everything except the weight.


Edit: I discovered another bug, in Research Assistant's protection feature:

- Skip ZOs marked should always skip items if they are marked with ZOs "Lock".
- Skip FCOItemSaver marked should always skip items if they have a FCOIS icon (except the "Research") icon.
- But here's the bug: If you also enable "Skip set items" and "Skip sets: Max level only", then the other two settings above break and suddenly change behavior.
- This is completely unexpected behavior, since "automatically detect sets but only auto-skip max-level sets" is not logically mutually exclusive with "skip fcois/zo locked items". I expected full protection which automatically avoids items that are part of "max-level sets OR zo-lock OR fcois lock".
- The current behavior with all 4 checkboxes is: Skip item if ("FCOIS (non-research)" OR "ZO Lock") AND ("set" AND "max-level-set").
- The expected behavior with all 4 checkboxes is: Skip item if "FCOIS (non-research)" OR "ZO Lock" OR ("set" AND "max-level-set").
- There might also be other inconsistent behavior if "set" is enabled but not "max-level-sets". I have only tried this with all 4 checkboxes enabled.
Last edited by Messajah : 02/14/22 at 10:25 PM.
Report comment to moderator  
Reply With Quote
Unread 12/30/21, 05:27 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
Originally Posted by CRECAnnap
I'm having a lot of trouble with this add-on. In its default setting, I cannot get any of the color codes to show up even though I know for a fact that I have numerous duplicates. They will not show up in my bank or my inventory. Any ideas?
Reset savedvariables, means logout, delete the file live/SavedVariables/ResearchAssistant.lua
Disable all other addons and test alone!
Login with all characters at least once having this addon enabled AND having at least on of your characters/toons set as a crafter of the crafting type in the addon settings.
Read the description of this addon.

If you still got trouble you need to tell more details please:
What is not working the way you expect it to work (after reading the description), with examples please and the details what you have setup in your settings. I'm not able to read your brain so you need to be more precise here as this addon got several settings and there exist like 100000000 items + possibilities ingame

My guess is other addons trouble here or create error messages which makes RA fail to work properly. So please disable them all and test alone like described here:
https://www.esoui.com/forums/showthread.php?t=9885

Thanks
Last edited by Baertram : 12/30/21 at 05:30 PM.
Report comment to moderator  
Reply With Quote
Unread 12/30/21, 03:56 PM  
CRECAnnap

Forum posts: 5
File comments: 13
Uploads: 0
I'm having a lot of trouble with this add-on. In its default setting, I cannot get any of the color codes to show up even though I know for a fact that I have numerous duplicates. They will not show up in my bank or my inventory. Any ideas?
Report comment to moderator  
Reply With Quote
Unread 11/08/21, 09:26 AM  
jdwx

Forum posts: 0
File comments: 3
Uploads: 0
I see. Thank you for the feedback.
Last edited by jdwx : 11/08/21 at 09:49 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.