Quantcast
Download
(32 Kb)
Download
Updated: 07/01/20 10:41 AM
Pictures
File Info
Compatibility:
Greymoor (6.0.5)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:07/01/20 10:41 AM
Created:04/27/19 06:32 AM
Monthly downloads:982
Total downloads:4,446
Favorites:25
MD5:
Categories:Bags, Bank, Inventory, RolePlay, Miscellaneous
6.0.5
Collection bars  Updated less than 3 days ago!
Version: 1.1.3
by: Jarth [More]
Overview: (Show settings: "/cb")
With this addon you can display selected collections (Default hotkey: "U") as bars in the UI.
The bars can be shown as a part of a combined bar, or as a separate bar.

OptionalDependsOn: LibDebugLogger

The settings panel consists of the following tabs:
- "General": Setting up global/base settings.
- "Categories": Enable/disable and select active "category of collectibles".
- "Collectibles": For selected category enable/disable collectible.
- "Category": Setup for category of collectibles.
- "Combined bar": Setup Combined bar.

"General" setup:
- Position and size
- What views the bars are visible in
- Active and activation indication
- Audio
- Logging

"Category" setup:
- Tooltip
- Display name and labels
-- Should the category be in the combine bar or seperate
- Position and size

Required setup:
1. Enter addon settings typing "/cb" in the console
1.1 Alternatively a hotkey can be assigned

2. In "Categories" enable the categories you want to use
Initially all categories are added to a Combined bar (see more in step 6).

Info: Categories are shown when one of the statements are true:
- A category contains selected collectibles (either by selecting individually or "Auto select all..." is enabled)
- The settings window is open
- Any label is right-clicked (toggle effect, where a cogs are shown)

3. Now set the active category in "Categories" by pressing the "cog" next to a category
- press the "cog" icon on the category label, it can be toggled with right click on any label.


4. The active category is now set for "Collectibles" and "Category" tabs.

5. In "Collectibles" the individual collectibles can be shown/hidden.

6. In "Category" setup for specific bar can be done.

Info:
In the "Category" tab, Categories without the ON button can toggle all sub categories (hide/show in the list)
- Sub categories have the same Icon as the parent category.

Move:
To move a bar, you need to enable the toggle button: "Toggle move frame", in the top, in the settings panel
- The bar has to have at least one button shown, for it to be draggable
- When move frame is enabled a gray outline of the bar will be shown
- The gray outline is draggable and cannot be dragged outside the screen

Labels setup:
The anchors of the labels can be setup in the Combine bar or separate bar respectively

Hotkeys:
Up to 20 Hotkeys can be assigned under "Controls" > "Keybindings"
- You can then attach them to a button, by hovering the button and pressing the keybinding

Planned changes:
- Improve the collectible tooltips, possibly showing the same way as Collectibles(U) tooltips.
- Work on usability / naming
-------------------------------------------------------------------------------
Collection bars
-------------------------------------------------------------------------------
Version 1.1.3 (01-07-2020)
- Fixed issue where buttons would not update when pressed

Version 1.1.2 (28-06-2020)
- Fixed issue where keybindings would not show in some instances
- Fixed issue where verbose logging would not disable with debug logging
- Changed the load order, so settings is fetched before categories, to avoid loggings if not enabled

Version 1.1.1 (22-06-2020)
- Fixed issue with changing display name of the bars

Version 1.1.0 (21-06-2020)
Warning: With this version the saved variables will reset!

Highlights:
- The settings have been rearanged for consistancy and to rework some features
- In the settings, categories are now stored on the category id rather than name
-- Makes the setup language agnostic
- Added feature when selecting collectibles, to "auto select all".
-- When "auto select all" is enabled, any valid unlocked collectible will be shown
-- When this setting is set, it will not save unique collectible idīs
-- If you get new collectibles you would need to manually reload the UI (or refresh the collection, top right in the settings panel)
- LibDebugLogger have been added as an optional dependency
-- It will only log when logging is enabled in the settings

Version 1.0.11 (01-06-2020)
Highlights:
- It is now possible to alter the displayname of categories (again)
- In the categories tab, right click on the "cog"-icon for an enabled category, will navigate to the "Collectibles" tab.
- If account settings are used, and there exists character settings, these can now be deleted in the global settings tab.
-- At this time, these settings are not used

Reintroduced string format, as it gives better performance, and makes the code easier to navigate
Added formatter/formatted strings for central teksts making them reusable though out the code

Version 1.0.10 (27-05-2020)
- Updated APIVersion to 100031
- Now always show labels when opening the settings window by slash command or hotkey
-- Same toggle as right click on a label

Version 1.0.9 (25-05-2020)
- Renamed Selection to Collectibles
- If "Use account settings" is on it will no longer create Character settings.
The setting now sets "account wide" if account settings is used, not pr character.
- Collectibles are now also ordered and named the same as the "Collections tab".
-- TODO: Implement tooltip with icon, in much the same way as "Collections tab".

Improvements:
- Streamlined naming through out the code
- Removed unused values

Version 1.0.8 (24-05-2020)
- Updated APIVersion to 100030

Menu:
- Support for LibAddonMenu-2.0 have been removed from the addon
- Setup is done solely from the settings window

Bindings:
- Added binding to open settings window
- Added 10 bindings, total is now 20

Changes to Categories (previous "collection types"):
- Renamed to Categories
- Removed the hardcoded list of Categories
- Populates types based on ZO_CollectibleCategoryData
-- A category is shown when the category or its children has usable collectibles
- Categories are now named and ordered the same as in the ESO Collections view
- A category now has an icon, the icon from the parent category is shown for sub categories.
- A parent category can collapse its children
-- The icon highlights when hovering a parent category

Texts:
- Moved "magic strings" through out the code to variables, making them reusable and allowing for better overview and reusability
- TODO: Identify patterns and improve, now nearly all strings are joined by .. not string.format.

Improvements:
- Removed Base reference from CBs_Button
- Removed Base from CBs_Button

Version 1.0.7 (07-02-2020)
-- Fixed issue when reloading the list of Collectibles, with no collection type selected
-- Increased width of settings tabs, to allow for the full text: "Collection Types"
-- Added tooltip text to the cog inside "Collection Types", and changed the wording of the text

Version 1.0.6 (03-11-2019)
- Updated APIVersion to 100029
- Fixed an issue when activating certan mementos:
user:/AddOns/CollectionBars/CBs_Buttons.lua:125: operator + is not supported for nil + number
-- Added guard, so start time defaults to 0 in:
--- base:GetCooldownText(countDown, duration)
-- base.IsCollectibleUsable(button)

Version 1.0.5 (08-09-2019)
- Fixed issue hiding labels, when they are not combined, and the settings tab is not enabled
- Fixed issue with when moving the frame, and has the label anchor set other than a corner
-- Setting: "Bar anchor location" is removed, it now anchors to the "Display name anchor position on button".
-- Anchors can now be set to corners/sides/center.

Version 1.0.4 (14-08-2019)
- Updated APIVersion to 100028
- Changed the drawlevel of buttons, so they now are displayed in front of:
-- Inventory & equipment window
-- Bank, fence and store window
-- Collection bars settings
- Updated how MoveFrames are created and named.

Version 1.0.3 (23-06-2019)
- Updated bindings, so they update when a key is remapped in ESO settings
- Made LibAddonMenu-2.0 Optional
-- I expect to remove LibAddonMenu-2.0 completely.. eventually
- Added functionality to "Collection Bar Settings"
-- Option to select if addon should be added to the menu ("LibAddonMenu-2.0")
-- Migrated missing settings from the menu
-- Allows for adding and removing "Collection types", without reloading the LibAddonMenu
-- Allows for changing between account or user settings, without reloading the LibAddonMenu
-- Change active collection type by pressing settings-symbol/cog in "Collection types".
- Updated menu slash command to: "/cb_menu"
- Updated settings window slash command to: "/cb"

Version 1.0.2 (14-06-2019)
- Removed files for library: LibAddonMenu-2.0
-- It is still required, but files needs to be downloaded separately
- Updated the activation by hotkey, so it always tries to activate the collectible, even if a button does not exist
- Made labels clamp to the screen

Menu
- Removed sub pages in the menu, it now has a divider where one used to be
- Added tooltips declaring why items are disabled
- Moved selection of collectibles to the new "settings panel"
- Added "Toggle settings" button, to toggle settings mode
- Removed reload requirement, when toggling a collection type

Settings panel
- Added settings panel, for setting up specific collection type settings
- Right click a label to toggle settings mode
- In settings mode, all labels are shown, when collection type is selected
- Open the settings panel by pressing the cog on the label
- Functionality in the settings panel:
-- Toggle move frame
-- Reload collection
-- Show disabled collectibles of type
-- Select all collectibles of type
-- Select specific collectible of type

Version 1.0.1 (06-05-2019)
- Removed duplicate LibStub from lib: Libs\LibStub

Version 1.0.0 (27-04-2019)

Archived Files (13)
File Name
Version
Size
Uploader
Date
1.1.2
32kB
Jarth
06/28/20 03:20 AM
1.1.1
31kB
Jarth
06/22/20 10:45 AM
1.1.0
31kB
Jarth
06/21/20 12:06 PM
1.0.11
29kB
Jarth
06/01/20 09:43 AM
1.0.10
29kB
Jarth
05/27/20 01:14 PM
1.0.7
30kB
Jarth
02/07/20 12:06 PM
1.0.6
30kB
Jarth
11/03/19 01:34 AM
1.0.5
30kB
Jarth
09/08/19 05:30 AM
1.0.4
30kB
Jarth
08/14/19 08:49 AM
1.0.3
30kB
Jarth
06/23/19 06:28 AM
1.0.2
25kB
Jarth
06/14/19 03:02 PM
1.0.1
68kB
Jarth
05/06/19 10:07 AM
1.0.0
71kB
Jarth
04/27/19 06:32 AM


Post A Reply Comment Options
Unread 06/28/20, 06:38 AM  
Illutian

Forum posts: 0
File comments: 36
Uploads: 0
Originally Posted by Jarth
Originally Posted by Illutian
Um...I can't seem to get the Combined Bar to actually unlock, despite "Unlock movement of bar" being set to 'ON'.

I've tried dragging the actual bar.

I've tried dragging the "0,0".

I've tried the above but with SHIFT held.

In fact the only way I've gotten the bar to move is by changing the Offsets under 'Combined bar' in the settings.

I've also noticed that doing a /reloadui causes the 'Combined Bar' to disappear until you do a /cb
Hello Illutian

Thanks for your feedback.

I have updated the text in the description as follows:


Does that help you?
Do you have any collectibles selected/shown for the bar you are trying to move?
Bars should only disappear when they contain no selected collectibles, like class specific collectibles would only be shown for specific classes.
Okay, that did the trick.

When everything got reset, the categories (Assistant, Memento, etc) were defaulted to empty.

Didn't realize I couldn't just move the bars if nothing was in them.
Report comment to moderator  
Reply With Quote
Unread 06/28/20, 03:23 AM  
Jarth
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 75
Uploads: 2
Originally Posted by Illutian
Um...I can't seem to get the Combined Bar to actually unlock, despite "Unlock movement of bar" being set to 'ON'.

I've tried dragging the actual bar.

I've tried dragging the "0,0".

I've tried the above but with SHIFT held.

In fact the only way I've gotten the bar to move is by changing the Offsets under 'Combined bar' in the settings.

I've also noticed that doing a /reloadui causes the 'Combined Bar' to disappear until you do a /cb
Hello Illutian

Thanks for your feedback.

I have updated the text in the description as follows:
Move:
To move a bar, you need to enable the toggle button: "Toggle move frame", in the top, in the settings panel
- The bar has to have at least one button shown, for it to be draggable
- When move frame is enabled a gray outline of the bar will be shown
- The gray outline is draggable and cannot be dragged outside the screen
Does that help you?
Do you have any collectibles selected/shown for the bar you are trying to move?
Bars should only disappear when they contain no selected collectibles, like class specific collectibles would only be shown for specific classes.
Report comment to moderator  
Reply With Quote
Unread 06/27/20, 08:44 PM  
Illutian

Forum posts: 0
File comments: 36
Uploads: 0
Um...I can't seem to get the Combined Bar to actually unlock, despite "Unlock movement of bar" being set to 'ON'.

I've tried dragging the actual bar.

I've tried dragging the "0,0".

I've tried the above but with SHIFT held.

In fact the only way I've gotten the bar to move is by changing the Offsets under 'Combined bar' in the settings.

I've also noticed that doing a /reloadui causes the 'Combined Bar' to disappear until you do a /cb
Report comment to moderator  
Reply With Quote
Unread 06/22/20, 03:56 PM  
zilog

Forum posts: 0
File comments: 5
Uploads: 0
Originally Posted by Jarth
Hello zilog

Thanks for the feedback.
Thanks for your answer

In fact, the biggest problem with your interface appears to be the user, a.k.a PEBKAC

I had completely forgotten how to assign the keys and was dumbly counting the items in the bar to figure out the keybind in some absurd and obscure way : so YES, it's in fact quite easy : choose my keybinds in the game addons controls section, and then assign them by hovering on the desired memento and press the hotkey to remember it etc.

It's in fact intuitive and...'nuff said!

Thanks for this neat tool ; takes some time to get used to it, but it's a life changer as can be Dolgubon's lazy crafter or another dozen of daily used addons.

Without yours, I simple wouldn't use them at all...and Almalexia's light is very handy to have quickly
Last edited by zilog : 06/24/20 at 02:13 PM.
Report comment to moderator  
Reply With Quote
Unread 06/22/20, 10:37 AM  
Jarth
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 75
Uploads: 2
Hello zilog

Thanks for the feedback.

Originally Posted by zilog
Nice addon, but (no offense intended), the interface is not very intuitive (for me)
I know it is not that intuitive, but i hope the few screenshots and dialog in this thread helps understand the addon.
Feedback for a better user experience would be welcome.

Originally Posted by zilog
I came here because all my preferences vanished with the update I applied tonight
I had some breaking changes affecting the stored settings.
So i decided to change the "minor" version of the addon.
The settings are reset when the version number change is major or minor: (Version number: Major.Minor.Patch)

It would be nice if minion would backup saved files when updating an addon or something like that, i have usually backup mine once in a while.

Originally Posted by zilog
=> Did I miss the option or isn't there one : how do we REARRANGE the order of the items (mementos for instance)?
No, there is not currently a way to sort/order the categories or collectibles.
They now use the same data as the build in Collections window (hotkey:"U"), with the same ordering.

Originally Posted by zilog
=> and if we can't rearrange them...when you update and let's say add ONE memento ? will this "slide" the keybinds? if I assigned a key for item 40, if it becomes item 41, etc?
Short answer:
You bind the key to a collectible id, not to a button/position on a bar.

Bit longer answer:
After a key is bound to a collectible id, it is possible to activate the collectible.
It does not need a button to do so. The category and collectible can also be disabled/hidden and it should still activate.

All the button does, is give feedback on activation, allows for activation, (re-)binding and look pretty.

On the bar you can setup position and size of the content in the bar.

I hope it helps.
With kind regards
Jarth
Report comment to moderator  
Reply With Quote
Unread 06/22/20, 10:03 AM  
Jarth
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 75
Uploads: 2
Originally Posted by HowellQagan
Hey Jarth,

Display name setting saves it to another value that is not actually used. By default it says nil so I got suspicious. It saves the "Display" name under "Bar", when it actually uses the one under "Label". I've set it to "Somerandomstring" and it still shows the "Hats" that's stored under "Label".

Warning: Spoiler
Hello HowellQagan

Thanks for the feedback.
Display name had an existential crisis, but ended up placed in the Label.
I will fix the issue with update 1.1.1.
Report comment to moderator  
Reply With Quote
Unread 06/21/20, 04:01 PM  
HowellQagan
 
HowellQagan's Avatar

Forum posts: 9
File comments: 267
Uploads: 0
Originally Posted by zilog
I came here because all my preferences vanished with the update I applied tonight
And that's the reason why I don't use minion and manually update addons, only after checking the changelog.
Originally Posted by Changelog
Version 1.1.0 (21-06-2020)
Warning: With this version the saved variables will reset!
Btw it doesn't bind the hotkey to the slot, but the memento ID, I belive. I've changed the displayed mementos before and the hotkeys still worked the same, even if it added other mementos above the hotkeyed ones.
Report comment to moderator  
Reply With Quote
Unread 06/21/20, 03:36 PM  
zilog

Forum posts: 0
File comments: 5
Uploads: 0
Hi there

Been using the addon for a while but I always struggled with the interface : so, if I understand correctly, the mementos are in alphabetical order, and we can arrange the array with rows/columns as we wish, and assign keybinds to those we want (that's what I did for 5 mementos, very convenient indeed!)

BUT

=> Did I miss the option or isn't there one : how do we REARRANGE the order of the items (mementos for instance)?

=> and if we can't rearrange them...when you update and let's say add ONE memento ? will this "slide" the keybinds? if I assigned a key for item 40, if it becomes item 41, etc?

I came here because all my preferences vanished with the update I applied tonight

Nice addon, but (no offense intended), the interface is not very intuitive (for me)

Thanks for your work, it makes mementos and such useable in a way otherwise impossible
Report comment to moderator  
Reply With Quote
Unread 06/21/20, 03:00 PM  
HowellQagan
 
HowellQagan's Avatar

Forum posts: 9
File comments: 267
Uploads: 0
Hey Jarth,

Display name setting saves it to another value that is not actually used. By default it says nil so I got suspicious. It saves the "Display" name under "Bar", when it actually uses the one under "Label". I've set it to "Somerandomstring" and it still shows the "Hats" that's stored under "Label".

Warning: Spoiler
Report comment to moderator  
Reply With Quote
Unread 06/16/20, 09:03 AM  
Jarth
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 75
Uploads: 2
Originally Posted by TGCGeek
Originally Posted by Jarth
Hello again TGCGeek

Thanks for the info.
Changing the language with the script worked on my machine (famous last words ).

I recently added a shortcut to the settings panel in the ESO keybindings (Collection bars > Settings).
Does the section exist and can you open the window with a hotkey through that?

..

I noticed a flaw though.

In the settings file i use the name of the collectible as a key, when you change the language, it changes the key.
Then most of the setup is empty and have to be setup "for each language".

It should still work though, it would be tedious but you can rename the existing settings to the french name.

I will make an update in the near future with breaking changes, where i will rearrange the settings a bit.
In that regard i will look for a solution for the category names.

King regards
Jarth
Hello Jarth.

Thank you for your reply.

I tried to open the CB setting with the hotkey, and it worked!

I had to completely reconfigure my settings, as my CB settings from the english version aren't taken into account in the french version.
Everything is reconfigured the same way and it looks like it works perfectly now.

Thanks a lot for your help.
Sounds good, just be warned, i will push an update soon that will reset the settings.
It will be possible to map the settings, if you keep a backup of your settings file.

Kind regards
Jarth
Report comment to moderator  
Reply With Quote
Unread 06/15/20, 03:19 PM  
TGCGeek

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by Jarth
Hello again TGCGeek

Thanks for the info.
Changing the language with the script worked on my machine (famous last words ).

I recently added a shortcut to the settings panel in the ESO keybindings (Collection bars > Settings).
Does the section exist and can you open the window with a hotkey through that?

..

I noticed a flaw though.

In the settings file i use the name of the collectible as a key, when you change the language, it changes the key.
Then most of the setup is empty and have to be setup "for each language".

It should still work though, it would be tedious but you can rename the existing settings to the french name.

I will make an update in the near future with breaking changes, where i will rearrange the settings a bit.
In that regard i will look for a solution for the category names.

King regards
Jarth
Hello Jarth.

Thank you for your reply.

I tried to open the CB setting with the hotkey, and it worked!

I had to completely reconfigure my settings, as my CB settings from the english version aren't taken into account in the french version.
Everything is reconfigured the same way and it looks like it works perfectly now.

Thanks a lot for your help.
Report comment to moderator  
Reply With Quote
Unread 06/15/20, 10:06 AM  
Jarth
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 75
Uploads: 2
Originally Posted by TGCGeek
Originally Posted by Jarth
Hello TGCGeek

I am going to look into it.
What command do you use? Is that another add-on?

In the latest version i removed hardcoded English groupnames, it now uses the same data as the build in collections panel.
Then most of the add-on should be in the users language.
I will try to reproduce it.

Kind regards
Jarth
Hello Jarth, and thank you for your fast reply.

Today I use the addon named "Khrill Language Selector" to change the language of my game in french.
Before I discovered this addon, i used the command /script SetCVar("language.2","fr").

The effects are basically the same, and I tried both, to see if there is any change (but there isn't).

I have been using Khrill Language Selector for a long time and Collection Bar worked just fine with it before the update.

I also tried to deactivate every addon I have, except for Collection Bars, but the issue is the same : working in english, doesn't work in french.
As a test, I tried it using the command /script SetCVar("language.2","de") to set the texts in german : same issue, the addon does not seem to work in german too.

I hope these infos will be useful.
Hello again TGCGeek

Thanks for the info.
Changing the language with the script worked on my machine (famous last words ).

I recently added a shortcut to the settings panel in the ESO keybindings (Collection bars > Settings).
Does the section exist and can you open the window with a hotkey through that?

..

I noticed a flaw though.

In the settings file i use the name of the collectible as a key, when you change the language, it changes the key.
Then most of the setup is empty and have to be setup "for each language".

It should still work though, it would be tedious but you can rename the existing settings to the french name.

I will make an update in the near future with breaking changes, where i will rearrange the settings a bit.
In that regard i will look for a solution for the category names.

King regards
Jarth
Report comment to moderator  
Reply With Quote
Unread 06/14/20, 04:06 PM  
TGCGeek

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by Jarth
Hello TGCGeek

I am going to look into it.
What command do you use? Is that another add-on?

In the latest version i removed hardcoded English groupnames, it now uses the same data as the build in collections panel.
Then most of the add-on should be in the users language.
I will try to reproduce it.

Kind regards
Jarth
Hello Jarth, and thank you for your fast reply.

Today I use the addon named "Khrill Language Selector" to change the language of my game in french.
Before I discovered this addon, i used the command /script SetCVar("language.2","fr").

The effects are basically the same, and I tried both, to see if there is any change (but there isn't).

I have been using Khrill Language Selector for a long time and Collection Bar worked just fine with it before the update.

I also tried to deactivate every addon I have, except for Collection Bars, but the issue is the same : working in english, doesn't work in french.
As a test, I tried it using the command /script SetCVar("language.2","de") to set the texts in german : same issue, the addon does not seem to work in german too.

I hope these infos will be useful.
Report comment to moderator  
Reply With Quote
Unread 06/14/20, 12:13 PM  
Jarth
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 75
Uploads: 2
Originally Posted by TGCGeek
Hello,

Since the last update, the addon doesn't work in french version.

I installed my game in english (for the audio) and use a command to have the texts in french (a command I have to use each time I launch the game).
When the texts are in english, the AddOn works perfectly.
But after switching in french, the addon doesn't work anymore (it doesn't even appear in the addon settings and the /cb command doesn't work).

It worked in both languages in the previous versions.

I don't know if this issue occurs in other languages though.
Hello TGCGeek

I am going to look into it.
What command do you use? Is that another add-on?

In the latest version i removed hardcoded English groupnames, it now uses the same data as the build in collections panel.
Then most of the add-on should be in the users language.
I will try to reproduce it.

Kind regards
Jarth
Report comment to moderator  
Reply With Quote
Unread 06/14/20, 04:40 AM  
TGCGeek

Forum posts: 0
File comments: 3
Uploads: 0
Hello,

Since the last update, the addon doesn't work in french version.

I installed my game in english (for the audio) and use a command to have the texts in french (a command I have to use each time I launch the game).
When the texts are in english, the AddOn works perfectly.
But after switching in french, the addon doesn't work anymore (it doesn't even appear in the addon settings and the /cb command doesn't work).

It worked in both languages in the previous versions.

I don't know if this issue occurs in other languages though.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: