Thread Tools Display Modes
02-23-22, 08:56 PM   #1
miniminho
A Defias Bandit
Join Date: Feb 2022
Posts: 2
Lua sendchatmessage changes in 9.2 chat bubble window

Hello world! im having issues with icons since the release of 9.2...

here is my problem as soon as i add 2 icons ({rt1}) or i add something like GetUnitName("NPC")

it doubles up the text in the chat bubble BUT the chatwindows displays tetx correctly

here is what i mean

simple exemple:
local f = CreateFrame("Frame")

f:RegisterEvent("PLAYER_ENTERING_WORLD")
f:RegisterEvent("TRADE_CLOSED")
f:SetScript("OnEvent",function(self,event,msg)
if event=="TRADE_CLOSED" then
SendChatMessage(" {rt1} hi {rt1} ", "SAY", "Common")
end
end)
now this in chat window shows as: star hi star
but in the bubblechat it shows as {rt1} {rt1} star {rt1} star
what causes this and how to fix? this started happening after 9.2 release
  Reply With Quote
02-23-22, 09:35 PM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,359
Sounds like the 17th arg CHAT_MSG suppressRaidIcons is now by default true?

I don't play retail so just guessing.

Maybe the (ab)us[ag]e of trade markers in public chats for boost spam got too much?
  Reply With Quote
02-23-22, 11:05 PM   #3
miniminho
A Defias Bandit
Join Date: Feb 2022
Posts: 2
No thats not it because i can still see the icons but the duplicated ones shows as {rt1}
  Reply With Quote
02-24-22, 12:14 AM   #4
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,359
Originally Posted by miniminho View Post
No thats not it because i can still see the icons but the duplicated ones shows as {rt1}
I misread your original post, apologies.
  Reply With Quote
02-24-22, 02:37 PM   #5
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
that looks weird yea, opened a bug report on https://github.com/Stanzilla/WoWUIBugs/issues/220


Last edited by Ketho : 02-24-22 at 06:57 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Lua sendchatmessage changes in 9.2 chat bubble window

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off