ascott18 / TellMeWhen

TellMeWhen is a combat tracking AddOn for World of Warcraft Retail and Classic
https://wow.curseforge.com/projects/tellmewhen
GNU General Public License v3.0
86 stars 11 forks source link

error on rogue, lvl 16 #2110

Closed amey1956 closed 11 months ago

amey1956 commented 11 months ago

WoW Version

Classic/Classic SoM

TellMeWhen Version

10.1.6

Describe the bug

[string "local sName, sLink, iRarity, iLevel, iMinLe..."]:1: Usage: GetItemInfo(itemID|"name"|"itemlink") [string "=[C]"]: in functionGetItemInfo' [string "local sName, sLink, iRarity, iLevel, iMinLevel, sType, sSubType, iStackCount = GetItemInfo(GetInventoryItemID("player", 16));

if sSubType == "Daggers" then return true

end"]:1: in function LF_000001CFD0620978' [string "Condition_LUA"]:3: in functionCheckFunction' [string "@TellMeWhen/Components/Core/Conditions/ConditionObject.lua"]:266: in function Check' [string "@TellMeWhen/Components/Core/Icon.lua"]:770: in functionUpdate' [string "Condition_ICON"]:3: in function CheckFunction' [string "@TellMeWhen/Components/Core/Conditions/ConditionObject.lua"]:266: in functionCheck' [string "@TellMeWhen/Components/Core/Conditions/UpdateEngine.lua"]:151: in function <...llMeWhen/Components/Core/Conditions/UpdateEngine.lua:146>

[string "@TellMeWhen/TellMeWhen.lua"]:836: in function `Fire' [string "@TellMeWhen/TellMeWhen.lua"]:2616: in function <TellMeWhen/TellMeWhen.lua:2595>

Locals: ` i am not aware of anything i am doing that could cause this, other than it references lvl 16 & dagger

Export Strings

n/a
ascott18 commented 11 months ago

This is coming from your own custom code in a Lua condition.