• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] MailMan - Send CoD / Distribute Items With Ease (Free)

    Discussion in 'Uncataloged' started by no1knowsy, Dec 30, 2012.

    1. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      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.png Free-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
       

      Attached Files:

      Last edited: Jan 29, 2013
      chinajade and buzzerbeater like this.
    2. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      Re-re-reserved for my awesomeness.
       
    3. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      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: Dec 30, 2012
    4. buzzerbeater

      buzzerbeater Well-Known Member

      Joined:
      Mar 21, 2011
      Messages:
      5,419
      Likes Received:
      28
      Trophy Points:
      48
      Big Thanks for sure.

      Finally another part of HB is "fulfilled". :D
       
    5. MadDog

      MadDog Well-Known Member

      Joined:
      Nov 5, 2011
      Messages:
      1,249
      Likes Received:
      38
      Trophy Points:
      48
      thanks panda! /pet
       
    6. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      I forgot.
      Maybe if you had been online :/

      But I suppose you should be credited.

      Edit: How's that for a thanks? ^^
       
      Last edited: Jan 5, 2013
    7. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      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)
       
    8. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      What if the command is sent every 0.05 seconds? I doubt anyone could make a macro do that.
       
    9. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      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.
       
    10. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      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.
       
    11. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      I agree that there should be a minimum delay of about .2 seconds. But that's a point of stability, and not security ;)
       
    12. jeffer

      jeffer New Member

      Joined:
      Oct 4, 2010
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Idoloveyou<3
       
    13. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      Ohhhhh, tanks you bery much.
       
    14. honormech

      honormech New Member

      Joined:
      Nov 16, 2012
      Messages:
      69
      Likes Received:
      0
      Trophy Points:
      0
      Thanks panda! Lovely plugin thats saving me a lot of time! :)
       
    15. csl5707

      csl5707 New Member

      Joined:
      Sep 1, 2012
      Messages:
      284
      Likes Received:
      0
      Trophy Points:
      0
      [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: Jan 3, 2013
    16. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      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: Jan 3, 2013
    17. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      Version 1.0.1 includes a logging update.
      All users please update to this version ASAP
       
    18. honormech

      honormech New Member

      Joined:
      Nov 16, 2012
      Messages:
      69
      Likes Received:
      0
      Trophy Points:
      0
      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.
       
    19. no1knowsy

      no1knowsy Well-Known Member

      Joined:
      Feb 28, 2010
      Messages:
      3,927
      Likes Received:
      57
      Trophy Points:
      48
      Possible, yes. But I don't think I'll put it in.
       
      Last edited: Jan 29, 2013
    20. decerte1

      decerte1 New Member

      Joined:
      Dec 17, 2011
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      0
      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 ?
       

    Share This Page