Kiatra / ChocolateBar

ChocolateBar is a World of Warcraft addons to display plugins in a bar on top or bottom of your screen
https://www.wowace.com/projects/chocolatebar
18 stars 9 forks source link

[Bug Report] Your libs.xml is loading Ace3 out of order #37

Closed Myrroddin closed 3 months ago

Myrroddin commented 6 months ago

What game version did the bug occur in?

Vanilla Classic, Burning Crusade Classic, Wrath of the Lich King Classic, Retail

Troubleshooting

Describe the bug.

The Ace3 libs have a required load order, as seen in the Ace3 toc file.

Steps to reproduce.

What ChocolateBar is currently doing is trying to load various Ace3 libs before their prerequisite Ace3 libs are loaded. This will not end well. Your lbs.xml needs to follow the Ace3 load order, with external libs like LSM, LibQTip, and AceGUI-3.0-SharedMediaWidgets loaded last.

Expected behavior.

Fixing the libs.xml file to prevent "not found" or "X is nil" errors as Blizzard gets more stringent about correct procedures with addons.

Errors

No errors yet, but they will happen.
Myrroddin commented 3 months ago

I found more potential errors in your ToC. no-lib-strip is deprecated and should not be used. LibDataBroker-1.1 should be listed in your libs.xml file.

Myrroddin commented 3 months ago

These lines in your ToC can be compressed.

## Interface: @toc-version-retail@
## Interface-Retail: @toc-version-retail@
## Interface-Classic: @toc-version-classic@
## Interface-BCC: @toc-version-bcc@
## Interface-Wrath: @toc-version-wrath@

They become Interface: 11503, 40400, 110002

Kiatra commented 3 months ago

Please create a pull request for the enhancements