in 2.2.0 macros will not import
RodyMcAmp opened this issue · 5 comments
Macros in 2.2.0 will not import for me. I have tried on 2 different computers with clean installs and upgrades. I always get the same error line 213 of storage.lua I will post the error below. These same macros import just fine in 2.1.7
Date: 2017-10-01 10:57:28
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\GSE\API\Storage.lua line 213:
bad argument #1 to ‘getn’ (table expected, got nil)
Debug:
[C]: getn()
GSE\API\Storage.lua:213: ImportSerialisedSequence()
GSE_GUI\Import.lua:97: GUIImportSequence()
GSE_GUI\Import.lua:44:
GSE_GUI\Import.lua:44
(tail call): ?
[C]: ?
[string “safecall Dispatcher[4]”]:9:
[string “safecall Dispatcher[4]”]:5
(tail call): ?
Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
…dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:22:
Hi Timothy,
It does not seem to matter what I am importing every macro I have tried fails with the same error. The specific macro was one of qween's, I will post it below. The only thing I haven't tried is deleting all my other addons, which is possibly an issue, but between the two computers, I run they have different addon sets, and these work flawlessly in 2.1.7.
Sequences['AOTBGween'] = {
-- This Sequence was exported from GSE 2.2.00.
Author="Neewg@Bleeding Hollow",
SpecID=253,
Talents = "2131133",
Help = [[Press CTRL to switch macro into AOE mode. Release CTRL for Single Target mode.
Press SHIFT to utilize Interupts, stuns, CC.
Press ALT to heal or rez your pet.
Talents - 3131x33 or 2131x33, can also choose AMOC if desired.
Tab 1 - Main Macro, complex and includes modifiers
Tab 2 - Modifiers removed
Tab 3 - Version for those not using Legendary Boots (Qa'Pla)]],
Default=1,
MacroVersions = {
[1] = {
StepFunction = "Priority",
KeyPress={
"/targetenemy [noharm][dead]",
"/cast [nopet,nodead] Call Pet 1; [@pet,dead] Heart of the Phoenix",
"/cast [combat,pet:Spirit Beast,@player] Spirit Mend",
"/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection",
"/cast [combat] Bestial Wrath",
"/cast [combat] Blood Fury",
"/cast [combat] Titan's Thunder",
"/cast [combat] Aspect of the Wild",
"/cast [mod:shift] Counter Shot",
"/cast [mod:shift] Intimidation",
"/cast [mod:shift, @cursor] Binding Shot",
},
PreMacro={
},
"/castsequence Kill Command, Dire Beast",
"/cast [talent:6/1] A Murder of Crows; [mod:alt] Revive Pet",
"/cast [mod:ctrl] Multi-Shot; [mod:shift] Cobra Shot; [mod:alt] Revive Pet",
"/cast [nomod:ctrl] Kill Command",
"/cast [nomod:ctrl] Kill Command",
"/cast [nomod:ctrl] Cobra Shot",
PostMacro={
},
KeyRelease={
},
},
[2] = {
StepFunction = "Priority",
KeyPress={
"/targetenemy [noharm][dead]",
"/cast [nopet,nodead] Call Pet 1; [@pet,dead] Heart of the Phoenix",
"/cast [combat,pet:Spirit Beast,@player] Spirit Mend",
"/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection",
"/cast [combat] Bestial Wrath",
"/cast [combat] Blood Fury",
"/cast [combat] Titan's Thunder",
"/cast [combat] Aspect of the Wild",
"/cast [mod:shift] Counter Shot",
"/cast [mod:shift] Intimidation",
"/cast [mod:shift, @cursor] Binding Shot",
},
PreMacro={
},
"/castsequence Kill Command, Dire Beast",
"/cast [talent:6/1] A Murder of Crows; Dire Beast",
"/cast Kill Command",
"/cast Cobra Shot",
PostMacro={
},
KeyRelease={
},
},
[3] = {
StepFunction = "Priority",
KeyPress={
"/targetenemy [noharm][dead]",
"/cast [nopet,nodead] Call Pet 1; [@pet,dead] Heart of the Phoenix",
"/cast [combat,pet:Spirit Beast,@player] Spirit Mend",
"/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection",
"/cast [combat] Bestial Wrath",
"/cast [combat] Blood Fury",
"/cast [combat] Titan's Thunder",
"/cast [combat] Aspect of the Wild",
"/cast [mod:shift] Counter Shot",
"/cast [mod:shift] Intimidation",
"/cast [mod:shift, @cursor] Binding Shot",
},
PreMacro={
},
"/cast Kill Command",
"/cast Dire Beast",
"/cast [talent:6/1] A Murder of Crows; Dire Beast",
"/cast [mod:alt] Revive Pet; Kill Command",
"/cast Cobra Shot",
PostMacro={
},
KeyRelease={
},
},
},
}
Thank Timothy,
I had no clue there was a GSE.lua file... I deleted that file and bam importing works on both computers with GSE2.2.0
Thank you very much for pointing me in the right direction.
Rody