GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

Error on login on Shaman - no macros work

Luckrider opened this issue · 5 comments

commented

I'm receiving the following error on my Shaman only - other characters work fine

Date: 2017-01-10 22:53:11
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\GSE\API\StringFunctions.lua line 110:
bad argument #1 to 'ipairs' (table expected, got string)
Debug:
[C]: ?
[C]: ipairs()
GSE\API\StringFunctions.lua:110: CleanStringsArray()
GSE\API\StringFunctions.lua:101: CleanMacroVersion()
GSE\API\Storage.lua:468: OOCUpdateSequence()
GSE\API\Events.lua:219: ?()
...AddOns\ElvUI\Libraries\AceTimer-3.0\AceTimer-3.0.lua:53:
...AddOns\ElvUI\Libraries\AceTimer-3.0\AceTimer-3.0.lua:48
Locals:

commented

I am receiving the exact same error at line 110 when logging on to my shaman. All other classes seem to be fine so far...

commented

looks like its this macro -

["SAM_enhsingle"] = {
			["Talents"] = "3,1,1,2,1,1,2",
			["Help"] = "Artifact Order: Doom Winds �> Hammer of Storms �> Gathering Storms �> Wind Strikes �> Wind Surge �> Weapons of the elements �> Elemental Healing �> and all the way to Unleash Doom",
			["MacroVersions"] = {
				{
					"|cffddaaff/castsequence|r |cff88bbdd|cff88bbddBoulderfist|r|r, |cff88bbdd|cff88bbddCrash Lightning|r|r, !|cff88bbdd|cff88bbddStormstrike|r|r", -- [1]
					"|cffddaaff/castsequence|r |cff88bbdd|cff88bbddBoulderfist|r|r, |cff88bbdd|cff88bbddStormstrike|r|r, |cff88bbdd|cff88bbddCrash Lightning|r|r", -- [2]
					"|cffddaaff/castsequence|r |cff55ddcc|cff55cc55[nochanneling]|r|r |cff88bbdd|cff88bbddBoulderfist|r|r, |cff88bbdd|cff88bbddBoulderfist|r|r, !|cff88bbdd|cff88bbdd|cff88bbddCrash Lightning|r|r|r", -- [3]
					"|cffddaaff/castsequence|r |cff88bbdd|cff88bbddBoulderfist|r|r, |cff88bbdd|cff88bbdd|cff88bbddBoulderfist|r|r|r", -- [4]
					"|cffddaaff/cast|r |cff88bbdd|cff88bbddLightning Bolt|r|r", -- [5]
					["KeyRelease"] = {
						"/startattack", -- [1]
						"|cffddaaff/cast|r |cff88bbdd|cff55cc55[combat]|r |cff88bbddDoom Winds|r|r", -- [2]
					},
					["StepFunction"] = "Priority",
					["KeyPress"] = {
						"|cffddaaff/targetenemy|r  [noharm][dead]", -- [1]
					},
					["PreMacro"] = {
					},
					["PostMacro"] = {
					},
				}, -- [1]
			},
			["SpecID"] = 263,
			["Default"] = 1,
			["Author"] = "lloskka",
		},

I will get onto it

commented

in the meantime - execute this command:

/run GSELibrary[7] = {}

This will wipe all Shaman Macros.

then log out and back in. Dont do a reload - do a logout and back in.
Don't load the sample macros
If you want any of the sample import from this list manually. -

Sequences['SAM_RestoDeeps'] = {
  SpecID = 264,
  Author = "Draik",
  Talents = "3,2,1,1,2,3,3",
  Default=1,
  MacroVersions = {
    [1] = {
      KeyPress = {
        "/targetenemy [noharm][dead]",
      },
      '/cast Chain Lightning',
      '/cast Flame Shock',
      '/cast Earthen Shield Totem',
      '/cast Lava Burst',
      '/cast Lightning Bolt',
      '/cast Lightning Surge Totem',
    }
  }
}

Sequences['SAM_ElemAoE'] = {
  SpecID = 262,
  Author = "Nano",
  Talents = '1,2,1,3,1,1,2',
  Default=1,
  MacroVersions = {
    [1] = {
      StepFunction = "Priority",
      KeyPress = {
        "/targetenemy [noharm][dead]",
      },
      '/castsequence reset=target/combat Flame Shock, Chain Lightning, Chain Lightning, Chain Lightning',
      '/cast [nochanneling] !Lava Burst',
      KeyRelease = {
        "/cast Elemental Mastery",
        "/cast Blood Fury",
      },
    }
  }
}

Sequences['SAM_Elem'] = {
  SpecID = 262,
  Author = "Nano",
  Talents = '1,2,1,3,1,1,2',
  StepFunction = "Priority",
  Default=1,
  MacroVersions = {
    [1] = {
      KeyPress = {
        "/targetenemy [noharm][dead]",
      },
      '/castsequence reset=target/combat Flame Shock,Lightning Bolt,Lightning Bolt,Lightning Bolt',
      '/castsequence reset=10 !Earth Shock',
      '/cast [nochanneling] !Lava Burst',
      KeyRelease = {
        "/cast Elemental Mastery",
        "/cast Blood Fury"
      },
    }
  }
}

Sequences['SAM_MC_Surge'] = {
  Author='Maalkomx',
  SpecID=264,
  Talents = '3,3,1,3,3,1,3',
  Default=1,
  MacroVersions = {
    [1] = {
      KeyPress={},
      "/castsequence [nochanneling]reset=30 Healing Stream Totem",
      "/castsequence [nochanneling,@mouseover,help,nodead]reset=5 !Riptide",
      "/castsequence [nochanneling,@mouseover,help]Healing Surge, Healing Surge, Healing Surge, Healing Surge",
      "/castsequence [nochanneling,@mouseover,help]Healing Surge",
    }
  }
}

Sequences['SAM_MC_Wave'] = {
  Author='Maalkomx',
  SpecID=264,
  Talents = '3,3,1,3,3,1,3',
  Default=1,
  MacroVersions = {
    [1] = {
      "/castsequence [nochanneling]reset=30 Healing Stream Totem",
      "/castsequence [nochanneling,@mouseover,help]reset=5 !Riptide",
      "/castsequence [nochanneling,@mouseover,help]Healing Wave, Healing Wave, Healing Wave, Healing Wave",
      "/castsequence [nochanneling,@mouseover,help]Healing Wave",
    }
  }
}

Sequences['SAM_MC_Chain'] = {
  Author='Maalkomx',
  SpecID=264,
  Talents = '3,3,1,3,3,1,3',
  Default=1,
  MacroVersions = {
    [1] = {
      "/castsequence [nochanneling]reset=30 Healing Stream Totem",
      "/castsequence [nochanneling,@mouseover,help,nodead]reset=5 !Riptide",
      "/castsequence [nochanneling,@mouseover,help]Chain Heal, Chain Heal, Chain Heal, Chain Heal",
      "/castsequence [nochanneling,@mouseover,help]Healing Surge",
    }
  }
}

Sequences['SAM_enhsingle'] = {
  SpecID = 263,
  Author = "lloskka",
  Help = "Artifact Order: Doom Winds -> Hammer of Storms -> Gathering Storms -> Wind Strikes -> Wind Surge -> Weapons of the elements -> Elemental Healing -> and all the way to Unleash Doom",-
  Talents = "3,1,1,2,1,1,2",
  Default=1,
  MacroVersions = {
    [1] = {
      StepFunction = "Priority",
      KeyPress = {
        "/targetenemy [noharm][dead]",
      },
      "/castsequence Boulderfist, Crash Lightning, Stormstrike",
      "/castsequence Boulderfist, Stormstrike, Crash Lightning",
      "/castsequence [nochanneling] Boulderfist, Boulderfist, Crash Lightning",
      "/castsequence Boulderfist, Boulderfist",
      "/cast Lightning Bolt",
      KeyRelease = {
        "/startattack",
        "/cast [combat] Doom Winds",
      },
    }
  }
}
commented

Fix if you dont want to wipe all your macros -

/run GSELibrary[7]["SAM_MC_Surge"].MacroVersions[1].KeyPress = {}

commented

Can you please upload two files for me? both are in WOW\WTF\ACCOUNTNAME\SavedVariables gse.lua and GS-Core.lua