Update needed for 11.0
korgen63 opened this issue · 15 comments
yep doesnt work at all .
the plates are complete gone, only names show up. no access to the options of the addon.
Update required asap pls :3
https://github.com/httpsx/tidyplates/releases/tag/v6.21.8.tww
Quick fix for tww 11.0
Settings are still not working
I hope a quick fix is incoming, I can't play, I'm litterally blind with only seeing white name letters and no bars at all.
I hope a quick fix is incoming, I can't play, I'm litterally blind with only seeing white name letters and no bars at all.
use my fork as temporary solution, this will completely work if you had tidyplates previously configured
https://github.com/httpsx/tidyplates
How do you use the work around?
Download this file: https://github.com/httpsx/tidyplates/blob/main/TidyPlates/TidyPlatesPanel.lua
Then go to C:\Program Files (x86)\World of Warcraft\_retail_\Interface\Addons\TidyPlates
and rename the old one to TidyPlatesPanel.lua.bak
and then copy/paste the one you downloaded into that folder.
Appreciate the fix! Even with that though, still getting the following error:
12x TidyPlatesHub/Templates.lua:761: attempt to call global 'InterfaceOptions_AddCategory' (a nil value)
[string "@TidyPlatesHub/Templates.lua"]:761: in function `CreateHubInterfacePanel'
[string "@TidyPlatesHub/Hub.lua"]:513: in main chunk
Locals:
objectName = "HubPanelSettingsTank"
panelTitle = "|cFF3782D1Tank Profile"
parentFrameName = "Tidy Plates"
panel = HubPanelSettingsTank_InterfaceOptionsPanel {
BottomLeftCorner = Texture {
}
parent = "Tidy Plates"
MainLabel = Frame {
}
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
ScrollFrame = HubPanelSettingsTank_Scrollframe {
}
Warnings = Frame {
}
objectName = "HubPanelSettingsTank"
WarningFrame = HubPanelSettingsTankWarningFrame {
}
backdropInfo = <table> {
}
TopRightCorner = Texture {
}
Headings = <table> {
}
AlignmentColumn = HubPanelSettingsTank_AlignmentColumn {
}
ScrollFrameBorder = HubPanelSettingsTankScrollFrameBorder {
}
MainFrame = Frame {
}
TopEdge = Texture {
}
Center = Texture {
}
HeadingBookmarks = <table> {
}
name = "|cFF3782D1Tank Profile"
BottomEdge = Texture {
}
LeftEdge = Texture {
}
BottomRightCorner = Texture {
}
}
WarningFixButton = HubPanelSettingsTankWarningFixButton {
}
PasteThemeDataButton = HubPanelSettingsTankPasteThemeDataButton {
tooltipText = "Loads settings from the stored template"
}
CopyThemeDataButton = HubPanelSettingsTankCopyThemeDataButton {
tooltipText = "Set template using current settings"
}
ReloadThemeDataButton = HubPanelSettingsTankReloadThemeDataButton {
tooltipText = "Resets the configuration to Default. Holding down 'Shift' will also clear saved unit data, and restart your UI."
}
BookmarkButton = HubPanelSettingsTankBookmarkButton {
}
UnlinkButton = HubPanelSettingsTankUnlinkButton {
}
(*temporary) = nil
(*temporary) = HubPanelSettingsTank_InterfaceOptionsPanel {
BottomLeftCorner = Texture {
}
parent = "Tidy Plates"
MainLabel = Frame {
}
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
ScrollFrame = HubPanelSettingsTank_Scrollframe {
}
Warnings = Frame {
}
objectName = "HubPanelSettingsTank"
WarningFrame = HubPanelSettingsTankWarningFrame {
}
backdropInfo = <table> {
}
TopRightCorner = Texture {
}
Headings = <table> {
}
AlignmentColumn = HubPanelSettingsTank_AlignmentColumn {
}
ScrollFrameBorder = HubPanelSettingsTankScrollFrameBorder {
}
MainFrame = Frame {
}
TopEdge = Texture {
}
Center = Texture {
}
HeadingBookmarks = <table> {
}
name = "|cFF3782D1Tank Profile"
BottomEdge = Texture {
}
LeftEdge = Texture {
}
BottomRightCorner = Texture {
}
}
(*temporary) = "attempt to call global 'InterfaceOptions_AddCategory' (a nil value)"
PanelHelpers = <table> {
}
font = "Interface\Addons\TidyPlates\Media\DefaultFont.ttf"
Looks like the deprecated InterfaceOptions_AddCategory
function is finally removed, and it is causing problems here.
I'm not familiar with Lua or how the addon is written, but I was able to get it to "work" with a somewhat weird settings UI. I'm using mac os at the moment, so the directories might be different from windows, but the file names should be the same. You should be able to find these files within the addons folder of your retail wow folder.
Fix for the main setting
On ../TidyPlates/TidyPlatePanel.lua
, on line 14, change
InterfaceOptions_AddCategory(TidyPlatesInterfacePanel);
to
local category, layout = Settings.RegisterCanvasLayoutCategory(TidyPlatesInterfacePanel, "Tidy Plates")
Settings.RegisterAddOnCategory(category)
Fix for the profiles
This is where my knowledge for these things ends, I was not able to get all the profiles to show up as "subcategories". Nevertheless I was able to get them to work.
On ../TidyPlatesHub/Templates.lua
, on line 761, replace
InterfaceOptions_AddCategory(panel)
with
local category, layout = Settings.RegisterCanvasLayoutCategory(panel, panelTitle)
Settings.RegisterAddOnCategory(category)
After these two changes, /reload ui
in the game and you should see the addon back to normal. Hopefully @ImogenBits is able to come back and fix this properly for us, the documentation linked above does have some extended explanation about how to build the settings with new APIs.
I have created a PR that includes the complete restoration of the addon functionality, including the settings window
#108
I'm working on a fix. The codebase for this addon was written over a decade ago by someone else and is pretty convoluted, so it's hard and might take some time. I'll try to get it into a somewhat working state asap and then release that update, and then might try to actually get things fixed and up to date properly.