Skip to content

Commit f0554a6

Browse files
committed
v9.0.5.8357.144
1 parent c6e17b1 commit f0554a6

11 files changed

Lines changed: 42 additions & 26 deletions

File tree

Libs/LibRaidStatus/LibRaidStatus.lua

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
local major = "LibRaidStatus-1.0"
3-
local CONST_LIB_VERSION = 14
3+
local CONST_LIB_VERSION = 15
44
LIB_RAID_STATUS_CAN_LOAD = false
55

66
--declae the library within the LibStub
@@ -14,7 +14,6 @@ LIB_RAID_STATUS_CAN_LOAD = false
1414

1515
--default values
1616
raidStatusLib.inGroup = false
17-
raidStatusLib.CanReceiveComms = false
1817

1918
--print failures (when the function return an error) results to chat
2019
local CONST_DIAGNOSTIC_ERRORS = false
@@ -128,7 +127,7 @@ LIB_RAID_STATUS_CAN_LOAD = false
128127

129128
--return true if the lib is allowed to receive comms from other players
130129
function raidStatusLib.IsCommAllowed()
131-
return raidStatusLib.CanReceiveComms
130+
return IsInGroup() or IsInRaid()
132131
end
133132

134133
--stract some indexes of a table
@@ -497,7 +496,7 @@ LIB_RAID_STATUS_CAN_LOAD = false
497496
--the group has changed, trigger a long timer to send full data
498497
--as the timer is unique, a new change to the group will replace and refresh the time
499498
--using random time, players won't trigger all at the same time
500-
local randomTime = 4.0 + math.random(1.0, 4.5)
499+
local randomTime = 1.0 + math.random(1.0, 5.5)
501500
raidStatusLib.Schedules.NewUniqueTimer(randomTime, raidStatusLib.mainControl.SendFullData, "mainControl", "sendFullData_Schedule")
502501
end
503502
end,
@@ -581,15 +580,13 @@ LIB_RAID_STATUS_CAN_LOAD = false
581580
--the game client is fully loadded and all information is available
582581
if (raidStatusLib.IsInGroup()) then
583582
raidStatusLib.Schedules.NewUniqueTimer(1.0, raidStatusLib.mainControl.SendFullData, "mainControl", "sendFullData_Schedule")
584-
raidStatusLib.CanReceiveComms = true
585583
end
586584
end
587585

588586
raidStatusLib.mainControl.OnEnterGroup = function()
589587
--the player entered in a group
590588
--schedule to send data
591589
raidStatusLib.Schedules.NewUniqueTimer(1.0, raidStatusLib.mainControl.SendFullData, "mainControl", "sendFullData_Schedule")
592-
raidStatusLib.CanReceiveComms = true
593590
end
594591

595592
raidStatusLib.mainControl.OnLeftGroup = function()
@@ -603,7 +600,6 @@ LIB_RAID_STATUS_CAN_LOAD = false
603600
table.wipe(raidStatusLib.mainControl.playerAliveStatus)
604601

605602
--toggle off comms
606-
raidStatusLib.CanReceiveComms = false
607603
end
608604

609605
raidStatusLib.mainControl.OnPlayerDeath = function()

boot.lua

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
_ = nil
55
_detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0")
66

7-
_detalhes.build_counter = 8316
8-
_detalhes.alpha_build_counter = 8316 --if this is higher than the regular counter, use it instead
7+
_detalhes.build_counter = 8357
8+
_detalhes.alpha_build_counter = 8357 --if this is higher than the regular counter, use it instead
99
_detalhes.dont_open_news = true
10-
_detalhes.game_version = "v9.0.2"
11-
_detalhes.userversion = "v9.0.2." .. _detalhes.build_counter
10+
_detalhes.game_version = "v9.0.5"
11+
_detalhes.userversion = "v9.0.5." .. _detalhes.build_counter
1212
_detalhes.realversion = 144 --core version, this is used to check API version for scripts and plugins (see alias below)
1313
_detalhes.APIVersion = _detalhes.realversion --core version
1414
_detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" --simple stirng to show to players
@@ -29,6 +29,20 @@ do
2929
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale( "Details" )
3030

3131
local news = {
32+
{"v9.0.5.8357.144", "March 15th, 2021"},
33+
"Max amount of segments raised to 40, was 30.",
34+
"Added a 'Sanguine Heal' actor to show how much the void zone healed enemies, shown on Everything mode.",
35+
"Death events are now ignore after the necrolord triggers Forgeborne Reveries.",
36+
"Mythic dungeon settings are reset after importing a profile.",
37+
"Scripts now support Inline text feature.",
38+
"Fixed a rare bug when exporting a profile would result into a bug.",
39+
"Fixed an issue with Spirit Shell overhealing.",
40+
"Fixed a rare bug on dispel toooltips giving errors.",
41+
"Fixed a bug on exporting scripts.",
42+
"Fixed an error given when an a battleground opponent die.",
43+
"Fixed an issue where sometimes entering an arena cause errors.",
44+
"Fixed some issues with pet detection.",
45+
3246
{"v9.0.2.8246.144", "February 17th, 2021"},
3347
"Added healing done to Coach feature (in testing).",
3448
"Ignore Forgeborne Reveries healing done (Necrolords ability).",

plugins/Details_DataStorage/Details_DataStorage.lua

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11

2-
DETAILS_STORAGE_VERSION = 4
2+
DETAILS_STORAGE_VERSION = 5
33

44
function _detalhes:CreateStorageDB()
55
DetailsDataStorage = {
66
VERSION = DETAILS_STORAGE_VERSION,
7-
[14] = {}, --normal mode
8-
[15] = {}, --heroic mode
9-
[16] = {}, --mythic mode
7+
[14] = {}, --normal mode (raid)
8+
[15] = {}, --heroic mode (raid)
9+
[16] = {}, --mythic mode (raid)
10+
["mythic_plus"] = {}, --(dungeons)
11+
["saved_encounters"] = {}, --(a segment)
1012
}
1113
return DetailsDataStorage
1214
end
@@ -23,7 +25,7 @@ f:SetScript ("OnEvent", function (self, event, addonName)
2325

2426
if (DetailsDataStorage.VERSION < DETAILS_STORAGE_VERSION) then
2527
--> do revisions
26-
if (DetailsDataStorage.VERSION < 4) then
28+
if (DetailsDataStorage.VERSION < 5) then
2729
table.wipe (DetailsDataStorage)
2830
DetailsDataStorage = _detalhes:CreateStorageDB()
2931
end

plugins/Details_DataStorage/Details_DataStorage.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 90002
1+
## Interface: 90005
22
## Title: Details!: Storage
33
## Notes: Stores information for Details! Damage Meter
44
## DefaultState: Enabled

plugins/Details_EncounterDetails/Details_EncounterDetails.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 90002
1+
## Interface: 90005
22
## Title: Details!: Encounter Breakdown (plugin)
33
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
44
## RequiredDeps: Details

plugins/Details_RaidCheck/Details_RaidCheck.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ end
392392
if (playerTable) then
393393
local line = self:GetLine (i)
394394
if (line) then
395-
local thisPlayerInfo = playerInfo[playerTable.Name]
395+
396+
local thisPlayerInfo = playerInfo[playerTable.UnitNameRealm]
396397
if (thisPlayerInfo) then
397398
local playerCovenantId = thisPlayerInfo.covenantId
398399
if (playerCovenantId > 0) then
@@ -406,7 +407,7 @@ end
406407
end
407408

408409
--repair status
409-
local thisPlayerGearInfo = gearInfo[playerTable.Name]
410+
local thisPlayerGearInfo = gearInfo[playerTable.UnitNameRealm]
410411
if (thisPlayerGearInfo) then
411412
line.RepairStatus:SetText(thisPlayerGearInfo.durability .. "%")
412413
else
@@ -639,6 +640,7 @@ end
639640
for i = 1, iterateAmount do
640641
local unitID = groupTypeID .. i
641642
local unitName = UnitName (unitID)
643+
local unitNameWithRealm = GetUnitName(unitID, true)
642644
local cleuName = _detalhes:GetCLName (unitID)
643645
local unitSerial = UnitGUID (unitID)
644646
local _, unitClass, unitClassID = UnitClass (unitID)
@@ -652,6 +654,7 @@ end
652654

653655
tinsert (PlayerData, {unitName, unitClassID,
654656
Name = unitName,
657+
UnitNameRealm = unitNameWithRealm,
655658
Class = unitClass,
656659
Serial = unitSerial,
657660
Role = unitRole,

plugins/Details_RaidCheck/Details_RaidCheck.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 90002
1+
## Interface: 90005
22
## Title: Details!: Raid Check (plugin)
33
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
44
## RequiredDeps: Details

plugins/Details_Streamer/Details_Streamer.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ local function CreatePluginFrames()
337337

338338
if (castInfo and castInfo.Interrupted and castInfo.InterruptedPct) then
339339
CooldownFrame_SetDisplayAsPercentage(square.cooldown, abs(castInfo.InterruptedPct - 1))
340-
square.interruptedTexture:Show()
340+
--square.interruptedTexture:Show()
341341
return
342342
end
343343

@@ -372,6 +372,7 @@ local function CreatePluginFrames()
372372
f.interruptedTexture = f:CreateTexture(nil, "overlay")
373373
f.interruptedTexture:SetColorTexture(1, 0, 0, 0.4)
374374
f.interruptedTexture:SetAllPoints()
375+
f.interruptedTexture:Hide()
375376

376377
local cooldownFrame = CreateFrame("cooldown", "$parentCooldown", f, "CooldownFrameTemplate, BackdropTemplate")
377378
cooldownFrame:SetAllPoints()
@@ -427,7 +428,7 @@ local function CreatePluginFrames()
427428
StreamOverlay:UpdateCooldownFrame(square, true, startTime, endTime, castinfo)
428429

429430
if (castinfo.Interrupted) then
430-
square.interruptedTexture:Show()
431+
--square.interruptedTexture:Show()
431432
else
432433
square.interruptedTexture:Hide()
433434
end

plugins/Details_Streamer/Details_Streamer.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 90002
1+
## Interface: 90005
22
## Title: Details!: Streamer (plugin)
33
## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps.
44
## RequiredDeps: Details

plugins/Details_TinyThreat/Details_TinyThreat.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 90002
1+
## Interface: 90005
22
## Title: Details!: Tiny Threat (plugin)
33
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
44
## RequiredDeps: Details

0 commit comments

Comments
 (0)