CharacterStatsClassic (Character Stats Classic)

CharacterStatsClassic (Character Stats Classic)

8M Downloads

Lua Error 2

waytoomuchgaming opened this issue ยท 1 comments

commented

I got this at every login:

Message: ...CharacterStatsClassic\CharacterStatsClassicUtils.lua:303: Division by zero
Time: Sat Feb 29 19:36:54 2020
Count: 1
Stack: ...CharacterStatsClassic\CharacterStatsClassicUtils.lua:303: Division by zero
...CharacterStatsClassic\CharacterStatsClassicUtils.lua:303: in function CSC_PaperDollFrame_SetDamage' ...ns\CharacterStatsClassic\CharacterStatsClassicUI.lua:84: in function SetCharacterStats'
...ns\CharacterStatsClassic\CharacterStatsClassicUI.lua:123: in function `UpdateStats'
...\CharacterStatsClassic\CharacterStatsClassicCore.lua:22: in function <...\CharacterStatsClassic\CharacterStatsClassicCore.lua:21>

Locals: statFrame = {
0 =
OnEnterCallback = defined *:OnEnter:1
Label = {
}
Value = {
}
Background = {
}
}
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 = defined @interface\AddOns\CharacterStatsClassic\CharacterStatsClassicUtils.lua:59
CSC_GetAppropriateAttackSpeed = defined @interface\AddOns\CharacterStatsClassic\CharacterStatsClassicUtils.lua:36
CSC_GetAppropriateDamage = defined @interface\AddOns\CharacterStatsClassic\CharacterStatsClassicUtils.lua:27
CSC_GetAppropriateAttackRaiting = defined @interface\AddOns\CharacterStatsClassic\CharacterStatsClassicUtils.lua:45

commented

Fixed in 822ec9e