Details! Damage Meter

Details! Damage Meter

251M Downloads

[Cata] One Segment Battleground creating errors

trey-k opened this issue · 1 comments

commented

Game and Details! version
Cata Classic 4.4.0.54525
VWD 12700 ALPHA 4 4.4.0

Describe the bug
Errors when in battlegrounds (in Wintergrasp here) when one segment battleground is enabled

Lua Error
Two errors included

367x Details/core/parser.lua:1583: attempt to perform arithmetic on field 'total' (a string value)
[string "@Details/core/parser.lua"]:1583: in function <Details/core/parser.lua:725>
[string "=(tail call)"]: ?

Locals:
self = nil
token = "SPELL_DAMAGE"
time = 1715021986.050000
sourceSerial = "Player-4385-05323EAF"
sourceName = "Fandrian-Pagle"
sourceFlags = 1300
targetSerial = "Player-4408-053024C9"
targetName = "Rêvert-Faerlina"
targetFlags = 1352
targetRaidFlags = 0
spellId = 413764
spellName = "Deep Wound"
spellType = 1
amount = 255
overkill = -1
school = 1
resisted = nil
blocked = nil
absorbed = nil
critical = false
glacing = false
crushing = false
isoffhand = nil
isreflected = nil
npcId = 0
sourceActor = <table> {
 flag_original = 1300
 totalabsorbed = 0.008521
 BuildSpellTargetFromSpellTable = <function> defined @Details/functions/mixin.lua:147
 GetSpellContainer = <function> defined @Details/functions/mixin.lua:27
 pets = <table> {
 }
 classe = "Warrior"
 total_without_pet = 3380.008521
 last_dps_realtime = 0
 dps_started = true
 total = "WARRIOR"
 GetSpellTableFromContainer = <function> defined @Details/functions/mixin.lua:71
 BuildSpellTargetFromBreakdownSpellData = <function> defined @Details/functions/mixin.lua:108
 on_hold = false
 total_extra = 0
 IsGroupPlayer = <function> defined @Details/functions/mixin.lua:191
 pvp = true
 damage_from = <table> {
 }
 targets = <table> {
 }
 grupo = true
 IsNeutralOrEnemy = <function> defined @Details/functions/mixin.lua:198
 friendlyfire_total = 0
 raid_targets = <table> {
 }
 aID = "4385-05323EAF"
 serial = "Player-4385-05323EAF"
 GetSpellContainerNames = <function> defined @Details/functions/mixin.lua:19
 GetPets = <function> defined @Details/functions/mixin.lua:84
 IsPetOrGuardian = <function> defined @Details/functions/mixin.lua:184
 IsPlayer = <function> defined @Details/functions/mixin.lua:172
 GetTargets = <function> defined @Details/functions/mixin.lua:92
 nome = "Fandrian-Pagle"
 spells = <table> {
 }
 GetSpellList = <function> defined @Details/functions/mixin.lua:99
 displayName = "Fandrian"
 friendlyfire = <table> {
 }
 last_dps = 0
 custom = 0
 tipo = 1
 damage_taken = 652.008521
 start_time = 1715021984
 delay = 0
 last_event = 1715021985
}
ownerActor = nil
targetActor = <table> {
 flag_original = 1352
 totalabsorbed = 0.006188
 BuildSpellTargetFromSpellTable = <function> defined @Details/functions/mixin.lua:147
 GetSpellContainer = <function> defined @Details/functions/mixin.lua:27
 pets = <table> {
 }
 classe = "UNGROUPPLAYER"
 total_without_pet = 0.006188
 last_dps_realtime = 0
 dps_started = false
 total = 0.006188
 GetSpellTableFromContainer = <function> defined @Details/functions/mixin.lua:71
 BuildSpellTargetFromBreakdownSpellData = <function> defined @Details/functions/mixin.lua:108
 on_hold = false
 total_extra = 0
 IsGroupPlayer = <function> defined @Details/functions/mixin.lua:191
 pvp = true
 damage_from = <table> {
 }
 targets = <table> {
 }
 enemy = true
 grupo = true
 IsNeutralOrEnemy = <function> defined @Details/functions/mixin.lua:198
 friendlyfire_total = 0
 raid_targets = <table> {
 }
 aID = "4408-053024C9"
 serial = "Player-4408-053024C9"
 GetSpellContainerNames = <function> defined @Details/functions/mixin.lua:19
 GetPets = <function> defined @Details/functions/mixin.lua:84
 IsPetOrGuardian = <function> defined @Details/functions/mixin.lua:184
 IsPlayer = <function> defined @Details/functions/mixin.lua:172
 GetTargets = <function> defined @Details/functions/mixin.lua:92
 nome = "Rêvert-Faerlina"
 spells = <table> {
 }
 GetSpellList = <function> defined @Details/functions/mixin.lua:99
 displayName = "Rêvert"
 friendlyfire = <table> {
 }
 last_dps = 0
 custom = 0
 tipo = 1
 damage_taken = 21423.006188
 start_time = 0
 delay = 0
 last_event = 0
}
targetOwner = nil
is_friendly_fire = false
(*temporary) = "WARRIOR"
(*temporary) = 107654
(*temporary) =
116x Details/classes/class_damage.lua:160: attempt to compare string with number
[string "@Details/classes/class_damage.lua"]:160: in function <Details/classes/class_damage.lua:159>
[string "=[C]"]: ?
[string "@Details/classes/class_damage.lua"]:2284: in function `RefreshWindow'
[string "@Details/classes/class_instance.lua"]:335: in function `RefreshData'
[string "@Details/core/control.lua"]:1810: in function <Details/core/control.lua:1794>
[string "=(tail call)"]: ?

Locals:
table1 = <table> {
 flag_original = 1300
 totalabsorbed = 0.001577
 BuildSpellTargetFromSpellTable = <function> defined @Details/functions/mixin.lua:147
 GetSpellContainer = <function> defined @Details/functions/mixin.lua:27
 pets = <table> {
 }
 classe = "Shaman"
 total_without_pet = 0.001577
 last_dps_realtime = 0
 dps_started = false
 total = 0.001086
 spec = 262
 GetSpellTableFromContainer = <function> defined @Details/functions/mixin.lua:71
 BuildSpellTargetFromBreakdownSpellData = <function> defined @Details/functions/mixin.lua:108
 on_hold = false
 total_extra = 0
 IsGroupPlayer = <function> defined @Details/functions/mixin.lua:191
 pvp = true
 damage_from = <table> {
 }
 targets = <table> {
 }
 grupo = true
 IsNeutralOrEnemy = <function> defined @Details/functions/mixin.lua:198
 friendlyfire_total = 0
 raid_targets = <table> {
 }
 aID = "4728-05388586"
 serial = "Player-4728-05388586"
 GetSpellContainerNames = <function> defined @Details/functions/mixin.lua:19
 GetPets = <function> defined @Details/functions/mixin.lua:84
 IsPetOrGuardian = <function> defined @Details/functions/mixin.lua:184
 IsPlayer = <function> defined @Details/functions/mixin.lua:172
 GetTargets = <function> defined @Details/functions/mixin.lua:92
 nome = "Thunderzug-Benediction"
 spells = <table> {
 }
 GetSpellList = <function> defined @Details/functions/mixin.lua:99
 displayName = "Thunderzug"
 friendlyfire = <table> {
 }
 last_dps = 0
 custom = 0
 tipo = 1
 damage_taken = 0.001577
 start_time = 0
 delay = 0
 last_event = 0
}
table2 = <table> {
 flag_original = 1300
 totalabsorbed = 0.001366
 BuildSpellTargetFromSpellTable = <function> defined @Details/functions/mixin.lua:147
 GetSpellContainer = <function> defined @Details/functions/mixin.lua:27
 pets = <table> {
 }
 classe = "Death Knight"
 total_without_pet = 40298.001366
 last_dps_realtime = 0
 dps_started = true
 total = "DEATHKNIGHT"
 spec = 250
 GetSpellTableFromContainer = <function> defined @Details/functions/mixin.lua:71
 BuildSpellTargetFromBreakdownSpellData = <function> defined @Details/functions/mixin.lua:108
 on_hold = false
 total_extra = 0
 IsGroupPlayer = <function> defined @Details/functions/mixin.lua:191
 pvp = true
 damage_from = <table> {
 }
 targets = <table> {
 }
 colocacao = 1
 aID = "4647-032D7E10"
 grupo = true
 IsNeutralOrEnemy = <function> defined @Details/functions/mixin.lua:198
 friendlyfire_total = 0
 raid_targets = <table> {
 }
 minha_barra = DetailsBarra_1_1 {
 }
 serial = "Player-4647-032D7E10"
 GetSpellContainerNames = <function> defined @Details/functions/mixin.lua:19
 GetPets = <function> defined @Details/functions/mixin.lua:84
 IsPetOrGuardian = <function> defined @Details/functions/mixin.lua:184
 IsPlayer = <function> defined @Details/functions/mixin.lua:172
 GetTargets = <function> defined @Details/functions/mixin.lua:92
 nome = "Arnie-Grobbulus"
 spells = <table> {
 }
 GetSpellList = <function> defined @Details/functions/mixin.lua:99
 displayName = "Arnie"
 friendlyfire = <table> {
 }
 last_dps = 3421.754383
 custom = 0
 tipo = 1
 damage_taken = 453.001366
 start_time = 1715021978
 delay = 0
 last_event = 1715021983
}
(*temporary) = 0.001086
(*temporary) = "DEATHKNIGHT"
(*temporary) = "attempt to compare string with number"
keyName = "total"
commented

#732 fixes.