Grateful for Assistance with GS Macro

I have spent about 2 hours on the following code and I am at a loss for what is failing. Now taking a trip into town that will take a few hours. Thus I pray that another kind soul will illuminate what errors my macro is making.

My warlock affliction macro is included.

  • GS fails to load my [Sequence.lua] file at all.
  • There fails to be any error messages in my chat window.
``` -- Paladin Retribution Sequences['PRetPvEST'] = { 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] /startattack /console Sound_EnableSFX 0 /cast Avenging Wrath /cast [stance: 1] Seal of Truth ]], "/castsequence [combat] Execution Sentence, Exorcism, Judgment, Crusader Strike", "/cast [combat] Hammer of Wrath, Templar's Verdict, Judgment, ", PostMacro = [[ /use 13 /use 14 /script UIErrorsFrame:Hide(); /console Sound_EnableSFX 1 ]], }

Sequences[‘PRetPvEAE’] = {
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]
/startattack
/console Sound_EnableSFX 0
/cast Avenging Wrath
/cast [stance: 2] Seal of Righteousness
]],
“/castsequence Execution Sentence, Exorcism, Templar’s Verdict, Holy Wrath”,
“/castsequence Crusader Strike, Hammer of Wrath”,
PostMacro = [[
/cast Divine Storm
/use 13
/use 14
/startattck
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

– Paladin Protection
Sequences[‘PPrtPvEST’] = {
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]
/startattack
/console Sound_EnableSFX 0
/use Shieldtronic Shield
/cast Avenging Wrath
/cast Guardian of Ancient Kings
/cast [stance: 2] Seal of Insight
/cast [@player] Sacred Shield
/cast Holy Avenger
/cast Ardent Defender
/cast Shield of the Righteous
/cast Divine Protection
]],
“/castsequence [@mouseover] Avenger’s Shield, Judgment”
“/castsequence Execution Sentence, Consecration, Holy Wrath”,
“/castsequence Crusader Strike, Hammer of Wrath”,
PostMacro = [[
/use 13
/use 14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

Sequences[‘PPrtPvEAE’] = {
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]
/startattack
/console Sound_EnableSFX 0
/use Shieldtronic Shield
/cast Avenging Wrath
/cast Guardian of Ancient Kings
/cast [stance: 1] Seal of Righteousness
/cast Holy Avenger
/cast Ardent Defender
/cast Shield of the Righteous
/cast Divine Protection
]],
“/castsequence [@mouseover] Avenger’s Shield, Judgment”
“/castsequence Execution Sentence, Consecration, Holy Wrath”,
“/castsequence Crusader Strike, Hammer of the Righteous”,
“/castsequence Consecration”
PostMacro = [[
/use 13
/use 14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

Sequences[“WrlkAffPvEST”] = {
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]
/petattack
/startattack
/console Sound_EnableSFX 0
]],
“/castsequence Agony, Corruption, Unstable Affliction, Drain Soul”,
“/castsequence Haunt, Dark Soul: Misery, Corruption”,
“/cast Drain Soul”,
PostMacro = [[
/use 13
/use 14
/script UIErrorsFrame:Clear()
/console Sound_EnableSFX 1
]],
}

Sequences[“WrlkAffPvEAE”] = {
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]
/petattack
/startattack
/console Sound_EnableSFX 0
]],
“/castsequence Haunt, Unstable Affliction, Agony, Drain Soul”,
“/castsequence Seed of Corruption, Dark Soul: Misery”,
PostMacro = [[
/use 13
/use 14
/script UIErrorsFrame:Clear()
/console Sound_EnableSFX 1
]],
}

Greetings ,

I read over your macro and saw a few things that i knew to be ncorrect , mainly just syntax and such heres is what it should look like as far as i can tell :



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

-- Paladin Retribution
Sequences['PRetPvEST'] = {
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]
/startattack
/console Sound_EnableSFX 0
/cast Avenging Wrath
/cast [stance: 1] Seal of Truth
    ]],
    "/castsequence [combat] Execution Sentence, Exorcism, Judgement, Crusader Strike",
    "/castsequence [combat] Hammer of Wrath, Templar's Verdict, Judgement",
    PostMacro = [[
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
    ]],
}

Sequences['PRetPvEAE'] = {
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]
/startattack
/console Sound_EnableSFX 0
/cast Avenging Wrath
/cast [stance: 2] Seal of Righteousness
    ]],
    "/castsequence Execution Sentence, Exorcism, Templar's Verdict, Holy Wrath",
    "/castsequence Crusader Strike, Hammer of Wrath",
    PostMacro = [[
/cast Divine Storm
/use [combat]13
/use [combat]14
/startattck
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
    ]],
}

-- Paladin Protection
Sequences['PPrtPvEST'] = {
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]
/startattack
/console Sound_EnableSFX 0
/use Shieldtronic Shield
/cast Avenging Wrath
/cast Guardian of Ancient Kings
/cast [stance: 2] Seal of Insight
/cast [@player] Sacred Shield
/cast Holy Avenger
/cast Ardent Defender
/cast Shield of the Righteous
/cast Divine Protection
]],
	"/castsequence [@mouseover] Avenger's Shield, Judgement",
	"/castsequence Execution Sentence, Consecration, Holy Wrath",
	"/castsequence Crusader Strike, Hammer of Wrath",
PostMacro = [[
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

Sequences['PPrtPvEAE'] = {
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]
/startattack
/console Sound_EnableSFX 0
/use Shieldtronic Shield
/cast Avenging Wrath
/cast Guardian of Ancient Kings
/cast [stance: 1] Seal of Righteousness
/cast Holy Avenger
/cast Ardent Defender
/cast Shield of the Righteous
/cast Divine Protection
]],
	"/castsequence [@mouseover] Avenger's Shield, Judgement",
	"/castsequence Execution Sentence, Consecration, Holy Wrath",
	"/castsequence Crusader Strike, Hammer of the Righteous",
	"/castsequence Consecration",
PostMacro = [[
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

Sequences["WrlkAffPvEST"] = {
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]
/petattack
/startattack
/console Sound_EnableSFX 0
]],
	"/castsequence Agony, Corruption, Unstable Affliction, Drain Soul",
	"/castsequence Haunt, Dark Soul: Misery, Corruption",
	"/cast Drain Soul",
PostMacro = [[
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Clear()
/console Sound_EnableSFX 1
]],
}

Sequences["WrlkAffPvEAE"] = {
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]
/petattack
/startattack
/console Sound_EnableSFX 0
]],
	"/castsequence Haunt, Unstable Affliction, Agony, Drain Soul",
	"/castsequence Seed of Corruption, Dark Soul: Misery",
PostMacro = [[
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Clear()
/console Sound_EnableSFX 1
]],
}


Please note , I do not play either of those classes so i can not tell you if the macros now work like they should or not .

Well Met James!

Thank you very much. Your changes fixed the problem and GS is loading my Sequence.lua file. = D

Glad I could help.

-James

is there a chance someone can make a pvp macro so i can try it out

thanks

Nice sequences. I rly have to test them to. :stuck_out_tongue:
Below are the ones I currently am testing out for Prot and Ret. Just look at them, try and use what you want.
Perhaps there is / are some who give you better or cleaner results or the one you like most. hehe. (You never know.)
I have to say that gear does make a lot of difference of the outcome.
I mean, the higher the ilvl is or changed stats like haste, crit, multi or mast., the outcome (DPS / DMG done) can fluctuate a lot.
OR I do something rly wrong here. lol (Also my new pala is Full Heirloom and lvl 72 (updated) at the moment of writing this.)

btw. the builds and glyphs i wrote down there… some are from earlier patches/expansions. so don’t look to heavie on them.

Don’t ask for Talent builds, if you want to know my talents and glyphs. Please look at the bottom of this post. There’s a link to my Paladin’s armory.


-- Paladin Retribution (Crusader Strike) 
Sequences["Pala-RetST"] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/console Sound_EnableErrorSpeech 0
-- /console Sound_EnableSFX 0
/targetenemy [noexists][noharm][dead]
-- /castsequence [nochanneling]reset=3/combat Seal of Truth,null
]],
"/castsequence [nochanneling] !Final Verdict",
"/castsequence [nochanneling] !Hammer of Wrath",
"/castsequence [nochanneling] !Crusader Strike",
"/castsequence [nochanneling] !Judgment",
"/castsequence [nochanneling] !Exorcism",
"/castsequence [nochanneling] !Divine Storm",
"/castsequence [nochanneling,@player,talent:6/1]!Holy Prism;[nochanneling,@player,talent:6/2]!Light's Hammer;[nochanneling,@player,talent:6/3]!Execution Sentence",
"/castsequence [nochanneling] !Fist of Justice",
-- "/castsequence [nochanneling] !Avenging Wrath",
"/castsequence [nochanneling] !Templar's Verdict",
"/castsequence [nochanneling] Hammer of Wrath",
"/castsequence [nochanneling] !Divine Protection",
PostMacro = [[
/use [combat]13
/use [combat]14
/startattack
/castsequence [nochanneling] !Avenging Wrath
/castsequence [nochanneling] !Holy Avenger
/castsequence [nochanneling] !Divine Protection
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
/console Sound_EnableErrorSpeech 1
]],
}

-- Paladin Retribution AoE (Hammer of the Righteous) 
Sequences["Pala-RetAOE"] = {
PreMacro = [[
/console Sound_EnableErrorSpeech 0
/console Sound_EnableSFX 0
/targetenemy [noexists][noharm][dead]
-- /castsequence [nochanneling]reset=3/combat Seal of Righteousness,null
]],
-- "/castsequence [nochanneling] Seraphim",
"/castsequence [nochanneling] !Final Verdict",
"/castsequence [nochanneling] !Hammer of Wrath",
"/castsequence [nochanneling] !Hammer of the Righteous",
"/castsequence [nochanneling] !Judgment",
"/castsequence [nochanneling] !Exorcism",
"/castsequence [nochanneling] !Divine Storm" ,
"/castsequence [nochanneling,@player,talent:6/1]!Holy Prism;[nochanneling,@player,talent:6/2]!Light's Hammer;[nochanneling,@player,talent:6/3]!Execution Sentence",
-- "/castsequence [nochanneling] !Avenging Wrath",
"/castsequence [nochanneling] !Templar's Verdict",
"/castsequence [nochanneling] Hammer of Wrath",
"/castsequence [nochanneling] !Divine Protection",
PostMacro = [[
/use [combat]13
/use [combat]14
/startattack
/castsequence [nochanneling] !Avenging Wrath
/castsequence [nochanneling] !Holy Avenger
-- /castsequence [nochanneling,@player] !Sacred Shield
/castsequence [nochanneling] !Divine Protection
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
/console Sound_EnableErrorSpeech 1
]],
}

Protection


Removed the sequences in here.
an Updated sequence incl. seal switching for Protection Paladins in the Prot section. 
https://wowlazymacros.com/forums/topic/prot-paladin-gnome-sequencer-macro-for-tanking/page/16/#post-26456

And here some Holy (healer) Paladin spec DPS sequences.


-- Paladin Holy spec (Glyph of Flash of Light (recommended))
Sequences["Pala-HolyDPS"] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/console Sound_EnableErrorSpeech 0
/script UIErrorsFrame:Hide()
/targetenemy [noexists][noharm][dead]
/castsequence [nochanneling,mod] Sacred Shield
/castsequence [nochanneling]reset=combat Sacred Shield, null
]],
"/castsequence [nochanneling,@focus,exists] Crusader Strike",
"/castsequence [nochanneling,@targettarget]reset=10/target Flash of Light,Holy Light,Holy Light,Holy Light",
"/castsequence [nochanneling,@focus,exists]reset=5/target !Holy Prism",
"/castsequence [nochanneling,@focus,exists]reset=7/target !Light of Dawn",
"/castsequence [nochanneling,@focus,exists]reset=8/target !Holy Shock",
"/castsequence [nochanneling,@focus,exists]reset=9/target !Holy Radiance",
"/castsequence [nochanneling,@target]reset=11/target !Denounce",
"/castsequence [nochanneling,@focus,exists] Avenging Wrath",
"/castsequence [nochanneling,@focus,exists]reset=20/target !Eternal Flame",
"/castsequence [nochanneling,@focus,exists]reset=30/target !Hand of Purity",
"/castsequence [nochanneling,@player]reset=25/target !Beacon of Light,null",
PostMacro = [[
/use [combat]13
/use [combat]14
-- /castsequence [nochanneling,combat] Avenging Wrath
-- /startattack
/script UIErrorsFrame:Clear()
/script UIErrorsFrame:Show()
/console Sound_EnableErrorSpeech 1
]],
}

-- Paladin Holy spec Healing
-- Talents: Sanctified Wrath, Holy Prism are the ones that will give more dps. 3,1,2/3,2/3,2,1,2
-- Major: Glyph of Harsh Words (DPS: biggest hitter, aangeraden voor +dps), Glyph of Holy Shock (DPS: 50% meer +dmg en 50% minder -healing), Hand of Sacrifice (+healing)
-- of  Beacon of Light (no GCD), Flash of Light (+healing), Hand of Sacrifice (+healing)
-- Minor: Winged Vengeance, Fire from the heavens, righteous retreat
Sequences["Pala-Shockadin"] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/console Sound_EnableErrorSpeech 0
/script UIErrorsFrame:Hide()
/targetenemy [noexists][noharm][dead]
/castsequence [nochanneling,mod] Sacred Shield
/castsequence [nochanneling]reset=combat Sacred Shield, null
]],
"/castsequence [nochanneling,@mouseover] reset=10/target Flash of Light,Holy Light,Holy Light,Holy Light",
"/castsequence [nochanneling,@mouseover] reset=15/target !Beacon of Insight",
"/castsequence [nochanneling,@mouseover] reset=20/combat !Holy Prism",
"/castsequence [nochanneling,@mouseover] reset=7/combat !Light of Dawn",
"/castsequence [nochanneling,@mouseover] reset=6/combat !Holy Shock",
"/castsequence [nochanneling,@mouseover] reset=9/combat !Holy Radiance",
"/castsequence [nochanneling,@target] !Judgment",
"/castsequence [nochanneling] !Word of Glory",
-- "/castsequence [nochanneling,@target] !Harsh Words",
"/castsequence [nochanneling,@target] !Holy Shock",
"/castsequence [nochanneling,@target] reset=20/combat !Holy Prism",
"/castsequence [nochanneling,@target] reset=4/target !Crusader Strike",
"/castsequence [nochanneling,@target] reset=11/target !Denounce",
"/castsequence [nochanneling,@target] !Holy Shock",
"/castsequence [nochanneling,@target,help][nochanneling,@player] reset=9/combat !Holy Radiance",
"/castsequence [nochanneling,@mouseover] Sacred Shield",
"/castsequence [nochanneling,@mouseover] reset=20/combat !Eternal Flame",
"/castsequence [nochanneling,@focus,exists] reset=30/target !Hand of Purity",
"/castsequence [nochanneling,@focus,exists][nochanneling,@player,exists]reset=25/target !Beacon of Light",
"/castsequence [nochanneling] !Hammer of Wrath",
PostMacro = [[
/use [combat]13
/use [combat]14
-- /castsequence [nochanneling,combat] Avenging Wrath
-- /startattack
/script UIErrorsFrame:Clear()
/script UIErrorsFrame:Show()
/console Sound_EnableErrorSpeech 1
]],
}

As I said, look at them, try them and mix and match.

Just trying to help and give you guys more options. :wink: hehe

Edit:
an Updated sequence incl. seal switching for Protection Paladins in the Prot section.
https://wowlazymacros.com/forums/topic/prot-paladin-gnome-sequencer-macro-for-tanking/page/16/#post-26456

My little new Paladin’s armory: World of Warcraft

Dunno if I should remove my (changed / personalized) sequences completely from the replies and post them under my own name.? And put links to them.
hmmmm (My brain is starting to act a bit messy. Typing in 2-3 topics at the same time. lol. atm. of writing have been sleeping 1,5-2 hours max. since friday morning. ) :\

Hi Brent & Vondreth

Would like to say nice Macro’s to you both.

What are the Talents & Glyphs for it.

Thanks in advance,

Kink Regards,
SpellReaver

james could u help me bdont know what im doing been trying for days cant get to work if you have team viewer that would be great

Totally forgot with my empty head that just updating doesn’t show-up on the forum. :\
So here it is.
Changed and updated my Retribution sequences to their latest status, (see two posts above) @ 2015-11-11

What is holy wrath in retp ??? should it not be Hammer of the Righteous???

Jimmy

I had this working the other day and now it’s being a butt.

local _, Sequences = … – Don’t touch this

Sequences[‘DestroA’] = {
PreMacro = [[
#showtooltip Fire and Brimstone
/targetenemy [noharm][dead]
/petautocastoff [group] Threatening Presence
/petautocaston [nogroup] Threatening Presence
]],
“/cast !Fire and Brimstone”,
‘/castsequence Immolate, Incinerate,Incinerate,Incinerate,Incinerate,Incinerate,Incinerate,Incinerate,Incinerate,Incinerate,Incinerate,Incinerate,Incinerate’,
‘/cast Conflagrate’,
PostMacro = [[
/startattack
/petattack [@target,harm]
]],
}

Hey Brent,

long time paused but now back in Wow :smiley:

here’s what i’m working on…
working with following spec: 1/2/1/2/2/3/3

don’t even know if it’s right that way

-- Retri Single
Sequences['Ret'] ={
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],

PreMacro = [[
/console Sound_EnableErrorSpeech 0
/console Sound_EnableSFX 0
/targetenemy [noexists][noharm][dead]
/cast [mod:alt]Divine Storm
]],

'/castsequence [nochanneling] [harm]!Execution Sentence',
'/castsequence [nochanneling] !Final Verdict' ,
'/castsequence [nochanneling] !Hammer of Wrath',
'/castsequence [nochanneling] !Crusader Strike',
'/castsequence [nochanneling] !Hammer of Wrath',
'/castsequence [nochanneling] !Judgment',
'/castsequence [nochanneling] !Hammer of Wrath',
'/castsequence [nochanneling] !Exorcism',
'/castsequence [nochanneling] !Hammer of Wrath',

PostMacro = [[
/cast !Final Verdict
/use [combat]13
/use [combat]14
/startattack
-- /castsequence [nochanneling] !Avenging Wrath
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
/console Sound_EnableErrorSpeech 1
]],

the reason for the many Hammer Of Wraths is, that i want it to fire asap because if i’m on AW it’s ready all the time and i didn’t wnat to write a burst-macro