interface\AddOns\ShadowedUnitFrames\modules\health.lua:111: attempt to index field 'offline' (a nil value) #112


  • Defect
  • Fixed
Closed
Assigned to shadowed103
  • _ForgeUser4324040 created this issue Apr 17, 2010

    What steps will reproduce the problem?
    1. Starting a Raid, only seems to happen while in raid.
    2.
    3.

    What is the expected output? What do you see instead?

    What version of the product are you using?
    3.2.9 equivilant

    Do you have an error log of what happened?

    Message: ...terface\AddOns\ShadowedUnitFrames\modules\health.lua:111: attempt to index field 'offline' (a nil value)
    Time: 04/17/10 13:41:03
    Count: 2
    Stack: ...terface\AddOns\ShadowedUnitFrames\modules\health.lua:111: in function `?'
    ...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:17: in function `FullUpdate'
    ...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:328: in function `?'
    ...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:135: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:132>

    Locals: self = <table> {
    OnDisable = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:81
    moduleHasBar = true
    Update = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:161
    OnEnable = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:52
    OnLayoutApplied = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:70
    moduleKey = "healthBar"
    UpdateColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:101
    moduleName = "Health bar"
    getGradientColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:4
    SetBarColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:85
    }
    frame = SUFHeaderraidUnitButton9 {
    0 = <userdata>
    fontStrings = <table> {
    }
    indicators = <unnamed> {
    }
    UnregisterAll = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:91
    unitRealType = "raid"
    unit = "raid8"
    unitInitialized = true
    healthBar = <unnamed> {
    }
    registeredEvents = <table> {
    }
    unitGUID = "0x0200000004509026"
    menu = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:332
    RegisterUnitEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:58
    powerBar = <unnamed> {
    }
    RegisterNormalEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:22
    SetVisibility = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:173
    vehicleUnit = "raidpet8"
    topFrameLevel = 5
    unitOwner = "raid8"
    unitID = 8
    UnregisterSingleEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:41
    DisableRangeAlpha = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:115
    highFrame = <unnamed> {
    }
    fullUpdates = <table> {
    }
    UnregisterUpdateFunc = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:81
    unitType = "raid"
    SetRangeAlpha = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:123
    ignoreAnchor = true
    FullUpdate = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:14
    visibility = <table> {
    }
    RegisterUpdateFunc = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:64
    }
    color = nil
    unit = "raid8"
    reactionType = nil
    (*temporary) = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:85
    (*temporary) = <table> {
    OnDisable = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:81
    moduleHasBar = true
    Update = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:161
    OnEnable = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:52
    OnLayoutApplied = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:70
    moduleKey = "healthBar"
    UpdateColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:101
    moduleName = "Health bar"
    getGradientColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:4
    SetBarColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\health.lua:85
    }
    (*temporary) = <unnamed> {
    currentHealth = 31880
    wasOffline = true
    parent = SUFHeaderraidUnitButton9 {
    }
    background = <unnamed> {
    }
    0 = <userdata>
    fullSize = true
    }
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt

    Please provide any additional information below.
    Love this type of UI, but this bug is abit annoying, tried downloading SF Bars options, still didn't help. Would like to see about getting this bug fixed, this is by far one of the best Raid frames I've encountered and wish to keep using it.

  • _ForgeUser4324040 added the tags New Defect Apr 17, 2010
  • Shadowed103 posted a comment Apr 29, 2010

    You're using an old version of SUF, type

    /script ShadowUF.db.profile.healthColors.offline = {r = 1, g = 1, b = 1} and reload, should be fixed.

  • Shadowed103 removed a tag New Apr 29, 2010
  • Shadowed103 added a tag Fixed Apr 29, 2010
  • Shadowed103 closed issue Apr 29, 2010

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