local _E
local hook
local selectedRecipeID
local pipe = function(self, ...)
local recipeID = self.RecipeList:GetSelectedRecipeID()
selectedRecipeID = recipeID and recipeID or nil
if not selectedRecipeID then return end
local itemLink = C_TradeSkillUI.GetRecipeItemLink(selectedRecipeID)
if(itemLink) then
SyLevel:CallFilters('tradeskill', TradeSkillFrame.DetailsFrame.Contents.ResultIcon, _E and itemLink)
end
local numReagents = C_TradeSkillUI.GetRecipeNumReagents(selectedRecipeID)
for reagentIndex = 1, numReagents do
local reagentFrame = TradeSkillFrame.DetailsFrame.Contents.Reagents[reagentIndex]
local reagentLink = C_TradeSkillUI.GetRecipeReagentItemLink(selectedRecipeID, reagentIndex)
SyLevel:CallFilters('tradeskill', reagentFrame, _E and reagentLink)
end
end
local doHook = function()
if(not hook) then
hook = function(...)
if(_E) then return pipe(...) end
end
hooksecurefunc(TradeSkillFrame, 'OnRecipeChanged', hook)
end
end
local function ADDON_LOADED(self, event, addon)
if(addon == 'Blizzard_TradeSkillUI') then
doHook()
self:UnregisterEvent(event, ADDON_LOADED)
end
end
local update = function(self)
if(selectedRecipeID and IsAddOnLoaded('Blizzard_TradeSkillUI')) then
return pipe(selectedRecipeID)
end
end
local enable = function(self)
_E = true
if(IsAddOnLoaded("Blizzard_TradeSkillUI")) then
doHook()
else
self:RegisterEvent("ADDON_LOADED", ADDON_LOADED)
end
end
local disable = function(self)
_E = nil
self:UnregisterEvent('ADDON_LOADED', ADDON_LOADED)
end
SyLevel:RegisterPipe('tradeskill', enable, disable, update, 'Profession Window', nil)
Edit line 40 in SyLevel\pipes\tradeskill.lua to...
local id = C_TradeSkillUI.GetTradeSkillLine()
...then delete old libaray... SyLevel\libs\LibItemUpgradeInfo-1.0
v2, just uploaded, will make it so that it's actually enabled by default. I'm fighting against SyLevel's normal behavior here, so this might be fragile at whatever point SyLevel updates again.
One issue and this is nothing on you but LibItemUpgradeInfo was recently updated for 6.2.3 but sylevel hasn't been updated to use it. I manually updated the library and things work great.
What do ı have to do?
Date: 2019-12-29 03:42:10
ID: 1
Error occured in: Global
Count: 2
Message: ..\AddOns\SyLevel\pipes\tradeskill.lua line 40:
attempt to call global 'GetTradeSkillSelectionIndex' (a nil value)
Debug:
SyLevel\pipes\tradeskill.lua:40: update()
SyLevel\pipe.lua:87: UpdatePipe()
SyLevel\sylevel.lua:131: UpdateAllPipes()
SyLevel\sylevel.lua:124: RegisterAllPipesAndFilters()
SyLevel\sylevel.lua:82:
SyLevel\sylevel.lua:62
(tail call): ?
Locals:
self = <table> {
BANKFRAME_OPENED = <function> defined @Interface\AddOns\SyLevel\pipes\bank.lua:6
RegisterFilter = <function> defined @Interface\AddOns\SyLevel\filter.lua:11
TRADE_UPDATE = <function> defined @Interface\AddOns\SyLevel\pipes\trade.lua:17
IsEventRegistered = <function> defined @Interface\AddOns\SyLevel\event.lua:51
UnregisterFilterOnPipe = <function> defined @Interface\AddOns\SyLevel\filter.lua:86
SetColorFunc = <function> defined @Interface\AddOns\SyLevel\colors.lua:207
IterateFilters = <function> defined @Interface\AddOns\SyLevel\filter.lua:33
GetFontSettings = <function> defined @Interface\AddOns\SyLevel\fonts.lua:10
VOID_STORAGE_DEPOSIT_UPDATE = <function> defined @Interface\AddOns\SyLevel\pipes\voidstorage.lua:27
CallFilters = <function> defined @Interface\AddOns\SyLevel\sylevel.lua:91
CallOptionCallbacks = <function> defined @Interface\AddOns\SyLevel\sylevel.lua:142
VOID_STORAGE_OPEN = <function> defined @Interface\AddOns\SyLevel\pipes\voidstorage.lua:39
PLAYERBANKSLOTS_CHANGED = <function> defined @Interface\AddOns\SyLevel\pipes\bank.lua:6
SetFontSettings = <function> defined @Interface\AddOns\SyLevel\fonts.lua:6
DisablePipe = <function> defined @Interface\AddOns\SyLevel\pipe.lua:62
VOID_TRANSFER_DONE = <function> defined @Interface\AddOns\SyLevel\pipes\voidstorage.lua:39
TRADE_PLAYER_ITEM_CHANGED = <function> defined @Interface\AddOns\SyLevel\pipes\trade.lua:3
LOOT_SLOT_CLEARED = <function> defined @Interface\AddOns\SyLevel\pipes\loot.lua:4
media = <table> {
}
MAIL_SEND_INFO_UPDATE = <function> defined @Interface\AddOns\SyLevel\pipes\mail.lua:8
MAIL_SHOW = <function> defined @Interface\AddOns\SyLevel\pipes\mail.lua:8
TRADE_TARGET_ITEM_CHANGED = <function> defined @Interface\AddOns\SyLevel\pipes\trade.lua:10
ADDON_LOADED = <table> {
}
UpdateAllPipes = <function> defined @Interface\AddOns\SyLevel\sylevel.lua:127
GUILDBANKBAGSLOTS_CHANGED = <function> defined @Interface\AddOns\SyLevel\pipes\gbank.lua:6
TRADE_SHOW = <function> defined @Interface\AddOns\SyLevel\pipes\trade.lua:17
IteratePipes = <function> defined @Interface\AddOns\SyLevel\pipe.lua:43
LOOT_SLOT_CHANGED = <function> defined @Interface\AddOns\SyLevel\pipes\loot.lua:4
LOOT_OPENED = <function> defined @Interface\AddOns\SyLevel\pipes\loot.lua:4
RegisterDisplay = <function> defined @Interface\AddOns\SyLevel\display.lua:9
UpdatePipe = <function> defined @Interface\AddOns\SyLevel\pipe.lua:82
UNIT_INVENTORY_CHANGED = <function> defined @Interface\AddOns\SyLevel\pipes\char.lua:24
GUILDBANKFRAME_OPENED = <function> defined @Interface\AddOns\SyLevel\pipes\gbank.lua:6
VOID_STORAGE_CONTENTS_UPDATE = <function> defined @Interface\AddOns\SyLevel\pipes\voidstorage.lua:3
GetNumPipes = <function> defined @Interface\AddOns\SyLevel\pipe.lua:93
EnablePipe = <function> defined @Interface\AddOns\SyLevel\pipe.lua:48
RegisterAllPipesAndFilters = <function> defined @Interface\AddOns\SyLevel\sylevel.lua:112
VOID_STORAGE_UPDATE = <function> defined @Interface\AddOns\SyLevel\pipes\voidstorage.lua:3
GetNumFilters = <function> defined @Interface\AddOns\SyLevel\filter.lua:108
INVENTORY_SEARCH_UPDATE = <function> defined @Interface\AddOns\SyLevel\pipes\voidstorage.lua:3
argcheck = <function> defined @Interface\AddOns\SyLevel\init.lua:4
MAIL_SEND_SUCCESS = <function> defined @Interface\AddOns\SyLevel\pipes\mail.lua:8
IsPipeEnabled = <function> defined @Interface\AddOns\SyLevel\pipe.lua:76
version = "2.001"
VOID_DEPOSIT_WARNING = <function> defined @Interface\AddOns\SyLevel\pipes\voidstorage.lua:3
RegisterOptionCallback = <function> defined @Interface\AddOns\SyLevel\sylevel.lua:136
IterateFiltersOnPipe = <function> defined @Interface\AddOns\SyLevel\filter.lua:73
RegisterFilterOnPipe = <function> defined @Interface\AddOns\SyLevel\filter.lua:39
RegisterEvent = <function> defined @Interface\AddOns\SyLevel\event.lua:19
GetColorFunc = <function> defined @Interface\AddOns\SyLevel\colors.lua:212
UnregisterEvent = <function> defined @Interface\AddOns\SyLevel\event.lua:55
RegisterPipe = <function> defined @Interface\AddOns\SyLev
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
Altoholic, vr191
AucAdvanced, v8.2.6471 (SwimmingSeadragon)
AucFilterBasic, v8.2.6497 (SwimmingSeadragon)
AucStatHistogram, v8.2.6499 (SwimmingSeadragon)
AucStatiLevel, v8.2.6503 (SwimmingSeadragon)
AucStatPurchased, v8.2.6500 (SwimmingSeadragon)
AucStatSimple, v8.2.6501 (SwimmingSeadragon)
AucStatStdDev, v8.2.6502 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6504 (SwimmingSeadragon)
AzeritePowerWeights, v8.2.17
BagBrother, v
Bagnon, v8.2.27
BagnonFacade, v8.2.0
BagnonSyLevel, v1
DataStore, vr66
DataStoreCharacters, vr44
Masque, v8.2.8
SlideBar, v8.2.6509 (SwimmingSeadragon)
Stubby, v8.2.6510 (SwimmingSeadragon)
SyLevel, v2.001
BlizRuntimeLib_enUS v8.2.5.80205 <none>
(ck=2f1)
now because of this shit i have to rearrange every single item in my bags because this shit fucks it up
Any fix for newest bagnon version?
Dependency is missing. Bagnon is installed :( Update?
Try https://mods.curse.com/addons/wow/274607-bagnon-itemlevel
Shows just the itemlevel, has no dependencies.
I would really love it if you could update this, please.
This addon is not up to date with wow. Can you update it?
Hi Kemayo, I have implemented a user fix for !SyLevel for Legion but Bagnon is no showing ilvl. Any sugestion?
Edit: Clear savedvariables and works
Hey man, would you mind possibly sharing that user fix or at least point me in the right direction to download it? Thanks =D
Edit line 40 in SyLevel\pipes\tradeskill.lua to...
local id = C_TradeSkillUI.GetTradeSkillLine()
...then delete old libaray... SyLevel\libs\LibItemUpgradeInfo-1.0
Install update version found here. http://www.wowace.com/addons/libitemupgradeinfo-1-0/
good to go!
CRedits for Binul and Ceylina
Have the latest bagnon installed and sylevel and have bagnon checked in the sylevel options but nothing shows in my inventory
Sylevel shows fine on my chracter paperdoll window
Did you expand the SyLevel setting for bagnon to make sure that "item level text" is enabled inside it? It doesn't seem to enable it by default.
v2, just uploaded, will make it so that it's actually enabled by default. I'm fighting against SyLevel's normal behavior here, so this might be fragile at whatever point SyLevel updates again.
Working now, thanks for the fast update.
One issue and this is nothing on you but LibItemUpgradeInfo was recently updated for 6.2.3 but sylevel hasn't been updated to use it. I manually updated the library and things work great.
Yeah. I actually messaged the SyLevel author to ask if he can do a quick bump-release. The alternative, for now, is to install the library independently: http://www.wowace.com/addons/libitemupgradeinfo-1-0/files/