Division per 0 error
mrbuds opened this issue ยท 4 comments
Describe the bug
Friend lost his auras on classic (he use alt+F4 too much)
He got them back with
/run local L=WeakAuras.LoadFromArchive local h,m=L("Repository","history"),L("Repository","migration")for _,r in ipairs{h,m}do for _,s in pairs(r.stores)do local d=s:Load()WeakAurasSaved.displays[d.id]=d end end C_UI.Reload()
Everything seems to work fine
He copied his weakauras.lua & 2.16.6-31-g7a15066 version to classic PTR and get spam with these errors
Message: [string "--[==[ Error in 'MANA BAR' ]==] return func..."]:9: Division by zero
Time: Sun Mar 1 15:30:49 2020
Count: 12
Stack: [string "--[==[ Error in 'MANA BAR' ]==] return func..."]:9: Division by zero
[C]: in function xpcall'
Interface\AddOns\WeakAuras\GenericTrigger.lua:561: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:532>
Interface\AddOns\WeakAuras\GenericTrigger.lua:714: in function ScanEventsInternal'
Interface\AddOns\WeakAuras\GenericTrigger.lua:675: in function ScanEvents'
Interface\AddOns\WeakAuras\GenericTrigger.lua:2627: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:2600>
[C]: in function CameraOrSelectOrMoveStop'
[string "CAMERAORSELECTORMOVE"]:4: in function <[string "CAMERAORSELECTORMOVE"]:1>
Message: [string "--[==[ Error in 'PET HEALTH' ]==] return fu..."]:9: Division by zero
Time: Sun Mar 1 15:33:33 2020
Count: 2
Stack: [string "--[==[ Error in 'PET HEALTH' ]==] return fu..."]:9: Division by zero
[C]: in function xpcall'
Interface\AddOns\WeakAuras\GenericTrigger.lua:561: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:532>
Interface\AddOns\WeakAuras\GenericTrigger.lua:774: in function ScanWithFakeEvent'
Interface\AddOns\WeakAuras\GenericTrigger.lua:1067: in function LoadDisplays'
Interface\AddOns\WeakAuras\WeakAuras.lua:2280: in function LoadDisplays'
Interface\AddOns\WeakAuras\WeakAuras.lua:2114: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:2000>
Interface\AddOns\WeakAuras\WeakAuras.lua:2221: in function ReloadAll'
Interface\AddOns\WeakAuras\WeakAuras.lua:1856: in function ScanAll'
Interface\AddOns\WeakAuras\WeakAuras.lua:1801: in function `Resume'
Interface\AddOns\WeakAuras\WeakAuras.lua:1619: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1570>
Locals: <none>
He plays rogue, these 2 auras do not load for this class.
I made a rogue lvl1 on classic ptr, he shared his auras, i had no issue.
I copied his SV and now i have same issue with PET HEALTH aura.