[BUG] Adding a variable block seems to bork the sequences
claytonkimber opened this issue ยท 3 comments
๐ต Describe the bug:
Create a variable, and try to add that variable to a sequence
๐ต To reproduce: (Steps to reproduce the behavior)
- create a variable
- save variable
- Go to sequence
- Click add if block
๐ต The error:
Paste the error message in this blockquote.
5x ...3/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown-Items.lua:101: bad argument #1 to 'SetText' (Usage: self:SetText([text]))
[string "=[C]"]: in function `SetText'
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown-Items.lua"]:101: in function `SetText'
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown.lua"]:566: in function <...re/Ace3/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua:560>
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown.lua"]:605: in function `SetList'
[string "@GSE_GUI/Editor.lua"]:2818: in function <GSE_GUI/Editor.lua:2295>
[string "@GSE_GUI/Editor.lua"]:2967: in function `DrawSequenceEditor'
[string "@GSE_GUI/Editor.lua"]:1589: in function `GUIDrawMacroEditor'
[string "@GSE_GUI/Editor.lua"]:2990: in function `GUISelectEditorTab'
[string "@GSE_GUI/Editor.lua"]:452: in function <GSE_GUI/Editor.lua:451>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <.../ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/widgets/AceGUIContainer-TabGroup.lua"]:342: in function `SelectTab'
[string "@GSE_GUI/Editor.lua"]:1228: in function <GSE_GUI/Editor.lua:1226>
[string "@GSE_GUI/Editor.lua"]:1937: in function <GSE_GUI/Editor.lua:1913>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <.../ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@AskMrRobot/Libs/AceGUI-3.0-41/widgets/AceGUIWidget-Icon.lua"]:26: in function <...rRobot/Libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua:25>
Locals:
(*temporary) = FontString {
}
(*temporary) = true
๐ต 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:
- First, make sure you have enabled the "File Name Extensions" checkbox in Explorer (View tab)
- Browse to
C:\path\to\wow\_retail_\WTF\Account\YourAccountName\SavedVariables\
or/path/to/WoW/_retail_/WTF/Account/YourAccountName/SavedVariables
- Copy the
GSE.lua
file to your Desktop - Rename this copy to
GSA.lua.txt
- 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.
GSE.lua.txt.zip
๐ต Desktop (please complete the following information):
- OS: Windows
- Game Version retail 11.
๐ต GSE Version:
- Version: GSE-3.2.01-6-g184b303.zip
- Downloaded From: curseforge
๐ต Additional context:
My variable could be incorrect, not sure. However, if there's a variable that's created incorrectly, should have some kind of error handling to ensure the rest of the system still functions.
Ok have made a bunch of changes to IF Blocks.
The first is the Variable section - you now put the Implementation Reference into the If Block Variable field. This allows you to use any function in the WoW API or an inline statement as well as GSE Variables.
You can also use = true
and = false
as the Variable to test the If Block