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: | 277,777 |
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 |
Nidanone |
View Public Profile |
Send a private message to Nidanone |
Find More Posts by Nidanone |
Add Nidanone to Your Buddy List |
Reeper |
View Public Profile |
Send a private message to Reeper |
Find More Posts by Reeper |
Add Reeper to Your Buddy List |
Flarin |
View Public Profile |
Send a private message to Flarin |
Find More Posts by Flarin |
Add Flarin to Your Buddy List |
Dwindlin |
View Public Profile |
Send a private message to Dwindlin |
Find More Posts by Dwindlin |
Add Dwindlin to Your Buddy List |
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
02-28-15, 09:14 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
stupid baby question probably, but I've never run into the problem before. I have upwards of 10-13 sequences running without a hitch, they keep me playing WoW (my vision is frying to much to do more than a one button typa thing anymore) so I decided to go find one for a new toon. It won't let me enter any more sequences I get Interface\AddOns\GnomeSequencer\Sequences.lua:167: unexpected symbol near '?'
doesn't matter which sequence I'm trying to add either. I thought maybe it was the last one that worked that I put in, so I stuck one of the new sequences higher up the list, nope it's the new ones. no clue what's going on does this sound familiar to anyone? |
|
Nivza |
View Public Profile |
Send a private message to Nivza |
Find More Posts by Nivza |
Add Nivza to Your Buddy List |
02-26-15, 02:25 PM | |||
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
Re: Re: Still having issue
|
||
|
Treesy |
View Public Profile |
Send a private message to Treesy |
Find More Posts by Treesy |
Add Treesy to Your Buddy List |
02-25-15, 04:08 PM | ||
|
Re: Still having issue
If you see the ExampleSequences file without an extension, then when you rename it you should not add the .lua extension because you have file extensions hidden in windows and it's not showing you the complete file name. |
|
|
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
02-25-15, 03:59 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
Still having issue
I am still having the same issue, I have uninstalled and re-installed the add on and I still get the same error in chat at log in saying "Failed to load Sequences.lua or contains no macros, create the file from ExampleSequences.lua and restart the game."
It is like the add on does not recognize that I have changed the ExampleSequences.lua file to Sequences.lua and/or its does not recognize that I have macros saved in the file. Is there something else I need to install? Here is the paste bin of my files that are installed. http://www.privatepaste.com/350839ec1b files that are in my world of warcraft > interface > addons> GnomeSequencer folder are: Core / errorhandler / GnomeSequencer.toc / Sequences.lua
Last edited by Treesy : 02-25-15 at 04:00 PM.
|
|
Treesy |
View Public Profile |
Send a private message to Treesy |
Find More Posts by Treesy |
Add Treesy to Your Buddy List |
02-25-15, 01:54 PM | ||
|
Re: Not sure...
I'm not even really sure how I would allow that to be written if I did add support for it. |
|
|
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
02-25-15, 01:36 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
Not sure...
Not sure if y'all saw my questions earlier, but I'm still having troubles figuring out how to create the macro I want, basically I'd like it to cast one spell once, and then repeat the second spell until the target is dead or changed, for example, casting a taunt once to pull the target, and then casting a main attack repeatedly until the target is dead. Is this possible or no?
|
|
jackiekaye89 |
View Public Profile |
Send a private message to jackiekaye89 |
Find More Posts by jackiekaye89 |
Add jackiekaye89 to Your Buddy List |
02-25-15, 01:11 PM | |||
A Kobold Labourer
Forum posts: 0
File comments: 6
Uploads: 0
|
Re: Re: Lag
|
||
|
woodgray |
View Public Profile |
Send a private message to woodgray |
Find More Posts by woodgray |
Add woodgray to Your Buddy List |
02-25-15, 01:09 PM | ||
|
Re: Re: Re: Re: Re: R5 not working
In the future, you can just extract the contents of the zip file to the existing GnomeSequencer directory, rather than replacing the whole folder. The reason it contains an ExampleSequences file that you have to rename is so that it won't overwrite your existing Sequences.lua file when updating the addon. |
|
|
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
02-25-15, 01:00 PM | |||
|
Re: Re: 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 |
02-25-15, 12:34 PM | ||
|
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 |