GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG] Adding a variable block seems to bork the sequences

claytonkimber opened this issue ยท 3 comments

commented

๐Ÿ”ต Describe the bug:
Create a variable, and try to add that variable to a sequence

๐Ÿ”ต To reproduce: (Steps to reproduce the behavior)

  1. create a variable
  2. save variable
  3. Go to sequence
  4. 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:
  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.
    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.

commented

NVM found it

commented

Do you get the same error without using ElvUI?

commented

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.

image

You can also use = true and = false as the Variable to test the If Block

image

GSE Patrons can tab in the Variable block to get a popup
image