Cell - Unit Frames

Cell - Unit Frames

343k Downloads

[Bug] Class bar breaking Cell entirely

madkort opened this issue ยท 0 comments

commented

Addon Version

1.4.26

World of Warcraft Version

Retail PTR

Describe the bug

Enabling Class bar on current 11.1 Retail PTR client is causing insane ammount of Lua Errors and Cell itself is going crazy.

  1. Class bar disabled:
    image
  2. Class bar enabled:
    image

Steps to reproduce

  1. Try this on different characters
  2. Enable class bar
  3. /reload
  4. /cell opt and preview all your bars and watch them upscaled in preview and options
  5. even if you can see previews of the bars, they won't actually work when you are in a group

BugSack

35x ...aceCell_UnitFrames/Widgets/Bars/ClassBar.lua:183: Division by zero
[Cell_UnitFrames/Widgets/Bars/ClassBar.lua]:183: in function 'UpdateSize'
[Cell_UnitFrames/Widgets/Bars/ClassBar.lua]:497: in function 'callback'
[Cell_UnitFrames/UnitFrames/OnLoad.lua]:668: in function '_OnEvent'
[Cell_UnitFrames/UnitFrames/OnLoad.lua]:404: in function <Cell_UnitFrames/UnitFrames/OnLoad.lua:391>

Locals:
self = CUF_Player_ClassBar {
 1 = CUF_Player_ClassBarBar1 {
 }
 2 = CUF_Player_ClassBarBar2 {
 }
 3 = CUF_Player_ClassBarBar3 {
 }
 4 = CUF_Player_ClassBarBar4 {
 }
 5 = CUF_Player_ClassBarBar5 {
 }
 6 = CUF_Player_ClassBarBar6 {
 }
 7 = CUF_Player_ClassBarBar7 {
 }
 maxPower = 0
 parent = CUF_Player_HealthBar {
 }
 inVehicle = false
 _owner = CUF_Player {
 }
 hideOutOfCombat = false
 enabled = true
 _isEnabled = true
 classPowerID = 16
 requiredSpec = 1
 height = 28
 isPartialRessource = false
 lastPower = 0
 spacing = 0
 showForVehicle = false
 id = "classBar"
 width = 456
 powerType = "ARCANE_CHARGES"
 sameSizeAsHealthBar = false
}
maxWidth = 456
(*temporary) = 0
(*temporary) = CUF_Player_ClassBar {
 1 = CUF_Player_ClassBarBar1 {
 }
 2 = CUF_Player_ClassBarBar2 {
 }
 3 = CUF_Player_ClassBarBar3 {
 }
 4 = CUF_Player_ClassBarBar4 {
 }
 5 = CUF_Player_ClassBarBar5 {
 }
 6 = CUF_Player_ClassBarBar6 {
 }
 7 = CUF_Player_ClassBarBar7 {
 }
 maxPower = 0
 parent = CUF_Player_HealthBar {
 }
 inVehicle = false
 _owner = CUF_Player {
 }
 hideOutOfCombat = false
 enabled = true
 _isEnabled = true
 classPowerID = 16
 requiredSpec = 1
 height = 28
 isPartialRessource = false
 lastPower = 0
 spacing = 0
 showForVehicle = false
 id = "classBar"
 width = 456
 powerType = "ARCANE_CHARGES"
 sameSizeAsHealthBar = false
}
(*temporary) = 456
(*temporary) = 28
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "Division by zero"
P = <table> {
}



12x CellTooltip:SetPoint(): Usage: ("point" [, region or nil] [, "relativePoint"] [, offsetX, offsetY]
[C]: in function 'SetPoint'
[Cell/RaidFrames/MainFrame.lua]:357: in function <Cell/RaidFrames/MainFrame.lua:355>
[C]: ?

Locals:
(*temporary) = CellTooltip {
 BottomLeftCorner = Texture {
 }
 TopEdge = Texture {
 }
 LeftEdge = Texture {
 }
 shouldRefreshData = false
 Center = Texture {
 }
 RightEdge = Texture {
 }
 BottomEdge = Texture {
 }
 BottomRightCorner = Texture {
 }
 TopRightCorner = Texture {
 }
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
}
(*temporary) = nil
(*temporary) = 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 {
 }
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil