Download
(3 Kb)
Download
Updated: 09/09/22 06:05 AM
Compatibility:
Lost Depths (8.1.5)
Updated:09/09/22 06:05 AM
Created:10/16/19 07:20 AM
Monthly downloads:76
Total downloads:8,821
Favorites:7
MD5:
Mail Companion  Popular! (More than 5000 hits)
Version: 5
by: ShinyBones [More]
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.

Version 2:
- API Version 100033
- Optimization
Post A Reply Comment Options
Unread 11/09/22, 03:46 PM  
ShinyBones
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 76
Uploads: 3
Originally Posted by Masteroshi430
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.
Report comment to moderator  
Reply With Quote
Unread 11/09/22, 12:51 AM  
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 667
Uploads: 19
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
Report comment to moderator  
Reply With Quote
Unread 09/07/22, 04:36 AM  
ShinyBones
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 76
Uploads: 3
Originally Posted by Masteroshi430
New speed is impressive, congratulations!
I'm glad you like it.
Report comment to moderator  
Reply With Quote
Unread 08/30/22, 03:21 PM  
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 667
Uploads: 19
New speed is impressive, congratulations!
Report comment to moderator  
Reply With Quote
Unread 08/29/22, 05:49 PM  
ShinyBones
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 76
Uploads: 3
Re: Set Exceptions

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.
Report comment to moderator  
Reply With Quote
Unread 08/25/22, 08:46 AM  
eglon

Forum posts: 1
File comments: 11
Uploads: 0
Set Exceptions

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
Report comment to moderator  
Reply With Quote
Unread 04/04/22, 09:17 AM  
ShinyBones
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 76
Uploads: 3
Hi Masteroshi430,

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.

Please let me know if this solves the problem.
Last edited by ShinyBones : 04/04/22 at 09:25 AM.
Report comment to moderator  
Reply With Quote
Unread 03/25/22, 08:19 AM  
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 667
Uploads: 19
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.
Report comment to moderator  
Reply With Quote
Unread 10/23/21, 10:16 AM  
ShinyBones
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 76
Uploads: 3
Originally Posted by Duplomancer
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.
Report comment to moderator  
Reply With Quote
Unread 09/13/21, 03:31 PM  
Duplomancer

Forum posts: 2
File comments: 6
Uploads: 0
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.
Report comment to moderator  
Reply With Quote
Unread 10/17/19, 06:46 AM  
ShinyBones
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 76
Uploads: 3
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.
Report comment to moderator  
Reply With Quote
Unread 10/16/19, 11:55 PM  
Micke2nd
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 76
Uploads: 1
Hi,
what can it better or more than "Postmaster Mail" ?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: