GearScoreLite

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

GearScoreLite is a trimmed down version of GearScore.
Basically it only contains the modules for calculating player and item scores.
No Database, no GUI, no in-game armory, no addon-communications, minimal system impact.

Simply mouseover a player to get a calculation of that player's Gear or mouseover an item to get a calculation of that item's GearScore.

Use /gs for options.

You must login to post a comment. Don't have an account? Register to get one!

  • 8 comments
  • Avatar of titanrecount titanrecount Nov 27, 2010 at 16:13 UTC - 0 likes
    Last edited Nov 27, 2010 by titanrecount
  • Avatar of minamoto_ru minamoto_ru May 04, 2010 at 15:03 UTC - 0 likes

    " if ( ItemScore > 5999 ) then ItemScore = 5999; end" - it's a really bad idea, course you will not see GS for ppls with GS more than 5999.

    Some better patch: put a string "if (ItemScore > 5999) then return 255/255, 0/255, 126/255, "Legendary"; end" after the line 103: "for i = 0,6 do"

    Save file and reset your UI, if you online:(/reloadui) or just enter the game, and you will see all GS = 6000 or more in orange color.

    Last edited May 04, 2010 by minamoto_ru
  • Avatar of Svarvsven Svarvsven Apr 29, 2010 at 13:02 UTC - 0 likes

    I did put together a package with the fix, after reading here and then looking into the code. However, due to copyright reasons my package (wow.curseforge.com/addons/gearscorelitesvarv) can't be released until I get approval from mirrikat45 (and he hasn't answered yet). Unfortunately, thats how things works...

    No, the best fix is not to insert the line "if ( ItemScore > 5999 ) then ItemScore = 5999; end" but rather adjust the loop that runs too far instead.

  • Avatar of efernandez_98 efernandez_98 Apr 19, 2010 at 22:06 UTC - 0 likes

    In the file, "GearScoreLite.lua" insert the following at line 103 for the fix.

    " if ( ItemScore > 5999 ) then ItemScore = 5999; end"

    That will eliminate the LUA popup error, "Interface\AddOns\GearScoreLite\GearScoreLite.lua:105 attempt to index field '?' (a nil value)", when hovered over toons with a GS of 6k or greater.

    It's a fix that mirrikat45 already implemented in the full version of GearScore but is currently missing from GearScore Lite. I'm hoping he'll make the quick change and upload a new version.

  • Avatar of Kemayo Kemayo Mar 12, 2010 at 04:51 UTC - 0 likes

    Having read the code, it's because now ICC is out some people are too uber for gearscore to calculate. InformationLite.lua contains color values for up to 6000 gearscore. The calculations in GearScore_GetQuality assume that no-one will be over 6000, since they do GS_Quality[(i+1)*1000].

    So anyone with a gearscore of over 6000 will cause an error.

  • Avatar of Kemayo Kemayo Mar 12, 2010 at 04:42 UTC - 0 likes

    Another report of this error:

    [22:33:06] Interface\AddOns\GearScoreLite\GearScoreLite.lua:105 attempt to index field '?' (a nil value)
    [C]: ?
    Interface\AddOns\GearScoreLite\GearScoreLite.lua:105 in function `GearScore_GetQuality'
    Interface\AddOns\GearScoreLite\GearScoreLite.lua:124 in function <Interface\AddOns\GearScoreLite\GearScoreLite.lua:117
    [C]: in function `origfunc'
    Interface\AddOns\TinyTip\TinyTip.lua:112 in function <Interface\AddOns\TinyTip\TinyTip.lua:106
    Interface\AddOns\TinyTip\TinyTip.lua:165 in function <Interface\AddOns\TinyTip\TinyTip.lua:165
    (tail call): ?

  • Avatar of wxx011 wxx011 Mar 07, 2010 at 00:12 UTC - 0 likes

    "GearScoreLite-3x03
    GearScoreLite.lua:105: attempt to index field '?' (a nil value)\nGearScoreLite-3x03
    GearScoreLite.lua:124: in function <Interface
    AddOns
    GearScoreLite
    GearScoreLite.lua:117>\n<in C code>: ?\n\nLocals:|r\narg1 = GameTooltip {\n Outfitter_OrigSetBagItem = <function> defined =[C]:-1\n SetExistingSocketGem = <function> defined =[C]:-1\n SetCurrencyToken = <function> defined =[C]:-1\n SetTradeSkillItem = <function> defined =[C]:-1\n hasMoney = 1\n Outfitter_OrigSetHyperlink = <function> defined =[C]:-1\n comparing = false\n SetSocketGem = <function> defined =[C]:-1\n default = 1\n SetLootItem = <function> defined =[C]:-1\n SetQuestItem = <function> defined =[C]:-1\n SetTrainerService = <function> defined =[C]:-1\n numMoneyFrames = 1\n SetInboxItem = <function> defined =[C]:-1\n SetBuybackItem = <function> defined =[C]:-1\n shoppingTooltips = <table> {\n }\n SetHyperlinkCompareItem = <function> defined =[C]:-1\n SetMerchantItem = <function> defined =[C]:-1\n SetMerchantCostItem", [1] " = <function> defined =[C]:-1\n SetBackpackToken = <function> defined =[C]:-1\n SetTradeTargetItem = <function> defined =[C]:-1\n SetTradePlayerItem = <function> defined =[C]:-1\n SetSendMailItem = <function> defined =[C]:-1\n updateTooltip = 0.058999989926815\n SetInventoryItem = <function> defined @Interface
    AddOns
    Outfitter
    Outfitter.lua:7255\n SetLootRollItem = <function> defined =[C]:-1\n SetQuestLogItem = <function> defined =[C]:-1\n SetAuctionSellItem = <function> defined =[C]:-1\n SetBagItem = <function> defined @Interface
    AddOns
    Outfitter
    Outfitter.lua:7241\n SetHyperlink = <function> defined @Interface
    AddOns
    Outfitter
    Outfitter.lua:7275\n 0 = <userdata>\n SetGuildBankItem = <function> defined =[C]:-1\n Outfitter_OrigSetInventoryItem = <function> defined =[C]:-1\n SetAuctionItem = <function> defined =[C]:-1\n}\narg2 = nil\nName = \"?芣??摮"\nMouseOverGearScore = 6023\nMouseOverAverage = 263\n\n
    -", [2]

  • Avatar of wxx011 wxx011 Mar 07, 2010 at 00:11 UTC - 0 likes

    I have mamy error,like

    "GearScoreLite-3x03
    GearScoreLite.lua:105: attempt to index field '?' (a nil value)\nGearScoreLite-3x03
    GearScoreLite.lua:124: in function <Interface
    AddOns
    GearScoreLite
    GearScoreLite.lua:117>\n<in C code>: ?\n\nLocals:|r\narg1 = GameTooltip {\n Outfitter_OrigSetBagItem = <function> defined =[C]:-1\n SetExistingSocketGem = <function> defined =[C]:-1\n SetHyperlink = <function> defined @Interface
    AddOns
    Outfitter
    Outfitter.lua:7275\n SetGuildBankItem = <function> defined =[C]:-1\n hasMoney = 1\n Outfitter_OrigSetHyperlink = <function> defined =[C]:-1\n comparing = false\n SetSocketGem = <function> defined =[C]:-1\n default = 1\n SetLootItem = <function> defined =[C]:-1\n Outfitter_OrigSetInventoryItem = <function> defined =[C]:-1\n SetTrainerService = <function> defined =[C]:-1\n numMoneyFrames = 1\n SetInboxItem = <function> defined =[C]:-1\n SetBuybackItem = <function> defined =[C]:-1\n shoppingTooltips = <table> {\n }\n SetHyperlinkCompareItem = <function> defined =[C]:-1\n SetMerchantIt", [1] "em = <function> defined =[C]:-1\n SetQuestLogItem = <function> defined =[C]:-1\n SetBackpackToken = <function> defined =[C]:-1\n SetTradeTargetItem = <function> defined =[C]:-1\n shownStatusBars = 0\n SetTradePlayerItem = <function> defined =[C]:-1\n SetSendMailItem = <function> defined =[C]:-1\n updateTooltip = 0.0769999910146\n SetInventoryItem = <function> defined @Interface
    AddOns
    Outfitter
    Outfitter.lua:7255\n SetLootRollItem = <function> defined =[C]:-1\n SetCurrencyToken = <function> defined =[C]:-1\n SetTradeSkillItem = <function> defined =[C]:-1\n SetAuctionSellItem = <function> defined =[C]:-1\n SetBagItem = <function> defined @Interface
    AddOns
    Outfitter
    Outfitter.lua:7241\n SetQuestItem = <function> defined =[C]:-1\n 0 = <userdata>\n numStatusBars = 1\n SetMerchantCostItem = <function> defined =[C]:-1\n SetAuctionItem = <function> defined =[C]:-1\n}\narg2 = nil\nName = \"Al\"\nMouseOverGearScore = 6010\nMouseOverAverage = 262\n\n
    -", [2]

  • 8 comments

Facts

Date created
Oct 09, 2009
Category
Last update
Jun 05, 2010
Development stage
Abandoned
Language
  • enUS
  • esES
  • esMX
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
License
All Rights Reserved
Downloads
837,137
Recent files

Authors