Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(9 Kb)
Download
Updated: 12-01-14 09:25 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Updated:12-01-14 09:25 AM
Created:05-19-09 04:06 PM
Downloads:16,199
Favorites:168
MD5:
6.0.3

StatScore  Popular! (More than 5000 hits)

Version: 6.0.3.33
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 6.0.3.33 (12/01/14)
- Compatible with Patch 6.0
- Various bug fixes
- Updated profiles with the latest weights from wowhead
- If you still have saved profiles from the previous version it is recommended to run "/statscore reset"

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 (2)
File Name
Version
Size
Author
Date
4.1.0.32
9kB
Ne0nguy
04-28-11 02:24 PM
4.1.0.32
9kB
Ne0nguy
02-24-11 06:23 PM


Post A Reply Comment Options
Unread 05-23-09, 05:38 AM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 208
Uploads: 21
Originally posted by Farook
Any ideas why its always showing me "0" ???
Because the tooltips aren't in English.
See the comments below.
Last edited by Ne0nguy : 05-23-09 at 05:43 AM.
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 05-22-09, 09:25 PM  
Farook
A Molten Giant
 
Farook's Avatar

Forum posts: 595
File comments: 113
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  
Reply With Quote
Unread 05-22-09, 09:02 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 208
Uploads: 21
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  
Reply With Quote
Unread 05-21-09, 08:44 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 208
Uploads: 21
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  
Reply With Quote
Unread 05-20-09, 09:12 PM  
Farook
A Molten Giant
 
Farook's Avatar

Forum posts: 595
File comments: 113
Uploads: 0
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  
Reply With Quote
Unread 05-20-09, 05:52 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 208
Uploads: 21
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-09 at 05:59 PM.
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 05-20-09, 12:40 PM  
Truman
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
How about russian support?
Truman is offline Report comment to moderator  
Reply With Quote
Unread 05-20-09, 09:57 AM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 208
Uploads: 21
Re: Re: Version 3.1.2.3 (5/20/09)

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  
Reply With Quote
Unread 05-20-09, 09:30 AM  
x
A Murloc Raider
AddOn Author - Click to view AddOns

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

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  
Reply With Quote
Unread 05-20-09, 09:18 AM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 208
Uploads: 21
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

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  
Reply With Quote
Unread 05-20-09, 03:28 AM  
x
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 73
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-09 at 03:28 AM.
x is offline Report comment to moderator  
Reply With Quote
Unread 05-19-09, 09:26 PM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 48
Uploads: 1
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  
Reply With Quote
Unread 05-19-09, 09:09 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 208
Uploads: 21
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  
Reply With Quote
Unread 05-19-09, 08:17 PM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 48
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  
Reply With Quote
Post A Reply



Category Jump: