TellMeWhen

TellMeWhen

24M Downloads

[CF 1494] Creating a TMW DogTag generates a lua erro

tmw-issue-import opened this issue ยท 1 comments

commented

I've created the following dog tag - https://gist.github.com/arieh/dc88e48db14b8c5215ec52fd11703521

 

The functionality is working as I expected (I can set variables and access them as dog tags) but I can see the following lua error whenever I reload (only when I have an icon using the DogTag). I'm guessing my DogTag trigger somehow causes the Texture_Colored STATE trigger to execute with a bad attribute. Any idea what I'm doing wrong in my code?

 

2x TellMeWhen\Components\Core\Utils.lua:574: attempt to index local 'str' (a nil value)
TellMeWhen\Components\Core\Utils.lua:574: in function `StringToRGBA'
TellMeWhen\Components\Core\Utils.lua:584: in function <TellMeWhen\Components\Core\Utils.lua:579>
TellMeWhen\Components\Core\Utils.lua:246: in function `StringToCachedRGBATable'
...dules\IconModule_Texture_Colored\Texture_Colored.lua:91: in function <...dules\IconModule_Texture_Colored\Texture_Colored.lua:75>
...aceTellMeWhen\Components\Core\IconModule.lua:57: in function <...aceTellMeWhen\Components\Core\IconModule.lua:53>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
TellMeWhen\TellMeWhen-8.4.3.lua:799: in function `Fire'
[string "SetInfo calculatedState"]:71: in function `?'
TellMeWhen\Components\Core\Icon.lua:1371: in function `SetInfo_INTERNAL'
...
(tail call): ?
TellMeWhen\TellMeWhen-8.4.3.lua:2662: in function `UpdateNormally'
TellMeWhen\TellMeWhen-8.4.3.lua:2794: in function `Update'
TellMeWhen\TellMeWhen-8.4.3.lua:1160: in function `?'
...urve\Lib\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:145: in function <...urve\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...urve\Lib\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90: in function `Fire'
...ns\AheadOfTheCurve\Lib\AceEvent-3.0\AceEvent-3.0-4.lua:120: in function <...ns\AheadOfTheCurve\Lib\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals:
InCombatSkipped

 


Posted by CurseForge user ariehg | Imported from CurseForge issue #1494 | Raw

commented

seems like I was playing with TMW while in combat, breaking things in weird ways. nothing to see. move along :)


Posted by CurseForge user ariehg