Quantcast
Download
(4 Kb)
Download
Updated: 02-24-15 06:56 AM
Pictures
File Info
Compatibility:
The Adventure Continues (6.1)
Warlords of Draenor (6.0.3)
Updated:02-24-15 06:56 AM
Created:10-29-14 03:51 AM
Downloads:219,704
Favorites:137
MD5:

GnomeSequencer  Popular! (More than 5000 hits)

Version: r5
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!

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 (4)
File Name
Version
Size
Author
Date
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 02-28-16, 03:40 PM  
semlar
A Molten Giant
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 998
File comments: 180
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
Unread 02-04-16, 08:29 PM  
Wikwire
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Nm figured it out!
Report comment to moderator  
Reply With Quote
Unread 02-04-16, 08:07 PM  
Wikwire
A Kobold Labourer

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

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
]],
}
Report comment to moderator  
Reply With Quote
Unread 01-20-16, 11:44 AM  
jess0073
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Question Gnomesequencer

Hello, I write you to know how to use your addon " GnomeSequencer "? I am French and I understood well that the maccro has to be in French...
But I does not understand(include) why it does not work? Mon Pc with Windows 10 and I does not understand either... Why, when I download I have 4 files and in video which it 3.

I post you this below the maccro which I found and to modify in French;
Sequences['wfpvpt'] =

{StepFunction =
[[= limite ou 1
si l'étape == limite,
= limite% #macros + 1
pas = 1
autre
step = étape #macros% + 1

fin]],

PreMacro = [[
/cast Avatar
/cast Témérité
/
]],
"/cast Eclair de tempête",
'/cast Charge',
'/castsequence reset=5 éxecution, Briseur de siège, Sanguinaire, Frappe sauvage, coup déchaîné',
'/cast éxecution',
'/cast Briseur de siège',
'/cast Sanguinaire',
'/cast Frappe Sauvage',
'/cast Coup déchaîné',
"/cast !Brise_genou",
'/cast Ivresse de la victoire',
'/cast Volée de coups',

PostMacro = [[
/use 13
/use 14
/cast Rage de berserker
]],
}
Report comment to moderator  
Reply With Quote
Unread 01-20-16, 10:18 AM  
jess0073
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Question Gnomesequencer

Bonjour, je vous écris pour savoir comment fonctionne votre addon "GnomeSequencer" ? je suis français et j'ai bien compris que la maccro doit être en français...
Mais je ne comprend pas pourquoi ça ne marche pas ? Mon Pc à windows 10 et je ne comprend pas non plus... Pourquoi, quand je télécharge j'ai 4 fichiers contrairement au vidéo qui en on 3.

Je vous poste ci dessous la maccro que j'ai trouvé et modifier en français ;

Sequences['wfpvpt'] =

{StepFunction =
[[= limite ou 1
si l'étape == limite,
= limite% #macros + 1
pas = 1
autre
step = étape #macros% + 1

fin]],

PreMacro = [[
/cast Avatar
/cast Témérité
/
]],
"/cast Eclair de tempête",
'/cast Charge',
'/castsequence reset=5 éxecution, Briseur de siège, Sanguinaire, Frappe sauvage, coup déchaîné',
'/cast éxecution',
'/cast Briseur de siège',
'/cast Sanguinaire',
'/cast Frappe Sauvage',
'/cast Coup déchaîné',
"/cast !Brise_genou",
'/cast Ivresse de la victoire',
'/cast Volée de coups',

PostMacro = [[
/use 13
/use 14
/cast Rage de berserker
]],
}
Report comment to moderator  
Reply With Quote
Unread 12-28-15, 09:34 PM  
semlar
A Molten Giant
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 998
File comments: 180
Uploads: 25
Re: Re: Having Trouble with Addon

Originally Posted by Aesh
You forget to put code before macros.

Code:
StepFunction = [[
        limit = limit or 1
        if step == limit then
            limit = limit % #macros + 1
            step = 1
        else
            step = step % #macros + 1
        end
    ]],
The step function is not required, you only need to add one if you want to change how it behaves.
Report comment to moderator  
Reply With Quote
Unread 12-28-15, 02:18 PM  
Aesh
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 55
Uploads: 5
Re: Having Trouble with Addon

Originally Posted by Unravel758
Hello, I'm having trouble getting this addon to work. These are the steps that I've done and I've still been unable to get this addon to work.

- Downloaded addon into OS and opened it
-Copy/Transferred file to my Addon file in WoW
-Copied file ExampleGnomeSequences and renamed it Sequences.lua
-Opened Sequences.lua and left the line "local _, Sequences = ... -- Don't touch this" alone
-after I did this I wanted to see if I copied the addon over correctly so I opened up WoW and turned off all addons except GnomeSequencer which was showing up in my addon files.
-I tried making a macro 'GnomeExample1' to see if the addon was working correctly and the addon would not show up after created - the macro box would be blank after typing in GnomeExample1
-I tried putting in the name of the following macro for a Beast Master Hunter GS code:

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

Sequences['BM1'] = {
PreMacro = [[
/cast [@focus,help][help][@pet,exists] Misdirection
]],
PostMacro = [[
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Clear()
]],

-- Macro1
[[
/cast [nochanneling] Kill Command
]],
-- Macro2
[[
/cast [nochanneling] Kill Shot
]],
-- Macro3
[[
/cast [nochanneling] Glaive Toss
]],
-- Macro4
[[
/cast [nochanneling] Cobra Shot
]],
-- Macro5
[[
/cast [nochanneling] Arcane Shot
]],
-- Macro6
[[
/cast [nochanneling] !Focus Fire
]],
-- Macro7
[[
/cast [nochanneling] Bestial Wrath
]],
-- Macro8
[[
]],
}

-typed in BM1 for addon name and the macro window still is blank after hitting 'okay' button.

Please help me if you see a problem with my setup or if you can give me advice.
You forget to put code before macros.

Code:
StepFunction = [[
        limit = limit or 1
        if step == limit then
            limit = limit % #macros + 1
            step = 1
        else
            step = step % #macros + 1
        end
    ]],
This one should work. Offcourse you need to paste it in Sequences.lua :

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

Sequences['BM1'] = {

StepFunction = [[
        limit = limit or 1
        if step == limit then
            limit = limit % #macros + 1
            step = 1
        else
            step = step % #macros + 1
        end
    ]],

PreMacro = [[
/cast [@focus,help][help][@pet,exists] Misdirection
]],
PostMacro = [[
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Clear()
]],

-- Macro1
[[
/cast [nochanneling] Kill Command
]],
-- Macro2
[[
/cast [nochanneling] Kill Shot
]],
-- Macro3
[[
/cast [nochanneling] Glaive Toss
]],
-- Macro4
[[
/cast [nochanneling] Cobra Shot
]],
-- Macro5
[[
/cast [nochanneling] Arcane Shot
]],
-- Macro6
[[
/cast [nochanneling] !Focus Fire
]],
-- Macro7
[[
/cast [nochanneling] Bestial Wrath
]],
}
Report comment to moderator  
Reply With Quote
Unread 12-28-15, 04:54 AM  
semlar
A Molten Giant
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 998
File comments: 180
Uploads: 25
Re: Having Trouble with Addon

Originally Posted by Unravel758
Hello, I'm having trouble getting this addon to work. These are the steps that I've done and I've still been unable to get this addon to work.
If GnomeSequencer is being loaded and it isn't working it will print any errors it encounters to the chat, you might have to scroll up to view them but they should be there.

There's nothing wrong with what you have written, so it's an issue with how you installed it. Either your sequences file isn't named correctly or you're editing some other copy of the file.

Windows hides file extensions by default, so if you only saw "ExampleSequences" as the original file name instead of "ExampleSequences.lua", then you should have only removed "Example" from the file name, not added ".lua" to the end of it, otherwise it's probably now called "Sequences.lua.lua".
Report comment to moderator  
Reply With Quote
Unread 12-27-15, 10:53 PM  
Unravel758
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Having Trouble with Addon

Hello, I'm having trouble getting this addon to work. These are the steps that I've done and I've still been unable to get this addon to work.

- Downloaded addon into OS and opened it
-Copy/Transferred file to my Addon file in WoW
-Copied file ExampleGnomeSequences and renamed it Sequences.lua
-Opened Sequences.lua and left the line "local _, Sequences = ... -- Don't touch this" alone
-after I did this I wanted to see if I copied the addon over correctly so I opened up WoW and turned off all addons except GnomeSequencer which was showing up in my addon files.
-I tried making a macro 'GnomeExample1' to see if the addon was working correctly and the addon would not show up after created - the macro box would be blank after typing in GnomeExample1
-I tried putting in the name of the following macro for a Beast Master Hunter GS code:

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

Sequences['BM1'] = {
PreMacro = [[
/cast [@focus,help][help][@pet,exists] Misdirection
]],
PostMacro = [[
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Clear()
]],

-- Macro1
[[
/cast [nochanneling] Kill Command
]],
-- Macro2
[[
/cast [nochanneling] Kill Shot
]],
-- Macro3
[[
/cast [nochanneling] Glaive Toss
]],
-- Macro4
[[
/cast [nochanneling] Cobra Shot
]],
-- Macro5
[[
/cast [nochanneling] Arcane Shot
]],
-- Macro6
[[
/cast [nochanneling] !Focus Fire
]],
-- Macro7
[[
/cast [nochanneling] Bestial Wrath
]],
-- Macro8
[[
]],
}

-typed in BM1 for addon name and the macro window still is blank after hitting 'okay' button.

Please help me if you see a problem with my setup or if you can give me advice.
Report comment to moderator  
Reply With Quote
Unread 12-27-15, 06:49 PM  
Addonic
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Re: Re: Re: Re: ElvUI + Gnomesequencer

Originally Posted by semlar
Originally Posted by Addonic
Hello, yes, i got it bound to my side bottoms on my razor mouse.
You can try remapping the button on the mouse (in the razer software or whatever) to a keyboard key so it isn't treated as a mouse click, other than that I'm not sure if there's a setting in elvui that might help.
Thx for the help. After your last replay i figured it out. And now after i see how stupid i was the way i set it up

Once again, thanks for the help.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: