mega-macro icon indicating copy to clipboard operation
mega-macro copied to clipboard

Macro doesnt work above 250 characters

Open wing5wong opened this issue 2 years ago • 8 comments

i have the following macro (253 characters). it does not function

#showtooltip
/cancelform [form:1/2/3/4]
/cancelaura soulshape
/leavevehicle [canexitvehicle]
/use [mod:shift] Grand Expedition Yak
/stopmacro [mod:shift]
/use [advflyable] Cliffside Wylderdrake
#/use Eve's Ghastly rider
/run C_MountJournal.SummonByID(0)

the macro functions once it is 250 characters. for example, if i remove 3 characters from the #/use Eve's Ghastly rider line, the macro works as expected

#showtooltip
/cancelform [form:1/2/3/4]
/cancelaura soulshape
/leavevehicle [canexitvehicle]
/use [mod:shift] Grand Expedition Yak
/stopmacro [mod:shift]
/use [advflyable] Cliffside Wylderdrake
#/use Eve's Ghastly ri
/run C_MountJournal.SummonByID(0)

wing5wong avatar Jul 28 '24 02:07 wing5wong

The addon reserves five characters for assigning Id's to the macros. Blizzard has removed the ability to have 1023 characters in a macro like we're used to, so now we are limited by the native 255 characters (minus the five MegaMacro reserves).

As a workaround, to save characters can you just use /cancelform without the conditional? You want to leave form regardless of what form you're in right?

bpapuni avatar Jul 28 '24 04:07 bpapuni

This particular macro can definitely be optimised, but the issue will still exist for others.

I’d suggest in this case if 5 chars are reserved, the macro length should be shown as X/250 instead of 255 available

wing5wong avatar Jul 28 '24 04:07 wing5wong

Having longer than 255 characters is the entire reason for the addon in the first place. So is this addon just outright dead?

Konungrr avatar Jul 30 '24 13:07 Konungrr

Unless there are other macro addons to group by class/spec etc this is still useful for me

wing5wong avatar Jul 30 '24 19:07 wing5wong

Yup exactly. The primary feature was always the macro swapping capability. It sucks that blizzard has removed this additional pillar but it is what it is.

The last thing I see as a pillar feature is the improved ui and editing capabilities.

Sellorio avatar Jul 31 '24 02:07 Sellorio

Hi Sellorio I still think this issue should remain open as the ui is giving misleading info. 255 available as opposed to 250 due to the 5 reserved for the macro id

wing5wong avatar Jul 31 '24 02:07 wing5wong

Fair enough

Sellorio avatar Jul 31 '24 02:07 Sellorio

resolved by https://github.com/Sellorio/mega-macro/pull/225/commits/f15dbf924451a11220b0f78c7c382f396096248b

wing5wong avatar Jan 13 '25 02:01 wing5wong