WeakAuras

WeakAuras

206M Downloads

False positive error report when using macrotext

zeress opened this issue ยท 1 comments

commented

Description

WeakAuras throws a false positive error in an aura that works with no issue, and as intended. Reporting:
[string 'Error in Riding Crop':'initialization"]:11:unfinished string near "'/equipslot [mounted] 13 [Skybreaker Whip]'

Despite this being a complete macro, and it functioning in the WeakAura as written, and intended.

WeakAuras Version

3.7.13

World of Warcraft Flavor

The Burning Crusade

Tested with only WeakAuras

  • Yes
  • No

Lua Error

No response

Reproduction Steps

Use this code in the On Init of a WeakAura

local r = WeakAuras.regions[aura_env.id].region

local b = CreateFrame("Button","MyButton", r, "SecureActionButtonTemplate")

b:SetAllPoints()

b:SetAttribute("unit", "player")

b:SetAttribute("type","macro")

b:SetAttribute("macrotext", "/equipslot [mounted] 13 |Hitem:32863::::::::70:::::::::|h[Skybreaker Whip]|h
/equipslot [nomounted] 13 |Hitem:28789::::::::70:::::::::|h[Eye of Magtheridon]|h")

Note that it will report: [string 'Error in Riding Crop':'initialization"]:11:unfinished string near "'/equipslot [mounted] 13 [Skybreaker Whip]'

The contents of macrotext is equivalent to this macro:

/equipslot [mounted] 13 Skybreaker Whip
/equipslot [nomounted] 13 Eye of Magtheridon

Which works as expected in-game, as does the aura itself outside of a false positive error.

Last Good Version

N/A

Screenshots

No response

Export String

!WA:2!1z1tVTnYv844UyZQdfBCTDrkqlyvADTxSWDTvJtwxeGkQkT2fosUukRtqSH4qYNeN1uZWoZqzRG02D1HI9S(iOZ9Kr3IESih65bcf9sV5pc5tqFZqkToOz5bYzE)537p89EZSuJvgSs0krF99Nsd5S28mri8bEH8eU43Tm(ig1QxpjOo4FE(Z)BF5TU1TVIWcJ5IJ5uMkOw9MDQ7nlKZtI4xWAFbnf8F98T1J6dXcsOIYzY98KkIqTNiI3nHZt99K8mwu6doKParpsiCA1OOwm5PNaKZRMjiYtFcerjN22iN806cbx4cq628(9hJOy13pOhLrLXLCXpQnMG0dZKk(a)G8VxU0KeEijXr48yNfqVTa6B8QxqWDDb2WT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IH40PZBf7ZT0mlTl4IOteK0XNuSi3bgsL223Iy(gNlE9HnBw3RBNwh7D4NDqNzlmBBSz9EfrZZElBy4AhH06PDo6WM1)pZ6NWVOHah)cSWrh)9(KT39b5rMHXvMxZrySzJr5zb2tFAnee4OSPgYhbmC67Aw5NhvtmBQTiRyME(zZPe7Ay6BTENyA45mqkx2QrB8qriF5ruK8DTgWfZjGioigO9JvFJBcNenuGZwWAQ0ncK4QeWZUt)rRRf(UM6011FuPafIhtzwonFSYGaIk2oIHKyM(5fMqKsJaU2jNgjZpJUJ9Kc8gltimQP8HZ2t)bnEnqKqBLWg0VporPXSitLpYUR5WfHeqDIKJnYzWq3WDaHY(C9AbPcato6)SUH(pQ)t6x9(6VYlnlrc6VFdZU1kyGcmdlAX)GTsTZzlDfLL3pyU8GzGL5GKdrdD70vNFxit15VLkjybtuS4Y5xQQu1FZTWNPkE4W8M57C8pSmn6kpAeM5W7FWt3nd3VZJK7T5b1Fo80kx1ZCDemkXc3L9UW0H8nVjVMYErftCf0UMx96ndqNOhTFj8)HbEi2JKKgtww)s)PHloOO045EzS7l58blTImOY2pC7DQSYW)9Z(F

commented

Seems to be a separate issue. I will investigate further and give a better report