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,952 |
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 |
Vaylory |
View Public Profile |
Send a private message to Vaylory |
Find More Posts by Vaylory |
Add Vaylory to Your Buddy List |
Thid |
View Public Profile |
Send a private message to Thid |
Find More Posts by Thid |
Add Thid 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 |
12-28-14, 04:00 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
Charge Wonky
Hello everyone. New to Gnome Sequencer so I hijacked someone else's code and modified it. I think I know what the step function does. (makes it use your step numbers before moving down the list) Of course that could be completely wrong. I am trying to get this macro to consistently cast charge at the appropriate range while out of combat. It sometimes works and sometimes i just run straight into the mobs. If anyone could help I would appreciate it. I know I'm probably going to move thunder clap further down the list as right now when i do successfully cast charge I thunderclap before I reach the mobs.
Code:
Sequences['Prot'] = { '/cast Charge', '/cast [combat] Thunder Clap', '/cast [combat] Shield Slam', '/cast [combat] Revenge', '/cast [combat] Bloodbath', '/cast [combat] Impending Victory', '/cast [combat] Shield Slam', '/cast [combat] Revenge', '/cast [combat] Devastate', }
Last edited by Thid : 12-28-14 at 04:01 PM.
|
|
Thid |
View Public Profile |
Send a private message to Thid |
Find More Posts by Thid |
Add Thid to Your Buddy List |
12-28-14, 05:12 AM | |||
A Kobold Labourer
Forum posts: 1
File comments: 7
Uploads: 0
|
Re: Re: Confused & Baffled
I have only Gnome sequencer 6.0.3 R3 in my addon folder I have 2 macros for frost Single target & aoe then I have 2 macros for arcane Single & aoe so i am dual spec I add the macros into character specific window FMST & FMAOE (frost spec) this is all fine then I add AMST & AMAOE as soon as I type AMST onto the specific character page it will not add it on & freezes my PC have tried it on my sons pc same issue The only way i can use dual spec is if i am in frost spec delete from specific page the FMST & FMAOE then I can add AMST & AMAOE and it works so is this how it works or should it let me have both on at the same time so when I switch spec I have them there
Last edited by bobthe : 12-28-14 at 05:20 AM.
|
||
|
bobthe |
View Public Profile |
Send a private message to bobthe |
Find More Posts by bobthe |
Add bobthe to Your Buddy List |
12-27-14, 12:19 PM | ||
|
Re: Confused & Baffled
This is assuming you're using the latest version and not the first version that was released which had a bug in it preventing you from making more than a few macros. You should also make sure you don't have multiple macros with the same name, I don't think that would do what you're describing but it might.
Last edited by semlar : 12-27-14 at 12:22 PM.
|
|
|
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
12-27-14, 12:00 AM | |||
A Kobold Labourer
Forum posts: 0
File comments: 5
Uploads: 0
|
Re: Re: Chat Spamming Pre and Post Macros
|
||
|
Bandezar |
View Public Profile |
Send a private message to Bandezar |
Find More Posts by Bandezar |
Add Bandezar to Your Buddy List |
12-26-14, 09:32 AM | ||
|
Re: Chat Spamming Pre and Post Macros
|
|
|
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
12-26-14, 09:28 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 5
Uploads: 0
|
Chat Spamming Pre and Post Macros
I just started using this and it appears I am spamming (via /say; I get <Toon> says: /targetenemy [noharm][dead] <Toon> says: /cast !victory rush each press) my Pre and Post Macro commands. I looked in the Core file but I don't know enough about LUA to tell where it's coming from. Below is my Sequences:
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. ---- Sequences["ArmsLazyGS"] = { PreMacro = [[ /targetenemy [noharm][dead] ]], "/cast Heroic Throw", "/cast charge", "/cast !victory rush", "/cast !Execute", "/cast slam", "/cast mortal strike", "/cast !colossus smash", "/cast Recklessness", "/cast Berserker Rage", "/cast Sweeping Strikes", "/cast charge", "/cast rend", PostMacro = [[ /cast !victory rush ]], } ---- -- 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 ]], } |
|
Bandezar |
View Public Profile |
Send a private message to Bandezar |
Find More Posts by Bandezar |
Add Bandezar to Your Buddy List |
12-25-14, 08:09 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
Gs Issue
so i have made more then 30 macros for GS and everynow and again i have to completely re-write the macro because it no longer works in wow. i mean the macro name is still there but there is no text in the macro box.
Example i was working on my rogue yesterday played for 4 hours. logged off didnt change a thing to the macro, logged in today to go do a few more quests and BAM nothing i tried reloading my ui, i tried making a new macro(same name)(re-named the sequence file name and made new macro) still nothing. any idea's Side note: find my issue,which make me more anoyed. If you are building a macro and it isnt finished or doesnt work then NOTHING else will work till the broken macro is fixed or removed
Last edited by TheRealFuzzynavel : 12-25-14 at 08:17 PM.
|
|
TheRealFuzzynavel |
View Public Profile |
Send a private message to TheRealFuzzynavel |
Find More Posts by TheRealFuzzynavel |
Add TheRealFuzzynavel to Your Buddy List |
12-25-14, 08:49 AM | |
A Kobold Labourer
Forum posts: 1
File comments: 7
Uploads: 0
|
Confused & Baffled
Well Merry Christmas to you all & A Happy New Year
My problem is I have managed to make up macros for all my characters with single target & aoe but then I thought i would try to be clever & made my Mage Dual Spec Frost & Arcane and this is where it went wrong the frost is working ok so i make 2 macros for Arcane when i go in game to make the macro name it just frezes my pc solid and nothing response I have to reboot pc here is what i did 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 ]], } ---Mage--- Sequences['AM_AOE'] = { PreMacro = [[ /targetenemy [noharm][dead] ]], '/castsequence reset=combat Arcane Blast,Arcane Blast,Arcane Blast,Arcane Blast,Arcane Barrage', '/cast Supernova', '/cast Arcane Power', '/cast Presense of Mind', PostMacro = [[ /startattack /use [combat]13 /use [combat]14 /use crystal of Insanity ]], } Sequences['AM_ST'] = { PreMacro = [[ /targetenemy [noharm][dead] ]], '/castsequence reset=combat Arcane Blast', '/cast [nochanneling] Arcane Missiles', '/cast Supernova', '/cast Arcane Power', '/cast Presense of Mind', PostMacro = [[ /startattack /use [combat]13 /use [combat]14 /use crystal of Insanity ]], } ---Frost--- Sequences['FMS'] = { PreMacro = [[ /targetenemy [noharm][dead] /cast [nopet] summon water elemental ]], '/castsequence reset=combat Frostbolt,Frostbolt,Frostbolt,Ice lance,Ice Lance', '/castsequence reset=20 Deep Freeze,Ice Lance,Ice Lance', '/cast Frozen Orb', '/cast Ice Nova', PostMacro = [[ /use crystal of Insanity ]], } Sequences['Frosty'] = { PreMacro = [[ /targetenemy [noharm][dead] /cast [nopet] summon water elemental ]], '/castsequence reset=25, Ice Barrier', '/castsequence reset=20, Ice Ward', '/castsequence reset=30, Comet Storm', '/castsequence reset=25, Ice Nova, Frostbolt,Frostbolt,Frosbolt,Ice lance,Ice Lance,FrostfireBolt,Frostbolt,Frostbolt,Frostbolt,Ice Lance,Ice Lance,FrostfireBolt', '/cast Frozen Orb', '/cast Ice Nova', '/castsequence reset=20 Deep Freeze,Ice Lance,Ice Lance', PostMacro = [[ /startattack /use [combat]13 /use [combat]14 /use [combat]Ice Floes /use [combat]Icy Veins /use [combat]Incanter's Flow /use [combat]Frozen Orb /use crystal of Insanity ]], } I know thet work as i have tested them 2 at the time deleting frost and using arcane all works well and vice versu but when the 4 are together i can name 2 but when i try to name the 3rd one that is when it freezes my pc antbody got any idea |
|
bobthe |
View Public Profile |
Send a private message to bobthe |
Find More Posts by bobthe |
Add bobthe to Your Buddy List |
12-24-14, 11:56 AM | ||
|
Re: what is the limit on maros Sequences.lua
If you downloaded the latest version from this website and you can still only create 3 macros, you should post your sequences file here for me to look at. |
|
|
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
12-24-14, 11:51 AM | ||
|
Re: Re: Re: Custom Sequences - e.g.
Either the core will need to be updated to support completely arbitrary orders, or you'll always need to put the first macro you want executed as the first item in the list. |
|
|
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
12-24-14, 10:17 AM | |||
A Kobold Labourer
Forum posts: 0
File comments: 6
Uploads: 0
|
Thanks for clarifying! |
||
|
Najtwish |
View Public Profile |
Send a private message to Najtwish |
Find More Posts by Najtwish |
Add Najtwish to Your Buddy List |
12-24-14, 10:07 AM | ||
A Kobold Labourer
Forum posts: 0
File comments: 3
Uploads: 0
|
Code:
Sequences["Macroname"] = { <stuff> } or... Sequences["RetA"] = { <stuff> } Sequences["RetB"] = { <stuff> } etc. Please understand, these are just intuitive guesses since I have no real insight into the code to which you are referring. Given that you are suggesting that there is only subtle (small change) differences, I would venture that the real truth is in the mind of the author of the macros in question. Keep in mind, macro authors can name a macro/sequence anything (within the formatting constraints)... I've seen e.g.
Let me know if I win a prize for guessing.
__________________
Use only Official Star Trek condoms : To boldly go where no man has gone before. |
|
|
starcub |
View Public Profile |
Send a private message to starcub |
Find More Posts by starcub |
Add starcub to Your Buddy List |