Go to Page... |
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: | 278,405 |
Favorites: | 125 |
MD5: |
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.
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 ]], }
![]() |
Comment Options |
Lysaeur |
View Public Profile |
Send a private message to Lysaeur |
Find More Posts by Lysaeur |
Add Lysaeur to Your Buddy List |
Platykurtic |
View Public Profile |
Send a private message to Platykurtic |
Find More Posts by Platykurtic |
Add Platykurtic to Your Buddy List |
Lysaeur |
View Public Profile |
Send a private message to Lysaeur |
Find More Posts by Lysaeur |
Add Lysaeur to Your Buddy List |
![]() |
|
|
The SecureActionButtonTemplate ( https://warcraft.wiki.gg/wiki/Secure...ButtonTemplate ) has changed in TWW to limit what can be done with addons like Gnomesequencer. Having said that there are work arounds (see https://github.com/TimothyLuke/GSE-A...%80%90-Catchup for example) so I'll start work on a GS version that can work although there may be limitations moving forwards or it may require a new version (rather than a simple fix). Depending upon how much work it is it may require a switch to GSE (which is working in TWW).
Last edited by Platykurtic : 07-23-24 at 10:23 PM.
|
![]() |
![]() |
Platykurtic |
View Public Profile |
Send a private message to Platykurtic |
Find More Posts by Platykurtic |
Add Platykurtic to Your Buddy List |
Lysaeur |
View Public Profile |
Send a private message to Lysaeur |
Find More Posts by Lysaeur |
Add Lysaeur to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
new TWW beta errors
Seems something has changed again. I went into Paladin Holy spec to add the spell mentioned but the lua error persists. Any ideas on a fix?
Message: Interface/AddOns/GnomeSequencer/Core.lua:18: attempt to call global 'GetSpellInfo' (a nil value) Time: Sat Jun 15 01:25:49 2024 Count: 1 Stack: Interface/AddOns/GnomeSequencer/Core.lua:18: attempt to call global 'GetSpellInfo' (a nil value) [string "@Interface/AddOns/GnomeSequencer/Core.lua"]:18: in function `UpdateIcon' [string "@Interface/AddOns/GnomeSequencer/Core.lua"]:70: in function <Interface/AddOns/GnomeSequencer/Core.lua:58> Locals: self = PaladinHolyDmg { } step = 1 button = "PaladinHolyDmg" macro = "/cast [nomod] Hammer of Wrath" foundSpell = false notSpell = "" (for state) = nil (for control) = "cast" cmd = "cast" etc = "[nomod] Hammer of Wrath" spell = "Hammer of Wrath" target = nil (*temporary) = nil (*temporary) = "Hammer of Wrath" (*temporary) = "attempt to call global 'GetSpellInfo' (a nil value)" Sequences = <table> { RogueSubAE = <table> { } RogueAssassCT = <table> { } RogueOutlaw = <table> { } ShamanElemAE = <table> { } DruidBalanceST = <table> { } DKBlood = <table> { } MonkMW = <table> { } MageArcaneAE = <table> { } WarlockDemoST = <table> { } DruidBalanceAE = <table> { } RogueDanceAE = <table> { } MageFire = <table> { } HunterBeastST = <table> { } RogueCarnage = <table> { } MonkBrew = <table> { } RogueAssassSerr = <table> { } DruidRestoAE = <table> { } DHVengeance = <table> { } DHHavocAE = <table> { } DKFrostAE = <table> { } DKUnholyAE = <table> { } PriestHolyAE = <table> { } PriestDiscST = <table> { } ShamanElemST = <table> { } ShamanRestoAE = <table> { } DruidBearOS = <table> { } WarriorArmsAE = <table> { } DKFrostST = <table> { } WarlockDestro = <table> { } RogueSubST = <table> { } PriestShadow = <table> { } WarriorArmsST = <table> { } WarlockDemoAE = <table> { } RogueAssassFan = <table> { } DHHavocST = <table> { } ShamanRestoST = <table> { } WarriorProt = <table> { } wwCB = <table> { } WarriorFuryST = <table> { } GnomeExample2 = <table> { } MonkWW = <table> { } RogueDanceST = <table> { } PriestHolyST = <table> { } HunterSurvAE = <table> { } DruidBearMagic = <table> { } PriestDiscAE = <table> { } WarlockAffST = <table> { } HunterMarksAE = <table> { } WarriorFuryAE = <table> { } HunterSurvST = <table> { } PaladinHolyDmg = <table> { } ShamanEnh = <table> { } GnomeExample1 = <table> { } PaladinProt = <table> { } DKUHST = <table> { } PaladinRetST = <table> { } HunterMarksST = <table> { } PaladinRetAE = <table> { } DruidBearPhys = <table> { } DruidRestoST = <table> { } DruidFeralST = <table> { } MageFrost = <table> { } PriestDiscMT = <table> { } ShamanElemAsc = <table> { } RogueAssassDTB = <table> { } PriestShadowAE = <table> { } WarlockAffAE = <table> { } HunterBeastAE = <table> { } MageArcaneST = <table> { } DruidFeralAE = <table> { } } CastCmds = <table> { cast = true spell = true use = true } |
![]() |
![]() |
Lysaeur |
View Public Profile |
Send a private message to Lysaeur |
Find More Posts by Lysaeur |
Add Lysaeur to Your Buddy List |
![]() |
|
|
It seems that /click is for the moment an epic mess in DragonFlight pre-patch 2, appearing to be related to how the new Evoker class manages the new click-to-charge mechanic. I have however managed to somehow get GnomeSequencer to work - it's a bit of a band-aid solution but appears to work while this mess stabilizes and a more permanent solution can be worked out. The fix as I remember it is ...
For me GnomeSequencer started to work again. I've - of course - not checked this for interactions with the Evoker class, but it may have shifted the click-to-charge to 'double press' rather than 'hold down' or vice-versa. I'll also need to check other characters to see if step 1 needs to be done on every character. Credit to this thread: https://us.forums.blizzard.com/en/wo...ken/1361972/19 |
![]() |
![]() |
Platykurtic |
View Public Profile |
Send a private message to Platykurtic |
Find More Posts by Platykurtic |
Add Platykurtic to Your Buddy List |
![]() |
||
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
|
|
![]() |
![]() |
Lysaeur |
View Public Profile |
Send a private message to Lysaeur |
Find More Posts by Lysaeur |
Add Lysaeur to Your Buddy List |
![]() |
|
|
It seems /click has changed in Dragonflight. Currently it appears that /click has changed from ...
/click GSMacroName to /click GSMacroName LeftButton ... where GSMacroName is the GnomeSequencer sequence name. A quick fix through using /macro seems to correct the current issue I'm having with it not working. Credit to https://zlodo.cc/smack/info/6c59a1592a910db2 from doing something similar for the Smack add-on. Further Edit: A change to line 68 in core.lua to ... Code:
EditMacro(macroIndex, nil, nil, '#showtooltip\n/click ' .. name .. ' LeftButton')
Last edited by Platykurtic : 10-26-22 at 05:19 PM.
|
![]() |
![]() |
Platykurtic |
View Public Profile |
Send a private message to Platykurtic |
Find More Posts by Platykurtic |
Add Platykurtic to Your Buddy List |
![]() |
|||
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
Re: Re: Re: original Gnomesequencer code
![]() |
||
![]() |
![]() |
Lysaeur |
View Public Profile |
Send a private message to Lysaeur |
Find More Posts by Lysaeur |
Add Lysaeur to Your Buddy List |
![]() |
||
|
Re: Re: original Gnomesequencer code
I’m afraid Blizzard is the only one who can fix this, but I believe that they are aware of it and should hopefully release a hotfix for it in a future update! |
|
![]() |
![]() |
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
![]() |
||
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
Re: original Gnomesequencer code
|
|
![]() |
![]() |
Lysaeur |
View Public Profile |
Send a private message to Lysaeur |
Find More Posts by Lysaeur |
Add Lysaeur to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
original Gnomesequencer code
I've been invited to try the Dragonflight beta, so moved my Gnomesequencer folder over to the beta's Interface/Addons and had hoped it would "just work" but it seems, with Dragonflight, something is breaking with the original GS (I don't use GSE, so that's not the issue...I prefer the OG addon)
Any chance you'll be re-visiting the code for Dragonflight or are you done with updating it? It *could* just be a beta issue and something "not quite right" at the moment. Can add .lua errors, if that would be helpful thanks for your consideration p.s. just in case you were curious about the error I've been getting: Message: Interface/FrameXML/SecureHandlers.lua:735: Header frame must be explicitly protected Time: Sat Sep 3 00:53:32 2022 Count: 1 Stack: Interface/FrameXML/SecureHandlers.lua:735: Header frame must be explicitly protected [string "=[C]"]: ? [string "@Interface/FrameXML/SecureHandlers.lua"]:735: in function <Interface/FrameXML/SecureHandlers.lua:725> [string "=(tail call)"]: ? [string "@Interface/AddOns/GnomeSequencer/Core.lua"]:46: in main chunk Locals: (*temporary) = "Header frame must be explicitly protected"
Last edited by Lysaeur : 09-03-22 at 02:24 AM.
|
![]() |
![]() |
Lysaeur |
View Public Profile |
Send a private message to Lysaeur |
Find More Posts by Lysaeur |
Add Lysaeur to Your Buddy List |
![]() |
||
|
Re: Pauses, slow downs, and complete stops
This is the original GnomeSequencer addon. |
|
![]() |
![]() |
semlar |
View Public Profile |
Send a private message to semlar |
Find More Posts by semlar |
Add semlar to Your Buddy List |
![]() |
|
|
Pauses, slow downs, and complete stops
GSE is great, but I'm experiencing slow response on my sequences. It will pause, delay between casts, and require represses of my bind key irregularly. Many times my character will be just standing there, and even re-initiating the sequence with a keypress won't get it to begin casting again, until I've pressed several times (by which time the mob is often dead).
In contrast, if I immediately hit my normal bind keys, response is instant (I often have to resort to doing this to "break" the frustrating delays). I'm using a slightly modified version of a druid macro from WoWLazyMacros which I've pasted below, in combination with a keypress loop on my mouse (which repeats the key bound to the macro on continuous loop while I hold down a button): Sequences['DarkBoom7.3-ST'] = { -- This Sequence was exported from GSE 2.2.02. Author="Darkmanz", SpecID=102, Talents = "2???213", Help = [[Version: s1.7.30 Talents: any Starsurgespec single target]], Default=1, Icon='Spell_Nature_StarFall', MacroVersions = { [1] = { Combat=true, Trinket1=true, Trinket2=true, Head=false, Neck=false, Belt=false, Ring1=false, Ring2=false, StepFunction = "Sequential", LoopLimit=8, KeyPress={ "/use [stance:0/3/5] Moonkin Form", "/use [stance:1, notalent:3/2] Moonkin Form", "/use [stance:2, notalent:3/1] Moonkin Form", "/targetenemy [noharm][dead]", "/castsequence [stance:4, talent:6/3] reset=combat Blessing of the Ancients, null", "/cast [combat] Celestial Alignment", "/cast [combat] Berserking", "/castsequence [nomod] reset=combat Sunfire, Moonfire, null", "/castsequence [nomod,combat] reset=target Moonfire, null", }, PreMacro={ "/cast Sunfire", }, "/cast [mod:alt] Starsurge", "/cast [mod:ctrl] Regrowth", "/cast [mod:shift,@cursor] Starfall", "/castsequence [nomod] reset=combat Solar Wrath, Solar Wrath, Lunar Strike", "/cast [nomod] New Moon", PostMacro={ }, KeyRelease={ }, }, }, }
Last edited by t0lkien : 12-12-17 at 09:41 PM.
|
![]() |
![]() |
t0lkien |
View Public Profile |
Send a private message to t0lkien |
Find More Posts by t0lkien |
Add t0lkien to Your Buddy List |
![]() |