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 06-13-17, 01:54 PM  
Dalvand
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
7.2.5 seems to have broken the addon

Semlar-

Great work on the addon, it is easily my favorite in the game. However, 7.2.5 seems to have broken it completely, as in macros simply do not fire off. Would it possible for you to have a look? I know GSE still works, but I prefer yours if possible.
Report comment to moderator  
Reply With Quote
Unread 05-01-17, 08:51 PM  
MadCowScurge
A Kobold Labourer
 
MadCowScurge's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by semlar
Originally Posted by MadCowScurge
IS Cast @cursor going to be supported by GS any time soon?
You can use any modifiers you want, all it does is execute whatever macros you put into it.

If you're using Gnome Sequencer Enhanced, that's a separate addon by a different author.
My bad had to set it up better.. grate work on the add on, with all the cd's I have to keep track of saves space when you can step it with another spell..
Report comment to moderator  
Reply With Quote
Unread 05-01-17, 08:36 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 MadCowScurge
IS Cast @cursor going to be supported by GS any time soon?
You can use any modifiers you want, all it does is execute whatever macros you put into it.

If you're using Gnome Sequencer Enhanced, that's a separate addon by a different author.
Report comment to moderator  
Reply With Quote
Unread 05-01-17, 08:30 PM  
MadCowScurge
A Kobold Labourer
 
MadCowScurge's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
IS Cast @cursor going to be supported by GS any time soon?
Report comment to moderator  
Reply With Quote
Unread 04-18-17, 01:21 AM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
Originally Posted by semlar
It would help to figure out what was causing it, I couldn't reproduce the error so I just made my best guess about what the issue was.
PM'd you a dropbox link of the file
Report comment to moderator  
Reply With Quote
Unread 04-17-17, 07:42 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
Originally Posted by semlar
Originally Posted by ceylina
7.2.0.2 has an error

[C]: in function `SetMacroItem'
GnomeSequencer\Core.lua:61: in function `UpdateIcon'
GnomeSequencer\Core.lua:147: in function <GnomeSequencer\Core.lua:138>


That happens over and over
Can you post your sequence file?
No need You fixed it in 7.2.0.3
It would help to figure out what was causing it, I couldn't reproduce the error so I just made my best guess about what the issue was.
Report comment to moderator  
Reply With Quote
Unread 04-17-17, 07:35 PM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
Originally Posted by semlar
Originally Posted by ceylina
7.2.0.2 has an error

[C]: in function `SetMacroItem'
GnomeSequencer\Core.lua:61: in function `UpdateIcon'
GnomeSequencer\Core.lua:147: in function <GnomeSequencer\Core.lua:138>


That happens over and over
Can you post your sequence file?
No need You fixed it in 7.2.0.3
Report comment to moderator  
Reply With Quote
Unread 04-17-17, 06:16 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
7.2.0.2 has an error

[C]: in function `SetMacroItem'
GnomeSequencer\Core.lua:61: in function `UpdateIcon'
GnomeSequencer\Core.lua:147: in function <GnomeSequencer\Core.lua:138>


That happens over and over
Can you post your sequence file?
Report comment to moderator  
Reply With Quote
Unread 04-17-17, 05:55 PM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
7.2.0.2 has an error

[C]: in function `SetMacroItem'
GnomeSequencer\Core.lua:61: in function `UpdateIcon'
GnomeSequencer\Core.lua:147: in function <GnomeSequencer\Core.lua:138>


That happens over and over
Report comment to moderator  
Reply With Quote
Unread 04-10-17, 12:06 AM  
Vailent
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi Semlar,

Been using your addon for a LONG time now, and it is a wonderful. I can't tell you how much it has helped with simple things that should have just been built into Blizzard's ui.

I've been having an issue since this new patch though (7.2) the icons default back to question marks when I enter a new zone. Is there a way to prevent this, or a way I can fix it? When I click the button it still functions normally, and the icons will update, but seeing the question mark every time i zone into an instance just annoys me aesthetically.
Last edited by Vailent : 04-10-17 at 12:07 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-17, 02:06 AM  
gomjabar
A Defias Bandit

Forum posts: 3
File comments: 4
Uploads: 0
Can no longer do multiple conditionals with a /castsequence. i.e. [combat,nochanneling] or [talent:7/2,nochanneling] will both show up as shortened and red. They do still work with /cast.
Report comment to moderator  
Reply With Quote
Unread 01-15-17, 11:37 AM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Re: GS no longer works

Originally Posted by xfusionpower
GS no longer works after 7.1.5, does anyone have an ETA on update??
You're probably looking for "Gnome Sequencer Enhanced", which is a copy of my addon that someone else is working on.

It's unlikely that a patch will break the original version of Gnome Sequencer because of how simple it is.
Report comment to moderator  
Reply With Quote
Unread 01-10-17, 03:05 PM  
xfusionpower
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
GS no longer works

GS no longer works after 7.1.5, does anyone have an ETA on update??
Report comment to moderator  
Reply With Quote
Unread 10-03-16, 06:30 AM  
Koldun
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
need a community adwise

Heya m8tes

Here is the problem. Right after 1.3.4 ver. update all me GS macroe are not working at all... so every update i`m checking if something changed here and after all downgrading back to ver 1.3.4. So question is... maybe one of you got same problem and was able to fix this situation with old macroes. Wold really apriciate if you could share the info of how you did it. Thanks in adwance
Report comment to moderator  
Reply With Quote
Unread 10-02-16, 09:26 PM  
gomjabar
A Defias Bandit

Forum posts: 3
File comments: 4
Uploads: 0
This is definitely whats going on after playing with print(step). But I dont dont see an api function to reset it after any duration. Sucks cause this would fix my rotation problem
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: