Quantcast
Download
(62 Kb)
Download
Updated: 12-31-15 03:36 PM
Pictures
File Info
Compatibility:
Minor patch (6.2.3)
Updated:12-31-15 03:36 PM
Created:08-10-13 04:39 AM
Downloads:4,552
Favorites:59
MD5:

!SyLevel

Version: 2.001
by: suicidalkatt [More]

!SyLevel

Is a lightweight addon which displays item level text on your item slots. It offers support for addon authors wanting to include functionality in their addons.

AddOns currently using this framework:
Features:
  • Customizable display locations (listed below)
  • Customizable filter to limit display on item levels below a level you set.
  • Chose from one of four possible coloring options.
  • Embedded LibItemUpgradeInfo-1.0 to ensure accurate item levels are displayed.
  • Expandable to your addon (aimed at addon authors if you are one).

Display Locations:
  • Bags
  • Bank Window
  • Character
  • Character Equipment Flyout
  • Guild Bank Window
  • Inspect Window
  • Loot Window
  • Mail Window
  • Merchant Window
  • Profession Window
  • Trade Window
  • Void Storage Window

This is an initial version so please feel free to leave any feedback in the comments and I'll be sure to respond!

A special thanks to haste for allowing me to use the framework of his addon oGlow

v2.001
  • Typo fix.

v2.0
  • Updated the internal ace libraries
  • Changed some values to be more reasonable item level ranges.
  • Added a new "Class Coloring" option.

v1.9
  • Lib updated.

v1.8
  • Added 2 new coloring functions to the color function list. Items less than 450 item level will be colored grey and any items above will gradient from green to red or visa versa.

v1.7
  • Fixed issue with all pipes being automatically re-enabled on login. This will all be changed on a rewrite of this addon.

v1.6
  • Made adjustments to function calls for void storage as well as hooked a function to update on tab change.

v1.5
  • Updated ToC to 6.0.2
  • Updated included LibItemUpgradeInfo library.
  • Updated included LibSharedMedia library.

v1.4
  • Updated ToC to 5.4
  • Updated included LibItemUpgradeInfo library.

v1.1
  • Removed alphabetizing function for options tables. Caused issues with returning name values for pipes.
Optional Files (3)
File Name
Version
Size
Author
Date
Type
v1.1
3kB
10-27-14 08:26 PM
Addon
v1.3
3kB
08-19-13 03:16 AM
Addon
v1.2
2kB
08-19-13 12:45 AM
Addon


Archived Files (9)
File Name
Version
Size
Author
Date
2.0
62kB
suicidalkatt
12-31-15 02:18 AM
1.9
72kB
suicidalkatt
12-30-15 01:23 AM
1.8
75kB
suicidalkatt
10-26-14 06:24 PM
1.7
75kB
suicidalkatt
10-26-14 02:13 PM
1.6
75kB
suicidalkatt
10-22-14 03:34 AM
1.5
75kB
suicidalkatt
10-20-14 01:49 AM
1.4
65kB
suicidalkatt
06-09-14 09:48 PM
1.1
52kB
suicidalkatt
08-13-13 07:02 PM
1.0
52kB
suicidalkatt
08-10-13 04:39 AM


Post A Reply Comment Options
Unread 09-01-16, 08:39 PM  
griddark
A Kobold Labourer
 
griddark's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 3
Re: SyLevel\pipes\tradeskill.lua

Originally Posted by binul
I temporarily fixed the errors related to tradeskill (exactly, occurs in file SyLevel\pipes\tradeskill.lua)
I'm a noob on wow api so I'm not sure whether it's a proper way or not.
but... it's working anyway.
[/code]
Your code worked no more errors from sylevel. Thankyou.
Report comment to moderator  
Reply With Quote
Unread 08-23-16, 01:36 PM  
adawong
A Murloc Raider

Forum posts: 4
File comments: 58
Uploads: 0
any chance i can make this work with combuctor?
Report comment to moderator  
Reply With Quote
Unread 07-25-16, 03:30 PM  
binul
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
SyLevel\pipes\tradeskill.lua

I temporarily fixed the errors related to tradeskill (exactly, occurs in file SyLevel\pipes\tradeskill.lua)
I'm a noob on wow api so I'm not sure whether it's a proper way or not.
but... it's working anyway.

SyLevel\pipes\tradeskill.lua
Code:
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)
Report comment to moderator  
Reply With Quote
Unread 07-25-16, 12:04 PM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 101
Uploads: 5
Re: Legion quick fix!

Originally Posted by bazelle
Do like ceylina said...

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!
works like a charm...I hope author update it ! ty again. BTW !SyLevel Bagnon no working, any temp fix?
Last edited by samvx : 07-25-16 at 12:06 PM.
Report comment to moderator  
Reply With Quote
Unread 07-24-16, 07:38 AM  
bazelle
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Legion quick fix!

Do like ceylina said...

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!
Last edited by bazelle : 07-24-16 at 07:40 AM.
Report comment to moderator  
Reply With Quote
Unread 07-21-16, 02:16 PM  
Kylaraa
A Kobold Labourer
 
Kylaraa's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Would love an update to this one! Thanks as always Sir Katt!
Report comment to moderator  
Reply With Quote
Unread 07-21-16, 01:26 PM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 101
Uploads: 5
Originally Posted by lina22
Any change to get an update for legion? :P
I really hope so ...

A suggestion ... look this improve
BoE or BoP text
Last edited by samvx : 07-23-16 at 11:19 PM.
Report comment to moderator  
Reply With Quote
Unread 07-20-16, 02:04 PM  
lina22
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Any change to get an update for legion? :P
Report comment to moderator  
Reply With Quote
Unread 05-16-16, 11:35 AM  
ceylina
A Cyclonian

Forum posts: 41
File comments: 75
Uploads: 0
Looks like GetTradeSkillSelectionIndex has changed in legion to C_TradeSkillUI.GetTradeSkillLine

Full arguments are

local tradeSkillID, skillLineName, skillLineRank, skillLineMaxRank, skillLineModifier = C_TradeSkillUI.GetTradeSkillLine();

so in pipes\tradeskill.lua changing line 40 got sylevel working.
Last edited by ceylina : 05-16-16 at 11:36 AM.
Report comment to moderator  
Reply With Quote
Unread 01-25-16, 10:50 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 326
File comments: 1437
Uploads: 62
Re: Inventorian Support

Originally Posted by Ginji
Hello, is there any way to add support for Inventorian?
Please have the author of inventorian provide support.
Report comment to moderator  
Reply With Quote
Unread 01-25-16, 10:46 AM  
Ginji
A Kobold Labourer

Forum posts: 1
File comments: 12
Uploads: 0
Inventorian Support

Hello, is there any way to add support for Inventorian?
Report comment to moderator  
Reply With Quote
Unread 01-07-16, 12:12 PM  
Desikô
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
request for Quality coloring to match my oGlow borders
Report comment to moderator  
Reply With Quote
Unread 08-15-15, 07:15 PM  
pingumania
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 42
Uploads: 1
Originally Posted by darklimpan
Are there any chance this addon could be updated to work with patch 6.2's timewarped gear? As an example, my warlock's equipped staff show as an ilvl 115 item while outside a timewalking dungeon, while it it is infact ilvl 675 (Timewarped Warforged).
Hey there,

had the same problem but all you have to do is update the library. Here is the link http://www.wowace.com/addons/libitem...nfo-1-0/files/

Unfortunately Timewarped Warforged items are not supported yet.

Edit:
I actually found a fix for that problem. If you have the newest library do the following.
Chang this line, should be 177 in the Core.lua file
Lua Code:
  1. scantooltip=((s13==1) and s14==615) -- Really to be better tested
to
Lua Code:
  1. scantooltip=((s13==1 or s13==2) and s14==615) -- Really to be better tested

I left a comment for the author to update his library.
Last edited by pingumania : 08-21-15 at 03:55 AM.
Report comment to moderator  
Reply With Quote
Unread 07-03-15, 01:33 AM  
darklimpan
Premium Member
Premium Member

Forum posts: 0
File comments: 8
Uploads: 0
Are there any chance this addon could be updated to work with patch 6.2's timewarped gear? As an example, my warlock's equipped staff show as an ilvl 115 item while outside a timewalking dungeon, while it it is infact ilvl 675 (Timewarped Warforged).
Report comment to moderator  
Reply With Quote
Unread 12-18-14, 11:38 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 9
Originally Posted by suicidalkatt
Originally Posted by Xuerian
Finding it quite useful, thanks.

I second the request to filter trade goods (Or perhaps "Show on equipment only"), though. Itemlevels below 100 can still be meaningful.
This can be done with addons like Adibags which allow filtering of SyLevel within their addon.

Please check it out!
Whelp, I don't use adibags, but I am an author so I did it myself in about half a line. I also changed the relative ilvl gradient a bit.

Easy enough =)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: