WowSims Exporter

WowSims Exporter

724k Downloads

[Cata Classic] v2.11.6 error

Road-block opened this issue ยท 6 comments

commented
1x Button:SetScript(): Usage: ("frameScriptTypeName", function)
[string "=[C]"]: in function `SetScript'
[string "@WowSimsExporter/UI.lua"]:134: in function `CreateCharacterPanelButton'
[string "@WowSimsExporter/WowSimsExporter.lua"]:45: in function <WowSimsExporter/WowSimsExporter.lua:32>
[string "=[C]"]: ?
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals:
(*temporary) = Button {
 SetTextToFit = <function> defined @Blizzard_SharedXML/SecureUIPanelTemplates.lua:244
 Right = Texture {
 }
 Left = Texture {
 }
 fitTextWidthPadding = 40
 FitToText = <function> defined @Blizzard_SharedXML/SecureUIPanelTemplates.lua:249
 Text = CharacterFrameText {
 }
 0 = <userdata>
 Middle = Texture {
 }
 fitTextCanWidthDecrease = true
}
(*temporary) = "OnClick"
commented

@Road-block Which game version?

commented

@Road-block Which game version?

I put it on the title sorry, Cataclysm Classic enUS 4.4.0.55639

commented

Problem is this copy-pasta error

    openButton:SetScript("OnClick", openButton:SetScript("OnClick", function(self)
        onClick()
    end))
commented

Problem is this copy-pasta error

    openButton:SetScript("OnClick", openButton:SetScript("OnClick", function(self)
        onClick()
    end))

Wait how did I overlook that copy pasta ๐Ÿ˜ญ

commented

This is now live with version v2.11.7, thanks a lot guys!