Fixed window statistics no opening, more debug for the wipe segments handle
This commit is contained in:
@@ -19,8 +19,8 @@
|
|||||||
local addonName, Details222 = ...
|
local addonName, Details222 = ...
|
||||||
local version = GetBuildInfo()
|
local version = GetBuildInfo()
|
||||||
|
|
||||||
Details.build_counter = 12807
|
Details.build_counter = 12808
|
||||||
Details.alpha_build_counter = 12807 --if this is higher than the regular counter, use it instead
|
Details.alpha_build_counter = 12808 --if this is higher than the regular counter, use it instead
|
||||||
Details.dont_open_news = true
|
Details.dont_open_news = true
|
||||||
Details.game_version = version
|
Details.game_version = version
|
||||||
Details.userversion = version .. " " .. Details.build_counter
|
Details.userversion = version .. " " .. Details.build_counter
|
||||||
|
|||||||
@@ -584,8 +584,18 @@ function Details222.Combat.AddCombat(combatToBeAdded)
|
|||||||
Details:Msg("bRunOkay2 Error > failed to get amount of segments in this boss > ", result)
|
Details:Msg("bRunOkay2 Error > failed to get amount of segments in this boss > ", result)
|
||||||
else
|
else
|
||||||
local segmentRemoveResult = ""
|
local segmentRemoveResult = ""
|
||||||
|
if (type(result) ~= "number") then
|
||||||
|
Details:Msg("result of bRunOkay2 isn't a number | result: ", result, type(result))
|
||||||
|
end
|
||||||
|
|
||||||
local bRunOkay3, errorText3 = pcall(function()
|
local bRunOkay3, errorText3 = pcall(function()
|
||||||
local amountOfSegmentsInThisBoss = result
|
local amountOfSegmentsInThisBoss = result
|
||||||
|
|
||||||
|
if (not Details.segments_amount_boss_wipes) then
|
||||||
|
Details:Msg("Details.segments_amount_boss_wipes isn't a number, issue with profile? ", type(Details.segments_amount_boss_wipes))
|
||||||
|
Details:Msg("on default profile:", Details.default_profile.segments_amount_boss_wipes)
|
||||||
|
end
|
||||||
|
|
||||||
if (amountOfSegmentsInThisBoss > Details.segments_amount_boss_wipes) then
|
if (amountOfSegmentsInThisBoss > Details.segments_amount_boss_wipes) then
|
||||||
---@type combat[]
|
---@type combat[]
|
||||||
local allSegmentsWithThisBoss = {}
|
local allSegmentsWithThisBoss = {}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
local Details = _G.Details
|
local Details = _G.Details
|
||||||
local DF = _G.DetailsFramework
|
local DF = _G.DetailsFramework
|
||||||
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale("Details")
|
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale("Details")
|
||||||
|
local tocName, Details222 = ...
|
||||||
local _
|
local _
|
||||||
|
|
||||||
--prefix used on sync statistics
|
--prefix used on sync statistics
|
||||||
|
|||||||
Reference in New Issue
Block a user