What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Почта

Joined
Sep 16, 2014
Messages
131
Reaction score
0
Не работает RequestMailList()
Список не обновляется. Вернее, обновляется, но как-то странно
 
Yep! the way the client handle Mails is changed.

Now the client load Mail pages one at time, when you browse them, while before it used to load all mail pages the first time you were opening the mailbox.
Probably OUT need to change the way API work.

In the hope OUT see this (My code rely entirely on the mail system) and code a fix for us :)

/hat
 
Hi, check please mail problem with last AB update. Is everything good now.
 
I'm testing it right now, seem to be working good, I'll report again as I get back home and able to test deeper.
Tnx so much for taking care of this.
 
Last edited:
Нет, опять фигня (
В getAllMails() остаются уже удаленные письма, которых в почте нету уже. RequestMailList() не помогает
 
Last edited:
Нет, опять фигня (
В getAllMails() остаются уже удаленные письма, которых в почте нету уже. RequestMailList() не помогает

Is simply different than before, but i managed to find a way to make it work like before :)
What i do now is: (pseudocode)
Code:
RequestMailList()
foreach mail in getAllMails()
if mail = null
    continue
else
  mail.open
  if mail = null or has no text
    continue 
  else
    do your stuff

What is upening is that the mail you delete do not get removed from the mail list we get with getAllMails(), sometime niether logging out (there are some kind of server cache i believe, that live for some time),
so we have a list of mails that might already be deleted (you get that funny message on the client that say "Can't find mail" or something like that) while iterating our getAllMails() list, and we need to take care of it (for exemple, if you try to access mail.Text you get exception "no object reference", with error "responsetimeout").

I'm not sure if that what Out intended to get us, or a bug i'm dodging, or might even be a Game client bug, anyway i managed to make it work like before, so i'm pretty happy.

If Out want to take a deeper look into this, i'm only more happy :)

/hat
 
No, don't work
For deleted mails - mail not null and has text (
Only raise exception when try to get attachs and gold.
 
It seem perfect to me, no null mails and text and attch seem good...waiting on a word from AndreyAndreich...

tnx again Out!

/hat
 
Back
Top