Macro Toolkit

Macro Toolkit

2M Downloads

Error when saving long macros when Broker is enabled

40P3 opened this issue ยท 1 comments

commented

Error while updating a macro:

420x MacroToolkit/modules/macrobroker.lua:88: bad argument #1 to 'strsub' (string expected, got nil)
[string "=[C]"]: ?
[string "@MacroToolkit/modules/macrobroker.lua"]:88: in function `RunCommands'
[string "@MacroToolkit/MacroToolkit.lua"]:858: in function `MacroFrameUpdate'
[string "@MacroToolkit/modules/mainframe.lua"]:477: in function <MacroToolkit/modules/mainframe.lua:473>

Locals:
(*temporary) = nil
(*temporary) = 1
(*temporary) = 255
(*temporary) = "string expected, got nil"

Macro:

#showtooltip
/cast [@mouseover,help,dead,combat,mod:ctrl][help,dead,combat,mod:ctrl]Intercession;[@mouseover,help,dead,nocombat,mod:ctrl][help,dead,nocombat,mod:ctrl]Redemption;[@mouseover,help,nodead,combat,mod:ctrl][combat,mod:ctrl]Lay on Hands;[spec:2,@mouseover,help,nodead][spec:2]Cleanse Toxins;[spec:1]Blessing of Summer
commented

should be fixed next version (I removed the broker option, as it's rather broken, and I have no interest in maintaining it)