Lua error when castsequence with modifier

Hello guys,

Since last week, im struggling to figure out what happened with my macro, im using this macro since DF S2 and now im getting de follow lua error:

Message: Usage: local result = C_Item.IsEquippableItem(itemInfo)
Time: Sun Apr 21 21:43:08 2024
Count: 97
Stack: Usage: local result = C_Item.IsEquippableItem(itemInfo)
[string “=[C]”]: in function IsEquippableItem' [string "@Interface/SharedXML/Chat/ChatFrame.lua"]:1048: in function <Interface/SharedXML/Chat/ChatFrame.lua:982> [string "@Interface/SharedXML/Chat/ChatFrame.lua"]:1275: in function ?’
[string “@Interface/SharedXML/Chat/ChatFrame.lua”]:5388: in function ChatEdit_ParseText' [string "@Interface/SharedXML/Chat/ChatFrame.lua"]:5065: in function ChatEdit_SendText’
[string “@Interface/SharedXML/Chat/ChatFrame.lua”]:3246: in function <Interface/SharedXML/Chat/ChatFrame.lua:3240>
[string “=[C]”]: in function RunMacroText' [string "@Interface/FrameXML/SecureTemplates.lua"]:468: in function handler’
[string “@Interface/FrameXML/SecureTemplates.lua”]:690: in function <Interface/FrameXML/SecureTemplates.lua:672>
[string “@Interface/FrameXML/SecureTemplates.lua”]:704: in function <Interface/FrameXML/SecureTemplates.lua:697>
[string “@Interface/FrameXML/SecureTemplates.lua”]:746: in function <Interface/FrameXML/SecureTemplates.lua:730>
[string “=[C]”]: ?

[string “@Interface/SharedXML/Chat/ChatFrame.lua”]:5065: in function ChatEdit_SendText' [string "@Interface/SharedXML/Chat/ChatFrame.lua"]:3246: in function <Interface/SharedXML/Chat/ChatFrame.lua:3240> [string "=[C]"]: in function UseAction’
[string “@Interface/FrameXML/SecureTemplates.lua”]:364: in function handler' [string "@Interface/FrameXML/SecureTemplates.lua"]:690: in function <Interface/FrameXML/SecureTemplates.lua:672> [string "@Interface/FrameXML/SecureTemplates.lua"]:704: in function <Interface/FrameXML/SecureTemplates.lua:697> [string "@Interface/FrameXML/SecureTemplates.lua"]:746: in function SecureActionButton_OnClick’
[string “@Interface/FrameXML/ActionButton.lua”]:100: in function TryUseActionButton' [string "@Interface/FrameXML/ActionButton.lua"]:135: in function ActionButtonDown’
[string “ACTIONBUTTON1”]:2: in function <[string “ACTIONBUTTON1”]:1>

Locals: (*temporary) = “Usage: local result = C_Item.IsEquippableItem(itemInfo)”

I notice when I run the macro, the line bellow is not executed, perhaps the issue is on the modifier or on castsequence, but i dont know why this happening now, like i said first the macro is working flawless unitil last week

/castsequence [mod:shift] Pena de Morte, Rastro de Cinzas

Thanks for any advice.
Renato.

1 Like

Try this: [BUG] Lua Error · Issue #1415 · TimothyLuke/GSE-Advanced-Macro-Compiler · GitHub

2 Likes

Thank very much, solved the problem.

1 Like