Author Topic: Classic - Categories not working anymore  (Read 1893 times)

Tom Doe

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Classic - Categories not working anymore
« on: September 26, 2020, 01:48:58 PM »
Hi!

Since the last update i can't see/edit categories anymore. It works still with my last settings but they are kinda "frozen" now due to that.

I then reset my Autobar settings in WTF folder and tried to rebuild it from scratch, but the problem remains even with a complete reinstall?

The category windows is basically empty from the start. When i hit the button"new" he seemingly does nothing. I checked out your debug functions in the interface options and there i see my unused custom catewgories then. So, after all it just seems like a visual bug in the category window.

Oh and while i'm here: one thing that bugs me about the addon is the category drodpdown in buttons -> categories seem to have no order whatsoever. If you could order them by name, that would be of great help.

Thank you in advance for fixing it :)

« Last Edit: September 26, 2020, 01:52:43 PM by Tom Doe »

MuffinManKen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 419
  • Karma: +12/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #1 on: September 29, 2020, 12:51:21 AM »
I have the category issue fixed in a rough beta, but it's unlikely it'll get released right away.  I'm pretty swamped with all of the work to get things ready for Shadowlands.

The sorting issue has been on my list for a long time.  All of those UI components are part of the Ace3 library and they've ignored requests to add sorting.  So it will get done, but it's a lot more work than if it was my own code I was messing with.

MuffinManKen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 419
  • Karma: +12/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #2 on: September 29, 2020, 02:40:29 AM »
After writing that reply, I got curious about Ace3; the last time I looked into it was about 5 years ago.  It turns out they did implement my request!!


So in an upcoming release, the Categories will be sorted by their name. Yay!

Tom Doe

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #3 on: October 02, 2020, 09:15:46 AM »
Yeah i just wanted to say you can provide an extra table for sorting now in ace dropdowns. i'm new to ACE so i don't know it any different. I basically also found a wokaround for my category issue: If you hit the button new category it creates a new category with standard name. These can be used in buttons if you just drop spells/items/macros on them. I didn't know yet that you can drag a macro from the Blizzard UI to a button too. I always put the macro code manually in the category editor. When i found that out i could recreate my stuff.

One thing i noticed though (small glitch): I had to reload UI quite a lot of times. Especially when assigning the newly created category to a button -> i had to reload or else it wouldnt let me drop anything onto that. Now i just hope my setup will still work after your bugfixes :P

categorymaN

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #4 on: December 21, 2020, 04:49:44 AM »
Any update? :o

MuffinManKen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 419
  • Karma: +12/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #5 on: December 21, 2020, 04:50:25 PM »
Sorry, a fix should be available as soon as Curseforge approves it.  I'm not actually playing Classic so I lose track of it fairly easily.

Thanks for the reminder poke!

categorymaN

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #6 on: December 22, 2020, 11:16:41 PM »
Sorry, a fix should be available as soon as Curseforge approves it.  I'm not actually playing Classic so I lose track of it fairly easily.

Thanks for the reminder poke!
My appreciation cannot be expressed in words, I love this addon and I love you.
Thank you.

badspec

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #7 on: March 05, 2021, 03:23:07 AM »
I downloaded the newest version on curseforge (1.13.6.00), the categories are alphabetized now, which is awesome! The custom categories are still not showing up. I've narrowed it down to AutoBarCategory.lua:ABGCode.UpdateCustomCategories(). When getting the CustomCategory::new() obj back on line 920, it's only getting an obj back with `nonCombat` and `targeted` attributes, nothing else, so on line 939, categoryInfo.description is nil. I'm not super experienced in LUA and it's getting late so that's where I left off.

If you are like me and found this thread, a quick hacky fix to get things working again is to open AutoBarCategory.lua and after line 935 add the following:
Quote
   
if (not categoryInfo.description) then
   categoryInfo.description = categoryKey
end

This displays all your custom categories with the prefix: "Custom", which is rather nice because they're all in one spot (consider keeping this IMO). Cheers!

MuffinManKen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 419
  • Karma: +12/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #8 on: March 05, 2021, 12:48:09 PM »
I downloaded the newest version on curseforge (1.13.6.00), the categories are alphabetized now, which is awesome! The custom categories are still not showing up. I've narrowed it down to AutoBarCategory.lua:ABGCode.UpdateCustomCategories(). When getting the CustomCategory::new() obj back on line 920, it's only getting an obj back with `nonCombat` and `targeted` attributes, nothing else, so on line 939, categoryInfo.description is nil. I'm not super experienced in LUA and it's getting late so that's where I left off.

If you are like me and found this thread, a quick hacky fix to get things working again is to open AutoBarCategory.lua and after line 935 add the following:
Quote
   
if (not categoryInfo.description) then
   categoryInfo.description = categoryKey
end


This displays all your custom categories with the prefix: "Custom", which is rather nice because they're all in one spot (consider keeping this IMO). Cheers!

Thanks for this!  I'll dig into it.
« Last Edit: March 05, 2021, 04:52:33 PM by MuffinManKen »

john Notjohn

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #9 on: March 12, 2021, 04:50:05 PM »
Hello,
 May i say i would like to love this addon.  Though I feel my lack of understanding may prevent me.  Recently having downloaded the classic version, i began attempting to customize my own bar.  Though i do understand the preexisting categories, i do not care for many of them, as they are too broad for my idiosyncrasies. What i am having issue with is like this poster, i make a custom category (well try, i don't see where a couple spells are)Curse of Exhaustion spell=18223 or Ritual of Summoning spell=698.  But i cannot imagine they are not in there somewhere. Just are not listed, or are considered something other than their title.  But i did make a category for the curse of exhaustion, and attempted to add it onto a button. It does not give me the option to do so. When customizing my buttons, it will only allow preexisting categories, which cannot be altered? Which is a shame.  I am sure in most part my issue is user error, but would like to confirm. I am not getting any LUA error. In a nut shell I essentially want to create a bar, with 8 buttons, left fly out, one that would be summoned demons. Another to misc things like, eye of kilrogg, and underwater breathing, detect invisibility (another spell i could not find, would think it to be with the detect demon single debuff, but was not showing for me) I don't want these as separate buttons. I can't have just battle elixir, and all elixirs that would encompass, even though they may be in my bags. I need to separate them more based on when i would use them rather than the predefined classification they are given in Autobar. It is similar to Arkinventory, where i wanted a bag bar that when conjuring mage water and food would go specifically to that bag and nowhere else, and nothing else would populate in that bag. initially it was not possible years ago and conjured items all fell under the same distinction. Water, food, mana gems ect.  Now I can separate them out.  From what I see that should be or already is possible here without going into LUA. But I can't get it to work.  Any insight you could provide would be appreciated, and welcomed. Even criticism-- if it is productive ;).  We won't learn anything, if we don't ask about the things we don't understand. Thank you very much for your time. Forgive me if this post is in a way wrong area, and in todays society of 3 sentence texts, very lengthy.   i searched for issues that seemed similar to mine. This one was closest.

MuffinManKen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 419
  • Karma: +12/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #10 on: March 12, 2021, 05:35:00 PM »
Hello,
 May i say i would like to love this addon.  Though I feel my lack of understanding may prevent me.  Recently having downloaded the classic version, i began attempting to customize my own bar.  Though i do understand the preexisting categories, i do not care for many of them, as they are too broad for my idiosyncrasies. What i am having issue with is like this poster, i make a custom category (well try, i don't see where a couple spells are)Curse of Exhaustion spell=18223 or Ritual of Summoning spell=698.  But i cannot imagine they are not in there somewhere. Just are not listed, or are considered something other than their title.  But i did make a category for the curse of exhaustion, and attempted to add it onto a button. It does not give me the option to do so. When customizing my buttons, it will only allow preexisting categories, which cannot be altered? Which is a shame.  I am sure in most part my issue is user error, but would like to confirm. I am not getting any LUA error. In a nut shell I essentially want to create a bar, with 8 buttons, left fly out, one that would be summoned demons. Another to misc things like, eye of kilrogg, and underwater breathing, detect invisibility (another spell i could not find, would think it to be with the detect demon single debuff, but was not showing for me) I don't want these as separate buttons. I can't have just battle elixir, and all elixirs that would encompass, even though they may be in my bags. I need to separate them more based on when i would use them rather than the predefined classification they are given in Autobar. It is similar to Arkinventory, where i wanted a bag bar that when conjuring mage water and food would go specifically to that bag and nowhere else, and nothing else would populate in that bag. initially it was not possible years ago and conjured items all fell under the same distinction. Water, food, mana gems ect.  Now I can separate them out.  From what I see that should be or already is possible here without going into LUA. But I can't get it to work.  Any insight you could provide would be appreciated, and welcomed. Even criticism-- if it is productive ;).  We won't learn anything, if we don't ask about the things we don't understand. Thank you very much for your time. Forgive me if this post is in a way wrong area, and in todays society of 3 sentence texts, very lengthy.   i searched for issues that seemed similar to mine. This one was closest.

G'day!

The way AutoBar is organized, there are Buttons, which contain one or more Categories.  Each Category contains one or more "Item" (which can be an actual item, spell, macro, etc). You are correct that the pre-existing Buttons and Categories cannot be edited.

The easiest bit of customization is to make a Custom Button and assign pre-existing Categories. Let's say you want to have your various Hearth/Portal things organized differently. You can go to this page: https://muffinmangames.com/wowaddons/autobar/button_definitions.php and see that the Hearth button is made up of the following Categories:
Spell.Portals, Spell.AncientDalaranPortals(optional), Misc.Hearth, Muffin.Toys.Hearth, Muffin.Toys.Portal

So if you want to have your Mage portals separate from your Hearth items, you can create 2 different Custom buttons and assign the appropriate Categories to the 2. A step-by-step tutorial for that is here: https://muffinmangames.com/wowaddons/autobar/tutorial_custom_button.php

This level of customization is all most people need, but some people are very particular in how things are organized and for those people we have Custom Categories. A video tutorial for those is here: https://www.youtube.com/watch?v=4eZMzvrJlNE

Please note: There is a currently a bug that is stopping Custom Categories from showing up.  I'll be releasing a fix for that.

I think I covered all of your concerns, but if I missed something or you need further clarification, just let me know!

illutian

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Classic - Categories not working anymore
« Reply #11 on: April 19, 2021, 05:44:32 PM »
Ah, so this is what happened to my /use custom. I too have a, now blank, category for my custom Button for Greater Protection Pots (I didn't like them lumped in with other potions).