error config_Utilities
gaveer opened this issue ยท 11 comments
39x SmexyMats/config/config_Utilities.lua:31: attempt to index field '?' (a nil value)
[string "@SmexyMats/config/config_Utilities.lua"]:31: in function `Gear_ExpackID'
[string "@SmexyMats/main/Smexy_Core.lua"]:241: in function `ProcessTooltip'
[string "@SmexyMats/main/Smexy_Core.lua"]:472: in function `ModifyItemTooltip'
[string "@SmexyMats/main/Smexy_Core.lua"]:96: in function <SmexyMats/main/Smexy_Core.lua:94>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238>
[string "=[C]"]: in function `securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:235: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:234>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `SetBagItem'
[string "@Blizzard_UIPanels_Game/Mainline/ContainerFrame.lua"]:1533: in function `ContainerFrameItemButton_OnEnter'
[string "@BagBrother/core/classes/item.lua"]:245: in function `ShowTooltip'
[string "@BagBrother/core/classes/item.lua"]:135: in function <BagBrother/core/classes/item.lua:131>
[string "=(tail call)"]: ?
[string "@BagBrother/frames/containers/item.lua"]:59: in function <BagBrother/frames/containers/item.lua:58>
Locals:
self = <table> {
baseName = "SmexyMats"
Scrap = <table> {
}
modules = <table> {
}
Drop = <table> {
}
Vendor = <table> {
}
defaultModuleLibraries = <table> {
}
Profs = <table> {
}
Reagents = <table> {
}
defaults = <table> {
}
options = <table> {
}
ExPacks = <table> {
}
name = "SmexyMats"
Colors = <table> {
}
orderedModules = <table> {
}
Sources = <table> {
}
enabledState = true
defaultModuleState = true
}
obj = <table> {
ID = 219247
aa = "Dalaran Defender's Wand"
bb = "|cffa335ee|Hitem:219247::::::::70:63::5:4:10313:8902:1615:8767::::::|h[Dalaran Defender's Wand]|h|r"
gg = "Wands"
dd = 493
nn = 1
ee = 70
oo = 10
hh = 1
ll = 2
cc = 4
ff = "Weapon"
kk = 1576140
ii = "INVTYPE_RANGEDRIGHT"
jj = 135487
mm = 19
}
(*temporary) = true
(*temporary) = 10
(*temporary) = nil
(*temporary) = 10
(*temporary) = "attempt to index field '?' (a nil value)"
SmexyMats = <table> {
baseName = "SmexyMats"
Scrap = <table> {
}
modules = <table> {
}
Drop = <table> {
}
Vendor = <table> {
}
defaultModuleLibraries = <table> {
}
Profs = <table> {
}
Reagents = <table> {
}
defaults = <table> {
}
options = <table> {
}
ExPacks = <table> {
}
name = "SmexyMats"
Colors = <table> {
}
orderedModules = <table> {
}
Sources = <table> {
}
enabledState = true
defaultModuleState = true
}
L = <table> {
Inscription = "Inscription"
ItemID: = "ItemID: "
Cannot fetch information for: = "Cannot fetch information for:"
[SM]Expansion: = "[SM]Expansion: "
Drop = "Drop"
Leatherworking = "Leatherworking"
ExpackID: = "ExpackID: "
Enchanting = "Enchanting"
Tailoring = "Tailoring"
More info on why this error occured can be found here: = "More info on why this error occured can be found here:"
The Burning Crusade = "The Burning Crusade"
More Info: = "More Info:"
|cFFFF0000Battle |cFFE6CC80for |cFF2E6FF2Azeroth = "|cFFFF0000Battle |cFFE6CC80for |cFF2E6FF2Azeroth"
type /sm and uncheck 'Report errors to chat'. = "type /sm and uncheck 'Report errors to chat'."
To turn off these errors: = "To turn off these errors:"
2. Click on it. = "2. Click on it."
Archaeology = "Archaeology"
Cataclysm = "Cataclysm"
Engineering = "Engineering"
Unknown = "Unknown"
[SM]ExpackID: = "[SM]ExpackID: "
Weapon = "Weapon"
Battle for Azeroth = "Battle for Azeroth"
Temporary Solution: = "Temporary Solution:"
An info request has been sent to the server for details on this item. = "An info request has been sent to the server for details on this item."
Armor = "Armor"
Herbalism = "Herbalism"
|rLoad Complete! = "|rLoad Complete!"
Vendor = "Vendor"
[SM]ItemID: = "[SM]ItemID: "
Cooking = "Cooking"
Fishing = "Fishing"
[SM]: = "[SM]:"
Expansion: = "Expansion: "
Shadowlands = "Shadowlands"
1. Link the item in chat. = "1. Link the item in chat."
[SM]Profession(s): = "[SM]Profession(s): "
[SM]Source(s): = "[SM]Source(s): "
Artifact Relic = "Artifact Relic"
Blacksmithing = "Blacksmithing"
Skinning = "Skinning"
Wrath of the Lich King = "Wrath of the Lich King"
Alchemy = "Alchemy"
Mining = "Mining"
Failed! |rMissing Data-Tables. Reinstall SemxyMats(SM) to correct this issue or report the error to https://mods.curse.com/addons/wow/270824-smexymats = "Failed! |rMissing Data-Tables. Reinstall SemxyMats(SM) to correct this issue or report the error to https://mods.curse.com/addons/wow/270824-smexymats"
Warlords of Draenor = "Warlords of Draenor"
Profession(s): = "Profession(s): "
Legion = "Legion"
DragonFlight = "DragonFlight"
Classic = "Classic"
Scrap = "Scrap"
Source(s): = "Source(s): "
Jewelcrafting = "Jewelcrafting"
Mists of Pandaria = "Mists of Pandaria"
}
all you all playing classic or retail? and are you using the correct one respectively?
I am playing retail and this is the beginning of the .toc file:
Interface: 100107
Title: |cFF00CCFFSmexyMats(SM)|r by: |cFFFF8000LunixiaLIVE|r v10.1.0.0 Retail
Notes: Tooltip Mod - Notates which Expansion the item is from. Centered around Professions and Crafting.
Version: 10.1.0.0 Retail
I see that the addon might have been renamed on CurseForge so this might be part of the problem.
@LunixiaLIVE so the issue here is that the item is from ExPacks : 10
config_Utilities.lua
[9] = {
name = L["DragonFlight"],
color = SmexyMats.Colors.DRAGONFLIGHT,
icon = "Interface\\Addons\\SmexyMats\\icon\\DF-Logo-Small.blp",
geticon = function()
local t = {}
t[ #t+1 ] = "|T"; t[ #t+1 ] = SmexyMats.ExPacks[9].icon; t[ #t+1 ] = ":"; t[ #t+1 ] = 64; t[ #t+1 ] = "|t "; return table.concat(t);
end,
},
+ [10] = {
+ name = L["TheWarWithin"],
+ color = SmexyMats.Colors.TWW,
+ icon = "Interface\\Addons\\SmexyMats\\icon\\TWW-Logo-Small.blp",
+ geticon = function()
+ local t = {}
+ t[ #t+1 ] = "|T"; t[ #t+1 ] = SmexyMats.ExPacks[10].icon; t[ #t+1 ] = ":"; t[ #t+1 ] = 64; t[ #t+1 ] = "|t "; return +table.concat(t);
+ end,
+ },
locale
L["DragonFlight"] = true;
+L["TheWarWithin"] = true;
data_Materials.lua
add ids for items
Would you like to take over the project on course forge? Or at least be able to update it?
I meant on curse forge. I forgot I even hosted it here. I can also show you how to keep this thing updated. It's not hard, I just didn't have time anymore and I don't play wow anymore either.
someone one posted this on the comment section :
https://github.com/jaestevan/SmexyMatsCont