premium banner

Description

Tired of hunting through your inventory for the runes you found in your last monster-killing session and sending them to an alt?

This simple addon automatically sends every rune in your inventory to an alt of your choice. You can select two different alts, and it will send all normal runes to one and all production runes to the other.

Should work with all languages now. Before using, open the configuration and set which alts you want to send runes to. I highly recommend you also download AddonManager, since that gives you a nice icon and the ability to enable/disable SendRunes.

This project uses the Sol utility library. It also supports AddonManager. The GUI was mostly copied from nkMultiB.

Latest changes

Thanks to Samtrion who sent me some itemID code snippets, I now use itemID instead of name to match runes. As a result SendRunes v.0.1.0+ should now work on all languages. That also means this version is extra beta since I had to change a lot of core code. Version 0.1.0 had a serious bug that caused it to ignore the last runes in the bag under certain conditions. Thanks to Graves666 for pointing it out so I could fix it.

There might have been a conflict with RoMail2's mail scanning function which could cause mails with attachments to be marked as read and set to 3 days left. It's hard to test this since it only happens occasionally. My guess is if autosend was set to on, SendRunes item checking interferred with RoMail2's mail scanning, since both run when you open the mailbox. If it stops happening from now on, great, I fixed it. If not, I'll troubleshoot to see what addon is causing it.

I also updated the Sol library to the latest version, did some code cleanup, and added several debug functions. I'm still working on integrating it with zMailQueue, that'll take a while since I'm busy with exams atm.

Usage

Normal functions
/sendrunes or /srOpen configuration. (/sendrunes also works for the following commands)
/sr sendIf mailbox is open, send runes.
/sr offDisable SendRunes.
/sr onEnable SendRunes again.
Macro usage
/script SendRunes.StartSending()Send runes.
/script SendRunes.DoneSending(true)Abort sending runes.
Debug functions
/sr hookToogles bag hook. When active, displays the item ID of any item in your bag you click on.
/sr debugToggles debug dump. Shows information about every item in your bag when you send runes.
/sr dryrunToggles dryrun. When sending, prints rune info, but doesn't actually send them.
/sr cfgDumps some common/internal configuration variables.
/sr rReloads most of the SendRunes functions from the .lua files.
/sr rrDoes a full ReloadUI, reloads all addons (.xml and .lua).