Go to Page... |
Compatibility: | Shadows of Argus (7.3.0) Tomb of Sargeras (7.2.0) |
Updated: | 08-31-17 04:23 AM |
Created: | 10-29-14 03:51 AM |
Downloads: | 278,025 |
Favorites: | 125 |
MD5: |
This is a small addon that allows you create a sequence of macros to be executed at the push of a button.
Like a /castsequence macro, it cycles through a series of commands when the button is pushed. However, unlike castsequence, it uses macro text for the commands instead of spells, and it advances every time the button is pushed instead of stopping when it can't cast something.
This means if a spell is on cooldown and you push the button it will continue to the next item in the list with each press until it reaches the end and starts over.
When you first install the addon you will need to rename "ExampleSequences.lua" to "Sequences.lua" and open the file in a text editor to add your own sequences.
The Sequences file contains a couple examples to get you started with writing your own sequences, I'll post its entirety here.
local _, Sequences = ... -- Don't touch this ---- -- Rename this file to Sequences.lua before you get started, it uses a different file name so as not to overwrite your existing file with a future update. -- Every entry in the Sequences table defines a single sequence of macros which behave similarly to /castsequence. -- Sequence names must be unique and contain no more than 16 characters. -- To use a macro sequence, create a blank macro in-game with the same name you picked for the sequence here and it will overwrite it. ---- ---- -- Here's a large demonstration sequence documenting the format: Sequences["GnomeExample1"] = { -- StepFunction optionally defines how the step is incremented when pressing the button. -- This example increments the step in the following order: 1 12 123 1234 etc. until it reaches the end and starts over -- DO NOT DEFINE A STEP FUNCTION UNLESS YOU THINK YOU KNOW WHAT YOU'RE DOING StepFunction = [[ limit = limit or 1 if step == limit then limit = limit % #macros + 1 step = 1 else step = step % #macros + 1 end ]], -- PreMacro is optional macro text that you want executed before every single button press. -- This is if you want to add something like /startattack or /stopcasting before all of the macros in the sequence. PreMacro = [[ /run print("-- PreMacro Script --") /startattack ]], -- PostMacro is optional macro text that you want executed after every single button press. -- I don't know what you would need this for, but it's here anyway. PostMacro = [[ /run print("-- PostMacro Script --") ]], -- Macro 1 [[ /run print("Executing macro 1!") /cast SpellName1 ]], -- Macro 2 [[ /run print("Executing macro 2!") /cast SpellName2 ]], -- Macro 3 [[ /run print("Executing macro 3!") /cast SpellName3 ]], } ---- -- Here is a short example which is what most sequences will look like Sequences["GnomeExample2"] = { -- Macro 1 [[ /run print("Executing macro 1!") /cast SpellName1 ]], -- Macro 2 [[ /run print("Executing macro 2!") /cast SpellName2 ]], -- Macro 3 [[ /run print("Executing macro 3!") /cast SpellName3 ]], }
![]() |
Comment Options |
K0DiNE |
View Public Profile |
Send a private message to K0DiNE |
Find More Posts by K0DiNE |
Add K0DiNE to Your Buddy List |
![]() |
||
|
Re: Lag
You can try removing the contents of the UpdateIcon function in Core.lua and see if that stops it from happening, if it does you should let me know so I can come up with a better solution. In Core.lua change Lua Code:
Lua Code:
|
|
![]() |
![]() |
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 6
Uploads: 0
|
Lag
I updated to patch 6.1. After the update Some of my sequences are producing extreme lag.
Listed below is a snapshot of my seq* file. The first 3 are fine both before and now. The last two produce the lag. They did not prior to the wow update. Forgive the structure. Its not my strong point. Sequences['DeMo'] = { StepFunction = [[ limit = limit or 1 if step == limit then limit = limit % #macros + 1 step = 1 else step = step % #macros + 1 end ]], PreMacro = [[ /targetenemy [noharm][dead] /petattack [@target,harm] /petautocastoff [group] Threatening Presence /petautocaston [nogroup] Threatening Presence ]], '/use [noform: 0] Metamorphosis', "/castsequence Hand of Gul\'dan", "/castsequence [nochanneling] reset=target Corruption,Shadow Bolt,Shadow Bolt,Shadow Bolt,Shadow Bolt,Corruption,Life Tap,Shadow Bolt,Shadow Bolt,Shadow Bolt,Shadow Bolt", PostMacro = [[ /run UIErrorsFrame:Clear() ]], } Sequences['DeMo2'] = { StepFunction = [[ limit = limit or 1 if step == limit then limit = limit % #macros + 1 step = 1 else step = step % #macros + 1 end ]], PreMacro = [[ /targetenemy [noharm][dead] /petattack [@target,harm] /petautocastoff [group] Threatening Presence /petautocaston [nogroup] Threatening Presence ]], '/use [noform: 1] Metamorphosis', '/castsequence reset=target/5 Doom,null', "/castsequence [nochanneling] reset=target/5 Touch of Chaos,Demonbolt,Demonbolt,Demonbolt,Demonbolt", '/castsequence Dark Soul: Knowledge', '/castsequence [combat] Imp Swarm', PostMacro = [[ /use [combat] Blood Fury /use [combat]13 /use [combat]14 /run UIErrorsFrame:Clear() ]], } Sequences['DeMo3'] = { StepFunction = [[ limit = limit or 1 if step == limit then limit = limit % #macros + 1 step = 1 else step = step % #macros + 1 end ]], PreMacro = [[ /targetenemy [noharm][dead] /petattack [@target,harm] /petautocastoff [group] Threatening Presence /petautocaston [nogroup] Threatening Presence ]], '/use [noform: 0] Metamorphosis', "/castsequence Hand of Gul\'dan", "/castsequence [nochanneling] reset=target Soul Fire,Soul Fire,Soul Fire,Corruption,Life Tap,Soul Fire,Soul Fire,Soul Fire", PostMacro = [[ /run UIErrorsFrame:Clear() ]], } Sequences['Boomy'] = { StepFunction = [[ limit = limit or 1 if step == limit then limit = limit % #macros + 1 step = 1 else step = step % #macros + 1 end ]], PreMacro = [[ /targetenemy [noharm][dead] /use [noform]!Moonkin Form]], "/castsequence reset=180 Celestial Alignment", "/castsequence [nochanneling] reset=30/target Starfall, Starfall, Starfall", "/castsequence [nochanneling] reset=24/target Stellar Flare", "/castsequence [nochanneling] reset=20/target Moonfire", "/castsequence [nochanneling] reset=24/target Sunfire", "/castsequence [nochanneling] reset=15/target Starsurge", "/castsequence [nochanneling] reset=15/target Starfire", "/castsequence [nochanneling] reset=15/target Wrath", "/castsequence reset=60 Barkskin", PostMacro = [[ /run UIErrorsFrame:Clear() ]], } Sequences['Bpvp'] = { StepFunction = [[ limit = limit or 1 if step == limit then limit = limit % #macros + 1 step = 1 else step = step % #macros + 1 end ]], PreMacro = [[ /targetenemy [noharm][dead] /use [noform]!Moonkin Form]], "/castsequence reset=180 Celestial Alignment", "/castsequence reset=30/target Entangling Roots, Solar Beam", "/castsequence [nochanneling] reset=30/target Starfall, Starfall, Starfall", "/castsequence [nochanneling] reset=24/target Stellar Flare", "/castsequence [nochanneling] reset=20/target Moonfire", "/castsequence [nochanneling] reset=24/target Sunfire", "/castsequence [nochanneling] reset=15/target Starsurge", "/castsequence [nochanneling] reset=15/target Starfire", "/castsequence [nochanneling] reset=15/target Wrath", "/castsequence reset=60 Barkskin", PostMacro = [[ /run UIErrorsFrame:Clear() ]], } |
![]() |
![]() |
woodgray |
View Public Profile |
Send a private message to woodgray |
Find More Posts by woodgray |
Add woodgray to Your Buddy List |
![]() |
||
|
Re: Re: Re: R5 not working
You say you haven't changed anything, but you updated the addon so it's possible you overwrote the directory that contained your previous sequences file. If there's no syntax error in the chat when you log in then it most likely can't find the Sequences.lua file rather than there being something wrong with its contents. |
|
![]() |
![]() |
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
![]() |
|||
|
Re: Re: R5 not working
![]() |
||
![]() |
![]() |
K0DiNE |
View Public Profile |
Send a private message to K0DiNE |
Find More Posts by K0DiNE |
Add K0DiNE to Your Buddy List |
![]() |
||
|
Re: R5 not working
If you have a syntax error in your file it should be outputting it to the chat in red.
Last edited by semlar : 02-25-15 at 12:17 AM.
|
|
![]() |
![]() |
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
repeat single step
Also, is it possible, and if yes, how would I make it so that it repeats one step continuously until target lost?
aka, as an example, I want to cast Judgement once, and then cast Crusader strike on each click until the target is dead or changed. |
![]() |
![]() |
jackiekaye89 |
View Public Profile |
Send a private message to jackiekaye89 |
Find More Posts by jackiekaye89 |
Add jackiekaye89 to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
Mutliple sequences?
Any way to make multiple sequence files for each class, and only load the file for that class? Would be handy, and might keep lagg down for those with large sequence files.
|
![]() |
![]() |
jackiekaye89 |
View Public Profile |
Send a private message to jackiekaye89 |
Find More Posts by jackiekaye89 |
Add jackiekaye89 to Your Buddy List |
![]() |
|||
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
Re: Re: R5 not working
|
||
![]() |
![]() |
Treesy |
View Public Profile |
Send a private message to Treesy |
Find More Posts by Treesy |
Add Treesy to Your Buddy List |
![]() |
||
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
Re: R5 not working
|
|
![]() |
![]() |
striderida1 |
View Public Profile |
Send a private message to striderida1 |
Find More Posts by striderida1 |
Add striderida1 to Your Buddy List |
![]() |
||
A Kobold Labourer
Forum posts: 0
File comments: 6
Uploads: 0
|
Re: R5 not working
|
|
![]() |
![]() |
woodgray |
View Public Profile |
Send a private message to woodgray |
Find More Posts by woodgray |
Add woodgray to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
R5 not working
I can't seem to get Gnome sequencer to work anymore since updating to the 6.1 version. It was previously working for me before I updated.
I keep getting the "Failed to load sequences.lua or contains no macros..." All the macros in the sequences.lua worked before the update. I've tried previous revisions of the addon and still the same result. I have tried manually retyping the macros back into the sequences.lua file and still not working, as well, I have tried word pad instead of notepad and still no go. Has Blizzard maybe broken this add on some how? |
![]() |
![]() |
Treesy |
View Public Profile |
Send a private message to Treesy |
Find More Posts by Treesy |
Add Treesy to Your Buddy List |
![]() |
||
A Kobold Labourer
Forum posts: 0
File comments: 3
Uploads: 0
|
Re: Re: I so miss this... please update/fix
No and no! Please use one standard through out your sequences. you need to learn to escape special characters so if you are using ' as a command start then it is: 'tiger\'s fury' Do not mix in " and [[ it is poor coding practice and leads to problems down the road when someone else has to fix your mistakes.
Last edited by rkbrumbelow : 02-22-15 at 07:58 PM.
|
|
![]() |
![]() |
rkbrumbelow |
View Public Profile |
Send a private message to rkbrumbelow |
Find More Posts by rkbrumbelow |
Add rkbrumbelow to Your Buddy List |
![]() |
||||
A Defias Bandit
Forum posts: 2
File comments: 3
Uploads: 0
|
Re: Re: Re: Got a issue wit h gnome sequencer
had to really shorten my macros because it was too long for the message |
|||
![]() |
![]() |
jestercheeser |
View Public Profile |
Send a private message to jestercheeser |
Find More Posts by jestercheeser |
Add jestercheeser to Your Buddy List |
![]() |
|||
A Defias Bandit
Forum posts: 2
File comments: 3
Uploads: 0
|
Re: Re: Got a issue wit h gnome sequencer
|
||
![]() |
![]() |
jestercheeser |
View Public Profile |
Send a private message to jestercheeser |
Find More Posts by jestercheeser |
Add jestercheeser to Your Buddy List |
![]() |