Download
(14 Kb)
Download
Updated: 10/30/23 02:38 AM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
Updated:10/30/23 02:38 AM
Created:07/24/20 10:46 AM
Monthly downloads:58
Total downloads:6,493
Favorites:14
MD5:
Categories:Utility Mods, ESO Tools & Utilities
Calamath's Addon Diagnosis  Popular! (More than 5000 hits)
Version: 3.40.0
by: Calamath [More]
Description:
This classical CUI add-on aims to diagnose the user's individual add-on operating environment.
In particular, clarify the versions of installed add-ons and dependent libraries, and the location of the files actually used.

Needed libraries/dependencies:
This add-on does not depend on any other add-ons for its purpose.

Features:
This add-on basically works only when you enter a chat command.

(usage) /cdiag [<filename> | <number> | -list | -all]
<filename> : diagnose the operating environment of the specified add-on
<number> : same as above, but specify with the listed index number.
-list : list add-ons you have enabled
-all : list all add-ons installed (including currently disabled)

NOTE : In the current version, almost all advisory output features for end users have been removed.
<This add-on is currently under development.>

Purpose of publishing:
Many of the recent add-ons work in cooperation with library add-ons of different authors, and the update timing is also different.
Not all people use the add-on management tool 'minion', and their operating environment is different.
Therefore, add-on authors will often want to clarify their operating environment.

The concept of this add-on was a private utility created to verify the actual operating environment of the target add-on for testers.

Disclaimer:
The author does not guarantee the content of the advisory displayed by this add-on.
We also do not answer inquiries about the content of the advisory.
V3.40.0: (V34000)
  • Updated API version to 101040 (ESO 9.2.x : Update 40)

V3.39.0: (V33900)
  • Support for the technology introduced in Update 39 to disable add-ons by the system.
  • Updated API version to 101039 (ESO 9.1.x : Update 39)

V3.38.0: (V33800)
  • Removed functionality related to testing the number of custom key bindings slots remaining.
  • Updated API version to 101038 (ESO 9.0.x : Necrom)

V3.37.0: (V33700)
  • Refactored the add-on framework based on our common template classes, to reduce future maintenance costs.

V2.37.0: [V23700] by Calamath
  • Updated API version to 101037 (ESO 8.3.x : Scribes of Fate)

V2.36.0: (V23600)
  • Updated API version to 101036 (ESO 8.2.x : Firesong)

V2.35.1: (V23501)
  • Addressed a UI error issue when executing the '/cdiag.reload' command.

V2.35.0: (V23500)
  • '/cdiag.keybinds' command has essentially ended its role. However, it remains in effect and no longer reloads UI at runtime.
  • Updated API version to 101035 (ESO 8.1.x : Lost Depths)

V2.34.0: (V23400)
  • Updated API version to 101034 (ESO 8.0.x : High Isle)

V2.33.3: (V23303)
  • Fixed an issue where the message "A fatal error was detected" was incorrectly displayed when other add-ons caused a UI error.
  • Some code refactoring. Special thanks to: Baertram

V2.33.2: (V23302)
  • Addressed an issue where the results of '/cdiag.keybinds' were not displayed depending on the environment.
  • Improved failsafe.

V2.33.1: (V23301)
  • Fixed a bug in /cdiag.reset command.

V2.33.0: (V23300)
  • Added '/cdiag.keybinds' command to diagnose remaining custom keybinds slots.
  • Added '/cdiag.reset' command to remove all keybindings of this add-on.

V1.33.0: (V13300)
  • Changed to register '/cdiag.reload' command when notified of out-of-date add-ons.
  • Updated API version to 101033 (ESO 7.3.x : Ascending Tide)

V1.32.0: (V13200)
  • Updated API version to 101032 (ESO 7.2.x : Deadlands)

V1.31.0: (V13100)
  • Updated API version to 101031 (ESO 7.1.x : Waking Flame)

V0.35.1: (V3501)
  • fixed the next API version number.

V0.35.0: (V3500)
  • Tweaked advisory services related to the out of date add-ons to accommodate changes in the in-game add-on manager.
  • Updated API version to 100035 (ESO 7.0.x : Blackwood)

V0.34.0: (V3400)
  • Updated API version to 100034 (ESO 6.3.x : Flames of Ambition)

V0.33.0: (V3300)
  • Updated API version to 100033 (ESO 6.2.x : Markarth)

V0.32.0: (V3200)
  • Updated API version to 100032 (ESO 6.1.x : Stonethorn)

V0.31.2: (V3102)
  • miner CUI improvement to add diagnostic icon to the add-on diagnosis display.
  • minor CUI improvement for accepting lowercase and uppercase misspellings in filename input.
  • small code refactoring.

V0.31.1: (V3101)
  • fixed shameful UI error when excecting command.
  • miner CUI improvement of the add-on list display.
  • improved to reflect the recent configuration even if the user does not reload UI after changing the add-on manager configuration.

V0.31.0: (V3100)
  • initial release
Archived Files (21)
File Name
Version
Size
Uploader
Date
3.39.0
14kB
Calamath
09/18/23 12:34 AM
3.38.0
14kB
Calamath
06/05/23 10:36 AM
2.37.0
16kB
Calamath
04/17/23 12:28 AM
2.36.0
16kB
Calamath
11/07/22 09:19 PM
2.35.1
16kB
Calamath
11/01/22 09:17 AM
2.35.0
16kB
Calamath
08/22/22 09:38 PM
2.34.0
16kB
Calamath
06/08/22 10:52 AM
2.33.3
16kB
Calamath
05/06/22 11:12 PM
2.33.2
15kB
Calamath
05/02/22 08:09 PM
2.33.1
15kB
Calamath
05/01/22 06:34 AM
2.33.0
15kB
Calamath
04/30/22 11:43 PM
1.33.0
12kB
Calamath
03/19/22 03:34 AM
1.32.0
12kB
Calamath
12/11/21 11:44 PM
1.31.0
12kB
Calamath
09/07/21 09:56 AM
0.35.1
12kB
Calamath
06/08/21 02:01 AM
0.34.0
12kB
Calamath
03/18/21 09:45 AM
0.33.0
12kB
Calamath
01/11/21 09:11 PM
0.32.0
12kB
Calamath
09/21/20 03:15 AM
0.31.2
12kB
Calamath
08/14/20 02:22 AM
0.31.1
11kB
Calamath
07/29/20 02:39 AM
0.31.0
11kB
Calamath
07/24/20 10:46 AM


Post A Reply Comment Options
Unread 05/03/22, 03:20 AM  
Calamath
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 220
Uploads: 7
Originally Posted by Baertram
Thanks for the diagnosis tool for the keybinds.

One hint:
Your functions KeybindsSlotTestPhase1 to 3 should not run at all if you are in combat so at the beginning of at least func 1, where you re-check if in combat, you should simply abort directly instead of doing 3 reloaduis and reverting then.
Func1 is the start so just do a CDIAG.svCharacter.keybindsTestError = true and CDIAG.svCharacter.keybindsTestPhase = nil and then return,
instead of trying to bind the keys, then set phase 1, do a reloadui, do the same, set phase 2, reloadui, phase 3 and unbind all in the end just to show "There was an error!".
Thank you for your advice.
This code was a real rush job, and I am a little embarrassed to be seen by gurus like you guys.
Report comment to moderator  
Reply With Quote
Unread 05/03/22, 01:52 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
Thanks for the diagnosis tool for the keybinds.

One hint:
Your functions KeybindsSlotTestPhase1 to 3 should not run at all if you are in combat so at the beginning of at least func 1, where you re-check if in combat, you should simply abort directly instead of doing 3 reloaduis and reverting then.
Func1 is the start so just do a CDIAG.svCharacter.keybindsTestError = true and CDIAG.svCharacter.keybindsTestPhase = nil and then return,
instead of trying to bind the keys, then set phase 1, do a reloadui, do the same, set phase 2, reloadui, phase 3 and unbind all in the end just to show "There was an error!".
Last edited by Baertram : 05/03/22 at 01:53 AM.
Report comment to moderator  
Reply With Quote
Unread 05/01/22, 08:49 AM  
Calamath
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 220
Uploads: 7
Release note: V2.xx.x

Custom Key Binds Slot Issue:
I have read the wiki and understand that this problem is serious for veteran players.
I recently learned that there are only 100 custom key binds slots.
And it is possible to save a maximum of 100 lines of setting changes within the large entries of the CONTROLS screen.

Knowing that one of my add-ons occupies 25% of those valuable slots elevated this issue to a top priority for me.
So I decided to work on keeping track of the remaining custom key binds slots for my characters and make a test tool.

This release incorporates the results of that work.

Estimating your remaining custom key binds slots:
1) Take screenshots of the current status of the CONTROLS screen.
2) Log in with your character and move to a safe place. You need to execute in non-combat mode.
3) Turn off any add-ons giving you LUA errors in BugCatcher.
4) /cdiag.keybinds
5) After UI reloads, the results are displayed.

This function is obtained by trying 100 keybind settings for a completely independent action layer and estimating how many could save.
It is designed not to affect your current keybind settings.

- Calamath
Last edited by Calamath : 05/01/22 at 11:39 AM.
Report comment to moderator  
Reply With Quote
Unread 03/20/22, 03:16 AM  
Calamath
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 220
Uploads: 7
Hi Attizh,

>Can this addon also be used to track libraries you don't longer need? When you uninstall an addon, it's not clear if there unique libraries for that addon.

No, this add-on does not currently have such a feature.
It may be possible to list unreferenced libraries from the active add-ons.
A similar functionality seems to exist in an add-on called Votan's Add-on List.

However, as far as I know, some of the libraries may be working on their own, whether or not they provide the functionality to other add-ons. So it is not clear to me if it is unnecessary.

>Also if you no longer need an addon and you do not plan to reinstall it (for example you temporary installed pChat as rChat had a bug), could you clean up or point out the saved variables?

That is a problem I am having as well.
But add-ons do not have direct access to save files. Unfortunately, there is nothing an add-on can do for a save file.
Also, if you are using multiple accounts, the saved files are shared, so it is hard to even for us to determine if they are unnecessary.

- Calamath
Last edited by Calamath : 03/21/22 at 04:16 AM.
Report comment to moderator  
Reply With Quote
Unread 03/19/22, 05:25 PM  
Attizh

Forum posts: 11
File comments: 64
Uploads: 0
Can this addon also be used to track libraries you don't longer need? When you uninstall an addon, it's not clear if there unique libraries for that addon.

Also if you no longer need an addon and you do not plan to reinstall it (for example you temporary installed pChat as rChat had a bug), could you clean up or point out the saved variables?
Report comment to moderator  
Reply With Quote
Unread 06/08/21, 09:15 AM  
Calamath
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 220
Uploads: 7
I agree with Baertram's view.

The main purpose of this add-on is not to send tracking information about the cause of the error to the add-on author.

Rather than complaining to the author if a particular add-on doesn't work properly in the user's environment,
I wish this add-on could provide the user with a "recognition" of environment-dependent issues.

And hopefully the user can solve the problem on their own.

- Calamath
Last edited by Calamath : 06/08/21 at 09:32 AM.
Report comment to moderator  
Reply With Quote
Unread 06/08/21, 07:30 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
Yes you could send screenshots about your installed libraries etc.
But this addon here is not designed to find error messages in addons, but to check your addon's versions, libraries and their dependencies to each other > So that you are able to see if any dependency is missing or not installed with the needed version -> Needs an upate.


For error messages and addon bugs it's even easier to use the library LibDebugLogger -> with enabled debug stack traceback, to report addon errors to the devs, including enabled addons and their versions.
No screenshos needed, just the date and time the error occured, steps to reproduce it and the file live/SavedaAriables/LibDebugLogger.lua shared with the dev via drag&drop/upload at the designed inspection tool website (https://sir.insidi.at/or/logviewer/), or by the help of other sharing tools.

The benefit of LDL is that it wil linclude the load order of the addons, their version, what was not loaded, information about versions, and the lua error messages shown. Together with the info provided "how to rebuild the bug, from login to error message" it helps a lot to track down bugs.

Calamath's addon here is a similar utility as it seems, just not providing the SavedVariables file to share like LDL does. So imo it's harder to share valuable info and variables at the time of errors.
Report comment to moderator  
Reply With Quote
Unread 09/21/20, 10:52 AM  
baldylox

Forum posts: 5
File comments: 59
Uploads: 0
can you post some usage examples? this seems handy to help diagnose bugs back to authors.
Report comment to moderator  
Reply With Quote
Unread 07/24/20, 10:53 AM  
Calamath
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 220
Uploads: 7
NOTICE: Calamath's Addon Diagnosis

Calamath's Addon Diagnosis

Disclaimer:
The author does not guarantee the content of the advisory displayed by this add-on.
We also do not answer inquiries about the content of the advisory.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: