Thelaris / TrueItemLevel

A World of Warcraft UI addon to show the specialty and item level/iLVL of a player within inspect range, originally created by Dreamstate83 (aka Frosty). This is a re-release using Dreamstate83's code as a baseline and updating it to work with the current live release of World of Warcraft.
MIT License
0 stars 0 forks source link

Global function "OTgathertil()" conflicts with oilvl addon #1

Closed Thelaris closed 7 years ago

Thelaris commented 7 years ago

Luke1972 Posted 8/5/2017 @ 10:53PM

Hi,

I like your addon and it seems to work, but at every start I get the following LUA error:

Date: 2017-05-08 14:51:01 ID: 1 Error occured in: Global Count: 1 Message: ..\AddOns\trueitemlevel\trueitemlevel.lua line 1966: Usage: UnitIsUnit("unit", "otherUnit") Debug:

trueitemlevel\trueitemlevel.lua:1966: OTgathertil() Oilvl\Oilvl.lua:5180: oilvlSaveItemLevel() Oilvl\Oilvl.lua:5259: ?() Oilvl\Oilvl.lua:5678: Oilvl\Oilvl.lua:5677 Locals: AddOns: Swatter, v7.4.5714 (TasmanianThylacine) Archy, v7.2.0.1 AucAdvanced, v7.4.5714 (TasmanianThylacine) AucFilterBasic, v7.4.5714 (TasmanianThylacine) AucFilterOutlier, v7.4.5714.5459(7.4/embedded) AucMatchUndercut, v7.4.5714.5585(7.4/embedded) AucStatHistogram, v7.4.5714 (TasmanianThylacine) AucStatiLevel, v7.4.5714 (TasmanianThylacine) AucStatPurchased, v7.4.5714 (TasmanianThylacine) AucStatSales, v7.4.5714.5598(7.4/embedded) AucStatSimple, v7.4.5714 (TasmanianThylacine) AucStatStdDev, v7.4.5714 (TasmanianThylacine) AucStatWOWEcon, v7.4.5714.5613(7.4/embedded) AucUtilAHWindowControl, v7.4.5714.5575(7.4/embedded) AucUtilAppraiser, v7.4.5714.5704(7.4/embedded) AucUtilAskPrice, v7.4.5714.5599(7.4/embedded) AucUtilAutoMagic, v7.4.5714.5686(7.4/embedded) AucUtilCompactUI, v7.4.5714.5694(7.4/embedded) AucUtilEasyBuyout, v7.4.5714.5576(7.4/embedded) AucUtilFixAH, v7.4.5714 (TasmanianThylacine) AucUtilItemSuggest, v7.4.5714.5651(7.4/embedded) AucUtilPriceLevel, v7.4.5714.5633(7.4/embedded) AucUtilScanButton, v7.4.5714.5631(7.4/embedded) AucUtilScanFinish, v7.4.5714.5588(7.4/embedded) AucUtilScanProgress, v7.4.5714.4979(7.4/embedded) AucUtilScanStart, v7.4.5714.5347(7.4/embedded) AucUtilSearchUI, v7.4.5714.5710(7.4/embedded) AucUtilSimpleAuction, v7.4.5714.5705(7.4/embedded) AucUtilVendMarkup, v7.4.5714.4828(7.4/embedded) Babylonian, v5.1.DEV.332(/embedded) BadBoy, vv7.2.74 BadBoyHistory, v BeanCounter, v7.4.5714 (TasmanianThylacine) Configator, v5.1.DEV.406(/embedded) DebugLib, v5.1.DEV.337(/embedded) Decursive, v2.7.5.2 EpicEnchantList, v2.2 EpicFoodList, v3.5 EpicGemList, v5.11 FishingBuddy, v1.7.13a GatherMate2, v1.40 HealBot, v7.2.0.0 HealBotTips, v7.2.0.0 LibExtraTip, v5.12.DEV.423(/embedded) LibPeriodicTable31, vv3.3.0.569 Mapster, v1.7.5 Mendeleev, v3.0 MinimapZoom, v7.3 Oilvl, v6.5.3 Pawn, v2.2.4 Prat30, vr1054 Prat30Libraries, v RepHelper, v7.2.0.10-release SellJunk, v3.0.15 Stubby, v7.4.5714 (TasmanianThylacine) TipHelper, v5.12.DEV.405(/embedded) TipTac, v16.10.27 TipTacItemRef, v16.10.27 TipTacTalents, v16.10.27 trueitemlevel, v ZPerl, v5.2.4 ZPerlArcaneBar, v ZPerlParty, v ZPerlPartyPet, v ZPerlPlayer, v ZPerlPlayerBuffs, v ZPerlPlayerPet, v ZPerlTarget, v ZPerlTargetTarget, v BlizRuntimeLib_enUS v7.2.0.70200 (ck=965)

Thelaris commented 7 years ago

Oilvl also has a global function called OTgathertil(). This is causing a conflict with TIL's global function of the same name. I have renamed TIL's instance of this function to TILOTgathertil(), to resolve this issue for now

Thelaris commented 7 years ago

Resolved in commit 659d3ae. Closing