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,772
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 11-09-14, 12:34 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Originally Posted by Avalon2099
Understandable, thank you for clarifying, I just didnt know enough about the situation and didnt want to go in unknowing.
If someone claims to have been banned for using this or any other addon, they're either trolling or were banned for something else they were doing.
Report comment to moderator  
Reply With Quote
Unread 11-09-14, 12:31 PM  
Avalon2099
A Kobold Labourer
 
Avalon2099's Avatar

Forum posts: 1
File comments: 3
Uploads: 0
Originally Posted by semlar
Originally Posted by Avalon2099
Ive heard of one person stating that you could get banned for using this or a program like this? I wanted to confirm before I succumb to the hysteria of one or two people. Does this addon violate any of the TOS for WoW?
You can't be punished for using an addon. As was already mentioned, if they don't like what an addon can do they will make it so the addon can't do it any more.

However, if you use an external program like auto-hotkey to bypass the one-action-per-click rule, then you are violating their policies, but it doesn't have anything to do with this addon.

The addon does not automate anything, it can't make decisions for you, all it does is swap the button to the next item in the sequence when you push it.
Understandable, thank you for clarifying, I just didnt know enough about the situation and didnt want to go in unknowing.
Report comment to moderator  
Reply With Quote
Unread 11-09-14, 12:01 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Originally Posted by Avalon2099
Ive heard of one person stating that you could get banned for using this or a program like this? I wanted to confirm before I succumb to the hysteria of one or two people. Does this addon violate any of the TOS for WoW?
You can't be punished for using an addon. As was already mentioned, if they don't like what an addon can do they will make it so the addon can't do it any more.

However, if you use an external program like auto-hotkey to bypass the one-action-per-click rule, then you are violating their policies, but it doesn't have anything to do with this addon.

The addon does not automate anything, it can't make decisions for you, all it does is swap the button to the next item in the sequence when you push it.
Report comment to moderator  
Reply With Quote
Unread 11-09-14, 11:26 AM  
PessimiStick
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by Avalon2099
Ive heard of one person stating that you could get banned for using this or a program like this? I wanted to confirm before I succumb to the hysteria of one or two people. Does this addon violate any of the TOS for WoW?
It just uses the supplied API. If Blizzard doesn't like the functionality, they will simply break it.
Report comment to moderator  
Reply With Quote
Unread 11-09-14, 10:32 AM  
Avalon2099
A Kobold Labourer
 
Avalon2099's Avatar

Forum posts: 1
File comments: 3
Uploads: 0
Ive heard of one person stating that you could get banned for using this or a program like this? I wanted to confirm before I succumb to the hysteria of one or two people. Does this addon violate any of the TOS for WoW?
Report comment to moderator  
Reply With Quote
Unread 11-08-14, 08:42 PM  
ardisim
A Kobold Labourer
 
ardisim's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Retribution paladin

I sorted it out. I had placed the files directly in the AddOn folder without giving the files there own folder.

Thanks for the quick answer. Now Iam off to wow and play some pawnage pvp
Report comment to moderator  
Reply With Quote
Unread 11-08-14, 07:20 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Re: Retribution paladin

Originally Posted by ardisim
I can´t make this macro work. I feel like I have tried everything with no result. Nothing happens when I push the allocated key. Not even an error message. Yes, I have tried to enable Show Lua Errors in help menu. I have tried to turn off Macro Toolkit. I have tried to alter the quotations marks. I have tried the macro without Templar's Verdict etc. I hope you can help bcs. this AddOn must be spectacular when it works!

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

Sequences["Ret"] = {
PreMacro = [[
/targetenemy [noharm][dead]
]],
[[/cast Judgment]],
[[/cast Crusader Strike]],
[[/cast Exorcism]],
[[/cast !Avenging Wrath]],
[[/cast !Execution Sentence]],
[["/cast Templar's Verdict"]]
[[/cast Hammer of Wrath]],
]],
}
You're missing a comma after the templar's verdict line (it also shouldn't have quotes in addition to brackets, but that wouldn't stop it from outputting that line as text) and you have 2 extra closing brackets on the last line. I'm surprised it's not throwing an error because of that, are you sure it's loading the file?

Put this in your sequences file, double check that it's called Sequences.lua, and completely exit and restart the game.
Lua Code:
  1. local _, Sequences = ... -- Don't touch this
  2.  
  3. Sequences["Ret"] = {
  4.     PreMacro = [[
  5. /targetenemy [noharm][dead]
  6.     ]],
  7.     [[/cast Judgment]],
  8.     [[/cast Crusader Strike]],
  9.     [[/cast Exorcism]],
  10.     [[/cast !Avenging Wrath]],
  11.     [[/cast !Execution Sentence]],
  12.     [[/cast Templar's Verdict]],
  13.    [[/cast Hammer of Wrath]],
  14. }
Report comment to moderator  
Reply With Quote
Unread 11-08-14, 07:08 PM  
ardisim
A Kobold Labourer
 
ardisim's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Retribution paladin

I can´t make this macro work. I feel like I have tried everything with no result. Nothing happens when I push the allocated key. Not even an error message. Yes, I have tried to enable Show Lua Errors in help menu. I have tried to turn off Macro Toolkit. I have tried to alter the quotations marks. I have tried the macro without Templar's Verdict etc. I hope you can help bcs. this AddOn must be spectacular when it works!

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

Sequences["Ret"] = {
PreMacro = [[
/targetenemy [noharm][dead]
]],
[[/cast Judgment]],
[[/cast Crusader Strike]],
[[/cast Exorcism]],
[[/cast !Avenging Wrath]],
[[/cast !Execution Sentence]],
[["/cast Templar's Verdict"]]
[[/cast Hammer of Wrath]],
]],
}
Report comment to moderator  
Reply With Quote
Unread 11-08-14, 11:13 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 bobthe
I have 3 files in my addons interface GnomesequencerM folder
Core
GnomeSequencerM
Sequences

Below is what i have done in my Sequences file, but when i go in game and do /m to get macro screen up click new type HUNTER_DPS then click save nothing happens i know i should be getting some text on the link i am making so what is wrong please
GnomeSequencer Modified is not my addon, someone forked it and modified it to behave differently, so I can't offer any help with that.

All I can tell you is that what you have there should work with the original version of the addon.
Report comment to moderator  
Reply With Quote
Unread 11-08-14, 06:37 AM  
bobthe
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
Hi all
I have 3 files in my addons interface GnomesequencerM folder
Core
GnomeSequencerM
Sequences

Below is what i have done in my Sequences file, but when i go in game and do /m to get macro screen up click new type HUNTER_DPS then click save nothing happens i know i should be getting some text on the link i am making so what is wrong please


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["HUNTER_DPS"] = {
PreMacro = [[
]],
'/cast A Murder of Crows',
'/cast Chimaera Shot',
'/cast Kill Shot',
'/cast Glaive Toss',
'/cast Aimed Shot',
'/cast Steady Shot',
'/cast Rapid Fire',
'/use crystal of Insanity',
PostMacro = [[
]],
}
Report comment to moderator  
Reply With Quote
Unread 11-07-14, 05:19 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Originally Posted by ceylina
I am needing to fire off two casts back to back in order to trigger the MM hunter talent steady focus.

Using just a straight sequence with two casts back to back doesn't fire off every time in sequence.

Is there a way to make a step so that it always does 1,1,2,3,4,5,6?
The addon can't temporarily disable the button to prevent it from moving forward, you will need to be careful about pushing it twice in a row.

You might be better off adding steady shot to the same key with a modifier so you can just hold shift when you want to cast it or something.

Originally Posted by Chris25
I use this addon and it is great. But i cant get crusader strike to work. I am german und the spell is called Krezfahrerstoß. I thik the ß makes problems but when i work normaly with makros there is nor problem. Can anybody help me?
You need to edit the file with utf-8 encoding in your editor, the character you're trying to use is not in the ASCII range.
Report comment to moderator  
Reply With Quote
Unread 11-07-14, 10:55 AM  
Chris25
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I use this addon and it is great. But i cant get crusader strike to work. I am german und the spell is called Krezfahrerstoß. I thik the ß makes problems but when i work normaly with makros there is nor problem. Can anybody help me?

This is my file

Sequences['Retri'] = {
'/cast Hammer des Zorns',
'/cast Kreuzfahrerstoß',
'/cast Exorzismus',
'/cast Richturteil',
}

Everything works but '/cast Kreuzfahrerstoß
Report comment to moderator  
Reply With Quote
Unread 11-07-14, 10:22 AM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
So far this is working out really well.

I am needing to fire off two casts back to back in order to trigger the MM hunter talent steady focus.

Using just a straight sequence with two casts back to back doesn't fire off every time in sequence.

Is there a way to make a step so that it always does 1,1,2,3,4,5,6?

For example, here is what I am using right now:

Code:
Sequences["MMDPS"] = {
	PreMacro = [[
/targetenemy [noharm][dead]
/petattack
	]],
	'/cast steady shot',
	'/cast steady shot',
	'/cast aimed shot',
	'/cast chimaera shot',
	'/cast powershot',
	'/cast a murder of crows',
	'/cast kill shot',
	PostMacro = [[
/cast [combat] Rapid Fire
	]],
}
I would prefer to have the macro fire this way:

Steady shot, steady shot, aimed shot, chimaera shot (on cooldown), powershot (on cooldown), a murder of crows (on cooldown), and kill shot (on cooldown).


Would using a castsequence work better than trying to figure out the step increment function option?
Report comment to moderator  
Reply With Quote
Unread 11-06-14, 09:28 PM  
bree
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
thank you very much

ty i saw where i had the quotes on the name, so i changed them and now all is great, ty ty
Report comment to moderator  
Reply With Quote
Unread 11-06-14, 09:20 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Re: still the same

Originally Posted by bree
I changed it to ...

Sequences ["Frost"] = {
[[/cast Obliterate]],
[[/cast Howling Blast]],
[[/cast Plague Strike]],
[[/cast Soul Reaper]],
[[/cast Obliterate]],
[[/cast Frost Strike]],
[[/cast [combat] Pillar of Frost]],
[[/cast [combat] Empower Rune Weapon]],
PostMacro = [[
/startattack
]],
}

it still will not work, any ideas? still get the same error..."Failed to load Sequences.lua or contains no macros, create the file from ExamplesSequences.lua and restart the game.
Turn lua errors on in the "help" menu in the interface and reload, it should be throwing an error if what you pasted here doesn't work.

Also make sure you kept the first line of the file intact, because that can't be removed.

Also, double-check that the file is actually called Sequences.lua.
Last edited by semlar : 11-06-14 at 09:21 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: