StatusShields lua error with 5.1 #327


  • Defect
  • Fixed
Closed
Assigned to michaelsp
  • _ForgeUser444178 created this issue Nov 29, 2012

    What steps will reproduce the problem?
    Lua errors are spammed when I get in combat and any shielding happens. This doesn't happen with my shields because if I attack a dummy and
    heal myself I don't get those. However, getting in a BG and in combat will immediately pop them. The errors are about 1-2 per second.

    What Grid2 version and language of WoW are you using?
    r695 and English EU.

    Do you have an error log of what happened?

    Message: Interface\AddOns\Grid2\modules\StatusShields.lua:50: attempt to compare number with boolean
    Time: 11/29/12 14:05:41
    Count: 12
    Stack: Interface\AddOns\Grid2\modules\StatusShields.lua:50: in function `UpdateShields'
    Interface\AddOns\Grid2\modules\StatusShields.lua:77: in function `?'
    ...Log\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...Log\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
    [string "safecall Dispatcher[18]"]:4: in function <[string "safecall Dispatcher[18]"]:4>
    [C]: ?
    [string "safecall Dispatcher[18]"]:13: in function `?'
    ...Log\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
    ...ce\AddOns\AutoLog\Libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...ce\AddOns\AutoLog\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals: <none>

    Please provide any additional information below.
    I've already tried resetting the addon settings. This never happened before 5.1.

  • _ForgeUser444178 added the tags New Defect Nov 29, 2012
  • _ForgeUser7900680 posted a comment Nov 30, 2012

    Solved editing:

    local unit= Grid2:GetUnitidByGUID( select(9,...) )

    to

    local unit= Grid2:GetUnitidByGUID( select(10,...) )

    at line 50 of StatusShield.lua


    Edited Nov 30, 2012
  • michaelsp removed a tag New Dec 2, 2012
  • michaelsp added a tag Accepted Dec 2, 2012
  • michaelsp removed a tag Accepted Dec 2, 2012
  • michaelsp added a tag Fixed Dec 2, 2012
  • michaelsp closed issue Dec 2, 2012

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