Keybinding
cheeseslicer opened this issue ยท 1 comments
๐ต 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)
- Go to 'GSE'
- Click on 'Keybindings'
- Delete something that is already keybound and then bind something to the key that was deleted.
- 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 {
}
}
๐ต 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:
- 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
๐ต 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.