Macro Hanging

Using the default macros included in the GSE download from curse. It hangs when I switch targets, or have aggro rushing through legacy raids.
Can anyone see what might be causing this?


Sequences['DB_DemoSingle'] = {
author='twitch.tv/Seydon',
specID=266,
helpTxt = 'Talents: 1111222',
icon='Spell_Warlock_Demonbolt',
PreMacro=[[
/cast [nopet,group] Summon Felguard
/cast [nopet,nogroup] Summon Felguard
/targetenemy [noharm][dead]
/petattack [@target,harm]
/targetenemy [noharm][dead]
]],
'/castsequence [combat] Call Dreadstalkers, Demonic Empowerment',
'/castsequence [combat] Summon Doomguard, Demonic Empowerment' ,
'/castsequence [combat] Grimoire: Felguard, Demonic Empowerment',
"/castsequence [nochanneling] Doom, Demonbolt, Demonbolt, Demonbolt, Hand of Gul'dan, Demonic Empowerment, Life Tap",
'/cast [combat] Command Demon',
PostMacro=[[
/startattack
/petattack
]],
}

Sequences['DB_DemoAoE'] = {
author='twitch.tv/Seydon',
specID=266,
helpTxt = 'Talents: 1111222',
icon="Spell_Warlock_HandofGul'dan",
PreMacro=[[
/cast [nopet,group] Summon Felguard
/cast [nopet,nogroup] Summon Felguard
/targetenemy [noharm][dead]
/petattack [@target,harm]
/targetenemy [noharm][dead]
]],
'/castsequence [combat] Call Dreadstalkers, Demonic Empowerment',
'/castsequence [combat] Summon Infernal, Demonic Empowerment' ,
'/castsequence [combat] Grimoire: Felguard, Demonic Empowerment',
"/castsequence [nochanneling] Hand of Gul'dan, Demonic Empowerment, Demonwrath, Demonwrath, Demonwrath, Life Tap",
'/cast [combat] Command Demon',
PostMacro=[[
/startattack
/petattack
]],
}

The usual lockups for demo or any warlock, are cause by lack of soul shards and a “castsequence”. So any ability in a “castsequence” that uses a soul shard will get stuff if you have no soul shards. Nothing you can really do about it other than avoid a “castsequence” macro, or just manually click some ability that will give soul shards. It’s just the nature of the beast. I’ve tried to make a few, but all get stuck if I don’t have the shards. Only way around it would be to make a priority macro with no castsequences in it… but that would be so random, it’d probably ruin your dps.

[quote quote=32498]Using the default macros included in the GSE download from curse. It hangs when I switch targets, or have aggro rushing through legacy raids. Can anyone see what might be causing this?


Sequences['DB_DemoSingle'] = {
author='twitch.tv/Seydon',
specID=266,
helpTxt = 'Talents: 1111222',
icon='Spell_Warlock_Demonbolt',
PreMacro=[[
/cast [nopet,group] Summon Felguard
/cast [nopet,nogroup] Summon Felguard
/targetenemy [noharm][dead]
/petattack [@target,harm]
/targetenemy [noharm][dead]
]],
'/castsequence [combat] Call Dreadstalkers, Demonic Empowerment',
'/castsequence [combat] Summon Doomguard, Demonic Empowerment' ,
'/castsequence [combat] Grimoire: Felguard, Demonic Empowerment',
"/castsequence [nochanneling] Doom, Demonbolt, Demonbolt, Demonbolt, Hand of Gul'dan, Demonic Empowerment, Life Tap",
'/cast [combat] Command Demon',
PostMacro=[[
/startattack
/petattack
]],
}

Sequences['DB_DemoAoE'] = {
author='twitch.tv/Seydon',
specID=266,
helpTxt = 'Talents: 1111222',
icon="Spell_Warlock_HandofGul'dan",
PreMacro=[[
/cast [nopet,group] Summon Felguard
/cast [nopet,nogroup] Summon Felguard
/targetenemy [noharm][dead]
/petattack [@target,harm]
/targetenemy [noharm][dead]
]],
'/castsequence [combat] Call Dreadstalkers, Demonic Empowerment',
'/castsequence [combat] Summon Infernal, Demonic Empowerment' ,
'/castsequence [combat] Grimoire: Felguard, Demonic Empowerment',
"/castsequence [nochanneling] Hand of Gul'dan, Demonic Empowerment, Demonwrath, Demonwrath, Demonwrath, Life Tap",
'/cast [combat] Command Demon',
PostMacro=[[
/startattack
/petattack
]],
}

```[/quote]

In your case it looks like it's possibly these lines which is causing you to hang up:

‘/castsequence [combat] Summon Doomguard, Demonic Empowerment’ ,
‘/castsequence [combat] Grimoire: Felguard, Demonic Empowerment’,



If you're doing this from the start of the fight with no demon you would be in trouble right away.

Start fight scenario:

Cast Felguard -1 shard (0 shards left)
Cast Summon Dreadstalkers - Skip no Shards available
Summon Doomguard - 3 min timer
Grimoire: Felguard - Timer
Doom 
Command Demon
Demonic Empowerment (if you're lucky)
Summon Doomguard (Still on timer) Craps out, can't pass go and collect £200 and locks up until this becomes available after 3 mins
Grimoire: Felguard is still on cooldown at this point too

You have to make it so each possible line can produce an effect that can move on to the next without locking up or having 0 shards left

Using /casts should solve most of that for you. I won't hijack your thread and post mine but here is an example of how you can possibly avoid the hangups:

[[/cast [combat] Shadowflame]],
[[/cast [combat] Grimoire: Felguard]],
[[/cast [combat] Summon Doomguard]],
[[/cast [combat] Command Demon]],
[[/castsequence [combat] Shadow Bolt, Demonic Empowerment]],
[[/cast Shadow Bolt]],



Hope that helps a little.

After playing around with this for a bit, I found it was getting hung up on Demonbolt if you have Shadowy Inspiration as a talent. I noticed every time it proced it would get hung up, so I selected Demonic Calling instead. Now it almost never hangs. It still hangs when I get into a state where I have no shards but it’s very rare.

I tried changing the first tier talent, but the macro still gets stuck. I imagine it’s because I’m out of soul shards.