Go to Page... |
Compatibility: | Firesong (8.2.5) Lost Depths (8.1.5) High Isle (8.0.0) |
Updated: | 12/11/22 10:24 AM |
Created: | 07/22/22 09:40 AM |
Monthly downloads: | 177 |
Total downloads: | 2,260 |
Favorites: | 9 |
MD5: |
--Add this to your OnAddOnLoaded function if AddonCategory then AddonCategory.AssignAddonToCategory(addonName, AddonCategory.baseCategories.Combat) end
AddonCategory.baseCategories = { UserInterface = "User Interface", Trackers = "Trackers", Combat = "Combat", PvE = "PvE", PvP = "PvP", Util = "Util", Craft = "Craft", Housing = "Housing", Map = "Map", Class = "Class", }
File Name |
Version |
Size |
Uploader |
Date |
1.5.2 |
8kB |
Floliroy |
12/10/22 11:39 AM |
|
1.5.1 |
8kB |
Floliroy |
12/09/22 06:22 AM |
|
1.5 |
8kB |
Floliroy |
12/07/22 10:53 PM |
|
1.4.1 |
8kB |
Floliroy |
11/02/22 04:26 AM |
|
1.4 |
68kB |
Floliroy |
10/25/22 03:34 AM |
|
1.2 |
8kB |
Floliroy |
10/24/22 03:04 AM |
|
1.1 |
8kB |
Floliroy |
07/22/22 12:57 PM |
|
1 |
82kB |
07/22/22 09:40 AM |
![]() |
Comment Options |
L4R5 |
View Public Profile |
Send a private message to L4R5 |
Send email to L4R5 |
Find More Posts by L4R5 |
Add L4R5 to Your Buddy List |
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
![]() |
|||
|
See my edited post below, with a workaround idea. You need to talk to Votan I guess
I've meanwhile added your categories, and scroll to them, via right click on the search edit box of AddonSelector: ![]() Unfortunately the scroll list always scrolls the selecte dindex to the center of the list, not to the top. So if you select "Util2 it will have Util shown in the center rows.. But well, betetr than nothing ![]()
Last edited by Baertram : 12/11/22 at 09:41 AM.
|
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||
|
|
|
![]() |
![]() |
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
![]() |
|
|
One of your updates has broken compatibility (if this particular button was working before?) with Votans Addon List.
-> The button added by Votans addon, to scroll down to the "libraries" is not working anymore: ![]() It does not scroll down to the libraries anymore, it does nothing except changing the texture. I guess you maybe need to add the Code:
## OptionalDependsOn: LibVotansAddonList Tested with only Votans addon list (works), AddonSelector + Votans addon list (works), AddonCategory + Votans addon list (does not work), AddonCategory + Addon Selector + Votans addon list (does not work) Edit: After reviewing votan's code Votan stores the index of the libraries in a variable addon.libSectionDataIndex Code:
do local orgAddAddonTypeSection = ZO_AddOnManager.AddAddonTypeSection function ZO_AddOnManager.AddAddonTypeSection(...) local self, isLibrary = ... if isLibrary then local addonEntries = self.addonTypes[isLibrary] local scrollData = ZO_ScrollList_GetDataList(self.list) addon.libSectionDataIndex = #addonEntries ~= 0 and #scrollData + 1 or 0 end return orgAddAddonTypeSection(...) end end ![]() So I guess your new added categories might be the problem here and you need to add some compatibility with Votan, if your addon is enabled. Your addon returns the index of the libraries section and votan reads it from your global variable AddonCategory.librariesIndex e.g., if AddonCategory ~= nil
Last edited by Baertram : 12/11/22 at 09:38 AM.
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|||
|
Gonna try to reproduce the error to try to fix it... Which client language do you have also ? EDIT : Just tried with Addon Selector + Votan's Addon List + PerfectPixel + AddonCategory and i have no issue :x EDIT 2 : I finally found the issue, its when you have an uncategorized addon
Last edited by Floliroy : 12/10/22 at 06:27 AM.
|
||
![]() |
![]() |
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
![]() |
||
Forum posts: 0
File comments: 6
Uploads: 0
|
|
|
![]() |
![]() |
L4R5 |
View Public Profile |
Send a private message to L4R5 |
Send email to L4R5 |
Find More Posts by L4R5 |
Add L4R5 to Your Buddy List |
![]() |
||
|
|
|
![]() |
![]() |
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 5
Uploads: 0
|
This latest version doesn't seem to be compatible with PerfectPixel. You can't access your addons if you have PerfectPixel and this addon. But if you go out of the game and then disable one of them then everything is fine when you are back at the game. If you enable both, if you try to access your addons while in game, you can't.
|
![]() |
![]() |
valthierX |
View Public Profile |
Send a private message to valthierX |
Send email to valthierX |
Find More Posts by valthierX |
Add valthierX to Your Buddy List |
![]() |
|
|
Thanks Floliroy
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||||
|
To get all the categories you can check AddonCategory.savedVariables.listCategory which has all the categories name as values (index is just a number). Or directly AddonCategory.indexCategories for your purpose i guess, so if an user dont have any addon into a category you dont try to scroll to an inexistant category ! |
|||
![]() |
![]() |
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
![]() |
|||
|
Thanks! Is AddonCategory.baseCategories containing all categories defined, custom ones too? Or is there another table or any API to get "all category names" existing (base and custom)? Else I'll use AddonCategory.indexCategories and build my own lookup table for all available names, by the table key.
Last edited by Baertram : 12/09/22 at 07:36 AM.
|
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||
|
PS: You need to have open your addon list so the table is populate tho
Last edited by Floliroy : 12/09/22 at 06:24 AM.
|
|
![]() |
![]() |
Floliroy |
View Public Profile |
Send a private message to Floliroy |
Send email to Floliroy |
Find More Posts by Floliroy |
Add Floliroy to Your Buddy List |
![]() |
|||
|
Thanks. Totally understood @sub categories. As I said this is nice to have
![]() Addon Selector already provides a "scroll to code". Basically it just reuses existing ZO_ScrollList functions which need the index or the dataTable entry (complete data table row for comparison). All one would need is the index in the ZO_ScrollList where you have added/inserted the category headlines, returned as a table e.g. { "Category Name 1" = index1, "Category name 2" = index2, ... } by your API then and one can use that with ZO's scroll list functions for whatever usage afterwards. -> I think the ZOs function that adds the categories to the scroll list actually returns the index where it was added/inserted somehow, so you could grab it from there. Not sure though
|
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
|
don't working
Lua Code:
![]() |
![]() |
![]() |
t.vicson |
View Public Profile |
Send a private message to t.vicson |
Send email to t.vicson |
Find More Posts by t.vicson |
Add t.vicson to Your Buddy List |
![]() |
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.