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

How would you do this? send qty or an item through mail not COD

killakaz

Community Developer
Joined
Nov 18, 2010
Messages
341
Reaction score
25
I have a Profession buddy script i'm working on and i'm trying to make it send a certain amount of an item to another character through mail
if i use the <MailItemAction Entry="12345" AutoFindMailBox="True" UseCategory="False" Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="Elemental" X="0" Y="0" Z="0" />
it will send every one of the specified item ID. I'm guessing i would have to use LUA or something to have it only send 100 embersilk cloth to another toon instead of sending all i have in inventory.
like if i have 2 tailors and i have 300 colth INBagCount i want it to send 150 to talior #1 and 150 to tailor #2 or 100 to #1 200 to #2 or any which way.

If anyone could help out on this it would be great.
 
I don't see how this is useful unless you have two bots sitting afk at the mail box on different accounts waiting the for mail to come in to insta-make the cloth and then go sell it, and if that was the case, why would you care if it took 5 minutes instead of 10?

Anyway, I've yet to code using the HonorBuddy API but wouldn't you just calculate the amount of items you have in your bags (not really sure how, I'm sure you could pause the frame --> for each slot in your 5 bags --> if item id == yourID --> total += bag slot amount, unpause frame) then divide by 2 and send the end value to one person (See existing code for details on how to mail) and the other half to the second person?

Sorry I can't be much help, yet to program in this API/WoW's lua api.
 
Back
Top