GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

Keybinding

cheeseslicer opened this issue ยท 1 comments

commented

๐Ÿ”ต Describe the bug:
I'll attempt to change keybindings around from one macro to a different one and vice versa and then it triggers a .lua error

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

  1. Go to 'GSE'
  2. Click on 'Keybindings'
  3. Delete something that is already keybound and then bind something to the key that was deleted.
  4. See error

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

5x GSE_GUI/KeyBinding.lua:518: attempt to call method 'GetKey' (a nil value)
[string "@GSE_GUI/KeyBinding.lua"]:518: in function `clearpanels'
[string "@GSE_GUI/KeyBinding.lua"]:266: in function <GSE_GUI/KeyBinding.lua:232>
[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/AceGUIWidget-Button.lua"]:22: in function <...Core/Ace3/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>

Locals:
self = <table> {
 sizer_se = Frame {
 }
 base = <table> {
 }
 statustext = FontString {
 }
 Width = 700
 panels = <table> {
 }
 userdata = <table> {
 }
 sizer_s = Frame {
 }
 noAutoHeight = true
 children = <table> {
 }
 type = "Frame"
 AceGUIWidgetVersion = 30
 sizer_e = Frame {
 }
 titletext = FontString {
 }
 events = <table> {
 }
 frame = Frame {
 }
 Height = 500
 localstatus = <table> {
 }
 content = Frame {
 }
 titlebg = Texture {
 }
}
widget = "14"
selected = false
(for state) = <table> {
 14 = <table> {
 }
}
(for control) = "14"
k = "14"
_ = <table> {
 parent = <table> {
 }
 border = Texture {
 }
 Key = "1424526544"
 children = <table> {
 }
 type = "SelectablePanel"
 LayoutPaused = true
 AceGUIWidgetVersion = 1
 base = <table> {
 }
 events = <table> {
 }
 userdata = <table> {
 }
 Clicked = false
 content = Frame {
 }
 frame = Frame {
 }
}
(*temporary) = nil
(*temporary) = "14"
(*temporary) = "attempt to call method 'GetKey' (a nil value)"
keybindingframe = <table> {
 sizer_se = Frame {
 }
 base = <table> {
 }
 statustext = FontString {
 }
 Width = 700
 panels = <table> {
 }
 userdata = <table> {
 }
 sizer_s = Frame {
 }
 noAutoHeight = true
 children = <table> {
 }
 type = "Frame"
 AceGUIWidgetVersion = 30
 sizer_e = Frame {
 }
 titletext = FontString {
 }
 events = <table> {
 }
 frame = Frame {
 }
 Height = 500
 localstatus = <table> {
 }
 content = Frame {
 }
 titlebg = Texture {
 }
}

๐Ÿ”ต Screenshots:
WoWScrnShot_080224_030930
WoWScrnShot_080224_031006
WoWScrnShot_080224_030957

๐Ÿ”ต Expected behavior:
To be able to overwrite the current keybind

๐Ÿ”ต 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

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

  • OS: [Windows 11 64bit]
  • Game Version [retail (11.0.0 (55939)]

๐Ÿ”ต GSE Version:

  • Version: [3.2.03-1-gb73c7e3-PatronBuild]
  • Downloaded From: [Discord Patron section]

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

commented

Dang, glad to see you could fix it that quick!