Download
(16Kb)
Download
Updated: 07-25-18 05:24 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:07-25-18 05:24 PM
Created:10-18-11 11:40 AM
Downloads:14,207
Favorites:36
MD5:

AvgItemLvl  Popular! (More than 5000 hits)

Version: 1.5.0
by: Voyager [More]

AvgItemLvl 1.4.7

This addon adds the average item level of people's currently equipped gear to the tooltip.

It also adds your own equipped item level to your character stat sheet.
Your overall item level of all owned items has been moved into brackets.

1.5.0
- Updated for 8.0

1.4.7
- Fix issues with artifacts and offhand artifacts
- Also scan relics before scanning artifact itemlevel

1.4.4
- Updated for 7.0

1.4.3
- Updated for 6.2

1.4.2
- Devalue the Tournament PvP gear to give zero item levels

1.4.1
- Updated for 6.0

1.2.7
- Updated for 5.4.8
- New upgrade ids added

1.2.5
- No ilvl reduction for new heirloom weapons

1.2.2
- Updated for 5.4.0
- New upgrade ids added

1.2.1
- New upgrade ids added

1.2.0
- Updated for 5.3.0

1.1.7
- Updated for 5.2.0

1.1.4
- Detect Item Upgrades

1.1.2
- Updated for 5.1.0

1.1.1
- Restored ItemLevel reduction for Mists PvP weapons/off-hands and trinkets

1.0.9
- Fixed inspection UI opening on every mouseover
- Removed ItemLevel reduction for Mists PvP items (ilvl 450+, apparently the new PvP items don't sacrifice any PvE stats anymore, they'll still be noted in red font though)

1.0.8
- Updated for 5.0.4

1.0.7
- Fixed lua errors

1.0.4
- Fixed inspection for uncached and transmogrified items

1.0.2
- Updated for 4.3

1.0.1
- Fixed ItemLevel sometimes returning 0.00 when inspection fails, it will return the last cached value instead
- Added count of PvP items, if any have been detected
- ItemLevel reduction for PvP items is now 15% (down from 25%)
- PvP items should now be properly detected for all languages
Post A Reply Comment Options
Unread 10-03-16, 12:42 AM  
sethaluma
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Re: Truthguard- Incorrect AvgItemLvl

Originally Posted by sethaluma
Hi,
I love your addon, ...however it's reporting incorrect average item levels, at least for Protection paladin and windwalker monk with their dual-slot artifacts....
Nevermind, I fixed it myself by adding in the below code after "itemLevel = tonumber(iLvl);" to scan both slots and set the iLvl to the highest of the 2:

-- Start Dual-Artifact Modification
-- Check if the item is an artifact, ilvl 750, and not a two-hander.
if itemQuality == 6 and itemLevel == 750 and not twoHanderEquipped then
local slot2, link2, tempItemLink, tempItemLevel = 0;

-- Check which hand is being checked (if either), and get the link of the other hand.
if itemSlots[i] == "MainHandSlot" then
slot2 = GetInventorySlotInfo("SecondaryHandSlot");
link2 = GetInventoryItemLink(unit, slot2);
elseif itemSlots[i] == "SecondaryHandSlot" then
slot2 = GetInventorySlotInfo("MainHandSlot");
link2 = GetInventoryItemLink(unit, slot2);
end

if link2 then
_, tempItemLink, _, tempItemLevel, _, _, _, _, _ = GetItemInfo(link2);

if tempItemLevel then
AvgItemLvl.scanTooltip:ClearLines();
AvgItemLvl.scanTooltip:SetHyperlink(tempItemLink);
numLines = AvgItemLvl.scanTooltip:NumLines();
for l = 2, numLines do
text = _G["AvgItemLvl_ScanTipTextLeft" .. l]:GetText() or "";
tempILvl = strmatch(text, ITEM_LEVEL_PATTERN);
if tempILvl then
tempItemLevel = tonumber(tempILvl);
end
end

-- Set itemLevel to the highest value of the mainhand/offhand
if tempItemLevel > itemLevel then itemLevel = tempItemLevel; end
end
end
end
-- End Dual-Artifact Modification
Last edited by sethaluma : 10-03-16 at 02:24 AM.
Report comment to moderator  
Reply With Quote
Unread 09-27-16, 03:06 AM  
sethaluma
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Truthguard- Incorrect AvgItemLvl

Hi,
I love your addon, and have been using it for quite some time, however it's reporting incorrect average item levels, at least for Protection paladin and windwalker monk with their dual-slot artifacts.
It seems that AvgItemLvl calculates the average with the main artifact slot being correct, but the secondary slot being the starting 750.
E.g. my paladin's Truthguard (+Oathseeker) is 864, and should have an average ilvl of 844, however AvgItemLvl reports 837 as the item level due to reading the "Oathseaker" component at only 750.

This is what AvgItemLvl seems to "see":

Slot iLvl
Head 855
Neck 870
Shoulders 845
Back 835
Chest 840
Bracers 835
Hands 845
Belt 840
Legs 835
Feet 845
Ring1 840
Ring2 825
Trinket1 845
Trinket2 830
Weapon 750 <-- Incorrect- Should be 864 as well
Off-Hand 864 <-- "Truthguard" Artifact

Reported Average: 837.44
Actual Average: 844.56
Last edited by sethaluma : 09-27-16 at 04:48 AM.
Report comment to moderator  
Reply With Quote
Unread 07-25-16, 03:01 AM  
Reeb
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Broken in 7.0.3

Any chance of a update for 7.0.3?

Every other item level addon ive tried you have to click on the player to bring it up in the tooltip.

This was so slick as it just brought it up instantly on a curse over which is way more convenient.
Many thanks.

Message: Interface\AddOns\AvgItemLvl\AvgItemLvl.lua:566: attempt to concatenate a nil value
Time: 07/25/16 10:15:06
Count: 1
Stack: Interface\AddOns\AvgItemLvl\AvgItemLvl.lua:566: in function <Interface\AddOns\AvgItemLvl\AvgItemLvl.lua:561>
[C]: in function `PaperDollFrame_SetItemLevel'
Interface\FrameXML\PaperDollFrame.lua:1713: in function `PaperDollFrame_UpdateStats'
Interface\FrameXML\PaperDollFrame.lua:1337: in function <Interface\FrameXML\PaperDollFrame.lua:1333>
[C]: in function `Show'
Interface\FrameXML\UIParent.lua:2823: in function <Interface\FrameXML\UIParent.lua:2818>
[C]: in function `ShowUIPanel'
Interface\FrameXML\CharacterFrame.lua:21: in function `ToggleCharacter'
[string "TOGGLECHARACTER0"]:1: in function <[string "TOGGLECHARACTER0"]:1>

Locals: statFrame = <unnamed> {
0 = <userdata>
tooltip = "Item Level 674 (Equipped 669)"
Value = <unnamed> {
}
Background = <unnamed> {
}
tooltip2 = "The average item level of your equipment."
numericValue = 669
}
unit = "player"
guid = "1416-0636D158"
(*temporary) = <table> {
ContainerFrame5Item7 = ContainerFrame5Item7 {
}
DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
GetTrainerServiceTypeFilter = <function> defined =[C]:-1
UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
AchievementFrameStatsBG = AchievementFrameStatsBG {
}
SetTrainerServiceTypeFilter = <function> defined =[C]:-1
LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 736
EventTraceFrameButton7HideButton = EventTraceFrameButton7HideButton {
}
SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 395
BT4Button58 = BT4Button58 {
}
CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
}
InspectFrameTab1HighlightTexture = InspectFrameTab1HighlightTexture {
}
MultiBarLeftButton7 = MultiBarLeftButton7 {
}
AudioOptionsVoicePanelOutputDeviceDropDownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropDownButtonHighlightTexture {
}
LFGListInviteDialog_OnEvent = <function> defined @Interface\FrameXML\LFGList.lua:2237
MerchantItem5AltCurrencyFrameItem1Text = MerchantItem5AltCurrencyFrameItem1Text {
}
BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
CHAT_HEADER_SUFFIX = ": "
IsReferAFriendLinked = <function> defined =[C]:-1
AudioOptionsVoicePanelMicrophoneVolumeThumb = AudioOptionsVoicePanelMicrophoneVolumeThumb {
}
PaperDollTitlesPaneButton14BgTop = PaperDollTitlesPaneButton14BgTop {
}
InspectModelFrameControlFrameZoomInButtonBg = InspectModelFrameControlFrameZoomInButtonBg {
}
CALENDAR_RAID_RESET_DESCRIPTION = "%1$s resets at %2$s."
BT4Button22Flash = BT4Button22Flash {
}
HasZoneAbility = <function> defined @Interface\FrameXML\ZoneAbility.lua:137
MoneyFrame_OnEvent = <function> defined @Interface\FrameXML\MoneyFrame.lua:221
LE_GAME_ERR_RECRUIT_A_FRIEND_FAILED = 941
CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight {
}
LFGTeleport = <function> defined =[C]:-1
LE_GAME_ERR_ONLY_ONE_QUIVER = 32
INT_SPELL_DURATION_HOURS = "%d |4hour:hrs;"
ToggleEncounterJournal = <function> defined @Interface\FrameXML\UIParent.lua:788
LOSS_OF_CONTROL_DISPLAY_FEAR = "Feared"
Graphics_QualityText = Graphics_QualityText {
}
TalentMicroButtonAlertShadowTopLeft = TalentMicroButtonAlertShadowTopLeft {
}
MacroFrame = MacroFrame {
}
TitanPanelTITAN_SGTEYMButtonRightClickMenu = TitanPanelTITAN_SGTEYMButtonRightClickMenu {
}
CompactUnitFrameProfilesSaveButton = CompactUnitFrameProfilesSaveButton {
}
RaidGraphics_EnvironmentalDetailSlider = RaidGraphics_EnvironmentalDetailSlider {
}
EventTraceFrameTitleButton = EventTraceFrameTitleButton {
}
Is64BitClient = <function> defined =[C]:-1
ftgConfigItem2Val6 = ftgConfigItem2Val6 {
}
CompactRaidFrameManagerDisplayFrameFilterOption
Last edited by Reeb : 07-25-16 at 03:15 AM.
Report comment to moderator  
Reply With Quote
Unread 01-16-15, 07:17 PM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
Bug with group members

In Arena the Item level at your Character Sheet dosen't update:
With addon bottom and Without addon top



Is it possible track item level of Group/Raidmembers that are not in range? Because I can inspect there gear but the addon dosen't seam to be able to collect the data from it.

Do you even plan to update this addon in the future?
The Discription for PvP gear seams to be wrong for me it dosen't lower GS if I have PvP items equipted, but thats GOOD because currently some 660 pvp gear is because of the Stats even better then 670 Heroic gear.
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Last edited by Tonyleila : 01-16-15 at 07:34 PM.
Report comment to moderator  
Reply With Quote
Unread 09-11-14, 03:33 PM  
LiNK2088
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 246
Uploads: 1
I keep getting this error when I go in combat:
Code:
Message: Interface\AddOns\AvgItemLvl\AvgItemLvl.lua:126: Usage: UnitName("unit")
Time: 09/11/14 23:32:51
Count: 1
Stack: [C]: ?
Interface\AddOns\AvgItemLvl\AvgItemLvl.lua:126: in function <Interface\AddOns\AvgItemLvl\AvgItemLvl.lua:122>
Interface\AddOns\AvgItemLvl\AvgItemLvl.lua:533: in function <Interface\AddOns\AvgItemLvl\AvgItemLvl.lua:528>
[C]: ?

Locals: (*temporary) = <table> {
 class = "DRUID"
 name = "Sylvona"
 unit = "player"
}
Sylvona is my chars name
Report comment to moderator  
Reply With Quote
Unread 06-06-14, 03:22 PM  
coani
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 40
Uploads: 3
Originally Posted by Caramirdan
Originally Posted by goldman1337
why does this addon devaluate pvp ilvl? seems like an awful idea nowadays...

really would love to use it but the whole pvp ilvl things bothers me too much
I like AiL for looking at PvE gear best. My understanding of it noting PvP iLevels is that in general, WoW makes gear levels equivalent to all the stuff a piece of gear has on it, and PvP gear has some stuff on it that is of no use in PvE. In other words, PvP gear level is best within PvP, and not as good when used for non-PvP activity. So, downrating PvP gear outside BGs/arenas is great.
Completely wrong today.
PVP gear *used* to have part of the item budget set aside for pvp stats, but this is NOT the case any more.
Reducing ilvl of pvp gear today is just flat out dumb & stupid.
Report comment to moderator  
Reply With Quote
Unread 05-23-14, 11:01 AM  
Caramirdan
A Kobold Labourer
 
Caramirdan's Avatar

Forum posts: 0
File comments: 47
Uploads: 0
Originally Posted by goldman1337
why does this addon devaluate pvp ilvl? seems like an awful idea nowadays...

really would love to use it but the whole pvp ilvl things bothers me too much
I like AiL for looking at PvE gear best. My understanding of it noting PvP iLevels is that in general, WoW makes gear levels equivalent to all the stuff a piece of gear has on it, and PvP gear has some stuff on it that is of no use in PvE. In other words, PvP gear level is best within PvP, and not as good when used for non-PvP activity. So, downrating PvP gear outside BGs/arenas is great.
Last edited by Caramirdan : 05-23-14 at 11:03 AM.
Report comment to moderator  
Reply With Quote
Unread 05-22-14, 06:15 PM  
goldman1337
A Murloc Raider

Forum posts: 6
File comments: 39
Uploads: 0
why does this addon devaluate pvp ilvl? seems like an awful idea nowadays...

really would love to use it but the whole pvp ilvl things bothers me too much
Report comment to moderator  
Reply With Quote
Unread 05-20-14, 01:54 PM  
kaustos
A Kobold Labourer
 
kaustos's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 42
Uploads: 1
Needs update for 5.4.8 extra upgrades.
Report comment to moderator  
Reply With Quote
Unread 09-24-13, 12:55 AM  
RLD
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 53
Uploads: 1
Anyway to get this updated

I'm not very good at hacking the code to make corrections. I imagine the Epic/Legendary cloak at 600/608 ilvl is what broke your code.

Currently as of 5.4 the addon is erroneous on ilvl. It shows 535.40/538.59 in inspection window and 535.40 in tooltip. My armory and AskMrRobot shows 538. Totaling up the items on the inspection page calculate to 538.59.

Could we get a fix please?

Ackl of Tanaris and Keep What You Kill
Report comment to moderator  
Reply With Quote
Unread 05-27-13, 07:51 AM  
sethaluma
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Originally Posted by sethaluma
I think that this addon is not taking item upgrades into account. My ilvl is 515, but it displays at 512. Prior to the upgrades the ilvl was correct.

Also, after logging in, it says that my ilvl is 0.00. After a /reload it works out the ilvl.
Thanks, the item upgrades now count in your calculations .
I still have the 0.00/515.43 ilvl bug on login, though. Not sure what causes that, but it works after a reload/hearth/etc. Might just be an incompatibility with one of the other hundred addons I have, lol.

Thanks for the addon
Report comment to moderator  
Reply With Quote
Unread 05-25-13, 11:56 PM  
sethaluma
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
I think that this addon is not taking item upgrades into account. My ilvl is 515, but it displays at 512. Prior to the upgrades the ilvl was correct.

Also, after logging in, it says that my ilvl is 0.00. After a /reload it works out the ilvl.
Report comment to moderator  
Reply With Quote
Unread 03-12-13, 02:53 AM  
zelinlo
A Kobold Labourer
 
zelinlo's Avatar

Forum posts: 0
File comments: 4
Uploads: 0
Any update ?
Report comment to moderator  
Reply With Quote
Unread 12-08-12, 02:31 AM  
sonix
A Defias Bandit
 
sonix's Avatar

Forum posts: 2
File comments: 22
Uploads: 0
coloring

please add coloring based on itemlevel
Report comment to moderator  
Reply With Quote
Unread 10-26-12, 04:57 AM  
DeathMaster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 4
Uploads: 1
Re: inspect window bug

I have the same problem as Olena. It's really really annoying, and is definitely caused by AvgIlvl.
I've loved this addon, but.. if this doesn't get fixed soon I think I'll start looking at the alternatives.


Edit: Seems fixed now. Thanks for the update. Really, thanks a ton. Keep up the good work!
Last edited by DeathMaster : 10-27-12 at 06:44 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: