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 09-09-2009, 10:51 PM  
def9
A Theradrim Guardian

Forum posts: 60
File comments: 28
Uploads: 0
No errors after an hour of gameplay. Thanks Ne0n, great mod btw.
def9 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-09-2009, 10:18 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.2.0.15 (9/9/09)

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
__________________
StatScore: Compare items based on how relevant they are to your class/spec NOT by iLevel alone.
Find more addons by Ne0nguy
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-09-2009, 02:35 PM  
anahok
A Kobold Labourer
 
anahok's Avatar

Forum posts: 0
File comments: 7
Uploads: 0
Funny... I get this when I have GearScore enabled...

Code:
Message: Interface\AddOns\StatScore\StatScore.lua:279: Usage: GetItemStatSummary(itemLink1, itemLink2[, statTable])
Time: 09/09/09 14:32:30
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
(tail call): ?
[C]: ?
[C]: in function `GetItemStatDelta'
Interface\AddOns\StatScore\StatScore.lua:279: in function `GetScoreDelta'
Interface\AddOns\StatScore\StatScore.lua:221: in function <Interface\AddOns\StatScore\StatScore.lua:215>
[C]: ?
[C]: ?
[C]: in function `SetHyperlinkCompareItem'
Interface\FrameXML\GameTooltip.lua:232: in function `GameTooltip_ShowCompareItem'
[string "*:OnTooltipSetItem"]:3: in function <[string "*:OnTooltipSetItem"]:1>
[C]: ?
...
[C]: ?
[C]: ?
[C]: in function `func'
Interface\AddOns\QuestHelper\manager_event.lua:22: in function <Interface\AddOns\QuestHelper\manager_event.lua:21>
(tail call): ?
Interface\AddOns\QuestHelper\manager_event.lua:43: in function <Interface\AddOns\QuestHelper\manager_event.lua:25>
Interface\AddOns\QuestHelper\manager_event.lua:163: in function <Interface\AddOns\QuestHelper\manager_event.lua:163>
[C]: in function `SetAction'
Interface\AddOns\Bartender4\ActionButton.lua:479: in function `SetTooltip'
Interface\AddOns\Bartender4\ActionButton.lua:201: in function <Interface\AddOns\Bartender4\ActionButton.lua:199>

Locals:
Once I disable it, it vanishes. I thin SS and GS don't like each other. lol Do you two have it as well?

Last edited by anahok : 09-09-2009 at 02:42 PM.
anahok is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-08-2009, 09:06 PM  
Flak
A Defias Bandit

Forum posts: 2
File comments: 44
Uploads: 0
I get the following error multiple times throughout a play session... the item is usually different though:

Code:
Message: Interface\AddOns\StatScore\StatScore.lua:279: Usage: GetItemStatSummary(itemLink1, itemLink2[, statTable])
Time: 09/08/09 20:05:23
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
[C]: in function `GetItemStatDelta'
Interface\AddOns\StatScore\StatScore.lua:279: in function `GetScoreDelta'
Interface\AddOns\StatScore\StatScore.lua:221: in function <Interface\AddOns\StatScore\StatScore.lua:215>
[C]: in function `SetHyperlinkCompareItem'
Interface\FrameXML\GameTooltip.lua:232: in function `GameTooltip_ShowCompareItem'
[string "*:OnTooltipSetItem"]:3: in function <[string "*:OnTooltipSetItem"]:1>
[C]: ?
[C]: ?
[C]: in function `SetInventoryItem'
...\AddOns\Blizzard_InspectUI\InspectPaperDollFrame.lua:113: in function `InspectPaperDollItemSlotButton_OnEnter'
[string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>

Locals: (*temporary) = nil
(*temporary) = "[Terokkar Tablet of Precision]"
Flak is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-06-2009, 08:38 PM  
def9
A Theradrim Guardian

Forum posts: 60
File comments: 28
Uploads: 0
Keep getting the following error upon login :

Code:
Error occured in: Global
Count: 1
Message: ..\AddOns\StatScore\StatScore.lua line 279:
   Usage: GetItemStatSummary(itemLink1, itemLink2[, statTable])
Debug:
   [C]: ?
   [C]: GetItemStatDelta()
   StatScore\StatScore.lua:279: GetScoreDelta()
   StatScore\StatScore.lua:221:
      StatScore\StatScore.lua:215
   [C]: ?
   [C]: SetHyperlinkCompareItem()
   tekKompare\tekKompare.lua:14:
      tekKompare\tekKompare.lua:6
   tekKompare\tekKompare.lua:48:
      tekKompare\tekKompare.lua:44
   [C]: ?
   [C]: ?
   [C]: SetAction()
   ..\FrameXML\ActionButton.lua:430: ActionButton_SetTooltip()
   Dominos\actionBar.lua:164:
      Dominos\actionBar.lua:162
I disabled tekKompare and it gave me the dominoes error a few mintues after logging in. Grabbed the error with both mods to see if it helps iron out a bug.

Last edited by def9 : 09-06-2009 at 08:39 PM.
def9 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-03-2009, 02:58 PM  
Zidomo
An Aku'mai Servant
 
Zidomo's Avatar

Forum posts: 37
File comments: 601
Uploads: 0
Quote:
Originally posted by Ne0nguy
In future revisions you will be able to create custom profiles rather than just using the built in defaults.
Looking forward to it. This seems a terrific, lightweight alternative to the problematic Pawn. I am currently using Tekkub's Engravings which also uses WowHead scores. But as it has not been updated with 3.2-patch gear, its becoming increasingly less useful.

The one thing I dislike about Engravings is it using non-customizable WowHead weightings for each score, as StatScore currently does. Its especially problematic when assessing DPS gear, because once you have reached the effective hit cap, WowHead's weighting for hit becomes effectively meaningless.

So here's hoping the custom profile feature is coming along well .
Zidomo is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-02-2009, 10:04 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.2.0.14 (9/2/09)

Version 3.2.0.14 (9/2/09)
- Fixed an error in handling offspec swapscores
__________________
StatScore: Compare items based on how relevant they are to your class/spec NOT by iLevel alone.
Find more addons by Ne0nguy
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2009, 09:18 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.2.0.13 (8/29/09)

Version 3.2.0.13 (8/29/09)
- Fixed a bug with the last version causing an error on login
__________________
StatScore: Compare items based on how relevant they are to your class/spec NOT by iLevel alone.
Find more addons by Ne0nguy
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2009, 08:42 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.2.0.12 (8/29/09)

Version 3.2.0.12 (8/29/09)
- Fixed a bug causing Swap Scores to display a negative zero (-0)
- Now compatible with AtlasLoot
__________________
StatScore: Compare items based on how relevant they are to your class/spec NOT by iLevel alone.
Find more addons by Ne0nguy
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-24-2009, 12:20 AM  
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 willgk
Ne0nguy, great addon! I'm using it all the time but I notice it doesn't take into account things like the hit cap. Even though i'm at hit cap on my dk it always puts items well above others if they have hit on them. Any hope of ever having that in?

Thanks for the great mod!
In future revisions you will be able to create custom profiles rather than just using the built in defaults.
__________________
StatScore: Compare items based on how relevant they are to your class/spec NOT by iLevel alone.
Find more addons by Ne0nguy
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-23-2009, 11:03 PM  
willgk
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 44
Uploads: 3
Ne0nguy, great addon! I'm using it all the time but I notice it doesn't take into account things like the hit cap. Even though i'm at hit cap on my dk it always puts items well above others if they have hit on them. Any hope of ever having that in?

Thanks for the great mod!
willgk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-23-2009, 07:58 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.2.0.11 (8/23/09)

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

Heh, I guess I forgot one...
__________________
StatScore: Compare items based on how relevant they are to your class/spec NOT by iLevel alone.
Find more addons by Ne0nguy
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-23-2009, 07:53 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.2.0.10 (8/23/09)

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)

Quote:
Originally posted by MacMystery
Hi,
I tested your mod today and since I'm a wowhead-fan I do really like it.
My toon I'm currently playing is a druid, kitty for leveling of course. When I compared a quest-reward to a current item i realized, that your weight for cat-dps is somehow screwed up. It clearly didn't take agi into account and gave false numbers.
Thanks for the detailed report. Seems they changed the way one of the api's work without telling anyone. Originally I omitted regular Attack Power from the druids profiles because the global value for Feral Attack Power returned the sum of regular Attack Power + Feral Attack Power, rather than having them separate.

If anyone else finds a StatScore different from Wowhead's, please submit a comment or bug report with a link to the item and the name of the profile you were using.
__________________
StatScore: Compare items based on how relevant they are to your class/spec NOT by iLevel alone.
Find more addons by Ne0nguy
Ne0nguy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-23-2009, 11:41 AM  
MacMystery
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Hi,
I tested your mod today and since I'm a wowhead-fan I do really like it.
My toon I'm currently playing is a druid, kitty for leveling of course. When I compared a quest-reward to a current item i realized, that your weight for cat-dps is somehow screwed up. It clearly didn't take agi into account and gave false numbers.

So I looked into lua and changed
ITEM_MOD_MELEE_AGILITY_SHORT=85 into ITEM_MOD_AGILITY_SHORT=85 (typo ?)
and added
ITEM_MOD_ATTACK_POWER_SHORT=43 (which was entirely missing).

It worked and I now get the same values as on wowhead. So if it wasn't by any means intended, I fear you have to recheck the weights.

Edit: Just had to realize that my rogue toon had the same problem.

Last edited by MacMystery : 08-23-2009 at 11:44 AM.
MacMystery is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-22-2009, 11:30 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 willgk
Determined that when you have StatStain installed and this, your addon displays the stat weights twice.
StatStain hasn't been updated in over a year. It's not uncommon for addons like that to cause problems.
__________________
StatScore: Compare items based on how relevant they are to your class/spec NOT by iLevel alone.
Find more addons by Ne0nguy
Ne0nguy 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.