-
Notifications
You must be signed in to change notification settings - Fork 373
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
ShowMailBox is empty #425
Comments
What is the guid you pass into ShowMailBox? I think this code nicely outlines the main restrictions: https://github.com/TrinityCore/TrinityCore/blob/53cc21b1b45e11ba9358df3281cfa2b021fb1ea0/src/server/game/Handlers/MailHandler.cpp#L36-L60 |
The Eluna documentation says that you need to pass the player's ID. If i try to pass the Mailbox object ID, nothing happens. Is it possible to open a game object interaction (for example, a mailbox or a guild bank)? Unfortunately, I didn't find anything in the documentation. |
Yes, if you grant rbac permission 777 for the account, then everything works. As I understand, there are two options - grant permission, or remove the check from the core. |
Is the mailbox close enough? The mailbox must be within interaction distance. |
Yeah, if mailbox close enough everything is working fine. But I wanted to use mail anywhere. I'll just add permission. |
Calling ShowMainBox opens an empty mail window. But if you open mail through a mailbox or GM command, and call ShowMailBox, then the mail will be displayed.
I can’t understand what exactly is the problem, because the implementation of the request is essentially the same as that of GM command. Trinity core.
The text was updated successfully, but these errors were encountered: