GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

[BUG] Using sequences causes excessive lua errors when combat ends.

chayde opened this issue ยท 8 comments

commented

๐Ÿ”ต Describe the bug:
every time I use a sequence I receive LUA errors when combat ends.

๐Ÿ”ต To reproduce: (Steps to reproduce the behavior)
Begin combat and press the key I have bound for a sequence.
As soon as combat ends the following error displays. It happens for all sequences I try and use.

๐Ÿ”ต The error:
Paste the error message in this blockquote.

Message: Interface/AddOns/GSE/API/Storage.lua:558: attempt to index local 'spellinfo' (a nil value)
Time: Sat Sep 28 20:09:34 2024
Count: 1050
Stack: Interface/AddOns/GSE/API/Storage.lua:558: attempt to index local 'spellinfo' (a nil value)
[string "@Interface/AddOns/Blizzard_FrameXML/RestrictedExecution.lua"]:483: in function <...ace/AddOns/Blizzard_FrameXML/RestrictedExecution.lua:446>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua"]:285: in function <...nterface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Locals: owningFrame = ST_Commander_Superstrain {
}
signature = "self,button,down"
body = "    local mods = "RALT=" .. tostring(IsRightAltKeyDown()) .. "|" ..
    "LALT=".. tostring(IsLeftAltKeyDown()) .. "|" ..
    "AALT=" .. tostring(IsAltKeyDown()) .. "|" ..
    "RCTRL=" .. tostring(IsRightControlKeyDown()) .. "|" ..
    "LCTRL=" .. tostring(IsLeftControlKeyDown()) .. "|" ..
    "ACTRL=" .. tostring(IsControlKeyDown()) .. "|" ..
    "RSHIFT=" .. tostring(IsRightShiftKeyDown()) .. "|" ..
    "LSHIFT=" .. tostring(IsLeftShiftKeyDown()) .. "|" ..
    "ASHIFT=" .. tostring(IsShiftKeyDown()) .. "|" ..
    "AMOD=" .. tostring(IsModifierKeyDown()) .. "|" ..
    "MOUSEBUTTON=" .. GetMouseButtonClicked()
    self:SetAttribute('localmods', mods)
    local step = self:GetAttribute('step')
    step = tonumber(step)
    if self:GetAttribute('stepped') then
        self:SetAttribute('stepped', false)
    else
        for k,v in pairs(spelllist[step]) do
            if k == "macrotext" then
                self:SetAttribute("macro", nil )
                self:SetAttribute("unit", nil )
            elsfactory = <table> {
}
LOCAL_Closure_Factories = <table> {
 self = <table> {
 }
 self,... = <table> {
 }
 self,stateid,newstate = <table> {
 }
 self,button,down = <table> {
 }
 self,name,value = <table> {
 }
}
LOCAL_execution_count = 1

๐Ÿ”ต Screenshots:
If applicable, add screenshots to help explain your problem.

๐Ÿ”ต Expected behavior:
I expect there to not be constant lua errors when ending combat

๐Ÿ”ต GSE.lua file:
provided

๐Ÿ”ต Desktop (please complete the following information):

  • OS: Windows 11
  • Game Version Wow Retail current version

๐Ÿ”ต GSE Version:

  • Version: 3.2.15
  • Downloaded From: curseforge program

๐Ÿ”ต Additional context:
Add any other context about the problem here.
--none--
GSE.lua.txt

commented

Out of that list which specific sequences are you using?

commented

ST_Commander_Superstrain but it happened with the OAKUHAE and the Mythic+_Superstrain as well. I just rolled back to the last 3.2.14-f and the errors stopped if that helps.

commented

I'm also having this issue. It's just my own little sequences I made. It was spamming the error in combat and it wouldn't let me even look at my sequences. I had to roll back the version as well. Thank god I found this out before my raid tonight. My error was a little different but very similar so I will also post it here.

[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Blizzard_FrameXML/RestrictedFrames.lua"]:674: in function <Blizzard_FrameXML/RestrictedFrames.lua:673>
[string "@Blizzard_FrameXML/RestrictedFrames.lua"]:812: in function `CallMethod'
[string "    local mods = "RALT=" .. tostring(IsRightAltKeyDown()) .. "|" ..
    "LALT=".. tostring(IsLeftAltKeyDown()) .. "|" ..
    "AALT=" .. tostring(IsAltKeyDown()) .. "|" ..
    "RCTRL=" .. tostring(IsRightControlKeyDown()) .. "|" ..
    "LCTRL=" .. tostring(IsLeftControlKeyDown()) .. "|" ..
    "ACTRL=" .. tostring(IsControlKeyDown()) .. "|" ..
    "RSHIFT=" .. tostring(IsRightShiftKeyDown()) .. "|" ..
    "LSHIFT=" .. tostring(IsLeftShiftKeyDown()) .. "|" ..
    "ASHIFT=" .. tostring(IsShiftKeyDown()) .. "|" ..
    "AMOD=" .. tostring(IsModifierKeyDown()) .. "|" ..
    "MOUSEBUTTON=" .. GetMouseButtonClicked()
    self:SetAttribute('localmods', mods)
    local step = self:GetAttribute('step')
    step = tonumber(step)
    if self:GetAttribute('stepped') then
        self:SetAttribute('stepped', false)
    else
        for k,v in pairs(spelllist[step]) do
            if k == "macrotext" then
                self:SetAttribute("macro", nil )
                self:SetAttribute("unit", nil )
            elseif k == "macro" then
                self:SetAttribute("macrotext", nil )
                self:SetAttribute("unit", nil )
            elseif k == "Icon" then
                -- skip
            end
            self:SetAttribute(k, v )
        end

        step = step % #spelllist + 1
        self:SetAttribute('stepped', true)
        self:SetAttribute('step', step)
        self:CallMethod('UpdateIcon')
    end
    "]:34: in function <[string "    local mods = "RALT=" .. tostring(IsRigh..."]:1>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@Blizzard_FrameXML/RestrictedExecution.lua"]:483: in function <...aceBlizzard_FrameXML/RestrictedExecution.lua:446>
[string "=(tail call)"]: ?
[string "@Blizzard_FrameXML/SecureHandlers.lua"]:285: in function <Blizzard_FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Locals:
commented

I am also getting this error :(
gse-error-2024-09-28.txt

commented

Is this just happening for 3.2.15 and not 3.2.15-PatronBuild ?

commented

I initially rolled back to 3.2.14-f-10-gdedd306 since it was the most recent (I don't normally use alpha versions) and it was still happening so I rolled back to the latest stable version of 3.2.14-f. I didn't try any of the other alpha builds.

commented

There is a GSE-3.2.15-1-g221122 alpha on DIscord for patrons and Wago. (Its been sent to Curseforge but usually takes an hour plus for them to process). Could some of you who are experiencing issues verify that its working?

I have taken a cross section of the GSE.lua files sent via this and #1663 and seems to be clear but would like confirmation before i make this an official release.

commented

been testing new build from wago this morning and I'm not seeing the same lua errors I was.