From 5e2a372f5452a425d463a7dff6eab34762e67fa4 Mon Sep 17 00:00:00 2001 From: evil_morfar <10189576+evil-morfar@users.noreply.github.com> Date: Tue, 7 May 2024 21:00:03 +0200 Subject: [PATCH] Removed sending of reconnectData --- changelog.md | 11 +++++++++++ ml_core.lua | 19 ++++++++++--------- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/changelog.md b/changelog.md index d7e5037a..29f8ac44 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,14 @@ +# 3.12.0 + +## Changes + +Updated for patch 10.2.7. + +### Comms throttle + +Voting Frame data is no longer being sent when reloading/reconnecting. + + # 3.11.1 ## Changes diff --git a/ml_core.lua b/ml_core.lua index 358a9384..82a8da04 100644 --- a/ml_core.lua +++ b/ml_core.lua @@ -1629,15 +1629,16 @@ function RCLootCouncilML:OnReconnectReceived (sender) -- REVIEW v2.2.6 For backwards compability we're just sending avotingFrame's lootTable -- This is quite redundant and should be removed in the future if db.observe or Council:Contains(requestPlayer) then -- Only send all data to councilmen - local table = addon:GetActiveModule("votingframe"):GetLootTable() - -- Remove our own voting data if any - for _, v in ipairs(table) do - v.haveVoted = false - for _, d in pairs(v.candidates) do - d.haveVoted = false - end - end - self:ScheduleTimer("Send", 5, requestPlayer, "reconnectData", table) + -- Patch 10.2.7: New comms throttles doesn't allow us to send this... + -- local table = addon:GetActiveModule("votingframe"):GetLootTable() + -- -- Remove our own voting data if any + -- for _, v in ipairs(table) do + -- v.haveVoted = false + -- for _, d in pairs(v.candidates) do + -- d.haveVoted = false + -- end + -- end + -- self:ScheduleTimer("Send", 5, requestPlayer, "reconnectData", table) end end self.Log("Responded to reconnect from", sender)