GearScoreClassic+

GearScoreClassic+

119k Downloads

Error when mouseovering Ammunition in inventory/on vendor

Stormseer opened this issue ยท 2 comments

commented

31x GearScoreClassic+/GearScoreCalc.lua:144: attempt to index field '?' (a nil value)
[string "@GearScoreClassic+/GearScoreCalc.lua"]:144: in function <GearScoreClassic+/GearScoreCalc.lua:139>
[string "@GearScoreClassic+/GearScoreCalc.lua"]:280: in function <GearScoreClassic+/GearScoreCalc.lua:277>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function SetAction' [string "@Bartender4/libs/LibActionButton-1.0-110/LibActionButton-1.0.lua"]:2261: in function SetTooltip'
[string "@Bartender4/libs/LibActionButton-1.0-110/LibActionButton-1.0.lua"]:1968: in function <...er4/libs/LibActionButton-1.0/LibActionButton-1.0.lua:1961>
[string "@Bartender4/libs/LibActionButton-1.0-110/LibActionButton-1.0.lua"]:1046: in function <...er4/libs/LibActionButton-1.0/LibActionButton-1.0.lua:1044>

Locals:
itemLink = "|cffffffff|Hitem:11285::::::::40:::::::::|h[Jagged Arrow]|h|r"
_ = "Jagged Arrow"
_ = "|cffffffff|Hitem:11285::::::::40:::::::::|h[Jagged Arrow]|h|r"
itemRarity = 1
itemLevel = 45
_ = 40
_ = "Projectile"
_ = "Arrow"
_ = 200
itemEquipLoc = "INVTYPE_AMMO"
(*temporary) = nil
(*temporary) = "INVTYPE_AMMO"
(*temporary) = 135661
(*temporary) = 2
(*temporary) = 6
(*temporary) = 2
(*temporary) = 0
(*temporary) = "attempt to index field '?' (a nil value)"
itemTypeInfo =

{
INVTYPE_RANGEDRIGHT =
{
}
INVTYPE_SHIELD =
{
}
INVTYPE_WEAPONOFFHAND =
{
}
INVTYPE_RANGED =
{
}
INVTYPE_WEAPON =
{
}
INVTYPE_2HWEAPON =
{
}
INVTYPE_WRIST =
{
}
INVTYPE_TRINKET =
{
}
INVTYPE_NECK =
{
}
INVTYPE_CLOAK =
{
}
INVTYPE_BODY =
{
}
INVTYPE_THROWN =
{
}
INVTYPE_HOLDABLE =
{
}
INVTYPE_TABARD =
{
}
INVTYPE_LEGS =
{
}
INVTYPE_ROBE =
{
}
INVTYPE_FEET =
{
}
INVTYPE_FINGER =
{
}
INVTYPE_WAIST =
{
}
INVTYPE_HAND =
{
}
INVTYPE_RELIC =
{
}
INVTYPE_CHEST =
{
}
INVTYPE_SHOULDER =
{
}
INVTYPE_HEAD =
{
}
INVTYPE_WEAPONMAINHAND =
{
}
}
rarityModifiers =
{
0 = 3.500000
2 = 2.500000
3 = 1.760000
1 = 3
4 = 1.600000
5 = 1.400000
}
GetEnchantIDFromItemLink = defined @GearScoreClassic+/GearScoreCalc.lua:133
GS_ENCHANT_MODIFIER = 1.050000
GLOBAL_SCALE = 1.700000

commented

Thank you. Yes this is a known issue because its equipable but i didnt make an entry for it in the scaling list.
For now just disable errors by pasting this in your chat: /console scriptErrors 0
It will be fixed in the next update along with hunter ranged weapons not getting the correct score.

commented

Uploaded a new update that fixes this issue.