bug in mailinbox_keyboard
I got the following error when I opened the mailbox after deleting a mail at the same time that I got removed from a dungeon instance:
Code:
EsoUI/Ingame/Mail/Keyboard/MailInbox_Keyboard.lua:440: attempt to index a nil value |
Yes, I see this a lot too with my MailLooter addon. This was not an issue in previous ESO releases for a while... It was an issue before way over a year or two ago now.... It just started again with the DarkBrotherhood release.
I can reproduce it pretty easy with MailLooter. Just have only hireling mail in your inbox. Go to MailLooter and loot all hireling mail. Go back to the Inbox and Lua error... Code:
EsoUI/Ingame/Mail/MailInbox_Shared.lua:51: attempt to index a nil value |
The problem may be that in:
https://github.com/esoui/esoui/blob/...x_keyboard.lua Code:
function MailInbox:OnMailRemoved(mailId) Code:
function MailInbox:OnMailRemoved(mailId) The crash in my post above is from MailInbox trying to load the mail info from a mailId (self.dirtyMail) for a mail that is now deleted. |
Actually make that:
Code:
function MailInbox:OnMailRemoved(mailId) |
The MailLooter addon in version 1.1.1 is patching the above code into the MailInbox. If it causes anyone a problem please let me know.
|
You should be using AreId64sEqual to compare mailId
|
Quote:
|
All times are GMT -6. The time now is 03:58 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI