Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(1 Kb)
Download
Updated: 02-20-11 03:44 PM
Pictures
File Info
Updated:02-20-11 03:44 PM
Created:02-01-11 10:49 AM
Downloads:2,333
Favorites:18
MD5:

Current ilvl

Version: 1.3
by: IglooDragon [More]

Blizzard provide a handy ilvl display in your character window. Useful for knowing if you can get into HC's or even just how well your gear is coming along. It has one flaw though: it counts what is in your bags as well as what you are wearing.
This addon allows you to answer those all important questions

  • "Is my tank gear as good as my dps?"
  • "Is my PvE as good as my PvP?"
  • "Just how much does fishing equipment hurt my ilvl?"
The original blizzard figure is relegated to a number in brackets, with the other number being the ilvl of the currently worn equipment. The screenshot probably explains it better than I can! :P

You can also get the addon to report to the chat window as well using
/currentilvl or /cilvl

Version 1.3
  • Now hooking paperdoll function rather than catching updates (thanks to ballagarba for locating the function & providing example code) - huge performance increase and inherently prevents bugs like the one fixed by v1.2
  • Simplified the mainhand+offhand vs twohand code

Version 1.2
  • Fixed cilvl incorrectly displaying on rage/energy line for feral druids in shapeshift form

Version 1.1
  • Improved performance of ilvl re-calculation
  • Tidied up toc details
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
1.2
2kB
IglooDragon
02-15-11 01:49 PM
1.1
2kB
IglooDragon
02-05-11 05:32 AM
1.0
4kB
IglooDragon
02-01-11 10:49 AM


Post A Reply Comment Options
Unread 02-28-11, 05:12 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 376
Uploads: 0
Originally posted by Kandorr
Thank you for this mod, I imagine Blizz will add this functionality officially some day.
Probably, seeing as they already have it on the Armory.

Originally posted by Kandorr
Also, nice mod-community co-op going on here, too.
Tihi


@IglooDragon:
By the way, I improved my two-hand weapon detection code a bit, here's the diff (or complete file).

This is basically what you want instead of checking if an off-hand is equipped:
Code:
local itemLink = GetInventoryItemLink('player', INVSLOT_MAINHAND)
local equipSlot = select(9, GetItemInfo(itemLink))

if (equipSlot == 'INVTYPE_2HWEAPON') then
    hasTwoHander = true
end
Last edited by ballagarba : 02-28-11 at 06:48 PM.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 02-25-11, 08:37 AM  
Kandorr
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Thank you for this mod, I imagine Blizz will add this functionality officially some day.

Also, nice mod-community co-op going on here, too.

Again, thanks for this one.
Kandorr is offline Report comment to moderator  
Reply With Quote
Unread 02-17-11, 09:56 AM  
IglooDragon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Originally posted by ballagarba
You are more than welcome to steal the entire code and use it however you want No need for credits or anything.
Ooh cool, thanks I'll do an update sometime today/tomorrow then.
IglooDragon is offline Report comment to moderator  
Reply With Quote
Unread 02-17-11, 02:40 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 376
Uploads: 0
Originally posted by IglooDragon
Ooh nice, that was my original plan but I couldn't find the function anywhere! Much better way than how my mod does it :P
You are more than welcome to steal the entire code and use it however you want No need for credits or anything.
Last edited by ballagarba : 02-17-11 at 02:44 AM.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 02-16-11, 04:25 PM  
IglooDragon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Originally posted by ballagarba
Hey IglooDragon. Great addon, got inspired by it and created my own solution. I decided to hook PaperDollFrame_SetItemLevel(...) instead of ToggleCharacter like you did, that way I don't have to use an OnUpdate script.

Here's my script, tell me what you think: currentilvl.lua
Ooh nice, that was my original plan but I couldn't find the function anywhere! Much better way than how my mod does it :P
IglooDragon is offline Report comment to moderator  
Reply With Quote
Unread 02-16-11, 02:33 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 376
Uploads: 0
Hey IglooDragon. Great addon, got inspired by it and created my own solution. I decided to hook PaperDollFrame_SetItemLevel(...) instead of ToggleCharacter like you did, that way I don't have to use an OnUpdate script.

Here's my script, tell me what you think: currentilvl.lua
Last edited by ballagarba : 02-16-11 at 03:52 PM.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 02-05-11, 07:45 PM  
IglooDragon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Re: Which is Which?

Originally posted by ShadowProwler420
This is not entirely true, though.....as you can have stuff in your bags that will lower your iLvl, too!

This is the real reason I was asking for clarification.
The blizzard ilvl isn't of 'everything' as such, it picks the highest ilvl 16 (or 17 with mainhand/offhand rather than 2-hander) pieces of gear and uses them to work out the ilvl. For example it might pick to use a high ilvl tanking head, some pvp gloves and a dps trinket or some other bizarre combination. It gives the highest possible average ilvl you could achieve given the items you have available. Lower ilvl stuff is ignored, even if you're wearing it (hence this addon :P)
IglooDragon is offline Report comment to moderator  
Reply With Quote
Unread 02-05-11, 01:17 PM  
ShadowProwler420
A Flamescale Wyrmkin
 
ShadowProwler420's Avatar

Forum posts: 116
File comments: 13
Uploads: 0
Re: Re: Which is Which?

Originally posted by Tonyleila
it's hard to see this if both item lvls are the same but if not the higher one has to be the value that displays your gear + everything in your bags

so: currently equipped= 312 ..... (343) = bagitem lvl
This is not entirely true, though.....as you can have stuff in your bags that will lower your iLvl, too!

This is the real reason I was asking for clarification.
__________________

ShadowProwler420 is offline Report comment to moderator  
Reply With Quote
Unread 02-01-11, 05:13 PM  
IglooDragon
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Re: Re: Which is Which?

Yep, the one in the brackets is the original blizzard (everything) ilvl. Should probably have made that clearer in the screenshot :P

Originally posted by Tonyleila
it's hard to see this if both item lvls are the same but if not the higher one has to be the value that displays your gear + everything in your bags

so: currently equipped= 312 ..... (343) = bagitem lvl
IglooDragon is offline Report comment to moderator  
Reply With Quote
Unread 02-01-11, 02:30 PM  
Tonyleila
A Scalebane Royal Guard
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 1509
Uploads: 35
Re: Which is Which?

Originally posted by ShadowProwler420
In the screenshot, you circle the two Item Level values this addon displays? But which value means what (currently equipped gear vs your gear and everything in your bags)?
it's hard to see this if both item lvls are the same but if not the higher one has to be the value that displays your gear + everything in your bags

so: currently equipped= 312 ..... (343) = bagitem lvl
Last edited by Tonyleila : 02-01-11 at 02:31 PM.
Tonyleila is offline Report comment to moderator  
Reply With Quote
Unread 02-01-11, 11:55 AM  
ShadowProwler420
A Flamescale Wyrmkin
 
ShadowProwler420's Avatar

Forum posts: 116
File comments: 13
Uploads: 0
Question Which is Which?

In the screenshot, you circle the two Item Level values this addon displays? But which value means what (currently equipped gear vs your gear and everything in your bags)?
__________________

ShadowProwler420 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: