GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG]

Siodar opened this issue ยท 1 comments

commented

๐Ÿ”ต 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 function CompileTemplate'
[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.

  • To find the GSE.lua file:
  1. First, make sure you have enabled the "File Name Extensions" checkbox in Explorer (View tab)
  2. Browse to C:\path\to\wow\_retail_\WTF\Account\YourAccountName\SavedVariables\ or /path/to/WoW/_retail_/WTF/Account/YourAccountName/SavedVariables
  3. Copy the GSE.lua file to your Desktop
  4. Rename this copy to GSA.lua.txt
  5. Then just drag it here in your message
  • Note: If you do not include your GSE.lua file you are wasting your time and mine. 90% of the time, the first thing I will ask for is "Can you please upload your GSE.lua file?". This file is needed with the error to work out Why that error occured for you.

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

  • OS: [e.g. Windows 10 64bit]
  • Game Version [e.g. classic/bcc/retail (9.1.0)]

๐Ÿ”ต 3.1.08:

  • Version: [e.g. 3.x.y]
  • Downloaded From: [e.g. https://www.curseforge.com]

๐Ÿ”ต Additional context:
Add any other context about the problem here.

commented

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