Download
(4Kb)
Download
Updated: 08-31-17 04:23 AM
Pictures
File Info
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:

GnomeSequencer  Popular! (More than 5000 hits)

Version: 7.3.0.1
by: semlar [More]

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.

Lua Code:
  1. local _, Sequences = ... -- Don't touch this
  2.  
  3. ----
  4. -- 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.
  5. -- Every entry in the Sequences table defines a single sequence of macros which behave similarly to /castsequence.
  6. -- Sequence names must be unique and contain no more than 16 characters.
  7. -- 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.
  8. ----
  9.  
  10. ----
  11. -- Here's a large demonstration sequence documenting the format:
  12. Sequences["GnomeExample1"] = {
  13.     -- StepFunction optionally defines how the step is incremented when pressing the button.
  14.     -- This example increments the step in the following order: 1 12 123 1234 etc. until it reaches the end and starts over
  15.     -- DO NOT DEFINE A STEP FUNCTION UNLESS YOU THINK YOU KNOW WHAT YOU'RE DOING
  16.     StepFunction = [[
  17.         limit = limit or 1
  18.         if step == limit then
  19.             limit = limit % #macros + 1
  20.             step = 1
  21.         else
  22.             step = step % #macros + 1
  23.         end
  24.     ]],
  25.    
  26.     -- PreMacro is optional macro text that you want executed before every single button press.
  27.     -- This is if you want to add something like /startattack or /stopcasting before all of the macros in the sequence.
  28.     PreMacro = [[
  29. /run print("-- PreMacro Script --")
  30. /startattack   
  31.     ]],
  32.    
  33.     -- PostMacro is optional macro text that you want executed after every single button press.
  34.     -- I don't know what you would need this for, but it's here anyway.
  35.     PostMacro = [[
  36. /run print("-- PostMacro Script --")
  37.     ]],
  38.    
  39.     -- Macro 1
  40.     [[
  41. /run print("Executing macro 1!")
  42. /cast SpellName1
  43.     ]],
  44.    
  45.     -- Macro 2
  46.     [[
  47. /run print("Executing macro 2!")
  48. /cast SpellName2
  49.     ]],
  50.    
  51.     -- Macro 3
  52.     [[
  53. /run print("Executing macro 3!")
  54. /cast SpellName3
  55.     ]],
  56. }
  57.  
  58. ----
  59. -- Here is a short example which is what most sequences will look like
  60. Sequences["GnomeExample2"] = {
  61.     -- Macro 1
  62.     [[
  63. /run print("Executing macro 1!")
  64. /cast SpellName1
  65.     ]],
  66.    
  67.     -- Macro 2
  68.     [[
  69. /run print("Executing macro 2!")
  70. /cast SpellName2
  71.     ]],
  72.    
  73.     -- Macro 3
  74.     [[
  75. /run print("Executing macro 3!")
  76. /cast SpellName3
  77.     ]],
  78. }



If you like one of my addons, feel free to support the cause!

7.2.0.3 - Attempt to avoid a potential infinite loop caused by changing the macro icon
7.2.0.2 - Attempt to set macro icon more aggressively
7.2.0.1 - Fix for icons clearing when zoning (it's unclear what's causing this)
r5 - toc bump for 6.1
r4 - Added a custom error handler and changed how macros are edited to improve support with other macro addons.
r3 - Resolved a minor infinite loop involving UnregisterEvent('UPDATE_MACROS') not taking effect until the next frame.
r2 - Added custom step functionality, pre and post macro text, and made the sequences file (hopefully) easier to understand and edit.
Optional Files (0)


Post A Reply Comment Options
Unread 01-25-15, 05:56 AM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Originally Posted by kaiden
Can you help me out and help me figure out why GnomeSequencer is outputting the Pre/Post macros to the chat frame as /say commands? i'm racking my brain and eyes trying to figure out what is causing this.
You have tabs or spaces in front of the slashes at the start of the lines.
Report comment to moderator  
Reply With Quote
Unread 01-25-15, 03:14 AM  
kaiden
A Murloc Raider
 
kaiden's Avatar

Forum posts: 7
File comments: 41
Uploads: 0
Can you help me out and help me figure out why GnomeSequencer is outputting the Pre/Post macros to the chat frame as /say commands? i'm racking my brain and eyes trying to figure out what is causing this.
Report comment to moderator  
Reply With Quote
Unread 01-20-15, 07:13 PM  
Netsyphen
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Here are a couple of macros i'd like to get feedback on.

Prot Pally

Code:
Sequences['Prot'] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
]],
	'/cast Holy Wrath',
	'/cast [nomod] Crusader Strike',
	'/cast [mod] Hammer of the Righteous',	
	'/castsequence Sacred Shield,Judgment,Judgment,Judgment',
	"/cast Avenger's Shield",
	'/cast execution sentence',
	'/cast Hammer of Wrath',
	'/cast Consecration',
PostMacro = [[
/castsequence Seraphim, Shield of the Righteous, Shield of the Righteous, Shield of the Righteous
/cast divine protection
/startattack
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
Talents : 3232232

And for Survival Hunters

Code:
Sequences['Surv'] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
/cast [mod:shift] !Explosive Trap
]],
	'/cast [nomod] Black Arrow',
	'/cast [nomod] Explosive Shot',
	'/cast [nomod] A Murder of Crows',
	'/cast [nomod] Glaive Toss',
	'/cast [mod:alt] Arcane Shot',
	'/cast [mod:ctrl] Multi-Shot',
	'/cast [nomod:shift]Cobra Shot',
PostMacro = [[
/petattack
/startattack
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
Talents: 3133113

ALT for Arcane shot, CTRL for AOE, Hold Shift for Explosive trap
Report comment to moderator  
Reply With Quote
Unread 01-18-15, 05:18 PM  
[email protected]
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Re: Gnome Sequences

Originally Posted by semlar
Originally Posted by [email protected]
Originally Posted by [email protected]
Hello just wanted to see if anyone else is having problems with Gnome Sequences? i was using it for a while and 3 day ago and the addon was not working, i tryed to reload the addon and didn't work, tryed to load other macros and same thing nothing works, please help
thanks..

ok i tryed everything and nothing works can someone help me.

this is my macro i use

Sequences[‘FST’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Anti-Magic Shell
/cast [combat] pillar of frost
/use [combat] 13
/use [combat] 14
/cast crystal of insanity
/startattack
]],
“/targetenemy [noharm][dead]”,
‘/cast Obliterate’,
‘/cast Frost Strike’,
‘/cast Obliterate’,
‘/cast Obliterate’,
‘/cast Howling Blast’,
‘/cast Empower Rune Weapon’,
‘/cast Asphyxiate’,
‘/cast Mind Freeze’,

PostMacro = [[
]],
}
I've mentioned this like a dozen times because people keep posting that the addon doesn't work, you can't use that type of quotation mark in the file.

It's from copying out of the wowlazymacro website when someone didn't use code blocks or quoted someone else's post.

This is an issue with that website replacing normal quotes with fancy, slanted quotation marks.

ok and thank u but what quotation mark are u talking about. and sorry i am Blind in one eye so hard for me to see it so thats why i use this macro
thanks
Last edited by [email protected] : 01-18-15 at 05:19 PM.
Report comment to moderator  
Reply With Quote
Unread 01-18-15, 04:00 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Re: Re: Gnome Sequences

Originally Posted by [email protected]
Originally Posted by [email protected]
Hello just wanted to see if anyone else is having problems with Gnome Sequences? i was using it for a while and 3 day ago and the addon was not working, i tryed to reload the addon and didn't work, tryed to load other macros and same thing nothing works, please help
thanks..

ok i tryed everything and nothing works can someone help me.

this is my macro i use

Sequences[‘FST’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Anti-Magic Shell
/cast [combat] pillar of frost
/use [combat] 13
/use [combat] 14
/cast crystal of insanity
/startattack
]],
“/targetenemy [noharm][dead]”,
‘/cast Obliterate’,
‘/cast Frost Strike’,
‘/cast Obliterate’,
‘/cast Obliterate’,
‘/cast Howling Blast’,
‘/cast Empower Rune Weapon’,
‘/cast Asphyxiate’,
‘/cast Mind Freeze’,

PostMacro = [[
]],
}
I've mentioned this like a dozen times because people keep posting that the addon doesn't work, you can't use that type of quotation mark in the file.

It's from copying out of the wowlazymacro website when someone didn't use code blocks or quoted someone else's post.

This is an issue with that website replacing normal quotes with fancy, slanted quotation marks.
Report comment to moderator  
Reply With Quote
Unread 01-18-15, 02:39 PM  
[email protected]
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Gnome Sequences

Originally Posted by [email protected]
Hello just wanted to see if anyone else is having problems with Gnome Sequences? i was using it for a while and 3 day ago and the addon was not working, i tryed to reload the addon and didn't work, tryed to load other macros and same thing nothing works, please help
thanks..

ok i tryed everything and nothing works can someone help me.

this is my macro i use

Sequences[‘FST’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Anti-Magic Shell
/cast [combat] pillar of frost
/use [combat] 13
/use [combat] 14
/cast crystal of insanity
/startattack
]],
“/targetenemy [noharm][dead]”,
‘/cast Obliterate’,
‘/cast Frost Strike’,
‘/cast Obliterate’,
‘/cast Obliterate’,
‘/cast Howling Blast’,
‘/cast Empower Rune Weapon’,
‘/cast Asphyxiate’,
‘/cast Mind Freeze’,

PostMacro = [[
]],
}
Report comment to moderator  
Reply With Quote
Unread 01-18-15, 09:47 AM  
[email protected]
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Gnome Sequences

Hello just wanted to see if anyone else is having problems with Gnome Sequences? i was using it for a while and 3 day ago and the addon was not working, i tryed to reload the addon and didn't work, tryed to load other macros and same thing nothing works, please help
thanks
Report comment to moderator  
Reply With Quote
Unread 01-15-15, 02:25 PM  
steevo78
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Strange GS bug

Hi guys,

I am experiencing the strangest bug with Gnomesequencer. I can load into the game. I can use my macros on target dummies, but as soon as i enter pvp combat with other players, my wow crashes. Anyone else had this? Anyone got any ideas on how to solve this problem? Any help would be gratefully received.
Report comment to moderator  
Reply With Quote
Unread 01-12-15, 05:56 PM  
fightinghokie
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Game Crashes when creating Macro

I'm having a problem. I was using gnomesquencer successfully for a while, but now when I try and create a new macro in game using the name from the squences.lua file the game crashes. I'm at my wits end. I think the issue may be in RETAE?

Code:
local _, Sequences = ... -- Don't touch this

Sequences['BST'] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
/cast Bone Shield
/cast Death's Advance
]],
        '/cast Outbreak',
	'/castsequence Death Strike, Blood Boil, Soul Reaper',
        '/cast Death Coil',
        '/cast Remorseless Winter',
PostMacro = [[
/cast Anti-Magic Shell
/cast Vampiric Blood
/cast Dancing Rune Weapon
/cast Empower Rune Weapon
/startattack
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
-------
-- Frost
Sequences['Frost'] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
/cast Death's Advance
]],
	'/cast !Obliterate',
	'/castsequence Howling Blast, Soul Reaper',
	'/cast Obliterate',
	'/cast Frost Strike',
	'/cast Remorseless Winter',
PostMacro = [[
/cast Anti-Magic Shell
/cast Pillar of Frost
/cast Chains of Ice
/cast Empower Rune Weapon
/startattack
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

----
-- Frost DK
Sequences['FDK'] = {
	PreMacro = [[
/console Sound_EnableSFX 0	
/targetenemy [noharm][dead]
/cast [combat] Pillar of Frost
/cast Death's Advance
]],
	'/castsequence [nomod]reset=target/combat Plague Strike,Soul Reaper',
	'/castsequence [nomod]reset=0.5/combat Howling Blast,Obliterate,Obliterate',
	'/castsequence [combat,nomod]reset=20/combat Plague Leech,Outbreak',
	'/cast [nomod] Obliterate',
	'/cast [nomod] Frost Strike',
PostMacro = [[
/cast [combat,nomod] Blood Tap
/cast [combat,nomod] Anti-Magic Shell
/cast [combat,nomod] Empower Rune Weapon
/cast [combat,nomod] Dark Simulacrum
/startattack
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
Sequences['RETST'] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
]],
	"/cast Templar's Verdict'",
	'/cast Hammer of Wrath',
	'/cast Crusader Strike',
	'/castsequence [stance: 1] Judgment, seal of righteousness',
	'/castsequence [stance: 2] Judgment, seal of truth',
	'/cast [stance: 3/4] Judgment',
	'/cast Exorcism',
	'/cast Execution Sentence',
PostMacro = [[
/cast Avenging Wrath
/startattack
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
Sequences['RETAE'] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
]],
	'/cast Divine Storm',
	'/cast Hammer of Wrath',
	'/cast Hammer of the Righteous',
	'/castsequence [stance: 1] Judgment, seal of righteousness',
	'/castsequence [stance: 2] Judgment, seal of truth',
	'/cast [stance: 3/4] Judgment',
	'/cast Exorcism',
	'/cast Execution Sentence',
PostMacro = [[
/cast Avenging Wrath
/startattack
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

EDIT: I figured it out. I had an old version of the addon. Updating fixed it. Now I just need to find out why i'm not using exorcism when i get my proc. I think it has to do with the order.
Last edited by fightinghokie : 01-12-15 at 07:08 PM.
Report comment to moderator  
Reply With Quote
Unread 01-12-15, 09:33 AM  
Darklogan
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Smile Hi, Support at Spanish

I have doub, can translate the addon for working a spanish wow? sorry for my bad english.
Report comment to moderator  
Reply With Quote
Unread 01-11-15, 04:09 PM  
Nostrodamaz
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
From rkbrumbelow:

"BTW Semlar, a big thank you from the disabled WoW community. GS is good enough to let many of us continue into things like LFR and not be locked out of content. Before GS, I had thought I was going to have to give up playing WoW again after the changes in 6.0 you gave WoW another lease on life for me and many others."

That's an angle I never thought about when playing Wow, its pretty deep. Great job to the authors of this AddOn!
__________________
Report comment to moderator  
Reply With Quote
Unread 01-11-15, 01:12 PM  
rkbrumbelow
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Logic Based Step

Originally Posted by semlar
Originally Posted by Bajawah
What do you guys think of this concept?

I just ran into it on the WowLazyMacro forum.

Have not had a chance to try making something like this yet, but it -looks- like it would work to some degree at least.

FYI - In his post he is asking for help on syntax and the like, so the code below is broken!

http://wowlazymacros.com/forums/topi...step-sequence/
That's not going to work, those api functions aren't accessible from the secure environment to keep people from doing exactly this.
The author of Macro Toolkit and I addressed this over at WoWLazyMacros and posted he posted the same effective thing. If it is possible, it would be against the Blizzard ToS.

BTW Semlar, a big thank you from the disabled WoW community. GS is good enough to let many of us continue into things like LFR and not be locked out of content. Before GS, I had thought I was going to have to give up playing WoW again after the changes in 6.0 you gave WoW another lease on life for me and many others.
Report comment to moderator  
Reply With Quote
Unread 01-11-15, 01:01 PM  
rkbrumbelow
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: GS Not working for me either

[quote=Misterbubble]
Originally Posted by daveym
HELP!!!! A few days ago GS just stopped working. I uninstalled and reinstalled. I reloaded the macros and nothing. It's not working for any of my toons. Maybe it was an update that broke something not sure, here is an example of a macro I have been using from wowlazymacros.com:
<snip>
This is one of the macros i am trying to use also and i cant get it to work. I am new to this so any help would be great. i just copyed it from lazymacros site so if i have to change anything plz let me know
The vast majority of problems with Gnome Sequencer are in fact formatting and syntax issues caused by the end user. Take a look at the post Common Mistakes in GnomeSequencer Files and you will see every issue and the solution for it that I have come across in debugging a few hundred sequences for folks. There are only 11 issues that have caused GS to completely stop working and they are all due to simple formatting and syntax errors in user supplied sequences.
Report comment to moderator  
Reply With Quote
Unread 01-07-15, 11:09 PM  
Misterbubble
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: GS Not working for me either

Originally Posted by daveym
HELP!!!! A few days ago GS just stopped working. I uninstalled and reinstalled. I reloaded the macros and nothing. It's not working for any of my toons. Maybe it was an update that broke something not sure, here is an example of a macro I have been using from wowlazymacros.com:

Sequences['FuryA'] = {
PreMacro = [[
/targetenemy [noharm][dead]
/startattack
/cast [combat] Berserker Rage
]],
'/cast !Execute',
'/cast !Raging Blow',
'/cast !Bloodthirst',
'/cast Wild Strike',
'/cast Victory Rush',
'/cast Execute',
'/cast Storm Bolt',
'/cast [combat] Dragon Roar',
PostMacro = [[
/startattack
/cast [combat] Recklessness
/cast [combat] Bloodbath
/use [combat]13
/use [combat]14
]],
}
This is one of the macros i am trying to use also and i cant get it to work. I am new to this so any help would be great. i just copyed it from lazymacros site so if i have to change anything plz let me know
Report comment to moderator  
Reply With Quote
Unread 01-07-15, 06:42 PM  
daveym
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
GS Not working for me either

HELP!!!! A few days ago GS just stopped working. I uninstalled and reinstalled. I reloaded the macros and nothing. It's not working for any of my toons. Maybe it was an update that broke something not sure, here is an example of a macro I have been using from wowlazymacros.com:

Sequences['FuryA'] = {
PreMacro = [[
/targetenemy [noharm][dead]
/startattack
/cast [combat] Berserker Rage
]],
'/cast !Execute',
'/cast !Raging Blow',
'/cast !Bloodthirst',
'/cast Wild Strike',
'/cast Victory Rush',
'/cast Execute',
'/cast Storm Bolt',
'/cast [combat] Dragon Roar',
PostMacro = [[
/startattack
/cast [combat] Recklessness
/cast [combat] Bloodbath
/use [combat]13
/use [combat]14
]],
}
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: