Pet Frame health indicator keeps bugging out #709


  • Fixed
Closed
  • varvarezise created this issue Sep 4, 2019

    What version of Grid2 are you using?

    r916 

     

    What game client version (windows or mac) and language are you using ?

    Windows

     

    What steps will reproduce the problem?

    Have pet frames showing and get into a few fights.  At some point the health bar will not move or show incorrect health deficit

     
    Did you try having Grid2 as the only enabled addon and everything else disabled?

    Yes

     

    Was it working in a previous version? If yes, which was the last good one?

    First time trying to use it with classic, but retail version works fine.

     

    Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (`/console scriptErrors 1`) or install [BugSack](https://mods.curse.com/addons/wow/BugSack).

      

    Please provide any additional information below.

     

     

  • michaelsp posted a comment Sep 6, 2019

    I cannot check this issue yet (i have no class with pet in classic).  Maybe in a few weeks i will be able to level a hunter to at least level 10 to get a pet.

    Anyways for the game and addons pets and players units are the same,  so if some unit shows incorrect health probably will be a game issue, not an addon issue.


    Edited Sep 6, 2019
  • rosuto4u posted a comment Sep 8, 2019

    I also have this problem, pets work fine on default Blizzard raidframes but always appear at full HP on Grid. 

    @Michaelsp, if it helps you can do the Warlock imp quest at lv4. Here are my error messages:

     

    Message: Interface\AddOns\Grid2\modules\StatusColor.lua:118: attempt to call upvalue 'UnitHasVehicleUI' (a nil value)
    Time: Sat Sep 7 20:47:17 2019
    Count: 3
    Stack: Interface\AddOns\Grid2\modules\StatusColor.lua:118: attempt to call upvalue 'UnitHasVehicleUI' (a nil value)
    Interface\AddOns\Grid2\modules\StatusColor.lua:118: in function `IsActive'
    Interface\AddOns\Grid2\GridIndicator.lua:84: in function `GetCurrentStatus'
    Interface\AddOns\Grid2\GridIndicator.lua:94: in function `Update'
    Interface\AddOns\Grid2\GridFrame.lua:170: in function `UpdateIndicators'
    Interface\AddOns\Grid2\GridFrame.lua:79: in function <Interface\AddOns\Grid2\GridFrame.lua:71>
    [C]: in function `SetAttribute'
    Interface\FrameXML\SecureGroupHeaders.lua:203: in function <Interface\FrameXML\SecureGroupHeaders.lua:123>
    Interface\FrameXML\SecureGroupHeaders.lua:623: in function <Interface\FrameXML\SecureGroupHeaders.lua:530>
    [C]: in function `Show'
    Interface\AddOns\Grid2\GridLayout.lua:571: in function `ForceFramesCreation'
    Interface\AddOns\Grid2\GridLayout.lua:518: in function `FixHeaderAttributes'
    Interface\AddOns\Grid2\GridLayout.lua:443: in function `AddHeader'
    ...
    [C]: ?
    ...id2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:29: in function <...id2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
    ...id2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:64: in function `SendMessage'
    Interface\AddOns\Grid2\GridRoster.lua:230: in function `GroupChanged'
    Interface\AddOns\Grid2\GridRoster.lua:181: in function `?'
    ...id2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119: in function <...id2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
    [C]: ?
    ...id2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:29: in function <...id2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
    ...id2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:64: in function `Fire'
    ...face\AddOns\Grid2\Libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...face\AddOns\Grid2\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>
    
    Locals: self = <table> {
    GetPercent = <function> defined @Interface\AddOns\Grid2\modules\StatusColor.lua:128
    UpdateUnit = <function> defined @Interface\AddOns\Grid2\modules\StatusColor.lua:30
    indicators = <table> {
    }
    RegisterMessage = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
    UnregisterAllEvents = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
    GetText = <function> defined @Interface\AddOns\Grid2\modules\StatusColor.lua:124
    GetColor = <function> defined @Interface\AddOns\Grid2\GridUtils.lua:152
    SendMessage = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:59
    dbx = <table> {
    }
    OnDisable = <function> defined @Interface\AddOns\Grid2\modules\StatusColor.lua:43
    RegisterEvent = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
    UnregisterAllMessages = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
    IsActive = <function> defined @Interface\AddOns\Grid2\modules\StatusColor.lua:116
    OnEnable = <function> defined @Interface\AddOns\Grid2\modules\StatusColor.lua:36
    name = "charmed"
    enabled = true
    UnregisterEvent = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
    UnregisterMessage = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
    }
    unit = "partypet4"
    owner = "party4"
    (*temporary) = nil
    (*temporary) = "party4"
    (*temporary) = "attempt to call upvalue 'UnitHasVehicleUI' (a nil value)"
    Grid2 = <table> {
    CreateLocation = <function> defined @Interface\AddOns\Grid2\GridUtils.lua:138
    EnableModules = <function> defined @Interface\AddOns\Grid2\GridCore.lua:81
    WakeUpIndicator = <function> defined @Interface\AddOns\Grid2\GridIndicator.lua:107
    modules = <table> {
    }
    CancelTimer = <function> defined @Interface\AddOns\Grid2\GridUtils.lua:55
    sta

     

  • michaelsp posted a comment Sep 15, 2019

    The error posted by rosuto4u was fixed in version r917.

  • michaelsp closed issue Sep 18, 2019
  • michaelsp added a tag Fixed Sep 18, 2019

To post a comment, please login or register a new account.