TimothyLuke / GSE-Advanced-Macro-Compiler

GSE is an alternative advanced macro editor and engine for World of Warcraft.
https://discord.gg/gseunited
MIT License
200 stars 71 forks source link

[BUG] #1172

Closed Siodar closed 1 year ago

Siodar commented 1 year ago

šŸ”µ LUA Error: A clear and concise description of what the bug is.

šŸ”µ To reproduce: (Steps to reproduce the behavior)

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

šŸ”µ **Message: Interface/AddOns/GSE/API/Storage.lua:1164: attempt to call field 'ProcessLoopVariables' (a nil value) Time: Sun Sep 25 16:45:20 2022 Count: 1 Stack: Interface/AddOns/GSE/API/Storage.lua:1164: attempt to call field 'ProcessLoopVariables' (a nil value) [string "@Interface/AddOns/GSE/API/Storage.lua"]:1164: in function processAction' [string "@Interface/AddOns/GSE/API/Storage.lua"]:1371: in functionCompileTemplate' [string "@Interface/AddOns/GSE/API/Storage.lua"]:518: in function OOCUpdateSequence' [string "@Interface/AddOns/GSE/API/Events.lua"]:565: in function?' [string "@Interface/AddOns/Details/Libs/AceTimer-3.0/AceTimer-3.0.lua"]:55: in function <...ce/AddOns/Details/Libs/AceTimer-3.0/AceTimer-3.0.lua:50>

Locals: action =

{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } Repeat = "1" Type = "Loop" } metaData =
{ Ring2 = true Head = true Trinket1 = false Trinket2 = false Neck = true Combat = true Belt = true Ring1 = true } variables =
{ KeyRelease =
{ } KeyPress =
{ } } actionList =
{ } (for generator) = defined =[C]:-1 (for state) =
{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } Repeat = "1" Type = "Loop" } (for control) = 1 id = 1 v =
{ 1 = "KeyPress" 2 = "/cast Kill Command" 3 = "KeyRelease" 4 = "/use [combat,nochanneling] 11" 5 = "/use [combat,nochanneling] 12" 6 = "/use [combat,nochanneling] 2" 7 = "/use [combat,nochanneling] 1" 8 = "/use [combat,nochanneling] 6" Type = "Action" } builtaction = "KeyPress /cast Kill Command KeyRelease /use [combat,nochanneling] 11 /use [combat,nochanneling] 12 /use [combat,nochanneling] 2 /use [combat,nochanneling] 1 /use [combat,nochanneling] 6" (temporary) = nil (temporary) = "KeyPress /cast Kill Command KeyRelease /use [combat,nochanneling] 11 /use [combat,nochanneling] 12 /use [combat,nochanneling] 2 /use [combat,nochanneling] 1 /use [combat,nochanneling] 6" (temporary) = 1 (temporary) = "attempt to call field 'ProcessLoopVariables' (a nil value)" Statics =
{ StringFormatEscapes =
{ } ReversePriority = "ReversePriority" CastCmds =
{ } TranslationShadow = "SHADOW" CommPrefix = "GSE" Priority = "Priority" PrintKeyModifiers = "print("Right alt key " .. tostring(IsRightAltKeyDown())) print("Left alt key " .. tostring(IsLeftAltKeyDown())) print("Any alt key " .. tostring(IsAltKeyDown())) print("Right ctrl key " .. tostring(IsRightControlKeyDown())) print("Left ctrl key " .. tostring(IsLeftControlKeyDown())) print("Any ctrl key " .. tostring(IsControlKeyDown())) print("Right shft key " .. tostring(IsRightShiftKeyDown())) print("Left shft key " .. tostring(IsLeftShiftKeyDown())) print("Any shft key " .. tostring(IsShiftKeyDown())) print("Any mod key " .. tostring(IsModifierKeyDown())) print("GetMouseButtonClicked() " .. GetMouseButtonClicked() ) " SpecIDClassList =
{ } CoreLoadedMessage = "GS-CoreLoaded" MacroResetSkeleton = "if %s then self:SetAttribute('step', 1) self:SetAttribute('loopiter', 1) end " SpecIDHashList =
{ } StringReset = "" CleanStrings =
{ } Class = "Class" ReloadMessage = "Reload" MacroCommands =
{ } DebugModules =
{ } TranslatorMode =
{ } SourceLocal = "Local" GSE3OnClick = "local step = self:GetAttribute('step') step = tonumber(step) self:SetAttribute('macrotext', macros[step] ) step = step % #macros + 1 if not step or not macros[step] then -- User attempted to write a step method that doesn't work, reset to 1 print('Invalid step assigned by custom step sequence', self:GetName(), step or 'nil', '') step = 1 end self:SetAttribute('step', step) self:CallMethod('UpdateIcon') " Sequential = "Sequential" Random = "Random" ActionsIcons =
{ } Actions =
{ } Patrons =
{ } Global = "Global" BaseSpellTable =
{ } All = "All" Spec = "Spec" Quest** Paste the error message in this blockquote.

šŸ”µ Screenshots: If applicable, add screenshots to help explain your problem.

šŸ”µ Expected behavior: A clear and concise description of what you expected to happen.

šŸ”µ GSE.lua file: Please provide your GSE.lua file or the export string for the specific macro that is causing an issue.

šŸ”µ Desktop (please complete the following information):

šŸ”µ 3.1.08:

šŸ”µ Additional context: Add any other context about the problem here.

TimothyLuke commented 1 year ago

Take the new 3.1.08 from discord. I just fixed it as you were posting