Grid_QuickHealth

Makes grid QuickHealth aware: in short -- this means that health bars in Grid would change their values more often if your ping is good.
See http://forums.elitistjerks.com/topic/26281-instant-health-updates/ for more details.

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

  • 8 comments
  • Avatar of Rhey80 Rhey80 Jun 29, 2011 at 23:23 UTC - 0 likes

    On line 658 of LibQuickHealth-2.0.lua overwrite this:

    function eventHandlers.COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...)

  • Avatar of smixfan smixfan Jun 29, 2011 at 21:22 UTC - 0 likes

    thanks for 4.2 hotfix!

    Last edited Jun 30, 2011 by smixfan
  • Avatar of lolofora lolofora Apr 27, 2011 at 22:24 UTC - 0 likes

    HotFix 4.1

    On line 658 of LibQuickHealth-2.0.lua,

    change function

    eventHandlers.COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, ...)

    to

    function eventHandlers.COMBAT_LOG_EVENT_UNFILTERED(timestamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, destGUID,

  • Avatar of Ackis Ackis Oct 19, 2010 at 13:31 UTC - 0 likes

    If you want to take this project over, please read:

    http://kb.curseforge.com/policy/abandoned-and-inactive-projects/#w-taking-over-an-abandoned-project

    Until someone takes it over, the repo is closed.

    BFAK:Ackis,90710388,2f62cbb4c100385c86df0c1418f5ac5a2cb1a2bc3f2a18f13291792dbb3a1480

  • Avatar of Bogenlampe Bogenlampe Oct 18, 2010 at 02:21 UTC - 0 likes

    latest alpha should be working

  • Avatar of lolofora lolofora Oct 17, 2010 at 08:41 UTC - 0 likes

    Correction 4.01 -> Grid_QuickHealth.lua

    local QuickHealth = LibStub(“LibQuickHealth-2.0”)

    — env changement code taken from interruptus
    local proxyEnv = setmetatable( { UnitHealth = QuickHealth.UnitHealth, }, { __index = _G, __newindex = function (t, k, v) _G[k] = v end, }
    )

    local GetNumRaidMembers = GetNumRaidMembers
    local GridStatusHealth = Grid:GetModule(“GridStatus”):GetModule(“GridStatusHealth”)
    local GridStatusHeals = Grid:GetModule(“GridStatus”):GetModule(“GridStatusHeals”)
    local function UnitHealthUpdated(event, unitID, newHealth, healthMax) if GetNumRaidMembers()>0 and unitID:sub(1,4) ~= “raid” then return end GridStatusHealth:UpdateUnit(event, unitID, true) GridStatusHeals:UpdateUnit(event, unitID)
    end

    local eventFrame = CreateFrame(“Frame”)
    local PLAYER_LOGIN
    function PLAYER_LOGIN() QuickHealth.RegisterCallback(“Grid_QuickHealth”, “UnitHealthUpdated”, UnitHealthUpdated)

    setfenv(GridStatusHealth.UpdateUnit, proxyEnv) GridStatusHealth:UnregisterEvent(“UNIT_HEALTH”) GridStatusHealth:UnregisterEvent(“UNIT_MAXHEALTH”) —setfenv(GridStatusHeals.UpdateIncomingHeals, proxyEnv) —GridStatusHeals:UnregisterEvent(“UNIT_HEALTH”) eventFrame:SetScript(“OnEvent”, nil) eventFrame:UnregisterAllEvents() PLAYER_LOGIN = nil end

    eventFrame:SetScript(“OnEvent”, PLAYER_LOGIN)
    eventFrame:RegisterEvent(“PLAYER_LOGIN”)

    Last edited Oct 17, 2010 by lolofora
  • Avatar of Mkdw Mkdw Jul 26, 2010 at 23:03 UTC - 0 likes

    You can use the June 12, 2010 update (r36). Link found to the right where this is resolved: http://www.wowace.com/addons/project-14141/files/31-r36/

    However, if you're using the older version or from Curse Gaming.

    For Mac Users using TextEdit.

    It's line 19, 31, and 32.

    Last edited Jul 26, 2010 by Mkdw
  • Avatar of fratzi fratzi Jul 18, 2010 at 18:52 UTC - 0 likes

    making this not lagging for 3.3

    1. Backup (make a copy) of Grid_QuickHealth.lua stored in ...World of Warcraft/AddOns/Grid_Quickhealth/
    2. Open the original Grid_QuickHealth.lua in Notepad or Textedit.
    3. Convert lines 18, 30 and 31 to comments by adding "-- " at the start of the line (excluding quotes) so that you should end up with the following:
    * Line 18: -- GridStatusHeals:UpdateHealsForUnit(unitID)
    * Line 30: -- setfenv(GridStatusHeals.UpdateIncomingHeals proxyEnv)
    * Line 31: -- GridStatusHeals:UnregisterEvent("UNIT_HEALTH")
    4. Save and close the .lua file.

    Last edited Jul 18, 2010 by fratzi
  • 8 comments

Facts

Date created
Sep 11, 2008
Categories
Last update
Oct 15, 2014
Development stage
Release
Language
  • enUS
License
BSD License
Curse link
Grid_QuickHealth
Downloads
102,775
Recent files

Authors