SFX-WoW / Masque

A button-skinning engine for World of Warcraft.
Other
45 stars 11 forks source link

Bug: Skins Not Loading #391

Closed vojtasrb closed 4 weeks ago

vojtasrb commented 1 month ago

Game Flavor

Retail

Game Version

11.0.2

Add-On Version

11.0.1

Description

Not all skins are showing up in the list.

F.e. I can't see Masque_Squat.

Steps to Reproduce

  1. Install Masque_Squat and Masque Addon
  2. Look at the settings, it's not there
  3. Profit
Thuuna commented 1 month ago

I have the same issue. Masque: Shadowlands doesnt show up.

Screenshot 2024-08-14 211759 Screenshot 2024-08-14 211906

StormFX commented 1 month ago
  1. Make sure that you have out-of-date add-ons enabled.
  2. If there's an error about GetAddOnMetadata, you will need to manually edit the file and add C_AddOns. to the beginning of every occurrence of GetAddOnMetadata so that it reads C_AddOns.GetAddOnMetadata.
Thuuna commented 1 month ago

@StormFX : Thanks for the reply.

  1. is enabled
  2. There is no error about GetAddOnMetadata
StormFX commented 1 month ago

You must have errors suppressed or something. I can confirm the skin does need to be edited.

Change line 8 of main.lua (in the Masque_Shadowlands folder)

From:

local VERSION = GetAddOnMetadata(ADDON, "Version")

To:

local VERSION = C_AddOns.GetAddOnMetadata(ADDON, "Version")
Thuuna commented 1 month ago

Worked perfectly.

Thank you for yout time and effort. @StormFX

StormFX commented 1 month ago

No problem!

vojtasrb commented 1 month ago

After editing the file, Squat still not working unfortunately

StormFX commented 4 weeks ago

Apologize for the premature close. Was assuming it was fixed and got side-tracked by the additional poster. And for future reference, the original poster should be able to re-open an issue.

After editing the file, Squat still not working unfortunately

Shadowlands's code is different, so you'll need to adjust it. Change "VERSION" to "Version" in the example above. Lua is case-sensitive.

image image image

vojtasrb commented 4 weeks ago

Apologize for the premature close. Was assuming it was fixed and got side-tracked by the additional poster. And for future reference, the original poster should be able to re-open an issue.

After editing the file, Squat still not working unfortunately

Shadowlands's code is different, so you'll need to adjust it. Change "VERSION" to "Version" in the example above. Lua is case-sensitive.

image image image

Hey dude, it works now. Thanks!

Now you can close it. :)

StormFX commented 4 weeks ago

Good to hear!