CharacterStatsClassic (Character Stats Classic)

CharacterStatsClassic (Character Stats Classic)

8M Downloads

Getting an error on the Classic PTR

lvangh opened this issue ยท 1 comments

commented
Time: Tue Jun 16 12:42:58 2020
Count: 1
Stack: ...CharacterStatsClassic\CharacterStatsClassicUtils.lua:304: Division by zero
...CharacterStatsClassic\CharacterStatsClassicUtils.lua:304: in function `CSC_PaperDollFrame_SetDamage'
...ns\CharacterStatsClassic\CharacterStatsClassicUI.lua:84: in function `SetCharacterStats'
...ns\CharacterStatsClassic\CharacterStatsClassicUI.lua:123: in function `UpdateStats'
...ns\CharacterStatsClassic\CharacterStatsClassicUI.lua:118: in function `CreateMenu'
...ns\CharacterStatsClassic\CharacterStatsClassicUI.lua:237: in function <...ns\CharacterStatsClassic\CharacterStatsClassicUI.lua:221>

Locals: statFrame = <unnamed> {
 0 = <userdata>
 OnEnterCallback = <function> defined *:OnEnter:1
 Label = <unnamed> {
 }
 Value = <unnamed> {
 }
 Background = <unnamed> {
 }
}
unit = "player"
category = "Melee"
speed = 0
offhandSpeed = nil
minDamage = 0
maxDamage = 0
minOffHandDamage = 0
maxOffHandDamage = 0
physicalBonusPos = 0
physicalBonusNeg = 0
percent = 0
displayMin = 1
displayMax = 1
(*temporary) = 0
(*temporary) = 1
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "Division by zero"
CSC_PaperDollFrame_SetLabelAndText = <function> defined @Interface\AddOns\CharacterStatsClassic\CharacterStatsClassicUtils.lua:58
CSC_GetAppropriateAttackSpeed = <function> defined @Interface\AddOns\CharacterStatsClassic\CharacterStatsClassicUtils.lua:35
CSC_GetAppropriateDamage = <function> defined @Interface\AddOns\CharacterStatsClassic\CharacterStatsClassicUtils.lua:26
CSC_GetAppropriateAttackRaiting = <function> defined @Interface\AddOns\CharacterStatsClassic\CharacterStatsClassicUtils.lua:44
Message: ...CharacterStatsClassic\CharacterStatsClassicUtils.lua:304: Division by zero
Time: Tue Jun 16 12:43:17 2020
Count: 1
Stack: ...CharacterStatsClassic\CharacterStatsClassicUtils.lua:304: Division by zero
...\CharacterStatsClassic\CharacterStatsClassicCore.lua:22: in function <...\CharacterStatsClassic\CharacterStatsClassicCore.lua:21>

Locals: self = <unnamed> {
 0 = <userdata>
}
event = "UNIT_MODEL_CHANGED"
core = <table> {
 UIConfig = <table> {
 }
}```
commented

Fixed in 822ec9e