This is the error I receive when trying to display the cooldown for Scroll of Wisdom, Imperial Cloth, or Sha Crystal:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 | 8x Broker_TradeCooldowns\Broker_TradeCooldowns-r20121101234205.lua:83: attempt to concatenate local "text" (a boolean value)
Broker_TradeCooldowns\Broker_TradeCooldowns-r20121101234205.lua:83: in function <Broker_TradeCooldowns\Broker_TradeCooldowns.lua:83>
Broker_TradeCooldowns\Broker_TradeCooldowns-r20121101234205.lua:567: in function "UpdateDataText"
Broker_TradeCooldowns\Broker_TradeCooldowns-r20121101234205.lua:618: in function <Broker_TradeCooldowns\Broker_TradeCooldowns.lua:578>
(tail call): ?
<in C code>
<string>:"safecall Dispatcher[1]":9: in function <string>:"safecall Dispatcher[1]":5
(tail call): ?
Ace3-r1066\AceAddon-3.0\AceAddon-3.0-11.lua:543: in function "EnableAddon"
Ace3-r1066\AceAddon-3.0\AceAddon-3.0-11.lua:636: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:621>
<in C code>
FrameXML\UIParent.lua:299: in function "UIParentLoadAddOn"
FrameXML\UIParent.lua:322: in function "CombatLog_LoadUI"
FrameXML\UIParent.lua:692: in function <FrameXML\UIParent.lua:657>
Locals:
nil
|
- Reply
- #1
Speedwaystar May 05, 2013 at 17:42 UTC - 0 likesHere's my fix:
in Broker_TradeCooldowns.lua, find the function private.UpdateDataText(), and change the line which reads:
to
this sanity check is necessary because COOLDOWN_SPELL_MAP[spell_id] may contain either a boolean value, or the name of the spell itself.