Quantcast [open] Fix for recurring RequestReadMail failure - Page 2 - ESOUI
Thread Tools Display Modes
03/20/17, 11:33 AM   #21
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,085
I added the following code to one of my addons:
Lua Code:
  1. saveData.mailLog = saveData.mailLog or {}
  2.     local function log(message)
  3.         saveData.mailLog[#saveData.mailLog + 1] = ("%d.%d: %s (%d)"):format(GetFrameTimeSeconds(), GetFrameTimeMilliseconds(), message, GetInteractionType())
  4.     end
  5.  
  6.     ZO_PreHook("RequestOpenMailbox", function()
  7.         log("RequestOpenMailbox")
  8.     end)
  9.     ZO_PreHook("CloseMailbox", function()
  10.         log("CloseMailbox")
  11.     end)
  12.     ZO_PreHook(MAIL_INTERACTION_FRAGMENT, "Show", function()
  13.         log("MAIL_INTERACTION_FRAGMENT:Show")
  14.     end)
  15.     ZO_PreHook(MAIL_INTERACTION_FRAGMENT, "Hide", function()
  16.         log("MAIL_INTERACTION_FRAGMENT:Hide")
  17.     end)
  18.     RegisterForEvent(EVENT_MAIL_OPEN_MAILBOX, function()
  19.         log("EVENT_MAIL_OPEN_MAILBOX")
  20.     end)
  21.     RegisterForEvent(EVENT_MAIL_CLOSE_MAILBOX, function()
  22.         log("EVENT_MAIL_CLOSE_MAILBOX")
  23.     end)
  24.     RegisterForEvent(EVENT_MAIL_INBOX_UPDATE, function()
  25.         log("EVENT_MAIL_INBOX_UPDATE")
  26.     end)

Then I did the same thing that Baertram just posted and opened the mailbox via keybind right after I logged in, but the mails show up without an issue for me.

Here is the log:
Code:
[1] = "89.89414: MAIL_INTERACTION_FRAGMENT:Show (0)"
[2] = "89.89414: RequestOpenMailbox (0)"
[3] = "93.93555: EVENT_MAIL_OPEN_MAILBOX (0)"
[4] = "93.93555: EVENT_MAIL_INBOX_UPDATE (0)"
[5] = "93.93555: EVENT_MAIL_INBOX_UPDATE (0)"
[6] = "93.93555: EVENT_MAIL_CLOSE_MAILBOX (0)"
[7] = "94.94383: EVENT_MAIL_INBOX_UPDATE (0)"
[8] = "98.98023: MAIL_INTERACTION_FRAGMENT:Hide (0)"
[9] = "98.98023: CloseMailbox (0)"
[10] = "98.98049: EVENT_MAIL_CLOSE_MAILBOX (0)"
[11] = "510.510312: MAIL_INTERACTION_FRAGMENT:Show (0)"
[12] = "510.510312: RequestOpenMailbox (0)"
[13] = "510.510414: EVENT_MAIL_OPEN_MAILBOX (7)"
[14] = "510.510414: EVENT_MAIL_INBOX_UPDATE (7)"
[15] = "580.580472: MAIL_INTERACTION_FRAGMENT:Hide (7)"
[16] = "580.580472: CloseMailbox (7)"
[17] = "580.580486: EVENT_MAIL_CLOSE_MAILBOX (0)"
[18] = "580.580486: EVENT_MAIL_CLOSE_MAILBOX (0)"
[19] = "851.851624: MAIL_INTERACTION_FRAGMENT:Show (0)"
[20] = "851.851624: RequestOpenMailbox (0)"
[21] = "851.851777: EVENT_MAIL_OPEN_MAILBOX (7)"
[22] = "852.852526: MAIL_INTERACTION_FRAGMENT:Hide (7)"
[23] = "852.852526: CloseMailbox (7)"
[24] = "852.852553: EVENT_MAIL_CLOSE_MAILBOX (0)"
[25] = "852.852553: EVENT_MAIL_CLOSE_MAILBOX (0)"
__________________
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.

Last edited by sirinsidiator : 03/20/17 at 11:42 AM. Reason: added more lines to the log
  Reply With Quote
03/20/17, 01:26 PM   #22
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 27
Alright we've finally been able to get a reliable repro internally. We'll try to figure it out from here and get a fix in as soon as possible. Thanks, all!
  Reply With Quote
03/27/17, 01:15 PM   #23
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 27
A fix has been submitted for the issue and will be in the next patch. Thanks, all!
  Reply With Quote
04/30/18, 12:24 AM   #24
Marazota
Join Date: Sep 2015
Posts: 59
Originally Posted by ZOS_DanBatson View Post
A fix has been submitted for the issue and will be in the next patch. Thanks, all!
looks like old bug returned?

1) buy alot items in guild stores until you will feel you will go over limit of mails
2) re-zone and open mail - error

  Reply With Quote

ESOUI » Developer Discussions » Wish List » [open] Fix for recurring RequestReadMail failure

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