Cell - Unit Frames

Cell - Unit Frames

343k Downloads

[Bug] Consistent errors in Mop Classic

Kerrom opened this issue ยท 3 comments

commented

Addon Version

22-08-25

World of Warcraft Version

Retail

Localization

English

Describe the bug

Currently getting this error consistently on both recent updates and it appears to be causing micro stutters

Steps to reproduce

Log into the game, currently using Cell, weakauras, bartender

BugSack

8x CUF_Player:RegisterEvent(): CUF_Player:RegisterEvent(): Attempt to register unknown event "UNIT_POWER_POINT_CHARGE"
[Cell_UnitFrames/UnitFrames/EventMixin.lua]:90: in function 'AddEventListener'
[Cell_UnitFrames/Widgets/Bars/ClassBar.lua]:248: in function 'TogglePowerEvents'
[Cell_UnitFrames/Widgets/Bars/ClassBar.lua]:509: in function 'Update'
[Cell_UnitFrames/Widgets/Bars/ClassBar.lua]:90: in function <...aceCell_UnitFrames/Widgets/Bars/ClassBar.lua:67>
[Cell_UnitFrames/Util/Handler.lua]:82: in function 'func'
[Cell_UnitFrames/Util/Utils.lua]:171: in function 'IterateAllUnitButtons'
[Cell_UnitFrames/Util/Handler.lua]:68: in function 'onEventFunc'
[Cell_UnitFrames/Core/Events.lua]:49: in function 'Fire'
[Cell_UnitFrames/Core/OnLoad.lua]:95: in function 'onEventFunc'
[Cell/Libs/CallbackHandler.lua]:24: in function 'Fire'
[Cell/Core_Mists.lua]:108: in function 'UpdateLayout'
[Cell/Core_Mists.lua]:142: in function 'onEventFunc'
[Cell/Libs/CallbackHandler.lua]:24: in function 'Fire'
[Cell/Core_Mists.lua]:634: in function 'GROUP_ROSTER_UPDATE'
[Cell/Core_Mists.lua]:763: in function '?'
[Cell/Core_Mists.lua]:864: in function <Cell/Core_Mists.lua:863>

Locals:
self = CUF_Player {
 BottomLeftCorner = Texture {
 }
 _unit = "player"
 _powerBarUpdateRequired = true
 RightEdge = Texture {
 }
 _auraDebuffCache = <table> {
 }
 TopRightCorner = Texture {
 }
 TopEdge = Texture {
 }
 _ignoreBuffs = true
 BottomRightCorner = Texture {
 }
 states = <table> {
 }
 _auraBuffCache = <table> {
 }
 healthBarColorType = "class_color"
 healthLossColorType = "custom"
 _baseUnit = "player"
 eventHandlers = <table> {
 }
 Center = Texture {
 }
 orientation = "horizontal"
 BottomEdge = Texture {
 }
 _ignoreDebuffs = true
 __widgetsInit = true
 _auraDebuffCallbacks = <table> {
 }
 name = "Player"
 TopLeftCorner = Texture {
 }
 widgets = <table> {
 }
 backdropInfo = <table> {
 }
 _auraBuffCallbacks = <table> {
 }
 LeftEdge = Texture {
 }
}
event = "UNIT_POWER_POINT_CHARGE"
unitLess = nil
unit = "player"
CUF = <table> {
 Handler = <table> {
 }
 vars = <table> {
 }
 Mixin = <table> {
 }
 Builder = <table> {
 }
 API = <table> {
 }
 mainFrame = CUFMainFrame {
 }
 ErrorMonitor = <table> {
 }
 version = 24
 ImportExport = <table> {
 }
 Menu = <table> {
 }
 ClassicEra = <table> {
 }
 DebugWindow = <table> {
 }
 Defaults = <table> {
 }
 Compat = <table> {
 }
 DB = <table> {
 }
 HelpTips = <table> {
 }
 constants = <table> {
 }
 MoP = <table> {
 }
 Performance = <table> {
 }
 Cell = <table> {
 }
 uFuncs = <table> {
 }
 PixelPerfect = <table> {
 }
 Debug = <table> {
 }
 Util = <table> {
 }
 EventSystem = <table> {
 }
 widgets = <table> {
 }
 Memory = <table> {
 }
 Profiles = <table> {
 }
 unitButtons = <table> {
 }
 L = <table> {
 }
}
unitLessEvents = <table> {
 UNIT_POWER_POINT_CHARGE = true
}
brokenUnitMap = <table> {
 arena2 = "boss7"
 arena5 = "boss10"
 arena4 = "boss9"
 arena3 = "boss8"
 arena1 = "boss6"
}
commented

The above bugs were while using the Cell menus to adjust unitframes

commented

Futher errors

379x Cell/Indicators/Base.lua:373: attempt to compare number with nil
[Cell/Indicators/Base.lua]:373: in function <Cell/Indicators/Base.lua:340>

Locals:
frame = CellAppearancePreviewIcon3 {
 BottomLeftCorner = Texture {
 }
 showDuration = true
 duration = FontString {
 }
 showAnimation = true
 TopLeftCorner = Texture {
 }
 RightEdge = Texture {
 }
 ag = AnimationGroup {
 }
 _start = 339379.552000
 height = 22
 stack = FontString {
 }
 _remain = 13
 _elapsed = 0
 _duration = 13
 _threshold = 13
 preview = Frame {
 }
 icon = CellAppearancePreviewIcon3Icon {
 }
 TopRightCorner = Texture {
 }
 cooldown = StatusBar {
 }
 style = "VERTICAL"
 TopEdge = Texture {
 }
 backdropInfo = <table> {
 }
 width = 22
 Center = Texture {
 }
 BottomEdge = Texture {
 }
 LeftEdge = Texture {
 }
 BottomRightCorner = Texture {
 }
}
elapsed = 0.016000
(*temporary) = 13
(*temporary) = nil
(*temporary) = FontString {
 b = 1
 points = <table> {
 }
 g = 1
 r = 1
}
(*temporary) = 1
(*temporary) = 1
(*temporary) = "attempt to compare number with nil"
Cell = <table> {
 MIN_DEBUFFS_VERSION = 246
 isMists = true
 flavor = "mists"
 funcs = <table> {
 }
 snippetVars = <table> {
 }
 MIN_CLICKCASTINGS_VERSION = 246
 IndentationLib = <table> {
 }
 isRetail = false
 animations = <table> {
 }
 frames = <table> {
 }
 MIN_INDICATORS_VERSION = 246
 unitButtons = <table> {
 }
 versionNum = 261
 bFuncs = <table> {
 }
 vars = <table> {
 }
 loaded = true
 hasHighestPriority = false
 version = "r261-release"
 pixelPerfectFuncs = <table> {
 }
 isVanilla = false
 wowSupporters = <table> {
 }
 isTWW = false
 menu = CellCascadingMenu {
 }
 supporters1 = <table> {
 }
 MIN_LAYOUTS_VERSION = 246
 iFuncs = <table> {
 }
 supporters2 = <table> {
 }
 L = <table> {
 }
 defaults = <table> {
 }
 MIN_VERSION = 246
 uFuncs = <table> {
 }
 isWrath = false
 isCata = false
}
1x ...faceCell/Modules/RaidDebuffs/RaidDebuffs.lua:386: attempt to get length of field '?' (a nil value)
[Cell/Modules/RaidDebuffs/RaidDebuffs.lua]:386: in function <...faceCell/Modules/RaidDebuffs/RaidDebuffs.lua:376>
[Cell/Modules/RaidDebuffs/RaidDebuffs.lua]:2425: in function 'onEventFunc'
[Cell/Libs/CallbackHandler.lua]:24: in function 'Fire'
[Cell/Modules/OptionsFrame.lua]:95: in function <Cell/Modules/OptionsFrame.lua:92>
[Cell/Widgets/Widgets.lua]:734: in function <Cell/Widgets/Widgets.lua:732>

Locals:
expansionItems = <table> {
}
(for index) = 5
(for limit) = 1
(for step) = -1
i = 5
eName = "Mists of Pandaria"
(*temporary) = <table> {
}
(*temporary) = <table> {
 text = "Mists of Pandaria"
}
(*temporary) = nil
(*temporary) = "OnClick"
(*temporary) = true
(*temporary) = nil
(*temporary) = 0.950000
(*temporary) = "attempt to get length of field '?' (a nil value)"
expansionDropdown = Frame {
 BottomLeftCorner = Texture {
 }
 button = Button {
 }
 TopLeftCorner = Texture {
 }
 RightEdge = Texture {
 }
 items = <table> {
 }
 height = 20
 TopRightCorner = Texture {
 }
 Center = Texture {
 }
 backdropInfo = <table> {
 }
 TopEdge = Texture {
 }
 text = FontString {
 }
 width = 269
 BottomEdge = Texture {
 }
 LeftEdge = Texture {
 }
 BottomRightCorner = Texture {
 }
}
Cell = <table> {
 MIN_DEBUFFS_VERSION = 246
 isMists = true
 flavor = "mists"
 funcs = <table> {
 }
 snippetVars = <table> {
 }
 MIN_CLICKCASTINGS_VERSION = 246
 IndentationLib = <table> {
 }
 isRetail = false
 animations = <table> {
 }
 frames = <table> {
 }
 MIN_INDICATORS_VERSION = 246
 unitButtons = <table> {
 }
 versionNum = 261
 bFuncs = <table> {
 }
 vars = <table> {
 }
 loaded = true
 hasHighestPriority = false
 version = "r261-release"
 pixelPerfectFuncs = <table> {
 }
 isVanilla = false
 wowSupporters = <table> {
 }
 isTWW = false
 menu = CellCascadingMenu {
 }
 supporters1 = <table> {
 }
 MIN_LAYOUTS_VERSION = 246
 iFuncs = <table> {
 }
 supporters2 = <table> {
 }
 L = <table> {
 }
 defaults = <table> {
 }
 MIN_VERSION = 246
 uFuncs = <table> {
 }
 isWrath = false
 isCata = false
}
debuffsTab = CellOptionsFrame_RaidDebuffsTab {
}
encounterJournalList = <table> {
}
L = <table> {
  = ""
 Lines = "Lines"
 SameWidthAsHealthBar = "Same Width As Health Bar"
 About = "About"
 Health Bar Alpha = "Health Bar Alpha"
 Normal + Combat Res = "Normal + Combat Res"
 MinAlpha = "Min Alpha"
 remaining = "Remaining"
 FullyCharged = "Fully Charged"
 ShowDeadStatus = "Show Dead Status"
 UnitTarget = "Unit Target"
 tag_classification = "Displays the classification of the unit."
 Dispels = "Dispels"
 essence = "Essence"
 tag_target:abbrev:veryshort = "Displays the name of the unit's target with abbreviations (max 5 characters)"
 tag_perabs:short = "Displays absorb percentage without decimals."
 deathColor = "Death Color"
 useClassColorForPet = "Use Class Color for Pet"
 Use Blacklist = "Use Blacklist"
 change mode / apply changes = "change mode / apply changes"
 RestoreBackupTooltip = "Restores a backup of Cell UnitFrame settings

%s

%s"
 stackFont = "Stack Font"
 tag_curhp:abs:short = "Displays current HP and absorbs as shortvalue."
 Enable Color Gradient = "Enable Color Gradient"
 OverrideImportTooltip = "Will override the current list"
 Role = "Role"
 tag_maxaltmana = "Displays the maximum alt mana."
 TeX Gyre Adventor = "TeX Gyre Adventor"
 Can't change options in combat = "Can't change options in combat"
 tag_healabs = "Displays the amount of heal absorbs."
 CopyWidgetsFromTooltip = "Copy widget settings from another unit"
 bottom-to-top = "Bottom to Top"
 dispels = "Dispels"
 BACKUP_TIPS2 = "Note for Classic players: Backups do not include Click-Castings and Layout Auto Switch of other characters"
 Layout = "Layout"
 HIGH CPU USAGE = "HIGH CPU USAGE"
 tag_peraltmana:short = "Displays alt mana percentage without decimals."
 Font = "Font"
 tag_perhp:short = "Displays the current HP percentage without decimals."
 classBar = "Class Bar"
 tag_healabs:short = "Displays heal absorbs as a shortvalue."
 CopyFromPopUp = "Copy settings from %s to %s?"
 X Offset = "X Offset"
 RAID_DEBUFFS_TIPS = "Tips: [Drag & Drop] to change debuff order. [Double-Click] on instance name to open Encounter Journal. [Shift+Left Click] on instance/boss name to share debuffs. [Alt+Left Click] on instance/boss name to reset debuffs. The priority of General Debuffs is higher than Boss Debuffs."
 color = "Color"
 stageThree = "Stage 3"
 tag_defaltmana = "Displays the alt mana deficit."
 Use Same Size As Main = "Use Same Size As Main"
 ShowIcon = "Show Icon"
 Remaining Time = "Remaining Time"
 WhiteList
1x Cell/Indicators/Built-in.lua:2150: bad argument #1 to 'ipairs' (table expected, got nil)
[Cell/Indicators/Built-in.lua]:2150: in function 'UpdateThresholdsPreview'
[Cell/Modules/Indicators/Indicators.lua]:651: in function <Cell/Modules/Indicators/Indicators.lua:600>
[Cell/Modules/Indicators/Indicators.lua]:2302: in function 'onEventFunc'
[Cell/Libs/CallbackHandler.lua]:24: in function 'Fire'
[Cell/Modules/OptionsFrame.lua]:95: in function <Cell/Modules/OptionsFrame.lua:92>
[Cell/Widgets/Widgets.lua]:734: in function <Cell/Widgets/Widgets.lua:732>

Locals:
self = CellIndicatorsPreviewButtonHealthThresholds {
 init = true
 configs = <table> {
 }
 thickness = 1
 tex = Texture {
 }
 orientation = "horizontal"
}
Cell = <table> {
 MIN_DEBUFFS_VERSION = 246
 isMists = true
 flavor = "mists"
 funcs = <table> {
 }
 snippetVars = <table> {
 }
 MIN_CLICKCASTINGS_VERSION = 246
 IndentationLib = <table> {
 }
 isRetail = false
 animations = <table> {
 }
 frames = <table> {
 }
 MIN_INDICATORS_VERSION = 246
 unitButtons = <table> {
 }
 versionNum = 261
 bFuncs = <table> {
 }
 vars = <table> {
 }
 loaded = true
 hasHighestPriority = false
 version = "r261-release"
 pixelPerfectFuncs = <table> {
 }
 isVanilla = false
 wowSupporters = <table> {
 }
 isTWW = false
 menu = CellCascadingMenu {
 }
 supporters1 = <table> {
 }
 MIN_LAYOUTS_VERSION = 246
 iFuncs = <table> {
 }
 supporters2 = <table> {
 }
 L = <table> {
 }
 defaults = <table> {
 }
 MIN_VERSION = 246
 uFuncs = <table> {
 }
 isWrath = false
 isCata = false
}
healthThresholds = CellIndicatorsPreviewButtonHealthThresholds {
 init = true
 configs = <table> {
 }
 thickness = 1
 tex = Texture {
 }
 orientation = "horizontal"
}
P = <table> {
}
parent = CellIndicatorsPreviewButton {
 _debuffs_normal = <table> {
 }
 _debuffs_dispel = <table> {
 }
 RightEdge = Texture {
 }
 _debuffs_big = <table> {
 }
 _shouldShowPowerBar = true
 height = 46
 powerSize = 2
 indicators = <table> {
 }
 BottomEdge = Texture {
 }
 orientation = "horizontal"
 width = 66
 _buffs_cache = <table> {
 }
 _debuffs_raid = <table> {
 }
 Center = Texture {
 }
 LeftEdge = Texture {
 }
 _indicatorsCreated = true
 BottomRightCorner = Texture {
 }
 BottomLeftCorner = Texture {
 }
 TopRightCorner = Texture {
 }
 TopEdge = Texture {
 }
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
 widgets = <table> {
 }
 _debuffs_glow_current = <table> {
 }
 _debuffs_cache = <table> {
 }
 _debuffs = <table> {
 }
 _buffs = <table> {
 }
 isPreview = true
 states = <table> {
 }
}
47x CellTooltip:SetPoint(): Usage: ("point" [, region or nil] [, "relativePoint"] [, offsetX, offsetY]
[Cell/RaidFrames/MainFrame.lua]:355: in function <Cell/RaidFrames/MainFrame.lua:353>
[C]: ?

Locals:
raid = Button {
 BottomLeftCorner = Texture {
 }
 color = <table> {
 }
 RightEdge = Texture {
 }
 height = 10
 hoverColor = <table> {
 }
 points = <table> {
 }
 tooltips = <table> {
 }
 TopEdge = Texture {
 }
 _tooltipsInited = true
 Center = Texture {
 }
 width = 20
 backdropInfo = <table> {
 }
 BottomEdge = Texture {
 }
 TopRightCorner = Texture {
 }
 TopLeftCorner = Texture {
 }
 LeftEdge = Texture {
 }
 BottomRightCorner = Texture {
 }
}
tooltipPoint = nil
tooltipRelativePoint = nil
tooltipX = nil
tooltipY = nil
commented
Image

The combo points on rogue still also remain on the blizzard frame despite it being hidden