Download
(20Kb)
Download
Updated: 09-19-09 01:42 PM
Pictures
File Info
Updated:09-19-09 01:42 PM
Created:07-11-09 08:27 PM
Downloads:9,732
Favorites:57
MD5:

AvgItemLevel  Popular! (More than 5000 hits)

Version: v2.0-Release
by: PProvost [More]

Overview

NOTE: This addon is no longer being maintained. The original purpose was to assist with creating groups for vehicle fights like Flame Leviathan, etc. It was never intended to be used for evaluating gear or group fitness. For that, I would recommend ElitistGroup. If raid vehicle fights make a comeback, this addon may be revived.

AvgItemLevel is a World of Warcraft addon that lets you see the effective average Item Level (iLevel) of your currently equipped gear. On the bottom right of the Character and Inspect frames you can see the average for yourself or for your inspect target by placing the mouse over the helmet icon. A LibDataBroker launcher is also included that behaves the same as the character pane icon.

The tooltip displays the following information:

  • Average equipped iLevel for all equipped gear
  • Effective Vehicle iLevel (see below)
  • Approximate Vehicle Health bonus
  • Best Available Vehicle Set
  • Approximate Vehicle Health Bonus for Best Available set

If you are setting up raid assignments, however, that can get a bit tedious. To assist with that, you can click on the helmet icon or use the /avgilevel command to bring up the party/raid report window. This window shows the Effective Vehicle iLevel for your raid or party. If you have a target selected it will also show your current target. To report the averages to your group, simply click the “Print” button at the top of the report frame.

To automatically equip the highest iLevel piece for the relevant slots, Shift-Click the label on the character frame or on the LDB launcher.

No configuration required, just install and go.

How the Effective Vehicle iLevel is calculated

This value is calculated using the current scaling for iLevel on vehicles like those used in Flame Leviathan and Wintergrasp. This calculation could change in the future.
  • 25-man scaling is same as in 10-man
  • Shirt, tabard, offhand, and ranged/relic slots do not affect vehicle scaling and are ignored in the calculation
  • 13 levels are deducted for each reduction in quality. Therefore an iLevel 200 blue is equivalent to an iLevel 187 and an iLevel 200 green is treated as iLevel 174
  • An empty slot is treated as iLevel 0

Additionally the following untested assumptions are made:
  • Artifact/heirloom (yellow) and legendary (orange) are the same as Epic (purple).
  • Common (white) and Poor (gray) are 0

Impact of Averge Item Level on Vehicle Health
  • Taking the average iLevel of your gear using the above algorithm and subtracting 170 will give you the aproximate percent increase to the health of your vehicle.
  • Thus: All iLevel 200 epic gear => 200-170 => 30% increase in vehicle hp. All 226 would be a 56% increase.

References
http://mmo-worlds.blogspot.com/2009/03/world-of-warcraft-how-flame-leviathan.html

tag v2.0-Release
00ac98878df084e53d7942e500bd54eb3f67b562
PProvost <[email protected]>
2009-09-19 13:20:26 -0600

Tagging v2.0-Release

--------------------

PProvost:
- Moved the report panel buttons a bit to make room for column headers
- Fixed typo in LDB object key
- Refactoring and fixed target reporting
- Added current target to report panel
- Renamed UI Panel file
- Final reworking of tooltip code
- Refactored the Report Show login into the main addon table
- First reworking to new tooltip based display
- Moved the label to the top near the character model.

--------------------

tag v2.0-beta1
c32fe144158b651aa7863a4f84ddebbb1b69df80
PProvost <[email protected]>
2009-09-12 13:28:57 -0600

Tagging as v2.0-beta1

--------------------

PProvost:
- Final reworking of tooltip code
- Refactored the Report Show login into the main addon table
- First reworking to new tooltip based display

--------------------

tag v1.1-Release
557992df810f065686d1d4c3e1be38f2011b814b
PProvost <[email protected]>
2009-08-31 19:50:07 -0600

Tagging v1.1-Release

--------------------

PProvost:
- Edit to readme
- Minor update to readme
- Updated readme for Equip Best feature
- Removed redundant code from AvgItemLevel-UI.lua
- Added click on the character frame to auto-equip
- Updated to use new EquipmentManager action stuff
- Commit before switching to EquipmentManager functions
- Renamed AvgItemLevelGroup.lua to AvgItemLevel-UI.lua
- Added LibItemEquip for equipping sets
- Added LibItemEquip and AceTimer
- Fixed a bug that was mis-selecting bag stuff
- Rewrote algorithm for equipping max ilevel set
- Moved libs into subfolder
- Initial algorothm for auto-equip complete

--------------------

tag v1.0-Release
924d83e4ff53a8891af613320b3020777b2b08c8
PProvost <[email protected]>
2009-08-22 20:27:36 -0600

Tagging v1.0-Release

--------------------

PProvost:
- Report bug fix
- Added sorting to the list
- Updated readme file
- Added "Report" feature
- Updated TOC
- Fixed intermittend error on load.
- Added mention of the LDB launcher in the readme
- Fixed bug when displaying out-of-range people in list
- Added gradient coloring to the ilevel report
- Fixed type in README
- Updated README file with info about new report slash command
- Added party/group ItemLevel reporting
- Yet another shortening of the label to make it fit for classes w/ ammo
slots
- Added auto-gen version tag to TOC
- Shortened the string label to fit next to ammo slot
- Typo
- Edit to README
- Typo in README
- Added /inspect support
- Updated to conform to current scaling for non-epic items
- Basic "player" implementation copied over from my hack script. Seems to
work so far.
- Initial addon structure... no code yet
Post A Reply Comment Options
Unread 07-23-09, 12:44 PM  
weedsmart
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
what addon is that that makes ur epic gear show a purple border?
Report comment to moderator  
Reply With Quote
Unread 07-26-09, 04:05 AM  
Prototype
A Kobold Labourer
 
Prototype's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 84
Uploads: 1
Originally posted by weedsmart
what addon is that that makes ur epic gear show a purple border?
Have a look at "Fizzle"

Randomly i get some Error with AVGItem, i'wll copy paste next time the error message
Report comment to moderator  
Reply With Quote
Unread 07-26-09, 04:37 PM  
Prototype
A Kobold Labourer
 
Prototype's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 84
Uploads: 1
the addons works, but i get following error sporadicly:

Date: 2009-07-27 00:31:19
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\AvgItemLevel\AvgItemLevel.lua line 69:
attempt to compare nil with number
Debug:
[C]: ?
AvgItemLevel\AvgItemLevel.lua:69: Calculate()
AvgItemLevel\AvgItemLevel.lua:50:
AvgItemLevel\AvgItemLevel.lua:49
(tail call): ?
Report comment to moderator  
Reply With Quote
Unread 07-26-09, 08:23 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 23
Originally posted by weedsmart
what addon is that that makes ur epic gear show a purple border?
I use oGlow by haste.

Link: http://www.wowinterface.com/download...142-oGlow.html
Report comment to moderator  
Reply With Quote
Unread 07-26-09, 08:26 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 23
Originally posted by Prototype
the addons works, but i get following error sporadicly:
Can you try beta5 and see if it still happens?

If it does happen, can you tell me:
  • When?
  • Were you in a raid or party?
  • Yourself or the inspect frame? Who were you inspecting?
Thanks!
Report comment to moderator  
Reply With Quote
Unread 07-28-09, 03:36 PM  
Prototype
A Kobold Labourer
 
Prototype's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 84
Uploads: 1
Originally posted by PProvost
Can you try beta5 and see if it still happens?

If it does happen, can you tell me:
  • When?
  • Were you in a raid or party?
  • Yourself or the inspect frame? Who were you inspecting?
Thanks!
It was NonRaid/Party. No Dialog opened, no inspecting. But now i can't tell you exactly wich situation. If i know more, i let you know.
Report comment to moderator  
Reply With Quote
Unread 07-28-09, 10:48 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
AvgItemLevel v1.0-beta6 (upgrade from prior version), USEnglish client/server, WoW 3.1.3 live. Click the LDB display (using StatBlockCore) to open the frame in a 5-man party. Have either yourself targeted or noone targeted. Click the Refresh button and the following two errors are thrown up at the same time; noone appears in the frame:

["message"] = "AvgItemLevel-v1.0-beta6\\AvgItemLevelGroup.lua:110: attempt to compare string with number\n<in C code>: in function `Show'\nInterface\\FrameXML\\UIParent.lua:1542: in function `SetUIPanel':\nInterface\\FrameXML\\UIParent.lua:1387: in function `ShowUIPanel':\nInterface\\FrameXML\\UIParent.lua:1280: in function <Interface\\FrameXML\\UIParent.lua:1276>:\n<in C code>: in function `SetAttribute'\nInterface\\FrameXML\\UIParent.lua:1899: in function `ShowUIPanel':\nAvgItemLevel-v1.0-beta6\\AvgItemLevelGroup.lua:153: in function `OnClick'\nStatBlockCore-2.6\\StatBlockCore.lua:598: in function <Interface\\AddOns\\StatBlockCore\\StatBlockCore.lua:596>\n\n ---",
["type"] = "error",
["session"] = 1009,
["counter"] = 2,


["message"] = "AvgItemLevel-v1.0-beta6\\AvgItemLevelGroup.lua:110: attempt to compare string with number\n\n ---",
["type"] = "error",
["session"] = 1009,
["counter"] = 2,

Errors repeat every time you click the Refresh button.
Last edited by Zidomo : 07-28-09 at 11:01 PM.
Report comment to moderator  
Reply With Quote
Unread 07-29-09, 04:26 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 23
Originally posted by Zidomo
AvgItemLevel v1.0-beta6 (upgrade from prior version), USEnglish client/server, WoW 3.1.3 live. Click the LDB display (using StatBlockCore) to open the frame in a 5-man party. Have either yourself targeted or noone targeted. Click the Refresh button and the following two errors are thrown up at the same time; noone appears in the frame:

<snip/>
Thanks! I'll get on this right away.

(Great bug report by the way. I wish more people did that extra legwork. Much appreciated.)

UPDATE: I've got it. Dumb mistake for when one of your party is out of range of you. Will be fixed in the next drop later tonight.

UPDATE2: Until I get a drop pushed, you should be able to replace lines 109-112 with this:

Code:
	for _,avg in pairs(averages) do
		if tonumber(avg) and (avg < min) then min = avg end
		if tonumber(avg) and (avg > max) then max = avg end
	end
Disclaimer: This was dry-coded and has not been tested in game yet.
Last edited by PProvost : 07-29-09 at 04:49 PM.
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 01:57 AM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 23
Okay there were a few bugs in the display of out of range people after I added the new color gradient. That is what you were seeing in beta6.

Try beta7 and let me know if it is having any issues.

Thanks again!
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 03:38 PM  
Ookami.kun
A Cliff Giant
 
Ookami.kun's Avatar

Forum posts: 79
File comments: 238
Uploads: 0
Downloaded the newest version to try out because the mod sounded interesting. I logged in today and got the following error:

Code:
Date: 2009-07-30 17:33:27
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\AvgItemLevel\AvgItemLevel.lua line 69:
   attempt to compare nil with number
Debug:
   [C]: ?
   AvgItemLevel\AvgItemLevel.lua:69: CalculateAverage()
   AvgItemLevel\AvgItemLevel.lua:77: CalculateAndShow()
   AvgItemLevel\AvgItemLevel.lua:50:
      AvgItemLevel\AvgItemLevel.lua:49
   (tail call): ?
AddOns:
__________________
Report comment to moderator  
Reply With Quote
Unread 07-30-09, 08:56 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 23
Originally posted by Ookami.kun
Downloaded the newest version to try out because the mod sounded interesting. I logged in today and got the following error:
Can you please check your version (in the TOC file) and confirm that you have 1.0-beta7?

Thanks!
Report comment to moderator  
Reply With Quote
Unread 08-01-09, 03:33 AM  
Prototype
A Kobold Labourer
 
Prototype's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 84
Uploads: 1
Me too, yesterday i logged in and get the same error like Ookami.kun. Version 1.0-beta7. Maybe the Item values are sometimes not completly loaded, in the first few seconds after the login process. A blizzard thing..if it's the "fault" inserting a simple delay for calculation could be help.
Last edited by Prototype : 08-01-09 at 03:34 AM.
Report comment to moderator  
Reply With Quote
Unread 08-01-09, 10:16 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 23
Just uploaded v1.0-beta8 which has yet another check for safety. Hopefully this stops that intermittent startup error.
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 02:07 AM  
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar

Forum posts: 341
File comments: 80
Uploads: 0
downloaded this about a week ago and told a few of the raid leaders I raid with about it and at least one has checked it out but they had a neat idea and upon hearing it I rather think its a good idea as well but it would be nice if there was a report to raid chat button in the summary window of the raid's gear.

Anyways thanks for the addon it's a great little mod.
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 06:33 PM  
Prototype
A Kobold Labourer
 
Prototype's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 84
Uploads: 1
yes ist a nice addon, al lot of thanks too. Now no errors ocured with beta8.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: