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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] MailMan - Send CoD / Distribute Items With Ease (Free)

no1knowsy

Well-Known Member
Joined
Feb 28, 2010
Messages
3,927
MailMan - A plugin to send out CoD mails as well as distributing items to alts for processing

Now at version 1.0.1 ~ All users please update




Well hello again everyone. Panda here , and it's been quite a while since I've released, or even updated any of my works here on the forums.

Today I bring you a new plugin to ease the work you have to do with all those damned mats you get in your inbox every morning.
MailMan is incredibly easy to use imo, and is sure to save you tons of time.
This free version will be best utilized by those who only have a couple bots they run. I let my bots run overnight and have everything sent to 1 toon. I then load up this plugin, use postal to fill my inventory, and just hit the Restart button to empty the inventory, and repeat.



Detailed Description:
It can send mail to you alts - Useful if you send all the items to one toon and need to get them to other toons with the respective professions
It can send CoD mails - Holy hell does this save time - Set the price per stack in the settings, and if you only want to send full stacks of the item
Mails faster than Honorbuddy's default mailing system
Does require user to fill inventory themselves, but only need to click a button to process inventory​



Instructions:
Okay so install the plugin into your Honorbuddy/Plugins/ folder. (Just unzip the file into the /Plugins/ folder, it already has it's own folder within)
Load up Honorbuddy, and bring up the Plugins window
Make sure MailMan(Free) is checked on and click the "Settings" button
Fill up your mailing list, and be sure to click save! I don't have it set to save every time something changes because I'm lazy
Set Honorbuddy to "Combat Bot" and full up your inventory (I use the addon Postal to get all my mail)
Hit start in Honorbuddy
Let it go through the inventory for you (You may notice it's much faster than Honorbuddy's default mailing system)
The plugin will pause itself when it finishes going through your mailing list
Now you can fill up your inventory again
Open up the MailMan settings UI and go to the Extras tab
The huge button labeled "Pause / Restart Plugin" will restart the processing of the inventory for another round

Make sure to turn off the plugin while doing anything else! It will take over, or cause errors!
Another Hint - You can leave the MailMan UI open so you can click the button and just close the Honorbuddy-Plugins window.


The UI:
Free-Settings-MailList.pngFree-Settings-ExtrasTab.png


The Mailing List:​
Recipient Name - The name of the character to send the item to
CoD - Checked if the item is to be sent as a CoD mail, non-checked if you are just sending the item
Game Object Name - The name of the object to be sent (such as a specific herb or cloth, no types are allowed in the free version)
Price per Stack - The price you want per stack if the item is to be sent as CoD (Entering "100g40s" or "50s" works, but if you enter "1000" it will set it to 1000copper)
Full Stacks Only - Checked if you only want to send full stacks of this item (Does take into account multiple stacks of less than full stacksize)
The Extras Tab:​
Save - Saves your mailing list to xml in "Honorbuddy/Settings/MailboxManager/[ToonName]-[ServerName]/RecipientList.xml"
Load - Loads the toons settings from that same xml
Import - Use the popup to choose an xml to load settings from, useful if you send items to the same toons from alts
Export - Use the popup and set a filename to save to, useful if you want to make your own default.xml to load on tons of alts
Pause / Restart Plugin - The plugin pauses itself after clearing the inventory, clicking this will restart the processing of the inventory, until bags are emptied again​





Fail-safing:
Since there is an import function I have set into a place a check to see if the item is listed to be sent to the toon you are logged in on. If this is the case the item will be sent to your Honorbuddy-Settings & Tools mail recipient instead. This way you don't fill your bags with items that can't actually be sent anywhere. I may add an extra spot to fill in a "Catch-All" recipient just for the plugin, but using Honorbuddy's works just fine :)




Currently on Version 1.0.1 - Logging update
Version 1.0.0 - Initial Release

I tested it for a good 4 hours or so, wasting plenty of gold on postage to make sure it was accurate. I found it to 100% reliable in what it sends, to who, and at what price (if any)


Downloads:
A zip file is available below
You can also pull the plugin from the SVN -Here-
Or you can grab the full SVN -Here-


Thanks to:
I'd like to thank Inrego for his help in making this. He suggested the use of dataGridViews instead of listviews, as well as creating a class to be bound to that gridview. This saved me at least 10 hours of extra coding just in the User Interface. He also taught me how to serialize the lists to xml which again saved me some hours. Not only have his contributions sped up my programming of this plugin, but these new skills will help me create, release, and update my works more quickly and efficiently in the future.

Thanks you Inrego.​



Now, please enjoy the plugin.
All error reports should have a detailed description, screenshots if you even think they may help, as well as logs, or I'm gonna ask you for them!

-Panda
 

Attachments

Last edited:
woot, woot awesome UI. How did you manage to put that together?

EDIT: No credits for all the code / help I've given? :(
/sad
 
Last edited:
woot, woot awesome UI. How did you manage to put that together?

EDIT: No credits for all the code / help I've given? :(
/sad
I forgot.
Maybe if you had been online :/

But I suppose you should be credited.

Edit: How's that for a thanks? ^^
 
Last edited:
I don't think an insanely high speed is dangerous regarding detection, because you could easily have a macro to do the same legitimately and just spam it (assuming you're not a bot)
 
I don't think an insanely high speed is dangerous regarding detection, because you could easily have a macro to do the same legitimately and just spam it (assuming you're not a bot)
What if the command is sent every 0.05 seconds? I doubt anyone could make a macro do that.
 
No but a macro to send 1, and then bind it to the scroll wheel on a mouse with free scrolling (no ticks, just a wheel that can keep running). I have that. Another way could be macro keys on my keyboard.
 
No but a macro to send 1, and then bind it to the scroll wheel on a mouse with free scrolling (no ticks, just a wheel that can keep running). I have that. Another way could be macro keys on my keyboard.
Ewwww! Scroll wheel binds. But either way, it's best to slow it down for CoDs. Network latency, system speed, etc. If someone has 10 buddies running, and all 10 decide to mail at the same time with no delay that probably wouldn't end with everything being reliably sent.
Maybe I'm just being cautious.
 
Ewwww! Scroll wheel binds. But either way, it's best to slow it down for CoDs. Network latency, system speed, etc. If someone has 10 buddies running, and all 10 decide to mail at the same time with no delay that probably wouldn't end with everything being reliably sent.
Maybe I'm just being cautious.
I agree that there should be a minimum delay of about .2 seconds. But that's a point of stability, and not security ;)
 
[MailMan(Free)] local id = "綠茶葉" local stackPrice = 270000 local recipent = *********' local fullSize = true local _,_,_,_,_,_,_,stackSize=GetItemInfo(id) local j=0 local i=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do local n=GetContainerItemLink(b,s) if n then if strfind(n,id) and i<12 then _,c=GetContainerItemInfo(b,s) if fullSize then if c==stackSize then j=j+c UseContainerItem(b,s) i=i+1 end else j=j+c UseContainerItem(b,s) i=i+1 end end end end end local codprice=j*(stackPrice/stackSize) local header,_=GetSendMailItem(1) SetSendMailCOD(codprice) SendMail(recipent,header,'')
The name of obeject is correct,it works for first time but fail in second time, is this a trail?
 
Last edited by a moderator:
[MailMan(Free)] local id = "綠茶葉" local stackPrice = 270000 '************' local fullSize = true local _,_,_,_,_,_,_,stackSize=GetItemInfo(id) local j=0 local i=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do local n=GetContainerItemLink(b,s) if n then if strfind(n,id) and i<12 then _,c=GetContainerItemInfo(b,s) if fullSize then if c==stackSize then j=j+c UseContainerItem(b,s) i=i+1 end else j=j+c UseContainerItem(b,s) i=i+1 end end end end end local codprice=j*(stackPrice/stackSize) local header,_=GetSendMailItem(1) SetSendMailCOD(codprice) SendMail(recipent,header,'')
The name of obeject is correct,it works for first time but fail in second time, is this a trail?
Last tab in the user interface, press the Restart button to empty inventory another time.
The largest button in last tab.

You need to fill inventory yourself.


Btw, thank you for testing it on non-English servers. I wasn't sure it would work in other regions.
 
Last edited:
Version 1.0.1 includes a logging update.
All users please update to this version ASAP
 
Could I add a suggestion for this addon, leave an option for CODing only 12 full stacks in the mail at once, any less than 12 it doesn't send.
 
Could I add a suggestion for this addon, leave an option for CODing only 12 full stacks in the mail at once, any less than 12 it doesn't send.
Possible, yes. But I don't think I'll put it in.
 
Last edited:
is it work with GB2 ?

could i use it to send mail whenever my bag full ?

i want my farmer send herb to a character and send mine to another character , is it posible ?
 
Back
Top