Converting a GS macro to GS-E

For this intro I’m using John Mets sequence DFPTR from If you have questions on this sequence please ask them there.

Sequences["DFPTR"] = {
StepFunction = [[
		limit = limit or 1
		if step == limit then
			limit = limit % #macros + 1
			step = 1
		else
			step = step % #macros + 1
		end
	]],
    PreMacro = [[
/cast [combat] Pillar of Frost
    ]],
    "/castsequence reset=combat Obliterate, Frost Strike",
    '/castsequence reset=combat Obliterate, Frost Strike, Frost Strike, Obliterate, howling blast',
    "/castsequence reset=combat Obliteration",
    "/cast [combat] remorseless winter",
    "/cast [combat] empower rune weapon",
    PostMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Anti-Magic Shell
/use [combat] 12
/use [combat] 13
/use [combat] 14
/script UIErrorsFrame:Hide();
    ]],
}

Stage 1: Remove uneeded lines
GS-E has global options for lines the below list. These items can be safely deleted

  1. /script UIErrorsFrame:Hide();
  2. /console Sound_EnableSFX 0
  3. /stopmacro [@playertarget, noexists]
  4. /console Sound_EnableSFX 1
  5. /run UIErrorsFrame:Clear()
  6. /use [combat] 12
  7. /use [combat] 13
  8. /use [combat] 14

Stage 2: Check code errors
Look for obvious copy past problems. Each { should have a closing } same with [[, " and '. The exception is a ’ inside a " eg: “Draik’s Stuff” is ok.

Stage 3: Evaluate Step Function
While this will work its 9 lines that can be replaced with one.

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

can be replaced with
StepFunction = GSStaticPriority,

Stage 4: Add GS-E required strings
GS-E needs the following lines as a minimum

specID = 251,
author = "John Mets",
helpTxt = " Talents I revised are 3 1 3 3 1 2 1",

The specID can be either the specID for your class or it can be your classID. You can find out your specID and classID in game by entering /gs showspec or they are available online.

Stage 4: Add GS-E optional strings

icon = 234251,
lang = "enUS",

These two are optional. You dont have to specify an icon but you can do so via either iconID or texture name.

The lang tag is to say this particular sequence is in another locale than english. German is deDE for example. If your sequence is not in enUS people will either need to be playing with your same client locale or install the GS-SequenceTranslator. It is expected that all sequences shared here will be enUS.

Your end result will look like:

Sequences["DFPTR"] = {
specID = 251,
author = "John Mets",
helpTxt = " Talents I revised are 3 1 3 3 1 2 1",
lang="enUS",
StepFunction = GSStaticPriority,
PreMacro = [[
/cast [combat] Pillar of Frost
]],
"/castsequence reset=combat Obliterate, Frost Strike",
'/castsequence reset=combat Obliterate, Frost Strike, Frost Strike, Obliterate, howling blast',
"/castsequence reset=combat Obliteration",
"/cast [combat] remorseless winter",
"/cast [combat] empower rune weapon",
PostMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Anti-Magic Shell
]],
}

Thank you for taking the time to put this together…I do, however, have a question as to how to use this in game either by via the /gsse command or otherwise. I can not, for the life of me, figure this out.
Any help would be appreciated

You need to download GS-E myMacros Addin Pack : Discontinued and Outdated Mods : World of Warcraft AddOns as well as GS-E.

From there open the c:\path\to\World of Warcraft\INterface\Addons\GS-myMacros\macros folder and edit out of game the appropriate class file and paste this in.

Thank you very much, sir…it’s been a while since I’ve played with GS macros (a year, to be exact).
I’m going to take a stab at it…wish me luck lol

Ive tried multiple times for this blood dk macro to show up in /gs ,but to no avail it is not working for me. Ive placed it in every macros folder (myMacros, etc), can you review this and see if i typed something wrong
Thanks

Sequences[‘DB_RedScare’] = {
specID = 250,
author = “somenoob”,
helpTxt = “Talents:2112133”,
StepFunction = GSStaticPriority,
PreMacro = [[
/cast [combat] Vampiric Blood
/cast [combat] Anti-Magic Shell
/cast [combat] Dancing Rune Weapon
/cast [combat] Blood Fury
]],
‘/cast Death Strike’,
‘/cast Blood Boil’,
‘/castsequence reset=combat Marrowrend, Marrowrend, Heart Strike, Heart Strike’,
‘/castsequence reset=combat Blood Boil, Death Strike’,
‘/castsequence reset=combat Marrowrend, Heart Strike, Marrowrend, Heart Strike, Blood Boil’,
PostMacro = [[
/targetenemy [noharm][dead]
/use [combat] 13
/use [combat] 14
]],
}

Sequences['DB_RedScare'] = {
specID = 250,
author = "somenoob",
helpTxt = "Talents:2112133",
StepFunction = GSStaticPriority,
PreMacro = [[
/cast [combat] Vampiric Blood
/cast [combat] Anti-Magic Shell
/cast [combat] Dancing Rune Weapon
/cast [combat] Blood Fury
]],
"/cast Death Strike",
"/cast Blood Boil",
"/castsequence reset=combat Marrowrend, Marrowrend, Heart Strike, Heart Strike",
"/castsequence reset=combat Blood Boil, Death Strike",
"/castsequence reset=combat Marrowrend, Heart Strike, Marrowrend, Heart Strike, Blood Boil",
PostMacro = [[
/targetenemy [noharm][dead]
/use [combat] 13
/use [combat] 14
]],
}

The main things i did were change the ` to ’ and redo the "

If you copy and paste from here and its not in a code block, the "'s change to the Word funky ones.

I used Atom to copy it back into the notes, went and retyped it all to make sure nothing was changed, still nothing in-game wise. It almost feels like the files are not updating into game. Any other ideas? and the help is greatly appreciated

Really dumb question - after you did the save in Atom did you do a /console reloadui in game or a logout/login?

In most cases a reloadui is enough but if you create a new file and need to change the TOC file then a complete reload of the game is needed because Blizzard…

i did the save in atom with the game closed down, and reloaded the ui a couple times once in game

I just copied it to myMacros and its away. Im guessing you are in Blood Spec on your DK and have all the mods enabled.

yea, its really odd, i may just completely delete gse and restart, hoping that will do it, another note WoW did not detect the myMacros file, but i had it copied in there and in Draik’s

GS-myMacros needs to be in the interface\addons folder. If its inside a sub folder it wont work.

After reinstalling the addons folder, everything ran as it should.
Thanks again for the help TimothyLuke

Hey Tim and everyone!

I must really be missing something here. I’ve the same problem as DenyTruth did but his solution for him didn’t work for me.

In game I have loaded:
GS-E: Draik’s Bundled Addon
GS-E: Gnome Sequencer-Enhanced Core
GS-E: myMacros
GS-E: Sequence Editor

And this macro in the myMacro>Macros>DeathKnight .lua which the myMacro folder is my WoW Addons folder with the other three up above:

local Sequences = GSMasterSequences – Dont remove this


----- Death Knight

Sequences["FrostDKST"] = {
StepFunction = GSStaticPriority,
author=”MysticalNyte”,
specID=251,
helpTxt=”Talents – 2233213″
PreMacro = [[
/targetenemy [noharm][dead]
]], 
    '/cast Frost Fever',
    '/cast [combat] Remorseless Winter',
    '/cast [combat] Glacial Advance',
    '/cast Frost Strike',
    '/cast [combat] Pillar of Frost',
    "/castsequence Howling Blast, Frostscythe, Howling Blast",
    "/castsequence Howling Blast, Howling Blast, Frostscythe, Howling Blast",
PostMacro = [[
/use [combat] 13
/use [combat] 14
/startattack
]],
}

I can see the Action Bar Button light up and pulse but the macro does not fire off. It works perfectly in the old Gnome Sequencer by Selmar (WHICH IS NOT ENABLED).

Any thoughts?

Not sure if it’s just my eyes and not sure if this makes a difference but your using 2 different types of quotations in the helpTxt


helpTxt=”Talents – 2233213″

Try this, i have also removed the extra spaces from each line which can sometimes cause issues:


Sequences["FrostDKST"] = {
StepFunction = GSStaticPriority,
author="MysticalNyte",
specID=251,
helpTxt="Talents – 2233213"
PreMacro = [[
/targetenemy [noharm][dead]
]],
'/cast Frost Fever',
'/cast [combat] Remorseless Winter',
'/cast [combat] Glacial Advance',
'/cast Frost Strike',
'/cast [combat] Pillar of Frost',
"/castsequence Howling Blast, Frostscythe, Howling Blast",
"/castsequence Howling Blast, Howling Blast, Frostscythe, Howling Blast",
PostMacro = [[
/use [combat] 13
/use [combat] 14
/startattack
]],
}

[quote quote=30774]Not sure if it’s just my eyes and not sure if this makes a difference but your using 2 different types of quotations in the helpTxt


helpTxt=”Talents – 2233213″

```Try this, i have also removed the extra spaces from each line which can sometimes cause issues:

Sequences[“FrostDKST”] = {
StepFunction = GSStaticPriority,
author=“MysticalNyte”,
specID=251,
helpTxt=“Talents – 2233213”
PreMacro = [[
/targetenemy [noharm][dead]
]],
‘/cast Frost Fever’,
‘/cast [combat] Remorseless Winter’,
‘/cast [combat] Glacial Advance’,
‘/cast Frost Strike’,
‘/cast [combat] Pillar of Frost’,
“/castsequence Howling Blast, Frostscythe, Howling Blast”,
“/castsequence Howling Blast, Howling Blast, Frostscythe, Howling Blast”,
PostMacro = [[
/use [combat] 13
/use [combat] 14
/startattack
]],
}


Thanks for pointing that out but it didn't work. I applied the change and fully logged out of WoW and still the same problem.

You'd figure it would throw out a .lua error but I get none.

Only other thing i can see about the same line is i forgot to put a , in on the end.

Currently at work and have no way to check for you for about an hour or so :confused:

[quote quote=30777]Only other thing i can see about the same line is i forgot to put a , in on the end.
Currently at work and have no way to check for you for about an hour or so :confused:
[/quote]

Thank you again, Cymiryc.

I copied what Tim has changed on page one and the macro now looks like this:

Sequences["FrostDKST"] = {
specID = 251,
author = "MysticalNyte",
helpTxt = "Talents – 2233213",
lang = "enUS",
StepFunction = GSStaticPriority,
PreMacro = [[
/targetenemy [noharm][dead]
]], 
    '/cast Frost Fever',
    '/cast [combat] Remorseless Winter',
    '/cast [combat] Glacial Advance',
    '/cast Frost Strike',
    '/cast [combat] Pillar of Frost',
    "/castsequence Howling Blast, Frostscythe, Howling Blast",
    "/castsequence Howling Blast, Howling Blast, Frostscythe, Howling Blast",
PostMacro = [[
/use [combat] 13
/use [combat] 14
/startattack
]],
}

And it’s still a no go.

I deleted the macro in game which said:
#showtooltip
/click FrostDKST
to try something new and added it again which is now a blank space with no #showtooltip or anything…

Sent you a PM.

I’m just gonna keep using the original GS. It works and not causing me a big headache.