GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

Macro names 'WW' breaks GSE for Monks.

Rhazzah opened this issue · 7 comments

commented

Here is the info you requested to look into the issue with my monk and GSE:

Date: 2017-06-19 21:38:08
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\GSE\API\Storage.lua line 517:
attempt to call method ‘SetAttribute’ (a nil value)
Debug:
GSE\API\Storage.lua:517: OOCUpdateSequence()
GSE\API\Events.lua:284: ?()
…\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:53:
…\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:48
Locals:
name = “WW”
sequence =

{
1 = “/castsequence [combat, nochanneling] Tiger Palm, Fists of Fury”
2 = “/castsequence [combat, nochanneling] Tiger Palm, Strike of the Windlord”
3 = “/castsequence [combat, nochanneling] Tiger Palm, Whirling Dragon Punch”
4 = “/castsequence [combat, nochanneling] Tiger Palm, Fists of Fury”
5 = “/castsequence [combat, nochanneling] Tiger Palm, Rising Sun Kick”
6 = “/castsequence [combat, nochanneling] Tiger Palm, Chi Wave”
7 = “/castsequence [combat, nochanneling] Tiger Palm, Fists of Fury”
8 = “/castsequence [combat, nochanneling] Tiger Palm, Blackout Kick”
PostMacro =
{
}
StepFunction = “Priority”
KeyPress =
{
}
PreMacro =
{
}
KeyRelease =
{
}
}
existingbutton = true
gsebutton = WW {
0 =
}
executionseq =
{
}
pmcount = 2
(*temporary) = nil
(*temporary) = WW {
0 =
}
(*temporary) = “loopstart”
(*temporary) = 2
(*temporary) = “attempt to call method ‘SetAttribute’ (a nil value)”
GSE =
{
ResetButtons = defined @interface\AddOns\GSE\API\Storage.lua:472
GUIShowDebugWindow = defined @interface\AddOns\GSE\GUI\DebugWindow.lua:17
GetClassIcon = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:41
CloneSequence = defined @interface\AddOns\GSE\API\Storage.lua:14
SplitCastSequence = defined @interface\AddOns\GSE\API\StringFunctions.lua:79
CancelTimer = defined @interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:145
GetCurrentTalents = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:86
UnregisterComm = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
OutputQueue =
{
}
MediaPath = “Interface\Addons\GSE\Media”
GUIRecordFrame =
{
}
DebugDumpButton = defined @interface\AddOns\GSE\API\Storage.lua:585
GetSpecNames = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:72
GUIConfirmDeleteSequence = defined @interface\AddOns\GSE\API\GUIFunctions.lua:16
CurrentGCD = 0
GSSlash = defined @interface\AddOns\GSE\API\Events.lua:227
inDungeon = false
UsedSequences =
{
}
ScheduleTimer = defined @interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:92
UnsavedOptions =
{
}
UpdateIcon = defined @interface\AddOns\GSE\API\Storage.lua:940
ADDON_LOADED = defined @interface\AddOns\GSE\API\Events.lua:91
RegisterMessage = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
UnregisterMessage = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
TranslateSpell = defined @interface\AddOns\GSE\API\Translator.lua:191
pairsByKeys = defined @interface\AddOns\GSE\API\StringFunctions.lua:156
SendCommMessage = defined @interface\AddOns\DataStore\libs\AceComm-3.0\AceComm-3.0.lua:84
UpdateSequence = defined @interface\AddOns\GSE\API\Storage.lua:484
UnregisterAllComm = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
SetEnabledState = defined @interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:455
isSpecIDForCurrentClass = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:60
ZONE_CHANGED_NEW_AREA = defined @interface\AddOns\GSE\API\Events.lua:55
DebugOutput = “”
Static =
{
}
StandardAddInPacks =
{
}
GUI =
{
}
TranslatorAvailable = true
CloneMacroVersion = defined @interface\AddOns\GSE\API\Storage.lua:30
GetSequenceNames = defined @interface\AddOns\GSE\API\Storage.lua:802
ImportMacroCollection = defined @interface\AddOns\GSE\API\Storage.lua:144
IsLoopSequence = defined @interface\AddOns\GSE\API\Storage.lua:261
UnregisterAllEvents = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:20
GSE.txt

commented

Notes to self to try to trace this:

attempt to /dump getmetatable(WW))

commented

I will give that a try.

commented

I made the change noted above and I'm still getting the same issue. I also removed "WW" wherever it was found other than your macro names. Note, that was only for capital "WW" (I ignored everything else). I also changed "WW" to "Windwalker" in regards to the macro name (in the file and in my macro).

Date: 2017-06-21 20:40:27
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\GSE\API\Storage.lua line 517:
attempt to call method 'SetAttribute' (a nil value)
Debug:
GSE\API\Storage.lua:517: OOCUpdateSequence()
GSE\API\Events.lua:284: ?()
...\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:53:
...\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:48
Locals:
name = "WW"
sequence =

{
1 = "/castsequence [combat, nochanneling] Tiger Palm, Fists of Fury"
2 = "/castsequence [combat, nochanneling] Tiger Palm, Strike of the Windlord"
3 = "/castsequence [combat, nochanneling] Tiger Palm, Whirling Dragon Punch"
4 = "/castsequence [combat, nochanneling] Tiger Palm, Fists of Fury"
5 = "/castsequence [combat, nochanneling] Tiger Palm, Rising Sun Kick"
6 = "/castsequence [combat, nochanneling] Tiger Palm, Chi Wave"
7 = "/castsequence [combat, nochanneling] Tiger Palm, Fists of Fury"
8 = "/castsequence [combat, nochanneling] Tiger Palm, Blackout Kick"
PostMacro =
{
}
StepFunction = "Priority"
KeyPress =
{
}
PreMacro =
{
}
KeyRelease =
{
}
}
existingbutton = true
gsebutton = WW {
0 =
}
executionseq =
{
}
pmcount = 2
(*temporary) = nil
(*temporary) = WW {
0 =
}
(*temporary) = "loopstart"
(*temporary) = 2
(*temporary) = "attempt to call method 'SetAttribute' (a nil value)"
GSE =
{
ResetButtons = defined @interface\AddOns\GSE\API\Storage.lua:472
GUIShowDebugWindow = defined @interface\AddOns\GSE\GUI\DebugWindow.lua:17
GetClassIcon = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:41
CloneSequence = defined @interface\AddOns\GSE\API\Storage.lua:14
SplitCastSequence = defined @interface\AddOns\GSE\API\StringFunctions.lua:79
CancelTimer = defined @interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:145
GetCurrentTalents = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:86
UnregisterComm = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
OutputQueue =
{
}
MediaPath = "Interface\Addons\GSE\Media"
GUIRecordFrame =
{
}
DebugDumpButton = defined @interface\AddOns\GSE\API\Storage.lua:585
GetSpecNames = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:72
GUIConfirmDeleteSequence = defined @interface\AddOns\GSE\API\GUIFunctions.lua:16
CurrentGCD = 0
GSSlash = defined @interface\AddOns\GSE\API\Events.lua:227
inDungeon = false
UsedSequences =
{
}
ScheduleTimer = defined @interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:92
UnsavedOptions =
{
}
UpdateIcon = defined @interface\AddOns\GSE\API\Storage.lua:940
ADDON_LOADED = defined @interface\AddOns\GSE\API\Events.lua:91
RegisterMessage = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
UnregisterMessage = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
TranslateSpell = defined @interface\AddOns\GSE\API\Translator.lua:191
pairsByKeys = defined @interface\AddOns\GSE\API\StringFunctions.lua:156
SendCommMessage = defined @interface\AddOns\DataStore\libs\AceComm-3.0\AceComm-3.0.lua:84
UpdateSequence = defined @interface\AddOns\GSE\API\Storage.lua:484
UnregisterAllComm = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
SetEnabledState = defined @interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:455
isSpecIDForCurrentClass = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:60
ZONE_CHANGED_NEW_AREA = defined @interface\AddOns\GSE\API\Events.lua:55
DebugOutput = ""
Static =
{
}
StandardAddInPacks =
{
}
GUI =
{
}
TranslatorAvailable = true
CloneMacroVersion = defined @interface\AddOns\GSE\API\Storage.lua:30
GetSequenceNames = defined @interface\AddOns\GSE\API\Storage.lua:802
ImportMacroCollection = defined @interface\AddOns\GSE\API\Storage.lua:144
IsLoopSequence = defined @interface\AddOns\GSE\API\Storage.lua:261
UnregisterAllEvents = defined @interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:20

commented
commented

OK I have found the problem. Something to do with the name WW. I don't know what yet but if you change the name WW to WW2 at around line 1857

			},
		},
		["WW2"] = {
			["Talents"] = "3133132",
			["Default"] = 1,
			["MacroVersions"] = {

This will get you past the immediate problem while i work out what to do next.

commented

Not sure if I had it open or not. I went back and changed it again after a fresh system reboot. It is changed and now the macro is working. Odd that "WW" broke the thing. I appreciate all your help on this. I really hate manually clicking and/or key pressing now. I'd rather just worry about mechanics.

commented

The check for errors now will report on this.