Totem bars missing / LUA on login #19


  • Defect
  • New
Open
Assigned to _ForgeUser117199
  • _ForgeUser635317 created this issue Oct 14, 2010

    What steps will reproduce the problem?
    1. Log in to game as a shaman and you get an instant LUA error
    2. No propagation of totem bars under the user bar

    What is the expected output? What do you see instead?
    Rectangular bars matching color of totem being planted, same style as combo points from a rogue.

    What version of the product are you using?
    Alpha r9

    Do you have an error log of what happened?
    This is my first ticket, so I'll post the whole LUA. I get 25 LUAs on login, almost every single one references the following:

    Interface\FrameXML\UIPanelTemplates.lua:383

    ---- And now for the first LUA in the list:

    Message: ...rface\AddOns\SimplisticUnitFrames\modules\totems.lua:23: attempt to index global 'TOTEM_PRIORITIES' (a nil value)
    Time: 10/14/10 21:28:25
    Count: 1
    Stack: ...rface\AddOns\SimplisticUnitFrames\modules\totems.lua:23: in function `OnEnable'
    ...erface\AddOns\SimplisticUnitFrames\modules\units.lua:212: in function `SetVisibility'
    ...erface\AddOns\SimplisticUnitFrames\modules\units.lua:531: in function <...erface\AddOns\SimplisticUnitFrames\modules\units.lua:391>
    [C]: in function `SetAttribute'
    ...erface\AddOns\SimplisticUnitFrames\modules\units.lua:795: in function `LoadUnit'
    ...erface\AddOns\SimplisticUnitFrames\modules\units.lua:1022: in function `InitializeFrame'
    ...AddOns\SimplisticUnitFrames\SimplisticUnitFrames.lua:173: in function `LoadUnits'
    ...AddOns\SimplisticUnitFrames\SimplisticUnitFrames.lua:81: in function `OnInitialize'
    ...AddOns\SimplisticUnitFrames\SimplisticUnitFrames.lua:570: in function <...AddOns\SimplisticUnitFrames\SimplisticUnitFrames.lua:568>

    Locals: self = <table> {
    moduleClass = "SHAMAN"
    moduleHasBar = true
    OnLayoutApplied = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\totems.lua:52
    moduleKey = "totemBar"
    OnDisable = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\totems.lua:48
    moduleName = "Totem bar"
    Update = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\totems.lua:85
    OnEnable = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\totems.lua:13
    }
    frame = SUFUnitplayer {
    highFrame = <unnamed> {
    }
    indicators = <unnamed> {
    }
    UnregisterAll = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:91
    unitRealType = "player"
    totemBar = <unnamed> {
    }
    unit = "player"
    combatText = <unnamed> {
    }
    registeredEvents = <table> {
    }
    healthBar = <unnamed> {
    }
    RegisterUnitEvent = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:58
    powerBar = <unnamed> {
    }
    RegisterNormalEvent = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:22
    SetVisibility = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:175
    menu = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:334
    topFrameLevel = 5
    unitInitialized = true
    vehicleUnit = "vehicle"
    UnregisterSingleEvent = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:41
    DisableRangeAlpha = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:115
    unitOwner = "player"
    fullUpdates = <table> {
    }
    UnregisterUpdateFunc = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:81
    unitType = "player"
    SetRangeAlpha = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:123
    0 = <userdata>
    FullUpdate = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:14
    visibility = <table> {
    }
    RegisterUpdateFunc = <function> defined @Interface\AddOns\SimplisticUnitFrames\modules\units.lua:64
    }
    (for index) = 1
    (for limit) = 4
    (for step) = 1
    id = 1
    totem = <unnamed> {
    parent = <unnamed> {
    }
    background = <unnamed> {
    }
    0 = <userdata>
    }
    (*temporary) = nil
    (*temporary) = <unnamed> {
    parent = <unnamed> {
    }
    background = <unnamed> {
    }
    0 = <userdata>
    }
    (*temporary) = 0
    (*temporary) = <userdata>
    (*temporary) = <userdata>
    (*temporary) = false
    (*temporary) = <userdata>
    (*temporary) = "attempt to index global 'TOTEM_PRIORITIES' (a nil value)"
    MAX_TOTEMS = 4
    totemColors = <table> {
    }

    Please provide any additional information below.
    If you need the other 24 LUA errors I can duplicate them every time I login, just send me a PM.

  • _ForgeUser635317 added the tags New Defect Oct 14, 2010

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