• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Mule Filter

 

Project Updated:
Files Updated: Fri, Oct 30 2009
Supports Game Version: 3.2.0
Category: Mail, and Bags & Inventory
Tags:

[Edit Tags]

Project Manager: arrch
Additional Authors: No additional authors
Current Version: Mule Filter r41
License: All Rights Reserved
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 4
Downloads Total: 209
Favorites: 5
Comments: 11
  • Curse Giveaways
  • Alganon

    Alganon

    Alganon Open Beta Key Giveaway Alganon is an upcoming fantasy-based MMORPG that allows thousands of people to play together in a virtual world that features a rich history dominated by commanding deities...

    Get Key

  • Contests
  • About Mule Filter
  •  

Summary

Create up to 10 filters per server that will automatically send all mail items within a specified criteria to a specified recipient. Criteria can be disenchantables, subcatagorized by rarity or specified item names. All filters created will be listed within the main GUI. In addition, a "filters" button is created within the bank, allowing for players to move any bank items fitting a filter's criteria to their inventory.

Visual Indicators

Filters with grayed recipients and criteria do not have any available criteria within the player's bags. Filters with golden names and criteria have one or more available critieria within the player's bags. To see a list of what criteria was found, mouse over the button and a tooltip will appear"

  • Grayed critiers = not found.
  • Golden criteria = found.

Commands

  • To create a filter, click the "Create Filter" Button.
  • To approve all found filters, click "Approve All"
  • To approve a single filter, remove a filter, or change a filter, click the appropriate filter.
  • To toggle update notification on/off, type '/mf'
  • Downloads (4)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Mule Filter r41 Beta 3.2.0 86 10/30/2009
  Mule Filter r40 Beta 3.2.0 26 10/29/2009
  Mule Filter r30 Beta 3.2.0 50 10/22/2009
  Mule Filter r20 Beta 3.2.0 47 10/20/2009
  • 1 page(s)
  • Screenshots (2)
  •  
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • xtoq said

    I set it up to send Honey-Spiced Lichen, and it doesn't send it on one filter, which has over 75 items in it, but when I delete that filter and add a filter JUST for the lichen, it works fine. Is there a limit to the amount of items you can add to a filter?

    Also, a check for whether you have already added something to that (or another filter) would be great, as I have accidentally added the same item to the filter 3 or 4 times before. And how about support for wildcards? If I want to send all of my cut and uncut Autumn's Glow, it would be nice to have an "exact" checkbox (so if that is checked, it only sends items named EXACTLY Autumn's Glow, and if it is unchecked it sends items that have Autumn's Glow in the name).

    Reply Report Permalink
  • Kharthus said

    Found an issue with how it parses item names:

    Set it up to send Bloodstone Band to an alt, but it also grabbed Bloodstone (the gem) and sent those too.

    Reply Report Permalink
  • pieterisme said

    sweet man, the mail is working beautifully, however...lol

    i am still have major issues with the banking side

    Reply Report Permalink
  • arrch said

    Found a typo in the line that the error was referring to, so that should fix it in r41 :)

    Reply Report Permalink
  • arrch said

    "i think containers such as your actual bags my exact bag names are Backpack, Frostweave Bag (x3) & dragonhide bag

    when i use the aprove filter it says cannot mail soulbound items when i take all my bags off except Backpack(the default one) i no longer recieve this error"

    It doesn't look at the bag at all, only at what is contained within them. In the new release, I wrote two functions (that Blizzard should have included) that counts the total number of spaces (so 5 16 slot bags would return 80 slots) & introduces a "container" index so that I can just go 1 - 80 in the prior example. In addition, I decided to use the UseContainerItem call as an alternative. That, coupled with the container index (think action bar index), should hopefully have resolved any issues.

    However there is still the issue with only sending blank mails

    "so currently on your machine everything is functioning correctly?"

    As of right now, yes, everything is working as intended, with the exception of the Buttons not updating after a filter is run. I'm going to have to write in a delay to handle that. I tested sending multiple items and realized that Blizzard's code doesn't allow "queuing" of mail items, so I had to write in a delay for that.

    "as a reference to how the auther has worked around the pickupcontainer api and the sendmail code etc, if that helps throw him so credits for the referernce info"

    I might do that, but my new implementation should have fixed it.

    "It also pulls some global variables for excluding mail items to based on if they are these ITEM_SOULBOUND, ITEM_BIND_QUEST, ITEM_CONJURED, ITEM_BIND_ON_PICKUP "

    It just uses an ace lib to search for that. Those globals just contain what is seen in the tooltip. I already have a function that parses the tooltip for soulbound items, It won't be difficult to add for the rest.

    Reply Report Permalink
  • arrch said

    I'm looking into this further, and have recoded a lot of the sending function to see if I can resolve these issues. Unfortunately, I'm just stabbing at the dark right now, because none of the reported issues spark anything for me, nor can I duplicate the errors.

    @pieterisme

    "1. Ignore the container bags from however you pull the infomation to scan bags"

    I'm not quite sure what you mean. The Mod should start with the backpack and move to the left, until the player is out of bags. I specifically coded it to not just do 0 to 4, because people may not have a 5th bag. Which container items are you referring to?

    "2. put some text into the mail pages with a simple debug information so we can tell where the failure are occuring as they are infrequent eg. in subject post what code was matched and what were contained in the used variables at the time "

    I'll certainly look into possibly implementing that. Hopefully, with the new release it won't be necessary.

    "eg macro for frostweave i use "

    That's essentially the code that I use, with a few minor differences that wouldn't cause these problems.

    "also if the default bag is empty and the filter greys all out onload, however with one item matching filter in default bag seems to allow other items in bags to be made gold in the filter "
    That was intended. I may look into making it different, but last I checked, FontStrings won't let me use |c to change colors.

    "however i ran it a second time without the item in my bank and the error came out"

    Hmm... You shouldn't be able to run it again if nothing is in your bank, it should be greyed out.

    "also since this happens when no variable for fstring is empty maybe at onload give it a value, and in ur functions if value is equal to that then end function or show msg that fstring is empty ro something etc"
    Doesn't really work within the context of the code. I've ran into this issue before with other addons, and I'm sad to see it's not fixed. This has to do with parsing tooltip and there being less lines that the NumLines function says there is. I'll add a check to ensure the error doesn't pop up.

    Reply Report Permalink
  • pieterisme said

    coded this for to suit your mod just need to put it in/around your mail function.
    for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name, t) then DEFAULT_CHAT_FRAME:AddMessage("Mailing "..name)
    end end end

    Reply Report Permalink
  • pieterisme said

    just added mail filter for spiderweb silk and tried the bank filter thing, it worked the first time, moved to inventory etc,

    however i ran it a second time without the item in my bank and the error came out
    ________________________
    Error occured in: Global
    Count: 6
    Message: ..\AddOns\ArrchFilter\ArrchFilter.lua line 765:
    bad argument #1 to 'find' (string expected, got nil)
    Debug:
    (tail call): ?
    [C]: ?
    [C]: find()
    ArrchFilter\ArrchFilter.lua:765: hasItem()
    ArrchFilter\ArrchFilter.lua:780: BankScan()
    ArrchFilter\ArrchFilter.lua:93:
    ArrchFilter\ArrchFilter.lua:91
    ___________________________________

    Now even when i open the mailbox i get this error

    Error occured in: Global
    Count: 1
    Message: ..\AddOns\ArrchFilter\ArrchFilter.lua line 892:
    attempt to index local 'fstring' (a nil value)
    Debug:
    (tail call): ?
    [C]: ?
    ArrchFilter\ArrchFilter.lua:892: IsNotSoulbound()
    ArrchFilter\ArrchFilter.lua:636: Scan()
    ArrchFilter\ArrchFilter.lua:158: MuleFilterMailFrame_OnShow()
    ArrchFilter\ArrchFilter.lua:35:
    ArrchFilter\ArrchFilter.lua:29
    [C]: TurnOrActionStop()
    [string "TURNORACTION"]:4:
    [string "TURNORACTION"]:1
    ___________________________________

    I think you need to add a if the variable not found in bank then show "no filter matches in bank" then end or something

    also since this happens when no variable for fstring is empty maybe at onload give it a value, and in ur functions if value is equal to that then end function or show msg that fstring is empty ro something etc

    Reply Report Permalink
  • remix715 said

    I really want to get this addon working, something I need so much. But what it does after I set up the rules is that it sends empty mails only to the recipient, leaving all my items on the original bag unsent. :/

    Reply Report Permalink
  • I tried this addon, I listed Saronite Ore and a bunch of green gems to send from my miner to my JC. I clicked approve and it sent 1 stack of titanium ore and 1 stack of saronite ore, and after that, approving it more just sent blank mail to my JC. Any ideas?

    Reply Report Permalink
  • For more info, mouse over-ing the filter showed things as gold and things I didn't have in my bag as grey, and even while it was sending blank mails, things that were in my bag were coloured gold.

    Reply Report Permalink
  • I like the idea of this addon but not sure it is working correctly. I have created a filter to send my hunter some meat and leather in my inventory but cannot figure out how to make the addon send it to her. I have approved the filter and can't figure out what more to do.

    BTW, this will work with mail mods right? Postal and such?

    Reply Report Permalink
  • arrch said

    Approving the filter should automatically send it. When you approve it, does the filter turn grey, or does it remain gold? Can you check the character it's set to send it to, and see if a blank letter goes through? I've had one other report of that happening.

    As far as other mods, I couldn't say. If they don't make any sweeping changes to the API used to send mail, then it shouldn't be a problem.

    Reply Report Permalink
  • I use Postal. Not sure if there is a conflict with it or what.. but yes, the filter was gold and I logged onto my hunter and there was no blank letter. The filter was created, the items were colored gold, I had approved it... nada. This seems great so I hope you can help me figure out what's wrong.

    Reply Report Permalink
  • This popped up just after I installed this addon and logged in the first time:

    Date: 2009-10-20 16:12:16
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\ArrchFilter\ArrchUpdateNotifLib.lua line 66:
    attempt to compare number with nil
    Debug:
    [C]: ?
    ArrchFilter\ArrchUpdateNotifLib.lua:66:
    ArrchFilter\ArrchUpdateNotifLib.lua:60

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 5,844 Bagnon Bags & Inventory
  2. 3,479 Auctioneer Auction & Economy, Mail, and...
  3. 2,237 RatingBuster Tooltip, and Bags & Inventory
  4. 2,156 ArkInventory Bags & Inventory
  5. 1,612 Outfitter Bags & Inventory, PvP, and...