GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

Priority not functioning

darkwolf469 opened this issue · 5 comments

commented

Here is the macro exported. No matter how many times I save it, it defaults to Sequential.

Sequences['DW_Surv_ST'] = {
author="Darkwolf469",
SpecID=255,
Talents = "?,?,?,?,?,?,?",
Help = "Talents: 3112222",
Default=1,
Icon='INV_MISC_QUESTIONMARK',
MacroVersions = {
[1] = {
StepFunction = "Sequential"
KeyPress={
"/targetenemy [noharm][dead]",
"/petattack [@target,harm,combat]",
"/use [nopet,nomod]Call Pet 4",
},
PreMacro={
},
"/castsequence [nochanneling,mod:ctrl] Mongoose Bite; [nochanneling,nomod] Mongoose Bite, Mongoose Bite",
"/cast [nochanneling,mod:ctrl] Mongoose Bite; [nochanneling,nomod] A Murder of Crows",
"/castsequence [nochanneling,mod:ctrl] Mongoose Bite; [@cursor,nochanneling,nomod] Explosive Trap, Dragonsfire Grenade",
"/castsequence [nochanneling,mod:ctrl] Mongoose Bite; [nomod,nochanneling] Wing Clip, Lacerate, Flanking Strike, Flanking Strike",
PostMacro={
"/PetAttack",
"/cast [mod:ctrl,nochanneling] aspect of the eagle",
},
KeyRelease={
},
},
},
},

Message: Interface\AddOns\GSE\API\Events.lua:104: bad argument #1 to 'pairs' (table expected, got nil)
Time: 01/11/17 05:38:38
Count: 6
Stack: [C]: in function pairs' Interface\AddOns\GSE\API\Events.lua:104: in function ?'
...que\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145: in function <...que\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
[string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
[C]: ?
[string "safecall Dispatcher[2]"]:13: in function ?' ...que\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: in function Fire'
...AddOns\Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...AddOns\Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
[C]: in function LoadAddOn' Interface\FrameXML\UIParent.lua:407: in function UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:569: in function <Interface\FrameXML\UIParent.lua:568>
[C]: in function OrderHall_LoadUI' Interface\FrameXML\UIParent.lua:632: in function OrderHall_CheckCommandBar'
Interface\FrameXML\UIParent.lua:1852: in function <Interface\FrameXML\UIParent.lua:907>
[C]: ?

Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"
= defined =[C]:-1

Message: Interface\AddOns\GSE\API\Events.lua:104: bad argument #1 to 'pairs' (table expected, got nil)
Time: 01/11/17 05:38:36
Count: 1
Stack: [C]: in function pairs' Interface\AddOns\GSE\API\Events.lua:104: in function ?'
...que\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145: in function <...que\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
[string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
[C]: ?
[string "safecall Dispatcher[2]"]:13: in function ?' ...que\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: in function Fire'
...AddOns\Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...AddOns\Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
[C]: in function LoadAddOn' Interface\FrameXML\UIParent.lua:407: in function UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:430: in function `CombatLog_LoadUI'
Interface\FrameXML\UIParent.lua:1012: in function <Interface\FrameXML\UIParent.lua:907>
[C]: ?

Locals:

commented

I'm having the same issue with priority step functions reverting to sequential.

commented

This will be addressed in release 4. Already posted this big issue. Thanks Timothy!

commented

I did get priority to work if I exported and changed Sequential to Priority in stepfunction then imported. But the last line will not follow castsequence. Only fires Wing Clip over and over again.

commented
commented

It is working for me perfectly. Thank you.