Category: ToolTip
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Ne0nguy's Portal Bug Reports Feature Requests
Author:
Version:
3.2.2.19
Date:
11-13-2009 02:25 PM
Size:
7.21 Kb
Downloads:
5,553
Favorites:
132
MD5:
Pictures
Click to enlarge
Item Linked in Chat
Click to enlarge
Positive (green) SwapScore shows the item in the main tooltip is an upgrade for this item.
Doodles by Melanie
StatScore   Popular! (More than 5000 hits)


About StatScore:
All item comparison addons provide you with a different way of measuring gear upgrades. Most of which will tell you that an epic that just dropped is a huge upgrade for you. But after taking a second look at it you find that even though it has a higher item level, it does NOT have the right stats for your paticular class/spec.

StatScore is different. It uses weight tables to analyze which stats are best for you, and which aren't. Using the same calculation methods that Wowhead uses, it will take each stat on the currently shown item, multiply it by its weight value (specific for your class/spec) and add it for its total value. It is then normalized by deviding by the total value of all weights. After all the math is done StatScore will insert the value at the bottom of any equipable item tooltip along with a comparison or off-spec value if applicable.

All you have to do is type /StatScore and select the profile that best describes your character and StatScore will do the rest.

Confused by the math? See the screenshots to the right to see how the profiles affect each class's score or Read Wowheads FAQ about Stat Weighting.
Current Features:
  • Includes 29 Preset stat profiles that are used in Wowheads own Stat Comparison Tool
  • Adds the Stat Score value to equipable item tooltips
  • Displays a 'Swap Score' when comparing items, showing an upgrade value
  • Stat Profiles are saved across sessions so you can set it and forget it
  • Automatically switches between set profile when activating Dual-Spec
  • Shows Offspec StatScore
  • Externally Available Functions (for developer use)

Requirements:
  • Must select a profile before StatScore can begin calculating

Slash Commands:
  • /StatScore (opens the options panel, where you can select a stat profile)
  • /StatScore dump (shows how the last item's StatScore was calculated)
  • /StatScore dump raw (shows how the last item's StatScore was calculated with the original variable names)
  • /StatScore reset (resets all settings)

Frequently Asked Questions:
StatScore - © Ryan West (ne0nguy.com)
  Change Log - StatScore
Version 3.2.2.19 (11/13/09)
- Modified the tooltip output again
- StatScore.GetProfile() will now also return the shortened profile name

Version 3.2.2.18 (11/12/09)
- Increased the number of profiles (rogues now have 3 profiles, up from 1)
- Updated all stat weights to match Wowhead's Item Comparison Tool
- Modified the tooltip output again

NOTE: Due to the addition of profiles, updating from 3.2.2 may require you to reset your profile. (/StatScore Reset)
NOTE: If you see any inconsistencies between in-game data and Wowhead data please leave a comment. I don't play often enough to catch these bugs myself anymore.

Version 3.2.2.17 (10/24/09)
- Updated clarity of /StatScore Dump
- Rearranged the tooltip output to make it easier to read
- Added FAQ: How can I change the default weights?

Version 3.2.2.16 (10/15/09)
- Fixed a bug causing the current profile in the interface options to display as a number, rather than text

Version 3.2.0.15 (9/9/09)
- Attempt to fix a Lua error that occurs when a comparison tooltip happens to load before the main tooltip

Version 3.2.0.14 (9/2/09)
- Fixed an error in handling offspec swapscores

Version 3.2.0.13 (8/29/09)
- Fixed a bug with the last version causing an error on login

Version 3.2.0.12 (8/29/09)
- Fixed a bug causing Swap Scores to display a negative zero (-0)
- Now compatible with AtlasLoot

Version 3.2.0.11 (8/23/09)
- Fixed Attack Power calculations for Druid - Feral (Tanking)

Version 3.2.0.10 (8/23/09)
- Added code preparing StatScore to compare 2 items against 1 (2-hander vs mainhand-offhand)
- Fixed Armor Penetration Rating calculations
- Fixed Agility calculations
- Fixed Attack Power calculations for druid profiles
- Added "/StatScore Dump Raw" command (for testing)

Version 3.2.0.9 (8/15/09)
- Added support for comparison scores against chat-linked items

Version 3.2.0.8 (8/10/09)
- Changed "/StatScore Debug" to "/StatScore Dump"
- "/StatScore Dump" will now fully display all calculations used to obtain the last items score

Version 3.2.0.7 (8/4/09)
- Fixed an issue where StatScore would not load on live realms

Version 3.2.0.6 (8/4/09)
- Compatible with Patch 3.2
- New way of getting stat values (will now work for languages other than english)
- Shows differences in stat scores for comparison tooltips
- Removed iLevel display (now that it is a feature included in the Interface > Display Options)
- Added the options to display your secondary profile's score (offspec) or hide the scores altogether
- API avaiable to those who want to add StatScores to their own addons

Version 3.1.2.5 (5/24/09)
- Fixed an error that occured upon putting your mouse over an item when you have no profile loaded

Version 3.1.2.4 (5/21/09)
- No longer attempts to load profiles that were saved from other characters

Version 3.1.2.3 (5/20/09)
- Fixed a spelling error
- StatScore now correctly switches profiles when changing between dual specs

Version 3.1.2.2 (05/19/09)
- Corrected an issue with loading saved profiles

Version 3.1.2.1 (05/19/09)
- First Release
  Optional Files - StatScore
Sorry, there are currently no optional files available.
  Archived Versions - StatScore
File Name
Version
Size
Author
Date
3.2.2.17
5kB
Ne0nguy
10-24-2009 12:03 PM
  Comments - StatScore
Post A Reply Comment Options
Old 05-22-2009, 11:25 PM  
Farook
A Molten Giant
 
Farook's Avatar

Forum posts: 558
File comments: 93
Uploads: 0
Even after I've selected the (right) profile for my current char (Ret Pally), I see no numbers in the tooltips, as you can see in the following screenshot:



Any ideas why its always showing me "0" ???
__________________
Farook is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-22-2009, 11:02 PM  
Ne0nguy
Portman of Greymane
 
Ne0nguy's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 149
Uploads: 17
Quote:
Originally Posted by BronxMp
Arms Warrior support?
StatScore uses the preset profiles used in Wowhead's Item Comparison Tool.
Currently it is limited to PvE and for warriors, its just Fury (DPS) or Protection (Tanking).
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-21-2009, 10:44 PM  
Ne0nguy
Portman of Greymane
 
Ne0nguy's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 149
Uploads: 17
Version 3.1.2.4 (5/21/09)

Version 3.1.2.4 (5/21/09)
- Will no longer attempt to load profiles that were saved from other characters
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-20-2009, 11:12 PM  
Farook
A Molten Giant
 
Farook's Avatar

Forum posts: 558
File comments: 93
Uploads: 0
Quote:
Originally posted by Æxò
Should you add further localizations sometimes, I'd be happy to do the French one for you.
I'll try the same for german clients when time comes.
__________________
Farook is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-20-2009, 07:52 PM  
Ne0nguy
Portman of Greymane
 
Ne0nguy's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 149
Uploads: 17
Quote:
Originally posted by Truman
How about russian support?
At this point StatScore hasn't even been in existance for 2 full days yet. I am still in the process of making sure it works correctly for English.

I am putting the possiblility for localization on my to-do list.
If anyone would like to provide the translations needed when that time comes I will be happy to implement it and give them credit for their work.
However, given the fact that I am an English only speaker. I am not 'supporting' any additional languages.

Last edited by Ne0nguy : 05-20-2009 at 07:59 PM.
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-20-2009, 02:40 PM  
Truman
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
How about russian support?
Truman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-20-2009, 11:57 AM  
Ne0nguy
Portman of Greymane
 
Ne0nguy's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 149
Uploads: 17
Re: Re: Version 3.1.2.3 (5/20/09)

Quote:
Originally posted by Æxò
I've seen that in the LUA.

Is there specific places I have to change in the LUA to make it work in French apart the chunck of code beginning with (.+) Armor ?
For the core functionality you would have to modify:
StatScoreDB.weights (lines 6-34)
StatScore.Parse() (lines 380-406)
StatScore.AddStat() (lines 412-423)
StatScore.Calculate() (lines 425-446)

Parse() reads the text in the tooltip and attempts to recognise the stats of the item.
AddStat() takes what was found in the parse and adds the stats to a temporary database that looks similar to StatScoreDB.weights (indexed by the lowercase version of the stat name without spaces)
StatScore.Calculate() compares the two databases and adds the result to the tooltip.

If you do manage to get a french version working all I ask is that you keep the readme in tact and only host it here.
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-20-2009, 11:30 AM  
Æxò
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 29
Uploads: 1
Re: Version 3.1.2.3 (5/20/09)

Quote:
I'd like to add localizations in the future, but I will have to make some major changes to make it more locale friendly. So it may be a while before I can take you up on that offer. [/b]
I've seen that in the LUA.

Is there specific places I have to change in the LUA to make it work in French apart the chunck of code beginning with (.+) Armor ?
Æxò is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-20-2009, 11:18 AM  
Ne0nguy
Portman of Greymane
 
Ne0nguy's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 149
Uploads: 17
Version 3.1.2.3 (5/20/09)

Version 3.1.2.3 (5/20/09)
- Fixed a spelling error
- StatScore now correctly switches profiles when changing between dual specs

Quote:
Originally posted by Æxò
Too bad it isn't localized :/

Should you add further localizations sometimes, I'd be happy to do the French one for you: the idea is great.
I'd like to add localizations in the future, but I will have to make some major changes to make it more locale friendly. So it may be a while before I can take you up on that offer.
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-20-2009, 05:28 AM  
Æxò
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 29
Uploads: 1
Too bad it isn't localized :/

Should you add further localizations sometimes, I'd be happy to do the French one for you: the idea is great.

Last edited by Æxò : 05-20-2009 at 05:28 AM.
Æxò is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-19-2009, 11:26 PM  
Cala
A Murloc Raider
 
Cala's Avatar

Forum posts: 6
File comments: 25
Uploads: 1
Quote:
Originally posted by Ne0nguy
When you select your stat profile from the interface options, it saves it to your current class/spec combo. So if you were to switch between dual-spec it should automatically adjust (provided that you had selected a different profile for each spec).
Odd, when I just tested it, it stayed to what I had originally selected. (eg, Priest - Disc, and when I switched specs, I turned it to Priest - Shadow, then specced back, and it stayed on Shadow.)
Cala is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-19-2009, 11:09 PM  
Ne0nguy
Portman of Greymane
 
Ne0nguy's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 149
Uploads: 17
Quote:
Originally posted by Cala
Are you planning any changes to it such as either profiles that you can save?
When you select your stat profile from the interface options, it saves it to your current class/spec combo. So if you were to switch between dual-spec it should automatically adjust (provided that you had selected a different profile for each spec).
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-19-2009, 10:17 PM  
Cala
A Murloc Raider
 
Cala's Avatar

Forum posts: 6
File comments: 25
Uploads: 1
Very interesting addon!

Are you planning any changes to it such as either profiles that you can save?
Cala is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.