Quantcast
Download
(4 Kb)
Download
Updated: 04-17-17 07:03 PM
Pictures
File Info
Compatibility:
Tomb of Sargeras (7.2.0)
Updated:04-17-17 07:03 PM
Created:10-29-14 03:51 AM
Downloads:226,072
Favorites:137
MD5:
7.2.0

GnomeSequencer  Popular! (More than 5000 hits)

Version: 7.2.0.3
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)


Archived Files (9)
File Name
Version
Size
Author
Date
7.2.0.2
4kB
semlar
04-17-17 06:47 PM
7.2.0.3
4kB
semlar
04-17-17 06:45 PM
7.2.0.2
4kB
semlar
04-17-17 12:10 PM
7.2.0.1
4kB
semlar
04-10-17 09:54 PM
r5
4kB
semlar
02-24-15 06:56 AM
r4
4kB
semlar
01-25-15 08:20 PM
r3
3kB
semlar
10-31-14 01:52 AM
r2
3kB
semlar
10-30-14 10:29 PM
r1
3kB
semlar
10-29-14 03:51 AM


Post A Reply Comment Options
Unread 05-13-16, 11:12 PM  
Bankrton
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Re: Re: Future-proofing

Logged in to beta yesterday after the maintenance, copied my GS folder over from WOD, and it worked! Now just need new macros for those that know how to build them when they start getting in
Report comment to moderator  
Reply With Quote
Unread 05-11-16, 08:45 AM  
KneazlesKeeper
A Kobold Labourer
 
KneazlesKeeper's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
Re: Re: Future-proofing

Originally Posted by semlar
Originally Posted by MechaZao
I know this addon has not been updated in a very long time, but I have come to really rely on this, at least for a couple of my characters. Does anybody have any plans to possibly ensure that this addon will work in Legion? Either the original creator, or someone who is able to fix it to work again when Legion releases? (assuming that it will not).
The addon is actually quite simple in its current form and unless they go out of their way to break it, it will continue to function in legion.

That being said, I have no way to verify anything until they enable addons on the test realms and start inviting authors.
It appears that beta is starting today, the servers are currently down for maintaince, but I was able to down load it and login to it.
Report comment to moderator  
Reply With Quote
Unread 03-30-16, 02:56 PM  
gnomeurbines
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Gnome Sequencer

Can someone help me please, I just started playing wow again after a 2 year break. This GS is new to me. I have figured out the basics of using it on one of my toons. my question is can it be utilized for multiple toons, if so, how? I tried to figure it out and ended up making it stop working so had to reinstal. Thank you in advance for any help.
Report comment to moderator  
Reply With Quote
Unread 03-12-16, 04:00 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1005
File comments: 183
Uploads: 25
Re: Future-proofing

Originally Posted by MechaZao
I know this addon has not been updated in a very long time, but I have come to really rely on this, at least for a couple of my characters. Does anybody have any plans to possibly ensure that this addon will work in Legion? Either the original creator, or someone who is able to fix it to work again when Legion releases? (assuming that it will not).
The addon is actually quite simple in its current form and unless they go out of their way to break it, it will continue to function in legion.

That being said, I have no way to verify anything until they enable addons on the test realms and start inviting authors.
Report comment to moderator  
Reply With Quote
Unread 03-12-16, 03:06 PM  
MechaZao
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Future-proofing

I know this addon has not been updated in a very long time, but I have come to really rely on this, at least for a couple of my characters. Does anybody have any plans to possibly ensure that this addon will work in Legion? Either the original creator, or someone who is able to fix it to work again when Legion releases? (assuming that it will not).
Report comment to moderator  
Reply With Quote
Unread 03-04-16, 08:20 AM  
Vondreth
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: Gnome Sequencer broken

Originally Posted by Wandering
Originally Posted by Lockopulco
My game just did a small update and now GS will not work, cannot create new macros or use old ones

Oh dear.

HELP!!!
Same. Not working for me either.
Hi both of you,

Have you checked if "Load out of date AddOns" has been tagged On.!? If not, tag it and try again.
I just started WoW and GS still works fine for me. http://cdn-wow.mmoui.com/images/styl...ies/banana.gif
Report comment to moderator  
Reply With Quote
Unread 03-04-16, 12:31 AM  
Wandering
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Unhappy Re: Gnome Sequencer broken

Originally Posted by Lockopulco
My game just did a small update and now GS will not work, cannot create new macros or use old ones

Oh dear.

HELP!!!
Same. Not working for me either.
Report comment to moderator  
Reply With Quote
Unread 03-02-16, 04:03 PM  
Lockopulco
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Exclamation Gnome Sequencer broken

My game just did a small update and now GS will not work, cannot create new macros or use old ones

Oh dear.

HELP!!!
Report comment to moderator  
Reply With Quote
Unread 02-29-16, 10:54 PM  
Sh!nZ0n
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
So still a problem with the Macro ! If I do not have Prog for Frostfire Bolt Frostfire Bolt then will I cast Instant Prog then he will not cast why is that ??? Furthermore Ice lance only regularly performed when not prog !!

Code:
Sequences['FrostDPS'] = {
StepFunction = [[
order = newtable(1, 5, 6, 7, 1, 2, 1, 1, 1, 1, 1, 2, 2, 4, 3, 3, 3)

newstep = (newstep and (newstep % #order + 1)) or 2
step = order[newstep]
]],

PreMacro = [[
/targetenemy [noharm][dead]
/cast [nopet] summon water elemental
/petattack [@target,harm]
]],
PostMacro = [[
/startattack
/use [combat,nochanneling]13
/use [combat,nochanneling]14
]],
-- Macro 1 - Main Single Target Sequence For Frostmage
[[
/castsequence reset=combat/target frostbolt, Frostbolt, Frostbolt, Ice lance, Ice Lance, Ice Lance, Frostfire Bolt',
]],
-- Macro 2 - Frostbolt
[[
/cast Frostbolt
]],
-- Macro 3 - Ice Lance
[[
/cast Ice Lance
]],
-- Macro 4 - Frostfire Bolt
[[
/cast Frostfire Bolt
]],
-- Macro 5 - Ice Barrier
[[
/cast !Ice Barrier
]],
-- Macro 6 - Icy Veins
[[
/cast !Icy Veins
]],
-- Macro 7 - Frozen Orb
[[
/cast Frozen Orb
]],
}
Thanks to FaolanKing for Macro Does the 90% with me
Last edited by Sh!nZ0n : 02-29-16 at 10:55 PM.
Report comment to moderator  
Reply With Quote
Unread 02-28-16, 03:40 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1005
File comments: 183
Uploads: 25
Re: i am stupid ???

Originally Posted by Sh!nZ0n
BugSack logs when starting Wow following: 1x GnomeSequencer\Sequences.lua:91: nesting of [[...]] is deprecated near '['

I do not see the error possibly one of you ??? thank you
Your error is on line 91, it looks like you deleted the closing brackets and comma from the StepFunction before your PreMacro.
Lua Code:
  1. Sequences['FrostM'] = {
  2. StepFunction = [[
  3.     limit = limit or 1
  4.     if step == limit then
  5.         limit = limit % #macros + 1
  6.         step = 1
  7.     else
  8.         step = step % #macros + 1
  9.     end
  10. PreMacro = [[
  11. /castsequence reset=target Frostbombe,null
  12. ]],
  13. [[/castsequence Frostblitz,Frostbitz,Eislanze,Eislanze]],
  14. [[/cast Kältekegel]],
  15. [[/cast Ice Barrier]],
  16. }
That needs to be changed to this..
Lua Code:
  1. Sequences['FrostM'] = {
  2. StepFunction = [[
  3.     limit = limit or 1
  4.     if step == limit then
  5.         limit = limit % #macros + 1
  6.         step = 1
  7.     else
  8.         step = step % #macros + 1
  9.     end
  10. ]],
  11.  
  12. PreMacro = [[
  13. /castsequence reset=target Frostbombe,null
  14. ]],
  15. [[/castsequence Frostblitz,Frostbitz,Eislanze,Eislanze]],
  16. [[/cast Kältekegel]],
  17. [[/cast Ice Barrier]],
  18. }
Report comment to moderator  
Reply With Quote
Unread 02-28-16, 03:21 PM  
Sh!nZ0n
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
i am stupid ???

Hello everybody,

I get my Frostmage single and AoE Rota simply not to run . !


Code:
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['FrostM'] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
PreMacro = [[
/castsequence reset=target Frostbombe,null
]],
[[/castsequence Frostblitz,Frostbitz,Eislanze,Eislanze]],
[[/cast Kältekegel]],
[[/cast Ice Barrier]],
}

Sequences['FrostDPS'] = {
StepFunction = [[
order = newtable(1, 5, 6, 7, 1, 2, 1, 1, 1, 1, 1, 2, 2, 4, 3, 3, 3)

newstep = (newstep and (newstep % #order + 1)) or 2
step = order[newstep]
]],

PreMacro = [[
/targetenemy [noharm][dead]
/cast [nopet] Wasserelementar beschwören
/petattack [@target,harm]
]],
PostMacro = [[
/startattack
/use [combat,nochanneling]13
/use [combat,nochanneling]14
]],
-- Macro 1 - Single Target Rota Frost Mage
[[
/castsequence reset=combat/target Frostblitz, Frostblitz, Frostblitz, Eislanze, Eislanze, Eislanze, Frostfeuerblitz',
]],
-- Macro 2 - Frostblitz
[[
/cast Frostblitz
]],
-- Macro 3 - Eislanze
[[
/cast Eislanze
]],
-- Macro 4 - Frostfeuerblitz
[[
/cast Frostfeuerblitz
]],
-- Macro 5 - Eisbarriere
[[
/cast !Eisbarriere
]],
-- Macro 6 - Eisige Adern
[[
/cast !Eisige Adern
]],
-- Macro 7 - Tieffrieren
[[
/cast Tieffrieren
]],
}
BugSack logs when starting Wow following: 1x GnomeSequencer\Sequences.lua:91: nesting of [[...]] is deprecated near '['

I do not see the error possibly one of you ??? thank you
Last edited by Sh!nZ0n : 02-28-16 at 03:35 PM.
Report comment to moderator  
Reply With Quote
Unread 02-20-16, 03:50 AM  
Roxxos
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: New here, need help[

Originally Posted by Wikwire
So this is my first time using GS here is what I have, I've named my in game macor to FURY and Furyaoe and nothing happens when I push either button:

Sequences[“Fury”] = {

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]
/console Sound_EnableSFX 0
]],
[[/cast charge]],
[[/cast Impending Victory]],
[[/cast Dragon Roar]],
[[/cast Execute]],
[[/cast Execute]],
[[/cast Bloodthirst]],
[[/cast Wild Strike]],
[[/cast Bloodthirst]],
[[/cast Raging Blow]],
[[/cast Wild Strike]],
[[/cast Bloodthirst]],
[[/cast Raging Blow]],
[[/cast Execute]],
[[/cast Execute]],
PostMacro = [[
/startattack
/cast charge
/cast reset=45[combat]Siegebreaker,
/cast Dragon Roar
/cast Execute
/cast Execute
/cast Avatar
/cast Recklessness
/cast Berserker Rage
/cast Siegebreaker
/cast Hamstring
/cast Dragon Roar
/cast Execute
/cast Execute
/console Sound_EnableSFX 1
]],
}

Sequences[“Furyaoe”] = {
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]
/console Sound_EnableSFX 0
]],
[[/cast Bloodthirst]],
[[/cast Whirlwind]],
[[/cast Raging Blow]],
[[/cast Whirlwind]],
[[/cast Execute]],
[[/cast Wild Strike]],
[[/cast reset=30 [combat] Impending Victory]],
[[/cast Bloodthirst]],
[[/cast Whirlwind]],
[[/cast Raging Blow]],
[[/cast Whirlwind]],
[[/cast Raging Blow]],
[[/cast Bloodthirst]],
[[/cast Wild Strike]],
[[/cast Whirlwind]],
PostMacro = [[
/startattack
/cast Avatar
/cast [combat] Blade Storm
/cast [combat] Berserker Rage
/console Sound_EnableSFX 1
]],
}
Here is some of mine, have a look and try them out, send me a pm if you need something else from ithttp://s000.tinyupload.com/index.php...94847752637625 GL
PS for you that dont know it, use Notepad++ to alter the lua file and to best find in lua file use search and for you search for fury and u will have some macros for that.
Last edited by Roxxos : 02-20-16 at 03:53 AM.
Report comment to moderator  
Reply With Quote
Unread 02-20-16, 03:42 AM  
Roxxos
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Thumbs up Re: addon broke?

Originally Posted by jkechil1986
this addon has been working great for months, but since this week it seems to be broke.
is anyone else having problems or is it just me?
Hi, i like you have had problems with GS but its not broke BUT it is a bit more buggy, like me i used a macro that was wrong for my talents so it cost me alot of random dc but as soon as i changed my talents to match the Macro it was all good and ofc be sure to tick the "load out of date addons when u are on char page and opend addons

AND TO GS PPL

PLZ MAKE AN UPDATE SOON PLZ PLZ PLZ
Report comment to moderator  
Reply With Quote
Unread 02-16-16, 06:02 PM  
jkechil1986
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
addon broke?

this addon has been working great for months, but since this week it seems to be broke.
is anyone else having problems or is it just me?

Edit: still working, believe it was a miss-spelling that did it.
does this work on multiple classes or do i have to make seperate lua's for each character?
Last edited by jkechil1986 : 02-22-16 at 09:31 PM.
Report comment to moderator  
Reply With Quote
Unread 02-07-16, 07:59 AM  
nwaters80
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Warrior Macro

Originally Posted by Wikwire
Nm figured it out!
I am also trying this macro, however when I edit the note document, then make a blank Macro using the name Fury the macro button does nothing. How did you fix this?

I renamed the Note file "Sequences.lua"

Deleted the current text all the way up to

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

Sequences[“Fury”] = {

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]
/console Sound_EnableSFX 0
]],
[[/cast charge]],
[[/cast Enraged Regeneration]],
[[/cast Dragon Roar]],
[[/cast Execute]],
[[/cast Execute]],
[[/cast Bloodthirst]],
[[/cast Wild Strike]],
[[/cast Bloodthirst]],
[[/cast Raging Blow]],
[[/cast Wild Strike]],
[[/cast Bloodthirst]],
[[/cast Raging Blow]],
[[/cast Execute]],
[[/cast Execute]],
PostMacro = [[
/startattack
/cast charge
/cast reset=45[combat]Siegebreaker,
/cast Dragon Roar
/cast Execute
/cast Execute
/cast Avatar
/cast Recklessness
/cast Berserker Rage
/cast Siegebreaker
/cast Hamstring
/cast Dragon Roar
/cast Execute
/cast Execute
/console Sound_EnableSFX 1
]],
}

Then created a new blank macro Icon with the name "Fury"

But I click on it and it does nothing.

When I load WoW GnomeSequencer gives me an erro "syntax error on line 3 of sequencer.lua: unexpected symbol near "?".

Any help?
Last edited by nwaters80 : 02-07-16 at 08:21 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: