This addon is intended to help processing system mails (e.g. deliveries, purchases or sales) of the inbox more convenient without having to assign additional keys or modifying the code of the inbox. (Gamepad compatible)
How does it work?
The routine starts by itself whenever you interact with a valid mail by taking out the attachments or deleting an empty mail.
The following mails will then be processed automatically until a selected mail is not valid for the routine.
The routine stops when...
... a mail is selected that was sent by another player.
... a mail is selected that was sent by the customer service.
... an attachment cannot be taken because it conflicts with a unique item in your inventory.
... it takes too long to process a mail.
If the routine stops prematurely, an alert should appear on the screen telling you what didn't work.
Version 5:
- Fixed a bug that caused the routine to stop too early when the inventory is almost full
- Fixed a bug that sometimes caused unwanted behaviour when selecting a new mail while the routine is running
- Refactoring
Version 4.1:
- Fixed a bug when taking attachments from player mails
- Fixed a bug that caused attempts to not work as intended
Version 4:
- Mails from players are no longer deleted
- Faster processing of mails
- Some bug fixes
Version 3:
- Increased deletion attempts from 10 to 15
- Added customisable variables at the top of the "Main.lua" file. Try to adjust these if the addon stops deleting mails due to lags.
It looks like when there is only one mail it is not auto retrieved :
I set a keybind for mail and when I press it :
- if there is multiple mail, Mail Companion starts retrieving them one by one automatically
- if there is only one mail it looks like Mail Companion does nothing
I looked into it.
Both multiple mails and a single mail were processed as intended in my test.
What I did noticed was the following scenario (mouse/keyboard interface only):
The inbox has one or more mails when you start the game. You open the inbox and a mail is automatically selected/read.
Now you empty and delete all the mails (whether by MailCompanion or manually) so that you no longer have any mails at this time and no mail can necessarily be selected.
So you close the inbox. Later you receive a new mail and open the inbox again.
Now no mail is automatically selected because the inbox has remembered the status "no mail selected".
This problem is a general problem of the inbox for mouse and keyboard players and is not caused by this addon.
If this was not your problem, I would need more information from you on how to reproduce the issue.
It looks like when there is only one mail it is not auto retrieved :
I set a keybind for mail and when I press it :
- if there is multiple mail, Mail Companion starts retrieving them one by one automatically
- if there is only one mail it looks like Mail Companion does nothing
Hi eglon, thank you for your message.
There are currently no settings. But you are right. Mails from players should not be deleted. I already have an update ready. It still needs to be tested during the day.
How do I set exceptions for this addon? It collected all my trader gold and hireling mats from the system mail just fine, but then when I click my personal mail, it just deletes those as well. Thank you
sorry for the late answer. Server lags are indeed a possible source of problems. I changed a few lines in the last update to better identify the problem. I also increased the number of deletion attempts.
If you want, try the following:
In the "Main.lua" file you will now find two variables at the top that you can change freely.
_maxDeleteAttempts: Number of deletion attempts before the routine stops.
_updateFrequency: Frequency in milliseconds of the update routine. The higher the number, the slower the routine tries to empty/delete mails.
If you adjust the variables while ingame, don't forget to type "/reloadui" in the chat.
Hi there, not sure 100% but apparently when there is only one mail containing only gold the automatic loot of the mail doesn't work.
I tried to investigate and test things modifying the code but many problems seems to come from server lags.
Should this take then delete mail from guildstore purchases? Currently it does not seem to be.
I love the KISS principal used here... a LOT.
Hello Duplomancer,
sorry for the late reply.
I looked at this and purchases from guild stores were handled automatically. Has this problem occurred more than once? It could be that this happens due to a server lag. If a mail could not be deleted after one second, the routine stops.
Hi Micke2nd,
thank you very much for your question. I can't give you a satisfactory answer because I don't really know the addon you mentioned (and I don't really want to advertise it here).
Mail Companion is also not meant to compete with other addons. It follows the KISS principle and nothing more. It processes each mail one after the other, takes out the attachments and/or deletes it. This is achieved without touching the user interface and without dependencies, which is why it should not cause any problems in the future. However, if you need more functionality, there are certainly more complex alternatives.