Skip to content

Commit

Permalink
Fixed issue with the latest wow patch 82505
Browse files Browse the repository at this point in the history
Fixes for the client change: "Chat channel 'SAY' cannot be used in open world anymore".
  • Loading branch information
Tercioo committed Sep 28, 2019
1 parent b4c9a55 commit 1d230f6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Details.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 80200
## Interface: 80205
## Title: Details! Damage Meter
## Notes: Essential tool to impress that chick in your raid.
## SavedVariables: _detalhes_global
Expand Down
12 changes: 6 additions & 6 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
_ = nil
_detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0")

_detalhes.build_counter = 7193
_detalhes.alpha_build_counter = 7193 --if this is higher than the regular counter, use it instead
_detalhes.game_version = "v8.2.0"
_detalhes.userversion = "v8.2.0." .. _detalhes.build_counter
_detalhes.build_counter = 7203
_detalhes.alpha_build_counter = 7203 --if this is higher than the regular counter, use it instead
_detalhes.game_version = "v8.2.5"
_detalhes.userversion = "v8.2.5." .. _detalhes.build_counter
_detalhes.realversion = 140 --core version, this is used to check API version for scripts and plugins (see alias below)
_detalhes.APIVersion = _detalhes.realversion --core version
_detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" --simple stirng to show to players
Expand All @@ -27,8 +27,8 @@ do

local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" )
--[[
|cFFFFFF00v8.2.0.7193.140 (|cFFFFCC00September 21th, 2019|r|cFFFFFF00)|r:\n\n
|cFFFFFF00-|r Libraries update.\n\n
|cFFFFFF00v8.2.5.7203.140 (|cFFFFCC00September 28th, 2019|r|cFFFFFF00)|r:\n\n
|cFFFFFF00-|r Applyed fixes for 8.2.5.0.5 wow version update.\n\n
|cFFFFFF00-|r Fixed several bugs on custom made displays.\n\n
--]]

Expand Down
1 change: 1 addition & 0 deletions core/network.lua
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@

local from = UnitName ("player")
local realm = GetRealmName()
--todo: need to check if the target is still online
_detalhes:SendCommMessage (CONST_DETAILS_PREFIX, _detalhes:Serialize (CONST_GUILD_SYNC, from, realm, _detalhes.realversion, "A", data), "WHISPER", task.Target)

if (_detalhes.debug) then
Expand Down
6 changes: 4 additions & 2 deletions core/plugins_raid.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,10 @@
elseif (channel == "PRINT") then
print (msg)

else
SendChatMessage (msg, channel)
else --say channel?
if (IsInInstance()) then --patch 80205 cannot use 'say' channel outside instances
SendChatMessage (msg, channel)
end

--elseif (channel == "SAY" or channel == "YELL" or channel == "RAID_WARNING" or channel == "OFFICER" or channel == "GUILD" or channel == "EMOTE") then

Expand Down
2 changes: 1 addition & 1 deletion gumps/janela_report.lua
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ local function cria_drop_down (este_gump)
{Loc ["STRING_REPORTFRAME_OFFICERS"], "OFFICER", _IsInGuild, {iconsize = iconsize, icon = [[Interface\FriendsFrame\UI-Toast-ToastIcons]], coords = {0.8046875, 0.96875, 0.125, 0.390625}, color = {0.25, 0.74, 0.25}}},
{Loc ["STRING_REPORTFRAME_WHISPER"], "WHISPER", nil, {iconsize = iconsize, icon = [[Interface\FriendsFrame\UI-Toast-ToastIcons]], coords = {0.0546875, 0.1953125, 0.625, 0.890625}, color = {1, 0.49, 1}}},
{Loc ["STRING_REPORTFRAME_WHISPERTARGET"], "WHISPER2", nil, {iconsize = iconsize, icon = [[Interface\FriendsFrame\UI-Toast-ToastIcons]], coords = {0.0546875, 0.1953125, 0.625, 0.890625}, color = {1, 0.49, 1}}},
{Loc ["STRING_REPORTFRAME_SAY"], "SAY", nil, {iconsize = iconsize, icon = [[Interface\FriendsFrame\UI-Toast-ToastIcons]], coords = {0.0390625, 0.203125, 0.09375, 0.375}, color = {1, 1, 1}}},
{Loc ["STRING_REPORTFRAME_SAY"], "SAY", IsInInstance, {iconsize = iconsize, icon = [[Interface\FriendsFrame\UI-Toast-ToastIcons]], coords = {0.0390625, 0.203125, 0.09375, 0.375}, color = {1, 1, 1}}},
{Loc ["STRING_REPORTFRAME_COPY"], "COPY", nil, {iconsize = iconsize, icon = [[Interface\Buttons\UI-GuildButton-PublicNote-Disabled]], coords = {0, 1, 0, 1}, color = {1, 1, 1}}},
}

Expand Down

0 comments on commit 1d230f6

Please sign in to comment.