ElvUI Enhanced Again (DF)

ElvUI Enhanced Again (DF)

1M Downloads

Item level not Working - Paperdoll.lua error

Rymarri opened this issue ยท 3 comments

commented

whenever I mouseover the Item lvl that I put on Location Plus Bar I get this error and it does not show me the various pieces of my Gear. I Hope you can help
Date: 2018-03-31 17:38:44
ID: 1
Error occured in: Global
Count: 1
Message: ...ace\AddOns\ElvUI_Enhanced\modules\misc\paperdoll.lua line 135:
Invalid inventory slot in SetInventoryItem
Debug:
[C]: ?
[C]: SetInventoryItem()
...ace\AddOns\ElvUI_Enhanced\modules\misc\paperdoll.lua:135:
...ace\AddOns\ElvUI_Enhanced\modules\misc\paperdoll.lua:133
...ace\AddOns\ElvUI_Enhanced\modules\misc\paperdoll.lua:170: GetItemLevel()
...ddOns\ElvUI_Enhanced\modules\datatexts\itemlevel.lua:58: onEnter()
...terface\AddOns\ElvUI\Modules\datatexts\datatexts.lua:231:
...terface\AddOns\ElvUI\Modules\datatexts\datatexts.lua:229
Locals:

AddOns:
MoncaiCompare, v7.2.0
Swatter, v7.5.5724 (TasmanianThylacine)
NPCScanOverlay, v7.3.0.1
NPCScanOverlayBroker, v1.2.7
Ace3, v
AceGUI30SharedMediaWidgets, v
AckisRecipeList, v7.3.0.1
AckisRecipeListQuickScan, v7.3.0.1
ACP, vr250
Altoholic, vr183
Archy, v7.3.2.1
AskMrRobot, v57
Atlas, vv1.43.05
AtlasArena, vv1.07.01
AtlasBattlegrounds, vv1.43.00
AtlasBurningCrusade, vv1.43.00
AtlasCataclysm, vv1.43.00
AtlasClassicWoW, vv1.43.00
AtlasClassOrderHalls, vv1.43.00
AtlasDungeonLocs, vv1.43.00
AtlasLegion, vv1.43.03
AtlasMistsofPandaria, vv1.43.00
AtlasOutdoorRaids, vv1.43.00
AtlasScenarios, vv1.43.00
AtlasTransportation, vv1.43.01
AtlasWarlordsofDraenor, vv1.43.00
AtlasWorldEvents, vv3.23
AtlasWrathoftheLichKing, vv1.43.01
AtlasLoot, vv8.07.11
AtlasLootBurningCrusade, vv8.07.11
AtlasLootCataclysm, vv8.07.11
AtlasLootClasses, vv3.1
AtlasLootClassic, vv8.07.11
AtlasLootLegion, vv8.07.11
AtlasLootMistsofPandaria, vv8.07.11
AtlasLootWarlordsofDraenor, vv8.07.11
AtlasLootWrathoftheLichKing, vv8.07.11
AtlasMajorCitiesEnhanced, vv1.15
AucAdvanced, v7.5.5724 (TasmanianThylacine)
AucFilterBasic, v7.5.5724 (TasmanianThylacine)
AucFilterOutlier, v7.5.5724.5459(7.5/embedded)
AucMatchUndercut, v7.5.5724.5585(7.5/embedded)
AucStatHistogram, v7.5.5724 (TasmanianThylacine)
AucStatiLevel, v7.5.5724 (TasmanianThylacine)
AucStatPurchased, v7.5.5724 (TasmanianThylacine)
AucStatSales, v7.5.5724.5598(7.5/embedded)
AucStatSimple, v7.5.5724 (TasmanianThylacine)
AucStatStdDev, v7.5.5724 (TasmanianThylacine)
AucStatWOWEcon, v7.5.5724.5613(7.5/embedded)
AucUtilAHWindowControl, v7.5.5724.5575(7.5/embedded)
AucUtilAppraiser, v7.5.5724.5719(7.5/embedded)
AucUtilAskPrice, v7.5.5724.5599(7.5/embedded)
AucUtilAutoMagic, v7.5.5724.5686(7.5/embedded)
AucUtilCompactUI, v7.5.5724.5715(7.5/embedded)
AucUtilEasyBuyout, v7.5.5724.5576(7.5/embedded)
AucUtilFixAH, v7.5.5724 (TasmanianThylacine)
AucUtilItemSuggest, v7.5.5724.5651(7.5/embedded)
AucUtilPriceLevel, v7.5.5724.5633(7.5/embedded)
AucUtilScanButton, v7.5.5724.5631(7.5/embedded)
AucUtilScanFinish, v7.5.5724.5720(7.5/embedded)
AucUtilScanProgress, v7.5.5724.4979(7.5/embedded)
AucUtilScanStart, v7.5.5724.5347(7.5/embedded)
AucUtilSearchUI, v7.5.5724.5721(7.5/embedded)
AucUtilSimpleAuction, v7.5.5724.5705(7.5/embedded)
AucUtilVendMarkup, v7.5.5724.4828(7.5/embedded)
Auctionator, v4.0.19
Babylonian, v5.1.DEV.332(/embedded)
BattlePetCount, v1.8.15
BeanCounter, v7.5.5724 (TasmanianThylacine)
CallbackHandler10, v
Clique, vv70300-1.0.0
CollectMe, v2.9.6
Configator, v5.1.DEV.431(/embedded)
DataStore, vr64
DataStoreAchievements, vr46
DataStoreAgenda, vr26
DataStoreAuctions, vr49
DataStoreCharacters, vr41
DataStoreContainers, vr57
DataStoreCrafts, vr78
DataStoreCurrencies, vr36
DataStoreGarrisons, vr22
DataStoreInventory, vr51
DataStoreMails, vr50
DataStorePets, vr43
DataStoreQuests, vr43
DataStoreReputations, vr41
DataStoreSpells, vr31
DataStoreStats, vr30
DataStoreTalents, vr60
DBMCore, v7.3.25
DBMDefaultSkin, v
DBMStatusBarTimers, v
DebugLib, v5.1.DEV.337(/embedded)
DejaCharacterStats, v730rc108
EasyObliterate, v30
ElvUI, v10.73
ElvUICustomTweaks, v1.36
ElvUIDTBars, v5.0.8
ElvUIEnhanced, v3.2.4-beta1
ElvUIExtraActionBars, v2.33
ElvUIExtraDataTexts, v1.9.1
ElvUILocPlus, v2.29
ElvUIRaidMarkers, v4.24
Enchantrix, v7.5.5724 (TasmanianThylacine)
EnchantrixBarker, v7.5.5724 (TasmanianThylacine)
GatherMate2, v1.41
GoingPriceUS, v7.1.1479254400
HandyNotes, vv1.4.15
HandyNotesAchievements, v0.4.19
HandyNotesArgus, vv0.07
HandyNotesBrokenShore, vv1.23
HandyNotesDraenorTreasures, v1.20a
HandyNotesLegionInstanceWorldQuests, vv1.11
HandyNotesLegionRaresTreasures, v1.01b
HandyNotesLegionTreasures, v1
HandyNotesLongForgottenHippogryph, v1
HandyNotesPandariaTreasures, v1.06
HandyNotesSuramarLeylines, v1
HandyNotesSuramarShalAranTelemancy, vv1.15
HandyNotesTreasureHunter, v1
HandyNotesWitheredArmyTraining, v1
HealBot, v7.3.2.0
HealBotTips, v7.3.2.0
HereBeDragons10, v1.19-release
InFlightLoad, v7.3.002
LibDialog10, vr89
LibExtraTip, v5.12.DEV.430(/embedded)
LibSharedMedia30, v3.0-100
LibSink20, v
LibStub, v
LibTextDump10, v7.3.0.1
LibToast10, v7.0.3.2
LibWindow11, v1.1.15
LoremasterCollector, v0.0.2.8
MasterPlanA, vA
MobInfo2, v7.1.0.001
MyRareFinder, v1.3
NOP, v08.38 22.03.2018
NPCScan, v7.3.5.3
QuestCompletist, v109.5
RareAnnouncer, vr14
RecipeKnown, v0.28
Recount, vv7.3.5b
Skillet, v3.34
SlideBar, v7.5.5724 (TasmanianThylacine)
Stubby, v7.5.5724 (TasmanianThylacine)
TipHelper, v5.12.DEV.405(/embedded)
TomTom, vv70300-1.0.0
TradeSkillMaster, vv3.6.42
TradeSkillMasterAccounting, vv3.0.20
TradeSkillMasterAppHelper, vv3.0.4
TradeSkillMasterAuctionDB, vv3.1.18
TradeSkillMasterAuctioning, vv3.0.16
TradeSkillMasterCrafting, vv3.2.5
TradeSkillMasterDestroying, vv3.1.7
TradeSkillMasterShopping, vv3.4.7
WorldQuestsList, v50
WorldQuestTracker, v
BlizRuntimeLib_enUS v7.3.5.70300
(ck=1432)

commented

Getting the same. Changing line 58 of modules/datatexts/itemlevel.lua from
itemLevel = PD:GetItemLevel("player", itemLink)
to
itemLevel = PD:GetItemLevel("player", i)
fixes it, though it doesn't seem like this file has changed in 2 years according to github, so not sure why it broke now.
Edit: Turns out this isn't a real fix. It gets rid of the error, and the datatext matches my profile number, but the tooltip values don't match for all of my equipment. I'm honestly not sure I ever used the tooltip on this, I have another datatext with more info for that, I just liked having my average displayed which worked without error until the patch. For now I just used this instead, its long winded but seems to work fine atleast for me
itemName, itemLink, itemRarity, itemLevel, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc, iconFileDataID, itemSellPrice, itemClassID, itemSubClassID, bindType, expacID, itemSetID, isCraftingReagent = GetItemInfo(itemLink)

commented

Thanks for the reports. I will take a look at it soon.

commented

I've got a fix ready and will it will be in the next version!