SFX-WoW / Masque

A button-skinning engine for World of Warcraft.
Other
44 stars 10 forks source link

When promoting/demoting guild members in classic #358

Closed Kaziedk closed 2 months ago

Kaziedk commented 3 months ago

Game Flavor

Classic Era

Game Version

1.15.1

Add-On Version

10.2.6

Description

When trying to promote or demote a guild member, the button is grayed and nothing happens. You can close and open the member window and it will be usable again, but simply repeats the behavior.

Steps to Reproduce

It just happens when i log in. Sometimes it works if i /reload ui or when i enable debug mode.

Error Message

5x [ADDON_ACTION_FORBIDDEN] AddOn 'Masque' tried to call the protected function 'GuildPromote()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `GuildPromote'
[string "*FriendsFrame.xml:3454_OnClick"]:1: in function <[string "*FriendsFrame.xml:3454_OnClick"]:1>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}

Screenshots

No response

Notes

Error message posted is from BugGrabber!

StormFX commented 3 months ago

This is propagation from another library/add-on. Masque doesn't call those functions.

Kaziedk commented 3 months ago

hmm i see - i wonder how i can find the culprit addon/library then.

Kaziedk commented 3 months ago

Could this shed some light on this?

10x ...asque/Libs/AceGUI-3.0-41/widgets/AceGUIWidget-Label.lua:131: Usage: self:SetFont(fontFile, height, flags)
[string "=[C]"]: in function `SetFont'
[string "@Masque/Libs/AceGUI-3.0-41/widgets/AceGUIWidget-Label.lua"]:131: in function `SetFont'
[string "@RaidInviteClassic/groupassigns.lua"]:62: in function `OnEnableGroupview'
[string "@RaidInviteClassic/core.lua"]:170: in function <RaidInviteClassic/core.lua:54>
[string "=[C]"]: ?
[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...aceMasque/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...aceMasque/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals:
(*temporary) = AceGUI30LabelFont9 {
 0 = <userdata>
}
(*temporary) = "Fonts\FRIZQT__.TTF"
(*temporary) = 12
(*temporary) = nil
StormFX commented 3 months ago

Sorry for the delay. It looks like it's related to RaidInviteClassic. I would recommend disabling add-ons and test them individually to be sure.

Kaziedk commented 3 months ago

This issue was present before i installed that addon. But i'll go through all of them one by one and see where the issue lies. assuming that i can make it happen rather quick after reloading.

StormFX commented 3 months ago

You can also do the opposite. Disable add-ons that appear in the error message one-by-one until the message no longer happens. Whatever was the last one is probably the culprit.