Shorten-Makro: Lua-Error
luckyjoker1979 opened this issue · 2 comments
Hi, trying to shorten a Macro like this for dragonfly:
/showtooltip Wirbelnder Ansturm
/use [advflyable,known:361584] Wirbelnder Ansturm
1x MacroToolkit/modules/parser.lua:720: table index is nil
[string "@MacroToolkit/modules/parser.lua"]:720: in function `ShortenMacro'
[string "@MacroToolkit/modules/mainframe.lua"]:665: in function <MacroToolkit/modules/mainframe.lua:664>
Locals:
self = <table> {
LS = <table> {
}
target = "/zielen"
origMTText = MacroFrameText {
}
skinned = <table> {
}
nummiscicons = 26481
CONDITION_TYPE_NUMERIC_WITH_SLASH = 7
click = "/klick"
COMMAND_REMOVED = 5
clist = <table> {
}
itemicons = <table> {
}
achicons = <table> {
}
numabilityicons = 0
MTPF = MacroToolkitPopup {
}
commandinfo = <table> {
}
Spells = <table> {
}
AIS = <table> {
}
L = <table> {
}
OptionsFrame = Frame {
}
MACRO_ICON_FILENAMES = <table> {
}
spellicons = <table> {
}
conditions = <table> {
}
CONDITION_TYPE_PARTY_RAID = 4
COMMAND_PARAM_OPTIONAL = 2
CHARACTER_BINDINGS = 2
COMMAND_PARAM_REQUIRED = 1
optionalConditions = <table> {
}
CONDITION_TYPE_MOD_KEYS = 5
extendedMacroCache = <table> {
}
abilityicons = <table> {
}
numitemicons = 0
CONDITION_TYPE_TEXTUAL = 2
invicons = <table> {
}
numachicons = 0
IconsFrame = Frame {
}
AC = <table> {
}
defaults = <table> {
}
frame = Frame {
}
InterfaceFrame = Frame {
}
ColoursFrame = Frame {
}
db = <table> {
}
slash = "/"
numspellicons = 0
slots = <table> {
}
orphans = <table> {
}
LDB = <table> {
}
numinvicons = 0
CONDITION_TYPE_ALPHANUMERIC_WITH_SPACES = 8
CONDITION_TYPE_ALPHANUMERIC = 3
CONDITION_TYPE_MOUSEBUTTONS = 6
CONDITION_TYPE_NONE = 0
scripts = <table> {
}
brokericon = Texture {
}
ACCOUNT_BINDINGS = 1
extendedMacrosSupported = false
CONDITION_TYPE_NUMERIC = 1
optargs = <table> {
}
TextureNames = <table> {
}
usingiconlib = true
emoteinfo = <table> {
}
MAX_EXTRA_MACROS = 1000
commands = <table> {
}
miscicons = <table> {
}
}
macrotext = "/showtooltip Wirbelnder Ansturm
/use [advflyable,known:361584] Wirbelnder Ansturm
"
olen = 81
mout = <table> {
1 = "/showtooltip Wirbelnder Ansturm"
2 = "/use [advflyable,known:361584]Wirbelnder Ansturm"
}
show = nil
showt = nil
firstc = "Wirbelnder Ansturm"
shows = "Wirbelnder Ansturm"
s2 = nil
pattern = "(%[.-),%s-(%])"
lines = <table> {
1 = "/showtooltip Wirbelnder Ansturm"
2 = "/use [advflyable,known:361584] Wirbelnder Ansturm"
3 = ""
}
(*temporary) = "#showtooltip"
(*temporary) = <table> {
1 = "/showtooltip Wirbelnder Ansturm"
2 = "/use [advflyable,known:361584] Wirbelnder Ansturm"
3 = ""
}
(*temporary) = 3
(*temporary) = nil
(*temporary) = nil
(*temporary) = 3
(*temporary) = 4
(*temporary) = nil
(*temporary) = nil
(*temporary) = "/"
(*temporary) = "/"
(*temporary) = "//"
(*temporary) = "/|cff00bfffuse|r [|cff8b5a2badvflyable|r,|cff8b5a2bknown|r:|cff9932cc361584|r]|cff9932ccWirbelnder Ansturm|r"
(*temporary) = <table> {
}
(*temporary) = "use"
(*temporary) = "Wirbelnder Ansturm"
(*temporary) = " [advflyable,known:361584]Wirbelnder Ansturm"
(*temporary) = "/run"
(*temporary) = "/konsole"
(*temporary) = <table> {
1 = "/showtooltip Wirbelnder Ansturm"
2 = "/use [advflyable,known:361584]Wirbelnder Ansturm"
}
(*temporary) = "/use [advflyable,known:361584]Wirbelnder Ansturm"
(*temporary) = "mod:shift"
(*temporary) = "/use [advflyable,known:361584]Wirbelnder Ansturm"
(*temporary) = 0
(*temporary) = "/mtev"
(*temporary) = 3
(*temporary) = <table> {
LFDQueueFrameSpecificInstanceLevel = LFDQueueFrameSpecificInstanceLevel {
}
ERR_OUT_OF_CHI = "Nicht genügend Chi"
DH_HAVOC_CORE_ABILITY_2 = "Starker Nahkampfangriff. Verbraucht Jähzorn. Kritische Treffer erstatten einen Teil des Jähzorns zurück."
MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
}
MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
}
UNIT_NAMES_COMBATLOG_TOOLTIP = "Namen von Einheiten einfärben."
HUD_EDIT_MODE_SETTING_ACTION_BAR_HIDE_BAR_ART = "Leistenverzierung verbergen"
LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 785
SPELL_FAILED_CUSTOM_ERROR_71 = "Dieser Partygast möchte mit Euch tanzen."
LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 423
ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Für diese Community können keine weiteren Einladungslinks generiert werden."
RecruitAFriendFrame = RecruitAFriendFrame {
}
MacroToolkitButton431 = MacroToolkitButton431 {
}
TutorialFrameLeft19 = TutorialFrameLeft19 {
}
MultiCastActionButton2Cooldown
fixed in next update, though you should use #showtooltip
instead of /showtooltip
🙂