Details! Damage Meter

Details! Damage Meter

250M Downloads

Lua errors on battleground

Ivankonoiko opened this issue · 2 comments

commented

Before Start!

Make sure the bug also happen when Details! is the only addon enabled.

Game and Details! version
Use /details to grab these two.
classic cataclysm

Describe the bug

  • Steps to Reproduce (what did you do to make the bug happen):
    happened on battlegrounds
  • Result (what happens when you follow the steps above):
    spaming system errors and details not showing any data
  • Expected (what you think the expected behavior would be when following the steps):
    issue probably because of the Elvui and Details compatibility
  • When the bug started (a date, wow path release, details update, etc)?
    on cataclysm release
  • Additional information:

Lua Error
Post here lua errors, if you aren't getting any, use /console scriptErrors 1
1)
1x Details/boot.lua:1649: attempt to perform arithmetic on field 'total' (a string value)
[string "@Details/boot.lua"]:1649: in function DestroyActor' [string "@Details/boot.lua"]:1616: in function DestroyCombat'
[string "@Details/classes/container_segments.lua"]:924: in function `ResetAllCombatData'
[string "@Details/frames/window_main.lua"]:9832: in function <Details/frames/window_main.lua:9821>

Locals:
self =

{
SetBarSpecIconSettings = defined @Details/frames/window_main.lua:4429
APITopics =
{
}
InitializeRunCodeWindow = defined @Details/frames/window_runcode.lua:10
player_stats =
{
}
FlagNewCombat_PVPState = defined @Details/core/parser.lua:5180
EntrarEmCombate = defined @Details/core/control.lua:314
IsInMythicPlus = defined @Details/core/util.lua:38
resize_debug =
{
}
overall_flag = 16
opened_windows = 2
RefreshAttributeTextSize = defined @Details/frames/window_main.lua:7900
PotionList =
{
}
EndRefresh = defined @Details/core/control.lua:1700
default_bg_color = 0.094100
UpdatePetCache = defined @Details/classes/container_actors.lua:931
Ambiguate = defined @Details/functions/classes.lua:233
GetActiveWindowFromBreakdownWindow = defined @Details/frames/window_breakdown/window_playerbreakdown.lua:242
gameVersionPrefix = "VWD"
GetNickname = defined @Details/Libs/NickTag-1.0/NickTag-1.0.lua:723
IsPluginEnabled = defined @Details/core/plugins.lua:92
ImportProfile = defined @Details/functions/profiles.lua:1944
show_totalhitdamage_on_overkill = false
SetNickname = defined @Details/Libs/NickTag-1.0/NickTag-1.0.lua:573
color_by_arena_team = true
SortKeyGroupHeal = defined @Details/classes/class_heal.lua:138
SortKeyGroup = defined @Details/classes/class_damage.lua:143
IsInEncounter = defined @Details/core/parser.lua:7113
Check_ZONE_CHANGED_NEW_AREA = defined @Details/core/parser.lua:5223
plugin_window_pos =
{
}
gump =
{
}
ShowDeathTooltipFunction = defined @Details/classes/class_utility.lua:178
CaptureRefresh = defined @Details/core/parser.lua:4839
NewModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:231
InstancesToStoreData =
{
}
SetAsDotSpell = defined @Details/functions/spellcache.lua:512
name_space_info = defined @Details/core/util.lua:1786
ShowDelayMsg = defined @Details/boot.lua:1314
Resize = defined @Details/classes/class_instance.lua:2441
GetEncounterActorsName = defined @Details/functions/boss.lua:300
RequestCloudData = defined @Details/core/network.lua:658
RestauraJanela = defined @Details/classes/class_instance.lua:1955
default_skin_to_use = "Minimalistic"
GetOpenedWindowsAmount = defined @Details/classes/class_instance.lua:715
GetInstanceGroup = defined @Details/frames/window_main.lua:8443
deadlog_events = 32
GetDeathRecapFromChat = defined @Details/functions/deathrecap.lua:211
OpenNewsWindow = defined @Details/frames/window_news.lua:8
last_instance_id = 669
Disable = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:310
atributo_energy =
{
}
UnitDamageOnUnit = defined @Details/functions/api2.lua:1117
show_warning_id1 = true
OpenBreakdownWindow = defined @Details/frames/window_breakdown/window_playerbreakdown.lua:343
name_space_generic = defined @Details/core/util.lua:1796
storage =
{
}
FadeHandler =
{
}
AdjustAlphaByContext = defined @Details/frames/window_main.lua:7644
AddOnStartTime = 2623.091000
Containe

105x Details/classes/class_damage.lua:383: bad argument #1 to 'unpack' (table expected, got nil)
[string "=[C]"]: ?
[string "@Details/classes/class_damage.lua"]:383: in function GetBarColor' [string "@Details/classes/class_heal.lua"]:864: in function RefreshLine'
[string "@Details/classes/class_heal.lua"]:480: in function RefreshWindow' [string "@Details/classes/class_instance.lua"]:338: in function RefreshData'
[string "@Details/core/control.lua"]:1810: in function <Details/core/control.lua:1794>
[string "=(tail call)"]: ?

Locals:
(*temporary) = nil

2x Details/functions/bossmods.lua:27: attempt to perform arithmetic on field 'total' (a string value)
[string "@Details/core/control.lua"]:553: in function SairDoCombate' [string "@Details/core/util.lua"]:1306: in function <Details/core/util.lua:1249> [string "=[C]"]: in function xpcall'
[string "@Details/functions/schedules.lua"]:22: in function <Details/functions/schedules.lua:18>

Locals:
self =

{
SetBarSpecIconSettings = defined @Details/frames/window_main.lua:4429
APITopics =
{
}
InitializeRunCodeWindow = defined @Details/frames/window_runcode.lua:10
player_stats =
{
}
FlagNewCombat_PVPState = defined @Details/core/parser.lua:5180
EntrarEmCombate = defined @Details/core/control.lua:314
IsInMythicPlus = defined @Details/core/util.lua:38
resize_debug =
{
}
overall_flag = 16
opened_windows = 2
RefreshAttributeTextSize = defined @Details/frames/window_main.lua:7900
PotionList =
{
}
EndRefresh = defined @Details/core/control.lua:1700
default_bg_color = 0.094100
UpdatePetCache = defined @Details/classes/container_actors.lua:931
Ambiguate = defined @Details/functions/classes.lua:233
GetActiveWindowFromBreakdownWindow = defined @Details/frames/window_breakdown/window_playerbreakdown.lua:242
gameVersionPrefix = "VWD"
GetNickname = defined @Details/Libs/NickTag-1.0/NickTag-1.0.lua:723
IsPluginEnabled = defined @Details/core/plugins.lua:92
ImportProfile = defined @Details/functions/profiles.lua:1944
show_totalhitdamage_on_overkill = false
SetNickname = defined @Details/Libs/NickTag-1.0/NickTag-1.0.lua:573
color_by_arena_team = true
SortKeyGroupHeal = defined @Details/classes/class_heal.lua:138
SortKeyGroup = defined @Details/classes/class_damage.lua:143
IsInEncounter = defined @Details/core/parser.lua:7113
Check_ZONE_CHANGED_NEW_AREA = defined @Details/core/parser.lua:5223
plugin_window_pos =
{
}
gump =
{
}
ShowDeathTooltipFunction = defined @Details/classes/class_utility.lua:178
CaptureRefresh = defined @Details/core/parser.lua:4839
NewModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:231
InstancesToStoreData =
{
}
SetAsDotSpell = defined @Details/functions/spellcache.lua:512
name_space_info = defined @Details/core/util.lua:1786
ShowDelayMsg = defined @Details/boot.lua:1314
Resize = defined @Details/classes/class_instance.lua:2441
GetEncounterActorsName = defined @Details/functions/boss.lua:300
RequestCloudData = defined @Details/core/network.lua:658
RestauraJanela = defined @Details/classes/class_instance.lua:1955
default_skin_to_use = "Minimalistic"
GetOpenedWindowsAmount = defined @Details/classes/class_instance.lua:715
GetInstanceGroup = defined @Details/frames/window_main.lua:8443
deadlog_events = 32
GetDeathRecapFromChat = defined @Details/functions/deathrecap.lua:211
OpenNewsWindow = defined @Details/frames/window_news.lua:8
last_instance_id = 669
Disable = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:310
atributo_energy =
{
}
UnitDamageOnUnit = defined @Details/functions/api2.lua:1117
show_warning_id1 = true
OpenBreakdownWindow = defined @Details/frames/window_breakdown/window_playerbreakdown.lua:343
name_space_generic = defined @Details/core/util.lua:1796
storage =
{
}
FadeHandler =
{
}
AdjustAlphaByContext = defined @Details/frames/window_main.lua:7644
AddOnStartTime = 2623.091000
Containe

3061x 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 =

{
flag_original = 1352
totalabsorbed = 0.004824
BuildSpellTargetFromSpellTable = defined @Details/functions/mixin.lua:147
GetSpellContainer = defined @Details/functions/mixin.lua:27
pets =
{
}
classe = "UNGROUPPLAYER"
total_without_pet = 0.004824
last_dps_realtime = 0
dps_started = false
total = 0.004824
GetSpellTableFromContainer = defined @Details/functions/mixin.lua:71
BuildSpellTargetFromBreakdownSpellData = defined @Details/functions/mixin.lua:108
on_hold = false
total_extra = 0
IsGroupPlayer = defined @Details/functions/mixin.lua:191
pvp = true
damage_from =
{
}
targets =
{
}
enemy = true
grupo = true
IsNeutralOrEnemy = defined @Details/functions/mixin.lua:198
friendlyfire_total = 0
raid_targets =
{
}
aID = "4467-0481907C"
serial = "Player-4467-0481907C"
GetSpellContainerNames = defined @Details/functions/mixin.lua:19
GetPets = defined @Details/functions/mixin.lua:84
IsPetOrGuardian = defined @Details/functions/mixin.lua:184
IsPlayer = defined @Details/functions/mixin.lua:172
GetTargets = defined @Details/functions/mixin.lua:92
nome = "Blueiron-Firemaw"
spells =
{
}
GetSpellList = defined @Details/functions/mixin.lua:99
displayName = "Blueiron"
friendlyfire =
{
}
last_dps = 0
custom = 0
tipo = 1
damage_taken = 4678.004824
start_time = 0
delay = 0
last_event = 0
}
table2 =
{
flag_original = 1300
totalabsorbed = 0.004661
BuildSpellTargetFromSpellTable = defined @Details/functions/mixin.lua:147
GetSpellContainer = defined @Details/functions/mixin.lua:27
pets =
{
}
classe = "Warrior"
total_without_pet = 0.004661
last_dps_realtime = 0
dps_started = false
total = "WARRIOR"
spec = 71
GetSpellTableFromContainer = defined @Details/functions/mixin.lua:71
BuildSpellTargetFromBreakdownSpellData = defined @Details/functions/mixin.lua:108
on_hold = false
total_extra = 0
IsGroupPlayer = defined @Details/functions/mixin.lua:191
pvp = true
damage_from =
{
}
targets =
{
}
grupo = true
IsNeutralOrEnemy = defined @Details/functions/mixin.lua:198
friendlyfire_total = 0
raid_targets =
{
}
aID = "4474-04F9AFE8"
serial = "Player-4474-04F9AFE8"
GetSpellContainerNames = defined @Details/functions/mixin.lua:19
GetPets = defined @Details/functions/mixin.lua:84
IsPetOrGuardian = defined @Details/functions/mixin.lua:184
IsPlayer = defined @Details/functions/mixin.lua:172
GetTargets = defined @Details/functions/mixin.lua:92
nome = "Човский-Пламегор"
spells =
{
}
GetSpellList = defined @Details/functions/mixin.lua:99
displayName = "Човский"
friendlyfire =
{
}
last_dps = 0
custom = 0
tipo = 1
damage_taken = 0.004661
start_time = 0
delay = 0
last_event = 0
}
(*temporary) = 0.004824
(*temporary) = "WARRIOR"
(*temporary) = "attempt to compare string with number"
keyName = "total"

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

Locals:
self =

{
WipeSourceCache = defined @Details/core/parser.lua:4804
buff = defined @Details/core/parser.lua:2806
energize = defined @Details/core/parser.lua:3745
dispell = defined @Details/core/parser.lua:4202
spellcast = defined @Details/core/parser.lua:4080
spell_dmg = defined @Details/core/parser.lua:726
unbuff = defined @Details/core/parser.lua:3104
SLT_damage = defined @Details/core/parser.lua:1886
spell_dmg_extra_attacks = defined @Details/core/parser.lua:1991
rangemissed = defined @Details/core/parser.lua:2016
buff_refresh = defined @Details/core/parser.lua:3015
heal = defined @Details/core/parser.lua:2416
environment = defined @Details/core/parser.lua:4775
RevomeActorFromCache = defined @Details/core/parser.lua:6863
RefreshFunctions = defined @Details/core/parser.lua:5113
heal_absorb = defined @Details/core/parser.lua:2373
heal_denied = defined @Details/core/parser.lua:2303
SetParserFunction = defined @Details/core/parser.lua:5060
original_functions =
{
}
dead = defined @Details/core/parser.lua:4473
ress = defined @Details/core/parser.lua:4300
add_buff_uptime = defined @Details/core/parser.lua:3521
spell_empower = defined @Details/core/parser.lua:2184
interrupt = defined @Details/core/parser.lua:3950
break_cc = defined @Details/core/parser.lua:4387
add_debuff_uptime = defined @Details/core/parser.lua:3479
add_defensive_cooldown = defined @Details/core/parser.lua:3853
summon = defined @Details/core/parser.lua:2240
swingmissed = defined @Details/core/parser.lua:2012
MonkStagger_damage = defined @Details/core/parser.lua:1677
LOTM_damage = defined @Details/core/parser.lua:1820
add_bad_debuff_uptime = defined @Details/core/parser.lua:3312
SLT_healing = defined @Details/core/parser.lua:2745
add_cc_done = defined @Details/core/parser.lua:3235
missed = defined @Details/core/parser.lua:2021
}
token = "SWING_DAMAGE"
time = 1717341577.569000
sourceSerial = "Creature-0-4459-761-28733-29264-0000DC8D88"
sourceName = "Spirit Wolf <Терранос-Пламегор> <Терранос-Пламегор>"
sourceFlags = 4370
targetSerial = "Player-4454-049D3145"
targetName = "Waifujonna-MirageRaceway"
targetFlags = 1352
targetRaidFlags = 0
spellId = 1
spellName = "Melee"
spellType = 1
amount = 1052
overkill = -1
school = 1
resisted = nil
blocked = nil
absorbed = nil
critical = false
glacing = false
crushing = false
isoffhand = false
isreflected = nil
npcId = 29264
sourceActor =
{
flag_original = 4370
totalabsorbed = 4293.002210
BuildSpellTargetFromSpellTable = defined @Details/functions/mixin.lua:147
GetSpellContainer = defined @Details/functions/mixin.lua:27
pets =
{
}
classe = "PET"
total_without_pet = 0.002210
last_dps_realtime = 0
dps_started = true
total = 0.002210
GetSpellTableFromContainer = defined @Details/functions/mixin.lua:71
BuildSpellTargetFromBreakdownSpellData = defined @Details/functions/mixin.lua:108
on_hold = false
total_extra = 0
IsGroupPlayer = defined @details

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

Locals:
self = nil
token = "SPELL_PERIODIC_DAMAGE"
time = 1717341575.693000
sourceSerial = "Player-4474-0144728F"
sourceName = "Анестареан-Пламегор"
sourceFlags = 1300
targetSerial = "Player-4467-049501D1"
targetName = "Ezgameplay-Firemaw"
targetFlags = 1352
targetRaidFlags = 0
spellId = 44457
spellName = "Living Bomb"
spellType = 4
amount = 4678
overkill = -1
school = 4
resisted = nil
blocked = nil
absorbed = nil
critical = true
glacing = false
crushing = false
isoffhand = nil
isreflected = nil
npcId = 0
sourceActor =

{
flag_original = 1300
totalabsorbed = 0.008181
BuildSpellTargetFromSpellTable = defined @Details/functions/mixin.lua:147
GetSpellContainer = defined @Details/functions/mixin.lua:27
pets =
{
}
classe = "Mage"
total_without_pet = 0.008181
last_dps_realtime = 0
dps_started = true
total = "MAGE"
spec = 63
GetSpellTableFromContainer = defined @Details/functions/mixin.lua:71
BuildSpellTargetFromBreakdownSpellData = defined @Details/functions/mixin.lua:108
on_hold = false
total_extra = 0
IsGroupPlayer = defined @Details/functions/mixin.lua:191
pvp = true
damage_from =
{
}
targets =
{
}
grupo = true
IsNeutralOrEnemy = defined @Details/functions/mixin.lua:198
friendlyfire_total = 0
raid_targets =
{
}
aID = "4474-0144728F"
serial = "Player-4474-0144728F"
GetSpellContainerNames = defined @Details/functions/mixin.lua:19
GetPets = defined @Details/functions/mixin.lua:84
IsPetOrGuardian = defined @Details/functions/mixin.lua:184
IsPlayer = defined @Details/functions/mixin.lua:172
GetTargets = defined @Details/functions/mixin.lua:92
nome = "Анестареан-Пламегор"
spells =
{
}
GetSpellList = defined @Details/functions/mixin.lua:99
displayName = "Анестареан"
friendlyfire =
{
}
last_dps = 0
custom = 0
tipo = 1
damage_taken = 0.008181
start_time = 1717341576
delay = 0
last_event = 1717341576
}
ownerActor = nil
targetActor =
{
flag_original = 1352
totalabsorbed = 0.001489
BuildSpellTargetFromSpellTable = defined @Details/functions/mixin.lua:147
GetSpellContainer = defined @Details/functions/mixin.lua:27
pets =
{
}
classe = "Druid"
total_without_pet = 0.001489
last_dps_realtime = 0
dps_started = false
total = "DRUID"
GetSpellTableFromContainer = defined @Details/functions/mixin.lua:71
BuildSpellTargetFromBreakdownSpellData = defined @Details/functions/mixin.lua:108
on_hold = false
total_extra = 0
IsGroupPlayer = defined @Details/functions/mixin.lua:191
pvp = true
damage_from =
{
}
targets =
{
}
enemy = true
grupo = true
IsNeutralOrEnemy = defined @Details/functions/mixin.lua:198
friendlyfire_total = 0
raid_targets =
{
}
aID = "4467-049501D1"
serial = "Player-4467-049501D1"
GetSpellContainerNames = defined @Details/functions/mixin.lua:19
GetPets = defined @Details/functions/mixin.lua:84
IsPetOrGuardian = defined @Details/functions/mixin.lua:184
IsPlayer = defined @Details/functions/mixin.lua:172
GetTargets = defined @Details/functions/mixin.lua:92
nome = "Ezgameplay-Firemaw"
spells =
{
}
GetSpellList = defined @Details/functions/mixin.lua:99
displayName = "Ezgameplay"
friendlyfire =
{
}
last_dps = 0
custom = 0
tipo = 1
damage_taken = 5867.001489
start_time = 0
delay = 0
last_event = 0
}
targetOwner = nil
is_friendly_fire = fals

38525x Details/classes/class_damage.lua:2285: attempt to compare string with number
[string "@Details/classes/class_damage.lua"]:2285: 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:
self =

{
BuildDamageTakenSpellListFromAgressor = defined @Details/classes/class_damage.lua:5003
MontaDetalhesFriendlyFire = defined @Details/classes/class_damage.lua:5736
PredictedAugSpellsOnLeave = defined @Details/classes/class_damage.lua:3831
MontaInfo = defined @Details/classes/class_damage.lua:4761
AtualizarBySpell = defined @Details/classes/class_damage.lua:1051
ToolTip_FriendlyFire = defined @Details/classes/class_damage.lua:4646
MontaDetalhesEnemy = defined @Details/classes/class_damage.lua:5801
PredictedAugSpellsOnEnter = defined @Details/classes/class_damage.lua:3496
ToolTip_DamageTaken = defined @Details/classes/class_damage.lua:4421
MontaInfoFriendlyFire = defined @Details/classes/class_damage.lua:4821
RefreshWindow = defined @Details/classes/class_damage.lua:1780
add_total = defined @Details/classes/class_damage.lua:6992
NovaTabela = defined @Details/classes/class_damage.lua:429
MontaInfoDamageTaken = defined @Details/classes/class_damage.lua:5057
ToolTip_DamageDone = defined @Details/classes/class_damage.lua:3867
ToolTip_Enemies = defined @Details/classes/class_damage.lua:4313
CreateFFTable = defined @Details/classes/class_damage.lua:112
MontaDetalhesDamageTaken = defined @Details/classes/class_damage.lua:5899
MontaInfoDamageDone = defined @Details/classes/class_damage.lua:5283
ClearCacheTables = defined @Details/classes/class_damage.lua:6951
ReportSingleFragsLine = defined @Details/classes/class_damage.lua:4295
ReportEnemyDamageTaken = defined @Details/classes/class_damage.lua:4241
AtualizarFrags = defined @Details/classes/class_damage.lua:1254
__add = defined @Details/classes/class_damage.lua:7255
__index =
{
}
AddToCombat = defined @Details/classes/class_damage.lua:7005
subtract_total = defined @Details/classes/class_damage.lua:6986
UpdateSelectedToKFunction = defined @Details/classes/class_damage.lua:6978
GetOrChangeActivityStatus = defined @Details/classes/class_damage.lua:6932
MontaTooltipAlvos = defined @Details/classes/class_damage.lua:6808
BuildSpellDetails = defined @Details/classes/class_damage.lua:6047
ToolTip = defined @Details/classes/class_damage.lua:3840
MontaDetalhes = defined @Details/classes/class_damage.lua:4772
MontaDetalhesDamageDone = defined @Details/classes/class_damage.lua:6283
MontaTooltipDamageTaken = defined @Details/classes/class_damage.lua:6772
BuildFriendlySpellListFromAgressor = defined @Details/classes/class_damage.lua:4794
RefreshDpsRealTime = defined @Details/classes/class_damage.lua:499
ContainerRefreshDps = defined @Details/classes/class_damage.lua:521
ReportSingleVoidZoneLine = defined @Details/classes/class_damage.lua:1493
RefreshLine = defined @Details/classes/class_damage.lua:2749
__sub = defined @Details/classes/class_damage.lua:7364
ReportSingleDTBSLine = defined @Details/classes/class_damage.lua:1035
}
instanceObject =
{
h_baixo = DetailsBottomSideBarHighlight1 {
}
me

Screenshots
Post images of the bug if necessary.

Combat Log
Include a link to a combatlog file if the error is about not detecting a skill, usable item or item proc.
The log can be as simple as hitting a mob with white damage and using the item/skill.

Other Information
If necessary, add more info here.

commented

Well you found the github, so i suppose i cant fault you too much.

https://discord.gg/detailscommunity is the link to the discord.

This is fixed in the alpha version of details

commented

Thank you