GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG] Macro variable (~~KeyRelease~~) didn't work in some conditions

giform opened this issue · 1 comments

commented

Hope I'm not wasting you time.

🔵 *Describe the bug😘
I use this macro:

{
["Variables"] = {
["KeyRelease"] = {
[1] = "/castsequence [nochanneling,exists] reset=target Marchio del Cacciatore, null",
[2] = "/cast [exists] Tiro Mortale"
},
["KeyPress"] = {
[1] = "/targetenemy [noharm]",
[2] = "/castsequence [nochanneling,nopet,nodead] reset=target/combat Richiamo: Famiglio 1, Cura Famiglio; [nochanneling,@pet,dead] Cura Famiglio",
[3] = "/petattack [pet,harm]",
[4] = "/petassist [pet,harm]",
[5] = "/petpassive [noharm]",
[6] = "/startattack [nocombat]",
[7] = "/cast [combat,pet] Slancio",
[8] = "/cast [combat,pet] Morso; [combat,pet] Sfregio; [combat,pet] Botta"
}
},
["Actions"] = {
[1] = {
[1] = "KeyPress",
[2] = "/cast [combat] Tiro Lacerante",
[3] = "KeyRelease",
["Type"] = "Action"
},
[2] = {
[1] = "KeyPress",
[2] = "/cast [combat,exists] Ordine di Morte",
[3] = "KeyRelease",
["Disabled"] = false,
["Type"] = "Action"
},
[3] = {
[1] = "KeyPress",
[2] = "/cast [combat,exists] Tiro Mortale",
[3] = "KeyRelease",
["Type"] = "Action"
},
[4] = {
[1] = "KeyPress",
[2] = "/castsequence [combat] reset=combat/3 Tiro Lacerante, Ordine di Morte",
[3] = "KeyRelease",
["Type"] = "Action"
},
[5] = {
[1] = "KeyPress",
[2] = "/cast [combat] Ira Bestiale",
[3] = "KeyRelease",
["Type"] = "Action"
},
[6] = {
[1] = "KeyPress",
[2] = "/cast [nochanneling,talent:7/3,exists,pet] Carneficina",
[3] = "KeyRelease",
["Disabled"] = false,
["Type"] = "Action"
},
[7] = {
[1] = "KeyPress",
[2] = "/cast [combat] Tiro del Cobra",
[3] = "KeyRelease",
["Type"] = "Action"
}
},
["InbuiltVariables"] = {
["Trinket1"] = true,
["Combat"] = true
}
}

If I delete the block [6] OR Talent "Carneficina" so the block can work, the variables content of KeyRelease stop working.

🔵 To reproduce: (Steps to reproduce the behavior)

Simply use the macro

🔵 **GSE.lua file😘

GSE.lua.txt

🔵 Desktop (please complete the following information):

  • OS: Mac OS Monterey 12.1
  • Game Version retail last version

🔵 GSE Version:

commented

Quick questions -
Are either of these on the GCD:

[1] = "/castsequence [nochanneling,exists] reset=target Marchio del Cacciatore, null",
[2] = "/cast [exists] Tiro Mortale"

if so then it’s not a bug but working the way it is supposed to as they will be blocked by the spells in your actions. Your macro can only do one GCD spell per action and these will never get processed as there are GCD spells in your actions ahead of these.

when I hit compile template these are showing where they are supposed to be so this isn’t a bug with GSE but potentially a case where your macro is trying to break WoW’s rules.

Also when you disable a block everything in that block is disabled including the variables for that block.

moving this to a discussion as it looks to be a question rather than a bug.