Quantcast
Download
(4 Kb)
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:233,038
Favorites:139
MD5:
7.3.0

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)


Archived Files (10)
File Name
Version
Size
Author
Date
7.2.0.3
4kB
semlar
04-17-17 07:03 PM
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 06-17-17, 09:55 AM  
Meresiris
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Exclamation Re: Re: Re: Re: 7.2.5 seems to have broken the addon

Originally Posted by Maarc
Originally Posted by semlar
Originally Posted by MysticalNyte
Change the first line ## Interface: 70200 to ## Interface 70205
They don't appear to have changed the version number with 7.2.5 (they normally only change it for major versions), so this shouldn't have fixed anything.

It's possible just restarting the game fixed whatever the problem was.
There still seems to be a problem with GnomeSequencer, I have unloaded all other AddOns ... to make sure there were no conflicts and then tested the macros I've been using previously successfully. GnomeSequencer works fine for a few moments the freezes WoW completely requiring it to be closed and restarted.

Is there anything I can do to help you narrow down the cause of this problem?
The copy of GSE downloaded from Curse Indicates ## Interface: 70250. This appears to be the current version. Should the # Interface: 70205 be changed to be the same OR vice Versa OR does it not matter. Currently I can't load the addon at all. It says it is "out of date". Where did you get ##Interface 70205 from?
Report comment to moderator  
Reply With Quote
Unread 06-14-17, 05:35 AM  
Maarc
A Kobold Labourer
 
Maarc's Avatar

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

Originally Posted by semlar
Originally Posted by MysticalNyte
Change the first line ## Interface: 70200 to ## Interface 70205
They don't appear to have changed the version number with 7.2.5 (they normally only change it for major versions), so this shouldn't have fixed anything.

It's possible just restarting the game fixed whatever the problem was.
There still seems to be a problem with GnomeSequencer, I have unloaded all other AddOns ... to make sure there were no conflicts and then tested the macros I've been using previously successfully. GnomeSequencer works fine for a few moments the freezes WoW completely requiring it to be closed and restarted.

Is there anything I can do to help you narrow down the cause of this problem?
Report comment to moderator  
Reply With Quote
Unread 06-13-17, 07:48 PM  
Dalvand
A Kobold Labourer

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

Originally Posted by semlar
Originally Posted by MysticalNyte
Change the first line ## Interface: 70200 to ## Interface 70205
They don't appear to have changed the version number with 7.2.5 (they normally only change it for major versions), so this shouldn't have fixed anything.

It's possible just restarting the game fixed whatever the problem was.
Well, I restarted (technically, servers went down), but it still didn't work. Made this change, and it went back to working exactly as before.
Report comment to moderator  
Reply With Quote
Unread 06-13-17, 06:22 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1014
File comments: 184
Uploads: 25
Re: Re: 7.2.5 seems to have broken the addon

Originally Posted by MysticalNyte
Change the first line ## Interface: 70200 to ## Interface 70205
They don't appear to have changed the version number with 7.2.5 (they normally only change it for major versions), so this shouldn't have fixed anything.

It's possible just restarting the game fixed whatever the problem was.
Report comment to moderator  
Reply With Quote
Unread 06-13-17, 04:50 PM  
Dalvand
A Kobold Labourer

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

Originally Posted by MysticalNyte
Originally Posted by Dalvand
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.
Go into your GS Folder.
Then go to the file "GnomeSequencer.toc" and right click and open it up in notepad, notepad+, etc.
Change the first line ## Interface: 70200 to ## Interface 70205.
Then click the save button!

This was posted on page six here and I remembered it as my wife still uses this addon and it just worked for her. I just changed it to work for the current patch 7.2.5.
Worked perfect! Thanks for the quick help.
Report comment to moderator  
Reply With Quote
Unread 06-13-17, 03:00 PM  
MysticalNyte
A Murloc Raider

Forum posts: 4
File comments: 12
Uploads: 0
Re: 7.2.5 seems to have broken the addon

Originally Posted by Dalvand
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.
Go into your GS Folder.
Then go to the file "GnomeSequencer.toc" and right click and open it up in notepad, notepad+, etc.
Change the first line ## Interface: 70200 to ## Interface 70205.
Then click the save button!

This was posted on page six here and I remembered it as my wife still uses this addon and it just worked for her. I just changed it to work for the current patch 7.2.5.
__________________
Last edited by MysticalNyte : 06-13-17 at 03:02 PM.
Report comment to moderator  
Reply With Quote
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: 1014
File comments: 184
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 Cyclonian

Forum posts: 48
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: 1014
File comments: 184
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 Cyclonian

Forum posts: 48
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: 1014
File comments: 184
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 Cyclonian

Forum posts: 48
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
Post A Reply



Category Jump: