AtlasLootClassic

AtlasLootClassic

37M Downloads

BUG WotLK Classic: ClassFilter.lua 506 error

evilgodly opened this issue ยท 2 comments

commented

AtlasLoot version
v3.1.1

Lua error
10x AtlasLootClassic/Data/ClassFilter.lua:506: attempt to index field '?' (a nil value)
[string "@AtlasLootClassic/Data/ClassFilter.lua"]:506: in function ClassCanUseItem' [string "@AtlasLootClassic/GUI/ItemFrame.lua"]:98: in function UpdateFilterItem'
[string "@AtlasLootClassic/GUI/ItemFrame.lua"]:125: in function UpdateFilter' [string "@AtlasLootClassic/GUI/ItemFrame.lua"]:245: in function Refresh'
[string "@AtlasLootClassic/GUI/GUI.lua"]:196: in function <AtlasLootClassic/GUI/GUI.lua:48>
[string "@AtlasLootClassic/GUI/GUI.lua"]:1039: in function ButtonOnClick' [string "@AtlasLootClassic/GUI/Template_Select.lua"]:90: in function SetSelected'
[string "@AtlasLootClassic/GUI/Template_Select.lua"]:137: in function SetData' [string "@AtlasLootClassic/GUI/GUI.lua"]:976: in function ButtonOnClick'
[string "@AtlasLootClassic/GUI/Template_Select.lua"]:90: in function `SetSelected'
[string "@AtlasLootClassic/GUI/Template_Select.lua"]:220: in function <...faceAtlasLootClassic/GUI/Template_Select.lua:218>

Locals:
className = "MAGE"
itemID = 45739
_ = 45739
itemType = "Glyph"
itemSubType = "Mage"
itemEquipLoc = ""
icon = 254291
itemClassID = 16
itemSubClassID = 8
classID = 8
(*temporary) = nil
(*temporary) = "MAGE"
(*temporary) = 45739
(*temporary) = true
(*temporary) = 128
(*temporary) = 128
(*temporary) = 128
(*temporary) = "attempt to index field '?' (a nil value)"
CLASS_FILTER =

{
itemClass =
{
}
itemEquipLoc =
{
}
itemSubClass =
{
}
}
BuildClassFilterList = defined @AtlasLootClassic/Data/ClassFilter.lua:450
GetItemInfoInstant = defined =[C]:-1
CLASS_NAME_TO_ID =
{
DEATHKNIGHT = 6
WARRIOR = 1
ROGUE = 4
MAGE = 8
PRIEST = 5
WARLOCK = 9
HUNTER = 3
DRUID = 10
SHAMAN = 7
PALADIN = 2
}
Requirements =
{
HasPvPRequirements = defined @AtlasLootClassic/Data/Requirements.lua:5939
GetPvPRankInfo = defined @AtlasLootClassic/Data/Requirements.lua:5916
BuildClassString = defined @AtlasLootClassic/Data/Requirements.lua:5892
GetPvPRankIcon = defined @AtlasLootClassic/Data/Requirements.lua:5926
HasRequirements = defined @AtlasLootClassic/Data/Requirements.lua:5935
GetReqString = defined @AtlasLootClassic/Data/Requirements.lua:5943
GetPvPRankIconForItem = defined @AtlasLootClassic/Data/Requirements.lua:5930
ClassCanUseItem = defined @AtlasLootClassic/Data/Requirements.lua:5908
GetPvPRankName = defined @AtlasLootClassic/Data/Requirements.lua:5921
}
ITEM_SUB_CLASS_IGNORE =
{
4 =
{
}
}
db =
{
DEATHKNIGHT =
{
}
WARRIOR =
{
}
PALADIN =
{
}
MAGE =
{
}
PRIEST =
{
}
WARLOCK =
{
}
ROGUE =
{
}
DRUID =
{
}
SHAMAN =
{
}
HUNTER =
{
}
}
LINKED_STATS =
{
ITEM_MOD_PARRY_RATING_SHORT = "ITEM_MOD_PARRY_RATING_SHORT"
ITEM_MOD_ATTACK_POWER = "ITEM_MOD_ATTACK_POWER_SHORT"
ITEM_MOD_CRIT_SPELL_RATING_SHORT = "ITEM_MOD_CRIT_SPELL_RATING_SHORT"
ITEM_MOD_CRIT_RANGED_RATING_SHORT = "ITEM_MOD_CRIT_RANGED_RATING_SHORT"
ITEM_MOD_DODGE_RATING_SHORT = "ITEM_MOD_DODGE_RATING_SHORT"
ITEM_MOD_HEALTH_REGENERATION_SHORT = "ITEM_MOD_HEALTH_REGENERATION_SHORT"
ITEM_MOD_HIT_MELEE_RATING_SHORT = "ITEM_MOD_HIT_MELEE_RATING_SHORT"
ITEM_MOD_HIT_MELEE_RATING = "ITEM_MOD_HIT_MELEE_RATING_SHORT"
ITEM_MOD_STRENGTH_SHORT = "ITEM_MOD_STRENGTH_SHORT"
ITEM_MOD_FERAL_ATTACK_POWER_SHORT = "ITEM_MOD_FERAL_ATTACK_POWER_SHORT"
ITEM_MOD_RESILIENCE_RATING_SHORT = "ITEM_MOD_RESILIENCE_RATING_SHORT"
ITEM_MOD_SPELL_HEALING_DONE_SHORT = "ITEM_MOD_SPELL_HEALING_DONE_SHORT"
ITEM_MOD_EXTRA_ARMOR = "ITEM_MOD_EXTRA_ARMOR_SHORT"
ITEM_MOD_SPELL_DAMAGE_DONE = "ITEM_MOD_SPELL_DAMAGE_DONE_SHORT"
ITEM_MOD_SPIRIT = "ITEM_MOD_SPIRIT_SHORT"
ITEM_MOD_DEFENSE_SKILL_RATING = "ITEM_MOD_DEFENSE_SKILL_RATING_SHORT"
ITEM_MOD_HIT_SPELL_RATING_SHORT = "ITEM_MOD_HIT_SPELL_RATING_SHORT"
ITEM_MOD_AGILITY_SHORT = "ITEM_MOD_AGILITY_SHORT"
ITEM_MOD_DODGE_RATING = "ITEM_MOD_DODGE_RATING_SHORT"
ITEM_MOD_CRIT_RATING = "ITEM_MOD_CRIT_RATING_SHORT"
ITEM_MOD_RANGED_ATTACK_POWER_SHORT = "ITEM_MOD_RANGED_ATTACK_POWER_SHORT"
ITEM_MOD_RANGED_ATTACK_POWER = "ITEM_MOD_RANGED_ATTACK_POWER_SHORT"
ITEM_MOD_HIT_RATING = "ITEM_MOD_HIT_RATING_SHORT"
ITEM_MOD_ARMOR_PENETRATION_RATING_SHORT = "ITEM_MOD_ARMOR_PENETRATION_RATING_SHORT"
ITEM_MOD_CRIT_SPELL_RATING = "ITEM_MOD_CRIT_SPELL_RATING_SHORT"
ITEM_MOD_CRIT_RATING_SHORT = "ITEM_MOD_CRIT_RATING_SHORT"
ITEM_MOD_EXTRA_ARMOR_SHORT = "ITEM_MOD_EXTRA_ARMOR_SHORT"
ITEM_MOD_HEALTH_REGEN = "ITEM_MOD_HEALTH_REGEN_SHORT"
ITEM_MOD_INTELLECT_SHORT = "ITEM_MOD_INTELLECT_SHORT"
ITEM_MOD_ATTACK_POWER_SHORT = "ITEM_MOD_ATTACK_POWER_SHORT"
ITEM_MOD_SPELL_PENETRATION_SHORT = "ITEM_MOD_SPELL_PENETRATION_SHORT"
ITEM_MOD_SPELL_POWER = "ITEM_MOD_SPELL_POWER_SHORT"
ITEM_MOD_SPELL_PENETRATION = "ITEM_MOD_

Describe the bug
in dall south bank at the guild bank on my 74 mage. Had my toons glyph's up and then opened up ALC to Crafting > Inscription > Mage and then got the error. Can continue with out error but still shouldnt be getting this issue.

To Reproduce

Expected behavior

Screenshots

Additional context

commented

game version? wrath?

commented

I got the same error in Classic Wrath but while looking at the Scribe> Mage info

39x AtlasLootClassic/Data/ClassFilter.lua:506: attempt to index field '?' (a nil value)
[string "@AtlasLootClassic/Data/ClassFilter.lua"]:506: in function ClassCanUseItem' [string "@AtlasLootClassic/GUI/ItemFrame.lua"]:98: in function UpdateFilterItem'
[string "@AtlasLootClassic/GUI/ItemFrame.lua"]:125: in function UpdateFilter' [string "@AtlasLootClassic/GUI/ItemFrame.lua"]:245: in function Refresh'
[string "@AtlasLootClassic/GUI/GUI.lua"]:196: in function <AtlasLootClassic/GUI/GUI.lua:48>
[string "@AtlasLootClassic/GUI/GUI.lua"]:1039: in function ButtonOnClick' [string "@AtlasLootClassic/GUI/Template_Select.lua"]:90: in function SetSelected'
[string "@AtlasLootClassic/GUI/Template_Select.lua"]:137: in function SetData' [string "@AtlasLootClassic/GUI/GUI.lua"]:976: in function ButtonOnClick'
[string "@AtlasLootClassic/GUI/Template_Select.lua"]:90: in function `SetSelected'
[string "@AtlasLootClassic/GUI/Template_Select.lua"]:220: in function <...faceAtlasLootClassic/GUI/Template_Select.lua:218>

Locals:
className = "MAGE"
itemID = 45739
_ = 45739
itemType = "Glyph"
itemSubType = "Mage"
itemEquipLoc = ""
icon = 254291
itemClassID = 16
itemSubClassID = 8
classID = 8
(*temporary) = nil
(*temporary) = "MAGE"
(*temporary) = 45739
(*temporary) = true
(*temporary) = 128
(*temporary) = 128
(*temporary) = 128
(*temporary) = "attempt to index field '?' (a nil value)"
CLASS_FILTER =

{
itemClass =
{
}
itemEquipLoc =
{
}
itemSubClass =
{
}
}
BuildClassFilterList = defined @AtlasLootClassic/Data/ClassFilter.lua:450
GetItemInfoInstant = defined =[C]:-1
CLASS_NAME_TO_ID =
{
DEATHKNIGHT = 6
WARRIOR = 1
ROGUE = 4
MAGE = 8
PRIEST = 5
WARLOCK = 9
HUNTER = 3
DRUID = 10
SHAMAN = 7
PALADIN = 2
}
Requirements =
{
HasPvPRequirements = defined @AtlasLootClassic/Data/Requirements.lua:5939
GetPvPRankInfo = defined @AtlasLootClassic/Data/Requirements.lua:5916
BuildClassString = defined @AtlasLootClassic/Data/Requirements.lua:5892
GetPvPRankIcon = defined @AtlasLootClassic/Data/Requirements.lua:5926
HasRequirements = defined @AtlasLootClassic/Data/Requirements.lua:5935
GetReqString = defined @AtlasLootClassic/Data/Requirements.lua:5943
GetPvPRankIconForItem = defined @AtlasLootClassic/Data/Requirements.lua:5930
ClassCanUseItem = defined @AtlasLootClassic/Data/Requirements.lua:5908
GetPvPRankName = defined @AtlasLootClassic/Data/Requirements.lua:5921
}
ITEM_SUB_CLASS_IGNORE =
{
4 =
{
}
}
db =
{
DEATHKNIGHT =
{
}
WARRIOR =
{
}
PALADIN =
{
}
MAGE =
{
}
PRIEST =
{
}
WARLOCK =
{
}
ROGUE =
{
}
DRUID =
{
}
SHAMAN =
{
}
HUNTER =
{
}
}
LINKED_STATS =
{
ITEM_MOD_PARRY_RATING_SHORT = "ITEM_MOD_PARRY_RATING_SHORT"
ITEM_MOD_ATTACK_POWER = "ITEM_MOD_ATTACK_POWER_SHORT"
ITEM_MOD_CRIT_SPELL_RATING_SHORT = "ITEM_MOD_CRIT_SPELL_RATING_SHORT"
ITEM_MOD_CRIT_RANGED_RATING_SHORT = "ITEM_MOD_CRIT_RANGED_RATING_SHORT"
ITEM_MOD_DODGE_RATING_SHORT = "ITEM_MOD_DODGE_RATING_SHORT"
ITEM_MOD_HEALTH_REGENERATION_SHORT = "ITEM_MOD_HEALTH_REGENERATION_SHORT"
ITEM_MOD_HIT_MELEE_RATING_SHORT = "ITEM_MOD_HIT_MELEE_RATING_SHORT"
ITEM_MOD_HIT_MELEE_RATING = "ITEM_MOD_HIT_MELEE_RATING_SHORT"
ITEM_MOD_STRENGTH_SHORT = "ITEM_MOD_STRENGTH_SHORT"
ITEM_MOD_FERAL_ATTACK_POWER_SHORT = "ITEM_MOD_FERAL_ATTACK_POWER_SHORT"
ITEM_MOD_RESILIENCE_RATING_SHORT = "ITEM_MOD_RESILIENCE_RATING_SHORT"
ITEM_MOD_SPELL_HEALING_DONE_SHORT = "ITEM_MOD_SPELL_HEALING_DONE_SHORT"
ITEM_MOD_EXTRA_ARMOR = "ITEM_MOD_EXTRA_ARMOR_SHORT"
ITEM_MOD_SPELL_DAMAGE_DONE = "ITEM_MOD_SPELL_DAMAGE_DONE_SHORT"
ITEM_MOD_SPIRIT = "ITEM_MOD_SPIRIT_SHORT"
ITEM_MOD_DEFENSE_SKILL_RATING = "ITEM_MOD_DEFENSE_SKILL_RATING_SHORT"
ITEM_MOD_HIT_SPELL_RATING_SHORT = "ITEM_MOD_HIT_SPELL_RATING_SHORT"
ITEM_MOD_AGILITY_SHORT = "ITEM_MOD_AGILITY_SHORT"
ITEM_MOD_DODGE_RATING = "ITEM_MOD_DODGE_RATING_SHORT"
ITEM_MOD_CRIT_RATING = "ITEM_MOD_CRIT_RATING_SHORT"
ITEM_MOD_RANGED_ATTACK_POWER_SHORT = "ITEM_MOD_RANGED_ATTACK_POWER_SHORT"
ITEM_MOD_RANGED_ATTACK_POWER = "ITEM_MOD_RANGED_ATTACK_POWER_SHORT"
ITEM_MOD_HIT_RATING = "ITEM_MOD_HIT_RATING_SHORT"
ITEM_MOD_ARMOR_PENETRATION_RATING_SHORT = "ITEM_MOD_ARMOR_PENETRATION_RATING_SHORT"
ITEM_MOD_CRIT_SPELL_RATING = "ITEM_MOD_CRIT_SPELL_RATING_SHORT"
ITEM_MOD_CRIT_RATING_SHORT = "ITEM_MOD_CRIT_RATING_SHORT"
ITEM_MOD_EXTRA_ARMOR_SHORT = "ITEM_MOD_EXTRA_ARMOR_SHORT"
ITEM_MOD_HEALTH_REGEN = "ITEM_MOD_HEALTH_REGEN_SHORT"
ITEM_MOD_INTELLECT_SHORT = "ITEM_MOD_INTELLECT_SHORT"
ITEM_MOD_ATTACK_POWER_SHORT = "ITEM_MOD_ATTACK_POWER_SHORT"
ITEM_MOD_SPELL_PENETRATION_SHORT = "ITEM_MOD_SPELL_PENETRATION_SHORT"
ITEM_MOD_SPELL_POWER = "ITEM_MOD_SPELL_POWER_SHORT"
ITEM_MOD_SPELL_PENETRATION = "ITEM_MOD_