GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

8M Downloads

Can't create new macros

Theros666 opened this issue · 14 comments

commented

The hunter and warrior works fine but when i try the warlock to create a new macro (can't import anything because there is none) and press save i get this:

Message: Interface\AddOns\GSE\API\Storage.lua:216: attempt to index field '?' (a nil value)
Time: Thu Oct 15 12:00:21 2020
Count: 1
Stack: Interface\AddOns\GSE\API\Storage.lua:216: attempt to index field '?' (a nil value)
[string "=[C]"]: ?
[string "@interface\AddOns\GSE\API\Storage.lua"]:216: in function OOCPerformMergeAction' [string "@Interface\AddOns\GSE\API\Events.lua"]:446: in function ?'
[string "@interface\AddOns\ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <...s\ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals:

Using GSE 2.6.09

commented
commented
commented

Gonna repoduce what happens while i do this:

1
2
3
4
5
6

After this the macro doesnt work and when i relog it's empty again. hope it helps

commented

I've just tested the monk and it does the same. I guess it only affects classes that have no macros recorded yet?

commented
commented

I have put the old macros back for classes that don't have them. Its not ideal but am hoping that this makes some headway. This is in GSE 2.6.10

commented
commented

Ok. That kinda did the trick. It still gives the same issue when i log in on characters that don't have macros but doing cancelling the load of the macros and doing what you told me to do in the hunter macro (the classid thingie) lets me at least create new empty macros that then Ican then modify.

I wonder why this happens and if it helps i can try to provide a list of the addons and everything i use to help squash this bug. Thanks for the help

commented

I'm reopening this as there are more cases.

commented

Yes. This closely describes my issue (#718). I can make a new macro, but I can't save anything to it. Any time I change anything in the macro and save it the changes are not saved. Also it seems the macros I previously had are now gone. When I logged on it asked me if I wanted to load the starter macros. If I say yes to load in the start macros is still doesn't actually make any macros.

commented

Uh. Not sure what happened there! :D

I'm having the same issue as above, but I have two macros already (monk class). Upon saving a new macro, it doesn't get added to the list.

commented

This is what has worked for other people. If you have existing macros I would suggest exporting them and as always backing up the GSE.lua file regularily:

IF you are NOT getting and error and nothing happens - I would try the following:
1 Disable all other addons. One of them might be gobbling up the error.
2 Try the import - if there is still no error and nothing happens, check the OOC queue on the minimap icon. Is the queue stuck?
3 reset the storage of this class via ‘/gse forceclean’ and log out and back in - Note this will wipe all macros in this class. It also needs to be a log out log in - a /reload wont help and it undoes what you are trying to do.

commented

I get the same issue and the workaround posted above is not helping.
This happens when changing an imported macro and saving it with another name.
Also good to know, this only happens on one character somehow (fury warrior) and also keeps on happening after removing cache and WTF folders and even reinstalling GSE.
GSE is the only addon currently enabled and the error I see is the following:

Message: Interface\AddOns\GSE\API\Storage.lua:804: attempt to call method 'SetAttribute' (a nil value)
Time: Wed Nov 11 15:53:37 2020
Count: 1
Stack: Interface\AddOns\GSE\API\Storage.lua:804: attempt to call method 'SetAttribute' (a nil value)
[string "@interface\AddOns\GSE\API\Storage.lua"]:804: in function OOCUpdateSequence' [string "@Interface\AddOns\GSE\API\Events.lua"]:435: in function ?'
[string "@interface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <...terface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals: name = "FURY"
sequence =

{
1 = "/cast 184367"
2 = "/cast 23881"
3 = "/castsequence reset=combat 85288, 1680"
4 = "/cast 118000"
5 = "/cast 163201"
LoopLimit = "1"
Combat = true
Head = true
Neck = true
Belt = true
Ring1 = true
Ring2 = true
Trinket2 = true
KeyRelease =
{
}
StepFunction = "Priority"
Trinket1 = true
KeyPress =
{
}
PreMacro =
{
}
PostMacro =
{
}
}
variables = nil
tempseq =
{
1 = "/cast Rampage"
2 = "/cast Bloodthirst"
3 = "/castsequence reset=combat Raging Blow, Whirlwind"
4 = "/cast Dragon Roar"
5 = "/cast Execute"
LoopLimit = "1"
PostMacro =
{
}
Head = true
Neck = true
Belt = true
Ring1 = true
KeyRelease =
{
}
Trinket2 = true
Ring2 = true
StepFunction = "Priority"
Trinket1 = true
KeyPress =
{
}
PreMacro =
{
}
Combat = true
}
existingbutton = true
gsebutton = "Fury"
executionseq =
{
}
pmcount = 6
(*temporary) = nil
(*temporary) = "Fury"
(*temporary) = "loopstart"
(*temporary) = 6
(*temporary) = "attempt to call method 'SetAttribute' (a nil value)"
GSE =
{
TranslateSequence = defined @interface\AddOns\GSE\API\Translator.lua:11
StartOOCTimer = defined @interface\AddOns\GSE\API\Events.lua:421
ReportTargetProtection = defined @interface\AddOns\GSE\API\Options.lua:845
CloneSequence = defined @interface\AddOns\GSE\API\Storage.lua:38
modules =
{
}
CancelTimer = defined @interface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:147
CheckOOCQueueStatus = defined @interface\AddOns\GSE\API\Events.lua:481
StopOOCTimer = defined @interface\AddOns\GSE\API\Events.lua:426
GUIImportSequence = defined @interface\AddOns\GSE_GUI\Import.lua:76
inArena = false
GUIRecordFrame =
{
}
GUISetColour = defined @interface\AddOns\GSE_GUI\GUIFunctions.lua:169
GUIConfirmDeleteSequence = defined @interface\AddOns\GSE_GUI\GUIFunctions.lua:19
inDungeon = false
UsedSequences =
{
}
ScheduleTimer = defined @interface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:94
Update2410 = defined @interface\AddOns\GSE\API\OneOffEvents.lua:81
UnsavedOptions =
{
}
UpdateIcon = defined @interface\AddOns\GSE\API\Storage.lua:1270
ADDON_LOADED = defined @interface\AddOns\GSE\API\Events.lua:137
GUIDrawMetadataEditor = defined @interface\AddOns\GSE_GUI\Editor.lua:278
Update2601 = defined @interface\AddOns\GSE\API\OneOffEvents.lua:104
UpdateSequence = defined @interface\AddOns\GSE\API\Storage.lua:759
UnregisterAllComm = defined @interface\AddOns\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
SetEnabledState = defined @interface\AddOns\GSE\Lib\AceAddon-3.0\AceAddon-3.0.lua:424
isSpecIDForCurrentClass = defined @interface\AddOns\GSE\API\CharacterFunctions.lua:90
ClearTooltip = defined @interface\AddOns\GSE_GUI\GUIFunctions.lua:201
TranslatorAvailable = true
CloneMacroVersion = defined @interface\AddOns\GSE\API\Storage.lua:54
IdentifySpells = defined @interface\AddOns\GSE\API\Translator.lua:749
TransmitSequence = defined @interface\AddOns\GSE\API\Serialisation.lua:235
IsLoopSequence = defined @interface\AddOns\GSE\API\Storage.lua:450
ListUnloadedAd

commented