Get an Epic Experience with Premium

GearCheck

Bags & Inventory Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 450 Monthly Downloads
  • Supports: 5.3.0
  • 59,197 Total Downloads
  • Updated 06/18/2013
  • Created 01/22/2011
  • 24 Favorites
  • Project Site
  • Comments
  • Release Type: Inactive
  • License: All Rights Reserved
  • Newest File: GearCheck v3.96
or

About GearCheck

GearCheck is a simple AddOn, that informs you about other players Gear. This AddOn collects the follwing informations:
  • • Real-Item-Level (RIL)
  • • Blizzard-Item-Level (BIL)
  • • Resiliance (res.) If your target isn't running this AddOn, only the RIL will be collected by inspecting the target. By running this AddOn you can requests those informations and will answer to those requests (this can be deactivated).



    There are four GearCheck-modes. You can GearCheck your current group, raid and / or a specific target. Beyond that, it is possible to run a Guild-GearCheck. This only works for guild-members, that are also running this AddOn. The results of the GearCheck will be shown in a small ScrollFrame. Beyond that, the GearCheck-Results can be published via the chat. In addition to the GearCheck-Report the tooltip of GearChecked targets will be enhanced. Targets, that aleady have been GearChecked, can be updated / rechecked by clicking their name in the GUI. As mentioned before, it's possible to disable the automatic response to GearCheck-requests. In this case, the player, that has requested your GearCheck will be informed, that you don't want to publish your GearCheck-Results. In this case this AddOn wont Inspect you, so no informations about your Equip will be collected. The RIL describes the average Item-Level of someones current equip. This value is calculated by this AddOn based on the equip, that the target was wearing while he was GearChecked. The RIL will also be shown in the paperdoll-frame. It is updated, every time you equip a new Item. The BIL is a value calculated by Blizzard that shows the average Item-Level of the best Items someone wears and / or carrys in his bags. If the target isn't running this AddOn, the Real-Item-Level will be calculated by inspecting the target.
    • 5.3 compatibility
    • item-Upgrades are now detected correctly (thnx @dilios300)

    Comments

    First Previous Page 1 of 2 Next Last
    • #23
      If you want GearCheck to include upgrade level do this...

      Edit GearCheck.lua

      Find the following function:

      --------------------------------------------------------------------------------------------------

      local function GearCheckGetCurrentAverageItemLevel(unit)
          --print(unit);
          if GearCheckDebug2 then
              print("GetCurrentAverageItemLevel("..unit..")");
              print(GetUnitName(unit));
          end
          local ril = 0;
          local j = 15;
          for i = 1, 17 do
              if i ~= 4 then
                  local k = GetInventoryItemLink(unit, i);
                  if k then
                      local _, itemLink, _, itemLevel = GetItemInfo(k);
                      ril = ril + itemLevel;
                      if (i == 17) then
                          j = j + 1;
                      end
                      if GearCheckDebug2 then
                          print(tostring(itemLink)..": "..tostring(itemLevel));
                      end
                  end
              end
          end
          ril = ril / j;
          if GearCheckDebug2 then
              print(tostring(ril));
              print();
          end
          return ril;
      end

      --------------------------------------------------------------------------------------------------

      and replace it with:

      --------------------------------------------------------------------------------------------------

      -- Construct your saarch pattern based on the existing global string:
      local S_UPGRADE_LEVEL   = "^" .. gsub(ITEM_UPGRADE_TOOLTIP_FORMAT, "%%d", "(%%d+)")

      -- Create the tooltip:
      local scantip = CreateFrame("GameTooltip", "MyScanningTooltip", nil, "GameTooltipTemplate")
      scantip:SetOwner(UIParent, "ANCHOR_NONE")

      -- Create a function for simplicity's sake:
      local function GetItemUpgradeLevel(itemLink)
          -- Pass the item link to the tooltip:
          scantip:SetHyperlink(itemLink)

          -- Scan the tooltip:
          for i = 2, scantip:NumLines() do -- Line 1 is always the name so you can skip it.
              local text = _G["MyScanningTooltipTextLeft"..i]:GetText()
              if text and text ~= "" then
                  local currentUpgradeLevel, maxUpgradeLevel = strmatch(text, S_UPGRADE_LEVEL)
                  if currentUpgradeLevel then
                      return currentUpgradeLevel, maxUpgradeLevel
                  end
              end
          end
          return 0, 0
      end

      local function GearCheckGetCurrentAverageItemLevel(unit)
          --print(unit);
          if GearCheckDebug2 then
              print("GetCurrentAverageItemLevel("..unit..")");
              print(GetUnitName(unit));
          end
          local ril = 0;
          local j = 15;
          for i = 1, 17 do
              if i ~= 4 then
                  local k = GetInventoryItemLink(unit, i);
                  if k then
                      local _, itemLink, _, itemLevel = GetItemInfo(k);
                      local currentUpgradeLevel, maxUpgradeLevel = GetItemUpgradeLevel(itemLink);
                          ril = ril + itemLevel + (currentUpgradeLevel * 4);
                          if GearCheckDebug2 then
                              print(tostring(itemLink)..": "..tostring(itemLevel)..": "..tostring(itemLevel + (currentUpgradeLevel * 4))..": "..tostring((currentUpgradeLevel * 4)));
                          end
                      if (i == 17) then
                          j = j + 1;
                      end
                  end
              end
          end
          ril = ril / j;
          if GearCheckDebug2 then
              print(tostring(ril));
              print();
          end
          return ril;
      end

      --------------------------------------------------------------------------------------------------

      It will now detect upgraded items and calulate ilvl properly, if the developer uses this fix feel free to edit and use it as you please, as long as u update it as the official release, thx

    • #21

      Will it be able to check the opposite faction at some time?

    • #22

      Hi tookillyou,

      currently there are no plans to GearCheck the opposite faction.

    • #17

      only works for me when i open the inspect window manually first 

      :( 

       

      edit: also, it seems your last release 3.94 is misspelt and therefore not installing for most people. 

      just noticed and tried 3.94 but still not working with unless i open the inspect frame on the player i want to gearcheck and then hit perform gearcheck. 

      Last edited by e5kimo on 10/19/2012 8:40:02 AM
    • #18

      Hi e5kimo,

      are You using ElvUI? It seems that this can cause heavy problems (as You can read in the comments below).

      Please try to use the AddOn "InspectFix" (http://www.curse.com/addons/wow/inspectfix) in combination with GearCheck.

      You could also try to use the command /gc debug2 to see if the inspect is working correct. Now You'll see in the chatframe who is currently checked and wich item-informations are retrieved. It will look like the following:

      GetCurrentAverageItemLevel(unit)

      unitname

      itemlink1: itemlevel1

      itemlink2: itemlevel2

      [...]

      itemlinkn: itemleveln

      avgitemlevel

      This will appear X times per unit (in default X = 5) that ist inspected. Usually after the third time itemlinks appear. If no itemlinks appear, the inspection of the units isn't working correct.

      Edit: Thanks for reporting the misspelling. I corrected it some seconds ago (hopefully it will be updated by curse soon)

       

      Edit2: Currently curse-replys are buggy as hell ( I'm not able to reply to sub-comments). I'll answer by editing this reply:

      I found out, that ElvUI is using the inspect-command very often. This command is limited by Blizzard. If this command is used to often, it wont provide any data. I presume, that this causes GearCheck not to work. If you inspect manually there is no limitation. Maybe i can try to do a workaround by opening the inspect-window. This will be implemented in the next Version (v3.95).

      Edit3: The workaround isn't working as intended, therefor it wont be implemented, because it can cause serious performance-problems. Currently disabling the ElvUI-tooltips is the only way, GearCheck will run in combination with ElvUI (Thanks for finding out e5kimo).

      Last edited by SirMezO on 10/22/2012 8:58:58 AM
    • #20

      elvui tooltip is the culprit. disable it and gearcheck works fine 

      found this http://wow.curseforge.com/addons/examiner/tickets/13-examiner-and-elvui/

       

    • #19

      yes, using elvui :( 

      sadly inspectfix doesnt help. maybe i can find out what or how elvui blocks the inspect

    • #10

      Just tried it in a dungeon

      its not working. it only shows my stats. rest gets 0.

    • #11

      Hi impatus,

      have You changed some of the advanced options? The default settings, as seen in the screenshot (Inspects / Unit: 5 Waittime / Inspect: 0.3) should work. Please try again in another dungeon. If other players are again listed with "0" try to increase the Waittime / Inspect to 0.5 - 0.7.

      If've tested a lot, but I wasn't able to reproduce the mentioned problem. It would be very helpful if You give some more infos.

      This AddOn gets the needed informations by inspecting the other players. To achieve correct results the Players, that are inspected must be in your range (~8 yards). If the are out of sight, they cannot be inspected. A bad latency (of the realm and your pc) can cause heavy problems. The mentioned default values should work with a latency < 150. For a higher latency the Waittime / Inspect should be increased. It's also possible, that another AddOn troubles the inspects. Beyond that, the inspect-function itself is a bit problematic. Because of that, I would recommend to use the AddOn "InspectFix" (http://www.curse.com/addons/wow/inspectfix) .

      Last edited by SirMezO on 10/9/2012 4:19:42 AM
    • #16

      It looks like you are not retrieving any informations of the inspected target. This can be cause by a huge ammount of inspect-calls within a short time. Please try to increase the Inspects / Unit to 15 and the Waittime / Inspect to 2 (these are the maximum values for my AddOn and will lead to a very time-consuming GearCheck: >30sec per Unit).

      If you are still not getting results, it might be helpful to hook the inspect-function to see how often it is called. If it is called quiet often, i cannot do anything without blocking functions of other AddOns and that wouldn't be very nice.

    • #15

      I made a video showing whats happening:

      http://www.youtube.com/watch?v=N__7WvNpXUo&amp;hd=1

    • #14

      hmm, that sounds weird.

      Some minutes ago I've uploaded a new Version (v3.93) that contains a special debug-mode that might help to isolate the problem. In this new Version type "/gc debug2" into the chatframe to activate that debug-mode. Now You'll see in the chatframe who is currently checked and wich item-informations are retrieved. It will look like the following:

      GetCurrentAverageItemLevel(unit)

      unitname

      itemlink1: itemlevel1

      itemlink2: itemlevel2

      [...]

      itemlinkn: itemleveln

      avgitemlevel

      This will appear X times per unit (in default X = 5) that ist inspected. Usually after the third time itemlinks appear. If no itemlinks appear, the inspection of the units isn't working correct.

      Edit: It is possible, that ElvUI is using the inspect-function. This function is limited by Blizzard. If ther are more than x calls of this function Blizzard wont answer to it for some time (I dont know the specific numbers). If that is the case, I have no idea how to fix that.

      Last edited by SirMezO on 10/9/2012 10:22:29 AM
    • #12

      Im gona do some dungeons now. i try again to see if it works. my latency is good and i did scan several times and made sure everyone was close to me. still only showed my stats.

      heres a screenshot i took: 

      (rightclick and open in new window for full ress)

      but i will do some more runs now to see if i can get it working. ill tru disabling some addons and the inspectfix to see if that helps.

       

      Edit: first run. i got it working one time, and thats when i clicked perfor gearcheck button and inspected one of the people in the party while it was scaning. then i got everyone in the party listed with stats. but only 1 time. someone left and i didnt get any new data.

      2nd try. i added inspectfix. still dont work

       

      still trying. bah. entered a bg with only this and inspectfix running and it worked fine. trying to find out what addon that is messing this up. waiting for deserter debuff to run out :D

      There! Seems that it is ElvUi that making sure this wont work. wich sucks as its makes up my entire UI and i kinda need it :P no idea why it wont work tho, or if its a problem with this addon or elvui

      Last edited by impatus on 10/9/2012 8:42:57 AM
    • #8

      Any changes to get this updated for mop?

      Gives following error:

      2x GearCheck\GearCheck-v3.7.lua:1207: attempt to call global "GetNumRaidMembers" (a nil value)
      GearCheck\GearCheck-v3.7.lua:1207: in function <GearCheck\GearCheck.lua:966>
      GearCheck\GearCheck-v3.7.lua:1384: in function <GearCheck\GearCheck.lua:1383>

      Locals:
      self = GearCheckFrame {
       0 = <userdata>
      }
      event = "ADDON_LOADED"
      arg1 = "GearCheck"
      arg2 = nil
      arg3 = nil
      arg4 = nil
      GearCheckOnEvent = <func> @..\GearCheck.lua:966

    • #9

      Hi,

      this is caused by the latest patch 5.0.4.

      Some Minutes ago I've uploaded an updated version (v3.8) that should work.

    • To post a comment, please login or register a new account.
    Login to Curse

    Don't have an account? Create One.

    Get an epic experience with Curse Premium
    • Faster addon downloads
    • Premium-Only Beta Giveaways
    • Ad-Free Curse experience
    • Premium Curse Client
    • and many More Features
    • Learn More »

    Curse $5,000 Dreamhack CS:GO Skin Giveaway

    Enter Now!