Possible Bug In CHAT_MSG_TEXT_EMOTE
I'm the author of ServerIgnore and someone just reported that emotes weren't being blocked like they were supposed to be.
After some testing, I realised that the author argument of CHAT_MSG_TEXT_EMOTE was always just the character name instead of the character name and the realm name for players on other realms. This is in contrast to other CHAT_MSG_X events I tested, which always include the realm name in the author argument when the player is from another realm. I'm posting this here to see if anyone else can confirm this bug before I report it on the official forums. I should be able to work around this in ServerIgnore, but it's annoying to need to use a specific filter for this one event instead of the generic filter I have in place that works for all events except this one. |
If it gives you the player's GUID you might be able to use GetPlayerInfoByGUID to fetch their realm.
|
Quote:
If that works, it should be a better solution than the array of patterns matching each ignored realm I'm using now. |
Quote:
|
I ended up rewriting my entire filter function around GetPlayerInfoByGUID, from my testing it always seems to return accurate results for anyone you've seen a chat message from.
I think I will report the issue anyway, it seems like an inconsistency when all the other chat events use the Name-Realm format for the author. Edit: I've reported it here if anyone wants to follow its status (not that I expect any response to it). |
All times are GMT -6. The time now is 06:09 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI