Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix receiving whispers while being dnd #8428

Closed
wants to merge 2 commits into from
Closed

Fix receiving whispers while being dnd #8428

wants to merge 2 commits into from

Conversation

DomGries
Copy link
Contributor

This has been the blizzlike behavior since at least TBC.

On retail if users do not even want to see /dnd messages they have to use addons

IMPORTANT:
core string (707,'%s wishes to not be disturbed and cannot receive whisper messages: %s', needs to be changed to (707,'%s does not wish to be disturbed: %s',

@ghost ghost assigned Star-lion Nov 24, 2012
@@ -19963,42 +19957,29 @@ void Player::Whisper(const std::string& text, uint32 language, uint64 receiver)
std::string _text(text);
sScriptMgr->OnPlayerChat(this, CHAT_MSG_WHISPER, language, _text, rPlayer);

// when player you are whispering to is dnd, he cannot receive your message, unless you are in gm mode
if (!rPlayer->isDND() || isGameMaster())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the ability to send whispers as a GM to a DND player.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on retail a DND player should always receive whispers no matter if the whisperer is a GM or not. And this is what the patch does. It removes the strange restriction to block whispers while being DND. The check you are talking about previously excluded GMs from those blocked whispers but that is obsolete now.

EDIT: Here is the discussion of this patch btw (need to login with old acc): http://getmangos.com/community/viewtopic.php?id=15375

@Subv
Copy link
Contributor

Subv commented Nov 29, 2012

How come I didn't see this PR up until now? o.O

@DDuarte DDuarte closed this in 368e711 Dec 23, 2012
@DomGries DomGries deleted the dnd branch December 23, 2012 19:38
DDuarte added a commit to raczman/TrinityCore that referenced this pull request Apr 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants