Download
(7Kb)
Download
Updated: 06-05-10 10:54 AM
Pictures
File Info
Updated:06-05-10 10:54 AM
Created:10-09-09 01:49 PM
Downloads:330,369
Favorites:189
MD5:

GearScoreLite  Popular! (More than 5000 hits)

Version: 3x04
by: Mirrikat45 [More]

GearScore™ Lite is currently discontinued.

GeaerScore™/PlayerScore™ 4.5.00+ Has the option to run the addon in "Lite Mode" or in "Full Mode"!

3x04: Fixed a bug with GS above 6000. GearScore will now be reduced on enchant-able items missing enchantments. Because this is the lite version it cant determine if the enchantment is useful or not, only rather or not it exists. And remember, the game API always returns empty gems from the server so I cant detect empty gems in the lite version.

303: Fixed a bug where you couldn't use "/gs" because I had a lowercase 'y' instead of a "Y".
302: Fixed a bug when clicking on itemlinks/playerlinks in chat log.
Post A Reply Comment Options
Unread 03-06-10, 10:22 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Yes, your prior modification has been consistently bugging during every session of every character.

But your new change to fix this is not too clear. Near line 100 is nothing you have mentioned. To be more clear, your latest change is near line 120. So:

1) Do a search for the following line (which will be around line 120 or so):

Code:
local Name, Unit = GameTooltip:GetUnit();local MouseOverGearScore, MouseOverAverage = 0,0
2) Immediately after it, put the following new line:

Code:
if(Unit == nil) then return; end
Will give this new change of yours a try; hopefully it stops the continual errors and makes your modification workable.
Report comment to moderator  
Reply With Quote
Unread 03-05-10, 08:28 PM  
kof9x
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Add a null checking would fix the problem.
I saw this issue too, but I cannot sure it is caused by some possible network delay (which may cause GameToolTip():GetUnit() ).

Add one line at line near 100, and make the file like this would help...

Code:
function GearScore_HookSetUnit(arg1, arg2)

if( GS_PlayerIsInCombat ) then return; end

local Name, Unit = GameTooltip:GetUnit();local MouseOverGearScore, MouseOverAverage = 0,0

if(Unit == nil) then return; end

Originally posted by Zidomo
Well, further testing and...no, it doesn't work fine. I retract the above recommendation for Kof9x's modification to allow seeing GS mousing over unit frames. It bugged out here in combat.

After applying Kof9x's modification and seeing it work properly in Dalaran on party and target frames, went into heroic Culling Of Strathome. The following was thrown up and repeated 5 times mousing over an ememy in there (Enraging Ghoul):

Code:
["message"] = {
                "GearScoreLite-3x03\\GearScoreLite.lua:123: Usage: CanInspect(unit [, showError])\nGearScoreLite-3x03\\GearScoreLite.lua:123: in function <Interface\\AddOns\\GearScoreLite\\GearScoreLite.lua:118>\n<in C code>: ?\nMobNotes-1.1\\MobNotes.lua:682: in function <Interface\\AddOns\\MobNotes\\MobNotes.lua:677>\n(tail call): ?:\nTinyTip-1.4.16\\TinyTip.lua:112: in function <Interface\\AddOns\\TinyTip\\TinyTip.lua:106>\nTinyTip-1.4.16\\TinyTip.lua:165: in function <Interface\\AddOns\\TinyTip\\TinyTip.lua:165>\n<in C code>: ?\n...ns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:279: in function `SetUnit':\nInterface\\FrameXML\\UnitFrame.lua:146: in function `UnitFrame_UpdateTooltip':\nInterface\\FrameXML\\UnitFrame.lua:133: in function `UnitFrame_OnEnter':\nShadowedUnitFrames-@project-version@\\modules\\units.lua:553: in function <...nterface\\AddOns\\ShadowedUnitFrames\\modules\\units.lua:551>\n\nLocals:|r\narg1 = GameTooltip {\n SetQuestLogRewardSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\", -- [1]
                "LibExtraTip\\LibExtraTip.lua:273\n SetExistingSocketGem = <function> defined =[C]:-1\n SetHyperlink = <function> defined =[C]:-1\n SetTradeSkillItem = <function> defined =[C]:-1\n hasMoney = 1\n SetQuestRewardSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n default = 1\n comparing = false\n AddSpacerLine = <function> defined @Interface\\AddOns\\Nongren\\TooltipSpacerLine.lua:4\n SetPetAction = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetUnitDebuff = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetLootItem = <function> defined =[C]:-1\n SetQuestItem = <function> defined =[C]:-1\n SetCurrencyToken = <function> defined =[C]:-1\n SetShapeshift = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTrainerService = <function> defined =[C]:-1\n numMoneyFrames = 1\n SetTracking = <function> defined @In", -- [2]
                "terface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetSocketGem = <function> defined =[C]:-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 SetQuestLogItem = <function> defined =[C]:-1\n SetBackpackToken = <function> defined =[C]:-1\n SetUnitBuff = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTalent = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTradePlayerItem = <function> defined =[C]:-1\n SetUnit = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetSendMailItem = <function> defined =[C]:-1\n lines = <table> {\n }\n updateTooltip = 0.17899999842048\n SetInventoryItem = <function> defined =[C]:-1\n numStatusBars = 1\n SetMerchantCostItem = <f", -- [3]
                "unction> defined =[C]:-1\n SetLootRollItem = <function> defined =[C]:-1\n SetUnitAura = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetAuctionSellItem = <function> defined =[C]:-1\n SetBagItem = <function> defined =[C]:-1\n SetTradeTargetItem = <function> defined =[C]:-1\n 0 = <userdata>\n shownStatusBars = 0\n SetGuildBankItem = <function> defined =[C]:-1\n SetAuctionItem = <function> defined =[C]:-1\n}\narg2 = nil\nName = \"Enraging Ghoul\"\nUnit = nil\nMouseOverGearScore = 0\nMouseOverAverage = 0\n\n  ---", -- [4]
            },
            ["type"] = "error",
            ["session"] = 1184,
            ["counter"] = 5,
        }, -- [385]
So Kof9x's modification to show GSs in unit frame tooltips needs more work.

For the original issue--GS>6000 errors/problems--use the fix I posted below. It works without issues.
Report comment to moderator  
Reply With Quote
Unread 03-05-10, 09:10 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Originally posted by Zidomo
EDIT: Kof9x's fix/modification below has nothing to do with the GS>6000 problem; it modifies the mod to give tooltip GSs when mousing over unit frames instead of just mousing over players. After testing (using TinyTip & ShadowedUnitFrames), yes, it actually works fine .
Well, further testing and...no, it doesn't work fine. I retract the above recommendation for Kof9x's modification to allow seeing GS mousing over unit frames. It bugged out here in combat.

After applying Kof9x's modification and seeing it work properly in Dalaran on party and target frames, went into heroic Culling Of Strathome. The following was thrown up and repeated 5 times mousing over an ememy in there (Enraging Ghoul):

Code:
["message"] = {
                "GearScoreLite-3x03\\GearScoreLite.lua:123: Usage: CanInspect(unit [, showError])\nGearScoreLite-3x03\\GearScoreLite.lua:123: in function <Interface\\AddOns\\GearScoreLite\\GearScoreLite.lua:118>\n<in C code>: ?\nMobNotes-1.1\\MobNotes.lua:682: in function <Interface\\AddOns\\MobNotes\\MobNotes.lua:677>\n(tail call): ?:\nTinyTip-1.4.16\\TinyTip.lua:112: in function <Interface\\AddOns\\TinyTip\\TinyTip.lua:106>\nTinyTip-1.4.16\\TinyTip.lua:165: in function <Interface\\AddOns\\TinyTip\\TinyTip.lua:165>\n<in C code>: ?\n...ns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:279: in function `SetUnit':\nInterface\\FrameXML\\UnitFrame.lua:146: in function `UnitFrame_UpdateTooltip':\nInterface\\FrameXML\\UnitFrame.lua:133: in function `UnitFrame_OnEnter':\nShadowedUnitFrames-@project-version@\\modules\\units.lua:553: in function <...nterface\\AddOns\\ShadowedUnitFrames\\modules\\units.lua:551>\n\nLocals:|r\narg1 = GameTooltip {\n SetQuestLogRewardSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\", -- [1]
                "LibExtraTip\\LibExtraTip.lua:273\n SetExistingSocketGem = <function> defined =[C]:-1\n SetHyperlink = <function> defined =[C]:-1\n SetTradeSkillItem = <function> defined =[C]:-1\n hasMoney = 1\n SetQuestRewardSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n default = 1\n comparing = false\n AddSpacerLine = <function> defined @Interface\\AddOns\\Nongren\\TooltipSpacerLine.lua:4\n SetPetAction = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetUnitDebuff = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetLootItem = <function> defined =[C]:-1\n SetQuestItem = <function> defined =[C]:-1\n SetCurrencyToken = <function> defined =[C]:-1\n SetShapeshift = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTrainerService = <function> defined =[C]:-1\n numMoneyFrames = 1\n SetTracking = <function> defined @In", -- [2]
                "terface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetSocketGem = <function> defined =[C]:-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 SetQuestLogItem = <function> defined =[C]:-1\n SetBackpackToken = <function> defined =[C]:-1\n SetUnitBuff = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTalent = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTradePlayerItem = <function> defined =[C]:-1\n SetUnit = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetSendMailItem = <function> defined =[C]:-1\n lines = <table> {\n }\n updateTooltip = 0.17899999842048\n SetInventoryItem = <function> defined =[C]:-1\n numStatusBars = 1\n SetMerchantCostItem = <f", -- [3]
                "unction> defined =[C]:-1\n SetLootRollItem = <function> defined =[C]:-1\n SetUnitAura = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetAuctionSellItem = <function> defined =[C]:-1\n SetBagItem = <function> defined =[C]:-1\n SetTradeTargetItem = <function> defined =[C]:-1\n 0 = <userdata>\n shownStatusBars = 0\n SetGuildBankItem = <function> defined =[C]:-1\n SetAuctionItem = <function> defined =[C]:-1\n}\narg2 = nil\nName = \"Enraging Ghoul\"\nUnit = nil\nMouseOverGearScore = 0\nMouseOverAverage = 0\n\n  ---", -- [4]
            },
            ["type"] = "error",
            ["session"] = 1184,
            ["counter"] = 5,
        }, -- [385]
So Kof9x's modification to show GSs in unit frame tooltips needs more work.

For the original issue--GS>6000 errors/problems--use the fix I posted below. It works without issues.
Report comment to moderator  
Reply With Quote
Unread 03-04-10, 01:26 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Yes, as a follow-up to my previous post (after some testing), that GearScoreLite.lua:105: attempt to index field '?' (a nil value) error posted by me and many others has nothing really to do with the WoW 3.3 patch itself. It has to do with people getting GearScores over 6000 since the 3.3 patch...heh.

To connect the dots between that error and a fix, I'll bring up the "fix" for GS>6000 posted on Curse's page for GearScoreLite. Its a copy-paste of exactly the same fix that the full GearScore v3.1.14 uses (that's been updated since WoW 3.3).

1) With a proper text editor, head to line 102 in GearScoreLite.lua.
2) Under that line 102, insert the following new line (copied from original GearScore):
Code:
if ( ItemScore > 5999 ) then ItemScore = 5999; end
Lines 102 to 104 will now look like this:
Code:
 if not ( ItemScore ) then return 0, 0, 0, "Trash"; end
    if ( ItemScore > 5999 ) then ItemScore = 5999; end
    for i = 0,6 do
3) Save the file, start up WoW again.

On extensive testing since that change, no further errors mousing over people. Also, it will actually display GSs over 6000. For example, I saw someone with a GS of "6013". Its probably not a correct value in relation to <5999 values, as there is nothing else in the mod which accommodates or assesses those high values.

But this fix does stop the mouse-over errors.

LGender's fix below (which is just a copy-paste of the existing "6000" values formatted into a new "7000") likely will not provide correct values and may cause other value issues.

The fix I posted above comes from the GearScore author (copied out of the full GearScore) and stops the errors without creating other problems. What we really need, of course, is for the GearScore author to both officially update both mods as well as provide full support to GS values >6000. Until then, I'm sticking with this fix.

EDIT: Kof9x's fix/modification below has nothing to do with the GS>6000 problem; it modifies the mod to give tooltip GSs when mousing over unit frames instead of just mousing over players. After testing (using TinyTip & ShadowedUnitFrames), yes, it actually works fine .

So combine Kof9x's unit frame GS modification below along with GS>6000 fix I mention above and you should have this mod fully working until the author decides to get around to updating it.
Last edited by Zidomo : 03-04-10 at 01:41 PM.
Report comment to moderator  
Reply With Quote
Unread 03-03-10, 09:54 PM  
Apakal
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
Sorry. Didn't see the fix a couple posts down. My apologies.



Seems scores over 6k generate an error.

Message: Interface\AddOns\GearScoreLite\GearScoreLite.lua:105: attempt to index field '?' (a nil value)
Time: 03/03/10 22:53:17
Count: 1
Stack: 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]: ?
[C]: ?
[C]: ?
[C]: ?

Locals: ItemScore = 6014
Red = 0.1
Blue = 0.1
Green = 0.1
GS_QualityDescription = "Legendary"
(for index) = 6
(for limit) = 6
(for step) = 1
i = 6
(*temporary) = nil
(*temporary) = 7000
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
Last edited by Apakal : 03-04-10 at 10:23 AM.
Report comment to moderator  
Reply With Quote
Unread 03-03-10, 08:49 AM  
kof9x
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I also use tiptac...
The code fragment is a little different from original one.

What I did is: Add a small modification should also applied to line 120 when calls GameTooltip:GetUnit(), making it automatically changes Unit value with GameTooltip return value, not only mouseover.

At least when I mouse over to shadowed unit frame or grid, the unit value may changed to "player", or original "mouseover" when the cursor is moved over an unit.

For line 105 error,
please reference there is LgEnder's post in order to make GearScoreLite supports GS value > 6000.

I saw similar error log of MouseOverGearScore > 6000 in shinchih2001, and
Zidomo's post.
Report comment to moderator  
Reply With Quote
Unread 03-02-10, 09:17 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Originally posted by Stratosfear
after adding that line to 122, the scores disappear from the tooltip when you mouseover a unit
Yes, that change by a poster below may "fix" the error, but its not a proper fix as it disables main functionality of the mod.

Looks like something in the 3.3.2 WoW patch (release date: Feb 2/2010) broke something in this mod, causing it to consistently throw up errors. No, it doesn't look like its related to Clique as brought up by a poster below. I had no errors before that date from GearScoreLite in my !BugGrabber/BugSack log. And people below have only been posting about the error since the patch as well.

My error upon mousing over a character (same as posted by others below, with !BugGrabber details):

Code:
["message"] = {
                "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>: ?\nMobNotes-1.1\\MobNotes.lua:682: in function <Interface\\AddOns\\MobNotes\\MobNotes.lua:677>\n(tail call): ?:\nTinyTip-1.4.16\\TinyTip.lua:112: in function <Interface\\AddOns\\TinyTip\\TinyTip.lua:106>\nTinyTip-1.4.16\\TinyTip.lua:165: in function <Interface\\AddOns\\TinyTip\\TinyTip.lua:165>\n\nLocals:|r\narg1 = GameTooltip {\n SetQuestLogRewardSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n default = 1\n SetExistingSocketGem = <function> defined =[C]:-1\n SetHyperlink = <function> defined =[C]:-1\n SetUnit = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n hasMoney = 1\n shownStatusBars = 0\n numStatusBars = 1\n SetQuestRewardSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\L", -- [1]
                "ibExtraTip\\LibExtraTip.lua:273\n comparing = false\n AddSpacerLine = <function> defined @Interface\\AddOns\\Nongren\\TooltipSpacerLine.lua:4\n SetPetAction = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetUnitDebuff = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetLootItem = <function> defined =[C]:-1\n SetQuestItem = <function> defined =[C]:-1\n SetTrainerService = <function> defined =[C]:-1\n numMoneyFrames = 1\n SetBackpackToken = <function> defined =[C]:-1\n SetSocketGem = <function> defined =[C]:-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 SetQuestLogItem = <function> defined =[C]:-1\n SetSpell = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetUnitBuff = <", -- [2]
                "function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTalent = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTradePlayerItem = <function> defined =[C]:-1\n SetMerchantCostItem = <function> defined =[C]:-1\n SetSendMailItem = <function> defined =[C]:-1\n lines = <table> {\n }\n updateTooltip = 0.0019999861717224\n SetInventoryItem = <function> defined =[C]:-1\n SetTracking = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetGuildBankItem = <function> defined =[C]:-1\n SetLootRollItem = <function> defined =[C]:-1\n SetUnitAura = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetTradeSkillItem = <function> defined =[C]:-1\n SetAuctionSellItem = <function> defined =[C]:-1\n SetBagItem = <function> defined =[C]:-1\n SetCurrencyToken = <function> defined =[C]:-1\n 0 = <userdata>\n SetTradeTargetItem = <functio", -- [3]
                "n> defined =[C]:-1\n SetShapeshift = <function> defined @Interface\\AddOns\\AtlasLootReverse\\libs\\LibExtraTip\\LibExtraTip.lua:273\n SetAuctionItem = <function> defined =[C]:-1\n}\narg2 = nil\nName = \"Talirrine\"\nMouseOverGearScore = 6016\nMouseOverAverage = 263\n\n  ---", -- [4]
            },
            ["type"] = "error",
            ["session"] = 1136,
            ["counter"] = 1,
        }, -- [370]
No other mod or library listed after GearScoreLite in the above error has had a problem or error since the patch. As this error has been happening very consistently to many people since the patch (at every logon here), it really needs a proper fix.
Report comment to moderator  
Reply With Quote
Unread 03-02-10, 08:12 AM  
Stratosfear
A Defias Bandit

Forum posts: 2
File comments: 45
Uploads: 0
after adding that line to 122, the scores disappear from the tooltip when you mouseover a unit

Using tiptac and shadowedunitframes
Report comment to moderator  
Reply With Quote
Unread 03-01-10, 11:32 PM  
kof9x
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
A simple fix (may not best one, because I am not familiar with WoW-UI programming) would be applied to GearScoreLite.lua, line 122

It may be caused by some return value of GetUnit() when the mouse cursor is moved over some unit frame.

I tested it on Grid, and Shadowed Unit Frames without any problem.
Hope this help someone else who need this.

Code:
	local Name, Unit = GameTooltip:GetUnit();local MouseOverGearScore, MouseOverAverage = 0,0

--	if ( CanInspect("mouseover") ) and ( UnitName("mouseover") == Name ) and not ( GS_PlayerIsInCombat ) then 
--		NotifyInspect("mouseover"); MouseOverGearScore, MouseOverAverage = GearScore_GetScore(Name, "mouseover"); 
	if ( CanInspect( Unit ) ) and ( UnitName( Unit ) == Name ) and not ( GS_PlayerIsInCombat ) then 
		NotifyInspect( Unit ); MouseOverGearScore, MouseOverAverage = GearScore_GetScore(Name, Unit); 
	end
Originally posted by SannaSK
from what i can tell, /gs level will perform this function, adding an average ilvl for that player's total gear set into the mouseover tooltip.


if i were able to make a request to the author, it would be:
unless i'm doing it wrong, I cannot get a gear score in the tooltip when i mouse over a unitframe of a party- or raid-member. I have to mouse over the character exactly. GearScore not-lite-version seemed to do this, and I really don't want to have to install an addon that generates and stores that giant-ass database just to get that feature back. Is that something that GSLite can do and still be lite?
Last edited by kof9x : 03-01-10 at 11:33 PM.
Report comment to moderator  
Reply With Quote
Unread 02-28-10, 06:59 PM  
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 96
File comments: 68
Uploads: 2
has this been discontinued?
Report comment to moderator  
Reply With Quote
Unread 02-25-10, 06:12 AM  
shinchih2001
A Defias Bandit

Forum posts: 3
File comments: 198
Uploads: 0
1x GearScoreLite-3x03\GearScoreLite.lua:105: attempt to index field '?' (a nil value)
GearScoreLite-3x03\GearScoreLite.lua:124: in function <GearScoreLite\GearScoreLite.lua:117>
<in C code>: ?
<in C code>: ?
<in C code>: ?

Locals:
arg1 = GameTooltip {
FadeOut = <function> @ TipTac\core.lua:833:
numMoneyFrames = 1
SetInventoryItem = <function> @ GearScoreLite\GearScoreLite.lua:200:
default = 1
comparing = false
shoppingTooltips = <table> {}
Show = <function> @ TipTac\core.lua:823:
SetHyperlink = <function> defined =[C]:-1
tipTacGradient = <unnamed> {}
updateTooltip = 0.2
0 = <userdata>
hasMoney = 1
}
arg2 = nil
Name = "深淵闇影"
MouseOverGearScore = 6020
MouseOverAverage = 262
Report comment to moderator  
Reply With Quote
Unread 02-24-10, 04:56 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Seems to be a conflict with Clique...

Code:
[11:54:57] 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]: ?
[C]: ?
[C]: ?
Interface\AddOns\Clique\Clique.lua:105: in function <Interface\AddOns\Clique\Clique.lua:103>
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Unread 02-10-10, 02:35 AM  
SannaSK
An Aku'mai Servant

Forum posts: 33
File comments: 22
Uploads: 0
Originally posted by Seyss
Hey can you update please?

**ALL** I want is to see the Avg iLevel of the target at that mouse window.. no colors no gearscore.

Thanks.
from what i can tell, /gs level will perform this function, adding an average ilvl for that player's total gear set into the mouseover tooltip.


if i were able to make a request to the author, it would be:
unless i'm doing it wrong, I cannot get a gear score in the tooltip when i mouse over a unitframe of a party- or raid-member. I have to mouse over the character exactly. GearScore not-lite-version seemed to do this, and I really don't want to have to install an addon that generates and stores that giant-ass database just to get that feature back. Is that something that GSLite can do and still be lite?
Report comment to moderator  
Reply With Quote
Unread 02-05-10, 02:42 PM  
LgEnder
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
GearScoreLite seems to break if GearScore breaks 6000.

Fix: informationLite.lua line 111 in GS_Quality (didn't bother with a new color scale...)
Code:
	[7000] = {
		["Red"] = { ["A"] = 0.94, ["B"] = 5000, ["C"] = 0.00006, ["D"] = 1 },
		["Green"] = { ["A"] = 0.47, ["B"] = 5000, ["C"] = 0.00047, ["D"] = -1 },
		["Blue"] = { ["A"] = 0, ["B"] = 0, ["C"] = 0, ["D"] = 0 },
		["Description"] = "Legendary"
	},
Last edited by LgEnder : 02-05-10 at 03:02 PM.
Report comment to moderator  
Reply With Quote
Unread 02-04-10, 04:46 AM  
JStrese
A Murloc Raider

Forum posts: 8
File comments: 55
Uploads: 0
Was just running around Dalaran and this fired:

Date: 2010-02-04 04:45:12
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\GearScoreLite\GearScoreLite.lua line 105:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
GearScoreLite\GearScoreLite.lua:105: GearScore_GetQuality()
GearScoreLite\GearScoreLite.lua:124:
GearScoreLite\GearScoreLite.lua:117
[C]: ?
[C]: ?
[C]: ?
AddOns:
Swatter, v5.7.4568 (KillerKoala)
acbCastBar, v09.12.16
acbMirror, v09.12.16
AtlasLoot, vv5.09.05
AucAdvanced, v5.7.4568 (KillerKoala)
AucFilterBasic, v5.7.4568 (KillerKoala)
AucFilterOutlier, v5.7.4568.2531
AucMatchUndercut, v5.7.4568.2531
AucScanData, v5.7.4568 (KillerKoala)
AucStatClassic, v5.7.4568 (KillerKoala)
AucStatHistogram, v5.7.4568 (KillerKoala)
AucStatiLevel, v5.7.4568 (KillerKoala)
AucStatPurchased, v5.7.4568 (KillerKoala)
AucStatSales, v5.7.4568.2842
AucStatSimple, v5.7.4568 (KillerKoala)
AucStatStdDev, v5.7.4568 (KillerKoala)
AucStatWOWEcon, v5.7.4568.2530
AucUtilAHWindowControl, v5.7.4568.3311
AucUtilAppraiser, v5.7.4568.2530
AucUtilAskPrice, v5.7.4568.3175
AucUtilAutoMagic, v5.7.4568.3142
AucUtilCompactUI, v5.7.4568.2530
AucUtilEasyBuyout, v5.7.4568.3583
AucUtilFixAH, v5.7.4568 (KillerKoala)
AucUtilGlypher, v5.7.4568.2545
AucUtilItemSuggest, v5.7.4568.3108
AucUtilPriceLevel, v5.7.4568.2545
AucUtilScanButton, v5.7.4568.2530
AucUtilScanFinish, v5.7.4568.2530
AucUtilScanProgress, v5.7.4568.2530
AucUtilSearchUI, v5.7.4568.3655
AucUtilSimpleAuction, v5.7.4568.4553
AucUtilVendMarkup, v5.7.4568.2530
AzCastBar, v09.12.16
Babylonian, v5.1.DEV.130
BrokerEverything, v0.0.16
ButtonFacade, v3.3.288
ButtonFacadeEntropy, v3.2.55
Configator, v5.1.DEV.190
DBMCore, v
DebugLib, v5.1.DEV.130
DockingStation, v0.3.3 (Beta)
Dominos, v1.15.2
DominosRoll, v
DragEmAll, v0.7
ForteCasting, v
ForteCore, v1.957
ForteSoulstone, v
ForteTimer, v
ForteWarlock, v
GearScoreLite, v3x03
InFlightLoad, v3.3.003
Mapster, v1.3.6
MikScrollingBattleText, v5.4.71
OmniCC, v2.5.9
OptionHouse, v
PocketPlot, v2.9.4
Postal, v3.3.0
RatingBuster, v
ShadowedUFIndicators, v
ShadowedUnitFrames, vv3.1
SimpleBuffBars, v
Skada, v1.2-25
SkadaDamage, v1.0
SkadaHealing, v1.0
SkadaThreat, v1.0
Stubby, v5.7.4568 (KillerKoala)
Talented, vv2.4.4-release
TalentedSpecTabs, vv2.4.4-release
TBag, v
TidyPlates, v5.9.3
TidyPlatesCleanPlates, v1.9g
TipTac, v09.11.28
TipTacItemRef, v09.08.13
BlizRuntimeLib_enUS v3.3.2.30300 <us>
(ck=86f)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.