Download
(9 Kb)
Download
Updated: 04-28-11 02:24 PM
Pictures
File Info
Updated:04-28-11 02:24 PM
Created:05-19-09 04:06 PM
Downloads:15,811
Favorites:170
MD5:
StatScore  Popular! (More than 5000 hits)
Version: 4.1.0.32
by: Ne0nguy [More]
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 dividing 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.

Originally posted by Slaxi81
Thank you for this addon! I've used Tankpoints and Pawn, but they have too much garbage : ) Your's is simple and works perfect.
Current Features:
  • Includes 29 Preset Stat Profiles Used in Wowheads Own Stat Comparison Tool
  • Fully Functional In-Game Profile Editor
  • Adds the Stat Score value to equipable item tooltips
  • Displays a 'Swap Score' when comparing items, showing an upgrade value in the main tooltip
  • Stat Profiles are saved across sessions so you can set it and forget it
  • Automatically switches between set profiles when activating Dual-Spec
  • Shows Offspec StatScore

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)
Version 4.1.0.32 (04/28/11)
- Compatible with Patch 4.1

Version 4.0.6.31 (02/24/11)
- Fixed error when attempting to compare against an item that isn't equipped

Version 4.0.6.30 (02/24/11)
- Added the ability to add and remove custom stats
- Now shows SwapScores in the main tooltip
- Added help tooltips in the Stat Editor UI
- StatScore should now be fully functional (with exception of the AutoNerf button)
- If you encounter any problems please post a comment below

Version 4.0.6.29 (02/23/11)
- Added a stat weight editor
- Click any of the stats in your profile and use the slider to adjust the value
- Fixed table referencing bug
- Ability to add/remove stats not yet implemented
- This update requires a reset of any saved profiles and should do so automatically

Version 4.0.6.28 (02/18/11)
- Updated the presets to match Wowhead's updated stat weights
- Most weights were equalized with much less emphasis on mastery rating
- Changes will not take effect until the next time you import a profile

Version 4.0.3.27 (01/12/11)
- New interface for setting up stat weight profiles
- No longer in Interface Options
- Must use /StatScore to open (or make a macro)
- Customizable stat weights coming in the next release

Version 4.0.1.26 (10/28/10)
- Fixed crash that occurred when the offspec profile has been set but the main spec profile is absent
- Fixed crash related to the second dropdown menu in the interface options
- Added "/StatScore debug" for testing purposes (you can use this to see why your swapscore doesn't refresh when using the equipment manager)

Version 4.0.1.25 (10/23/10)
- Preparations for editable weight profiles
- Stats displayed in Interface Options now sorted by value (descending)

Version 4.0.1.24 (10/20/10)
- Fixed /StatScore Dump command
- Removed several unused functions
- Some performance improvements

Version 4.0.1.23 (10/20/10)
- This release has been tested and should be stable
- Restructured Variables
- Consolidated excess code
- OffSpec Scores are enabled
- You will need to reselect your weight profile from the Interface Options (/StatScore)
- Editable weight profiles coming soon

Version 4.0.1.22 (10/16/10)
- Minor bugfixes
- This release is a work in progress, expect bugs and/or disabled features

Version 4.0.1.21 (10/15/10)
- Compatible with Patch 4.0
- This release is a work in progress, expect bugs and/or disabled features
- Updated Interface Options Panel
- Updated Weight Profile Presets
- Offspec Scores are disabled for this release
- You will need to reselect your weight profile from the Interface Options (/StatScore)
- Editable weight profiles coming soon

Version 3.3.0.20 (12/08/09)
- Compatible with Patch 3.2

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 (09/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 (09/02/09)
- Fixed an error in handling offspec swapscores

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

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

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

Version 3.2.0.10 (08/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 (08/15/09)
- Added support for comparison scores against chat-linked items

Version 3.2.0.8 (08/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 (08/04/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 (05/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 (05/21/09)
- No longer attempts to load profiles that were saved from other characters

Version 3.1.2.3 (05/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
Archived Files (1)
File Name
Version
Size
Author
Date
4.1.0.32
9kB
Ne0nguy
02-24-11 05:23 PM


Post A Reply Comment Options
Old 10-21-10, 11:04 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2351
Uploads: 6
Clean SV's.
Login - choose spec - respec - hover over some item.

Code:
Date: 2010-10-21 21:03:05
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\StatScore\StatScore.lua line 728:
   bad argument #1 to 'pairs' (table expected, got nil)
Debug:
   [C]: ?
   [C]: pairs()
   StatScore\StatScore.lua:728: OffspecDifferent()
   StatScore\StatScore.lua:717:
      StatScore\StatScore.lua:705
   [C]: ?
   [C]: ?
   Altoholic\Tooltip.lua:544:
      Altoholic\Tooltip.lua:542
   [C]: ?
   LibExtraTip\LibExtraTip.lua:279:
      LibExtraTip\LibExtraTip.lua:273
   [C]: SetBagItem()
   ..\FrameXML\ContainerFrame.lua:780: ContainerFrameItemButton_OnEnter()
   [string "*:OnEnter"]:1:
      [string "*:OnEnter"]:1
AddOns:
  Swatter, v5.1.DEV.274
  WowheadLooter, v40003
  NPCScan, v4.0.0.4
  ActionBarSaver, v
  Altoholic, v4.0.002
  Atlas, v1.17.2
  AtlasBattlegrounds, v1.17.2
  AtlasDungeonLocs, v1.17.2
  AtlasOutdoorRaids, v1.17.2
  AtlasTransportation, v1.17.2
  AtlasLoot, vv5.11.06
  AucAdvanced, v5.1.DEV.2530
  AucFilterBasic, v5.1.DEV.4896
  AucFilterOutlier, v5.1.DEV.4828
  AucMatchUndercut, v5.1.DEV.2531
  AucStatPurchased, v5.1.DEV.4828
  AucStatSales, v5.1.DEV.2842
  AucStatSimple, v5.1.DEV.4828
  AucUtilAHWindowControl, v5.1.DEV.3311
  AucUtilAppraiser, v5.1.DEV.2530
  AucUtilAskPrice, v5.1.DEV.3175
  AucUtilAutoMagic, v5.1.DEV.3142
  AucUtilCompactUI, v5.1.DEV.2530
  AucUtilEasyBuyout, v5.1.DEV.3583
  AucUtilItemSuggest, v5.1.DEV.3108
  AucUtilPriceLevel, v5.1.DEV.2545
  AucUtilScanButton, v5.1.DEV.2530
  AucUtilScanStart, v5.1.DEV.4784
  AucUtilSearchUI, v5.1.DEV.3655
  AucUtilVendMarkup, v5.1.DEV.2530
  Babylonian, v5.1.DEV.130
  Bartender4, v4.4.12
  BeanCounter, v5.1.DEV.4828
  Chatter, v1.0
  ClosetGnome, v1.1.622
  ColorTools, v
  Configator, v5.1.DEV.278
  Constructor, v<%version%> (<%codename%>)
  CrashProofTip, v1.1.13164
  Cromulent, vv1.5.3
  DataStore, v4.0.001
  DataStoreAchievements, v4.0.001
  DataStoreAuctions, v4.0.001
  DataStoreCharacters, v4.0.001
  DataStoreContainers, v4.0.001
  DataStoreCrafts, v4.0.001
  DataStoreCurrencies, v4.0.001
  DataStoreInventory, v4.0.001
  DataStoreMails, v4.0.001
  DataStorePets, v4.0.001
  DataStoreQuests, v4.0.001
  DataStoreReputations, v4.0.001
  DataStoreSpells, v4.0.001
  DataStoreStats, v4.0.001
  DataStoreTalents, v4.0.001
  DebugLib, v5.1.DEV.275
  Enchantrix, v5.1.DEV.4432
  Gatherer, v<%version%>
  gfxToggle2, v2.3.0-beta2
  GnomishVendorShrinker, v4.0.0.7
  GoldenTicket, v1.0.16
  GraphPaper, v1.3.5
  GraphPaperLDB, v30300.9
  Gymnast, v
  HealBot, v4.0.1.1
  IceHUD, v1.7.0.9 (Revision: 682)
  Informant, v5.1.DEV.4857
  LibDataBroker, v
  LibExtraTip, v1.1
  LilSparkysWorkshop, v
  Livestock, v1.2.2
  LSMChatSounds, v30300.0.0
  MozzFullWorldMap, v3.36.30304
  MyPrivateStuff, v$Id$
  OgriLazy, v1.1.0
  OmniCC, v3.0.1
  OmniCCConfig, v
  oRA3, v
  PassLoot, v4.1
  PassLootAtlasLoot, v1.1
  RatingBuster, v
  RatingBusterProfilesMap, v.1
  Recount, v
  ReloadUI, v1.1.1
  RepWatch, v2.1.16
  SatrinaBuffFrame, v3.1
  SBFOptionsBroker, v40000.0
  SharedMedia, v3.0.1-177
  SlideBar, v5.1.DEV.272
  SpamReport, v3.3.0.3
  StatScore, v4.0.1.24
  Stubby, v5.1.DEV.130
  TipHelper, v<%version%> (<%codename%>)
  Titan, v4.3.9.40000 - Revision 386
  TitanBag, v4.3.9.40000
  TitanClock, v4.3.9.40000
  TitanCoords, v4.3.9.40000
  TitanGoldTracker, v4.3.9.40000
  TitanHealBot, v3.3.5.2
  TitanLootType, v4.3.9.40000
  TitanRepair, v4.3.9.40000
  TitanVolume, v4.3.9.40000
  TitanXP, v4.3.9.40000
  TomTom, vv40000-1.0.0 
  TooltipItemIcon, v1.57
  TotemTimers, v10.3.2
  VendorBait, v3.3.0.5
  WowLua, vv40000-1.0.0 
  XPerl, v3.1.0 Beta 3
  XPerlArcaneBar, v
  XPerlParty, v
  XPerlPartyPet, v
  XPerlPlayer, v
  XPerlPlayerPet, v
  XPerlRaidAdmin, v
  XPerlRaidFrames, v
  XPerlRaidHelper, v
  XPerlRaidPets, v
  XPerlTarget, v
  XPerlTargetTarget, v
  BlizRuntimeLib_enUS v4.0.1.40000 <eu>
  (ck=c6b)
Edit: And it can't see reforged stats... How to have complete dump of an item?

Aww, another issue... it probably need a video... moment.
Here: http://www.rootdir.org/.offload/funnyscores.avi

Pay attention to swapscores. (The actual readouts do not matter, it's all apparent from their color)
Alt+Shift keys were held (ofc).
.
Last edited by AnrDaemon : 10-21-10 at 12:18 PM.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 01:27 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
Version 4.0.1.24 (10/20/10)

Version 4.0.1.24 (10/20/10)
- Fixed /StatScore Dump command
- Removed several unused functions
- Some performance improvements
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 12:02 AM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
Version 4.0.1.23 (10/20/10) STABLE

Version 4.0.1.23 (10/20/10) STABLE
- This release has been tested and should be stable
- Restructured Variables
- Consolidated excess code
- OffSpec Scores are enabled
- You will need to reselect your weight profile from the Interface Options (/StatScore)
- Editable weight profiles coming soon

"Works with 4.0.1" has been turned back on.
Due to the nature of the previous builds, all previous bug reports have been ignored.
If you encounter any problems with this build please report (again) them here in the comments.
__________________
Ne0nguy.com
Last edited by Ne0nguy : 10-20-10 at 12:26 AM.
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Old 10-19-10, 08:26 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
Originally posted by AnrDaemon
Sounds wonderful! What about offspecs and switching talent profiles? did you resolved the issue, when it was setting offspec as main spec, but forgetting to push former main to offspec and eventually crasing on clash in database?
After I am finished restructuring this addon that should no longer be an issue.
In-game it may not seem like much of a change, but in the background a lot is being done to improve accuracy, efficiency, and to allow customization.

I will make an announcement when I am confident that the release is stable.
Until then treat current releases as beta.

EDIT: I have disabled the "Works with 4.0.1" flag. I will re-enable that when it is stable.
__________________
Ne0nguy.com
Last edited by Ne0nguy : 10-19-10 at 09:59 PM.
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Old 10-19-10, 08:14 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2351
Uploads: 6
Sounds wonderful! What about offspecs and switching talent profiles? did you resolved the issue, when it was setting offspec as main spec, but forgetting to push former main to offspec and eventually crasing on clash in database?
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Old 10-19-10, 08:09 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
Quick Update

Restructuring variable hierarchy and consolidating a lot of excess code.
Next release will be delayed until Wednesday or Thursday.
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Old 10-16-10, 10:31 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
The next version will be made available on Tuesday.
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Old 10-16-10, 11:09 AM  
Darxon
A Warpwood Thunder Caller
AddOn Compiler - Click to view compilations

Forum posts: 91
File comments: 65
Uploads: 2
Getting :

Code:
Message: Interface\AddOns\StatScore\StatScore.lua:596: bad argument #1 to 'pairs' (table expected, got nil)
Time: 10/16/10 19:07:38
Count: 1
Stack: [C]: ?
[C]: in function `pairs'
Interface\AddOns\StatScore\StatScore.lua:596: in function `Panel_LoadStats'
Interface\AddOns\StatScore\StatScore.lua:496: in function <Interface\AddOns\StatScore\StatScore.lua:489>
[C]: in function `SetParent'
Interface\FrameXML\InterfaceOptionsFrame.lua:24: in function `InterfaceOptionsList_DisplayPanel'
Interface\FrameXML\InterfaceOptionsFrame.lua:46: in function <Interface\FrameXML\InterfaceOptionsFrame.lua:31>
[C]: in function `InterfaceOptionsListButton_OnClick'
[string "*:OnClick"]:2: in function <[string "*:OnClick"]:1>

Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"
 = <function> defined =[C]:-1
Dl the latest version .
The error comes when accesing the options...
__________________
Wafflez - Shattered Hand EU
Darxon is offline Report comment to moderator  
Reply With Quote
Old 10-16-10, 10:43 AM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
Version 4.0.1.21 (10/16/10)

Version 4.0.1.21 (10/16/10)
- Minor bugfixes
- This release is a work in progress, expect bugs and/or disabled features
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Old 10-15-10, 02:54 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
I will try to get another version up tonight or tomorrow afternoon.
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Old 10-15-10, 01:26 PM  
Peyana
A Deviate Faerie Dragon
 
Peyana's Avatar

Forum posts: 10
File comments: 119
Uploads: 0
Really glad to have this back and wanted to let you know I got this error when I opened statscore to set the weights:

Date: 2010-10-15 14:23:26
ID: 168
Error occured in: Global
Count: 1
Message: ..\AddOns\StatScore\StatScore.lua line 594:
bad argument #1 to 'pairs' (table expected, got nil)
Debug:
(tail call): ?
[C]: ?
[C]: pairs()
StatScore\StatScore.lua:594: Panel_LoadStats()
StatScore\StatScore.lua:496:
StatScore\StatScore.lua:489
[C]: SetParent()
..\FrameXML\InterfaceOptionsFrame.lua:24: InterfaceOptionsList_DisplayPanel()
..\FrameXML\InterfaceOptionsFrame.lua:46: InterfaceOptionsListButton_OnClick()
[string "*:OnClick"]:2:
[string "*:OnClick"]:1
AddOns: too numerous to list but will if you need them.

BlizRuntimeLib_enUS v4.0.1.40000 <us>
(ck=d5a)
Peyana is offline Report comment to moderator  
Reply With Quote
Old 10-15-10, 12:57 PM  
Ruinit
A Deviate Faerie Dragon

Forum posts: 19
File comments: 20
Uploads: 0
Error

Getting a lot of this type of error.

15x StatScore-4.0.1.21\StatScore.lua:704: attempt to index local 'weights' (a nil value)
StatScore-4.0.1.21\StatScore.lua:623: in function <StatScore\StatScore.lua:616>
<in C code>: ?
<in C code>: ?
Altoholic-v4.0.001\Tooltip.lua:508: in function <Altoholic\Tooltip.lua:506>
<in C code>: ?
<in C code>: ?
<in C code>: in function `Outfitter_OrigSetBagItem'
Outfitter-5.0.2\Outfitter.lua:7481: in function `SetBagItem'
Interface\FrameXML\ContainerFrame.lua:780: in function `ContainerFrameItemButton_OnEnter':
Combuctor-2.2.4\item.lua:166: in function `UpdateTooltip'
Interface\FrameXML\GameTooltip.lua:195: in function <Interface\FrameXML\GameTooltip.lua:185>:
<in C code>: ?
Ruinit is offline Report comment to moderator  
Reply With Quote
Old 10-15-10, 12:08 PM  
def9
A Chromatic Dragonspawn
 
def9's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 96
Uploads: 1
Submitted a bug report on mouseover. Had the mod clashing with others. When I disabled the others I got a different error.

Thanks for keeping this mod alive I really enjoy it and appreciate your hard work on it.
__________________
Krendis, level 90 Prot Paladin
Simkin level 90 Combat Rogue
Feldeemus, level 90 Frost Mage
def9 is offline Report comment to moderator  
Reply With Quote
Old 10-15-10, 10:51 AM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
Version 4.0.1.21 (10/15/10)

Version 4.0.1.21 (10/15/10)
- Compatible with Patch 4.0
- This release is a work in progress, expect bugs and/or disabled features
- Updated Interface Options Panel
- Updated Weight Profile Presets
- Offspec Scores are disabled for this release
- You will need to reselect your weight profile from the Interface Options (/StatScore)
- Editable weight profiles coming soon
__________________
Ne0nguy.com
Last edited by Ne0nguy : 10-16-10 at 10:44 AM.
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Old 10-14-10, 10:05 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 204
Uploads: 21
Quick Update

Events are happening faster than I expected.
I will upload a functional update tomorrow and a full update with customizable weights within the week.

Once I get the first version up and working I will likely be uploading a lot of bugfix and functionality updates pretty fast.
Apologies for the spam in advance.
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: