Download
(5 Kb)
Download
Updated: 03-13-13 05:51 PM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Mists of Pandaria (5.0.4)
Updated:03-13-13 05:51 PM
Created:12-21-10 01:54 PM
Downloads:4,670
Favorites:86
MD5:
xanMortarPestle
Version: v2.8
by: Xruptor [More]
Definition: Mortar and Pestle

xanMortarPestle will make Milling, Prospecting, Lockpicking and Disenchanting easy by performing any of these tasks with just one single mouse click.

This addon will automatically perform the correct tradeskill spell on any item in your inventory. All you have to do is hold <ALT> and click on the item to Mill/Prospect/Disenchant instantly.

Possible items are compared to a list of known Herbs and Ores. That way there is no need to scan the tooltip.

A shimmering affect around the item is given to you when a valid possible tradeskill item has been found.

Green = Milling
Orange = Prospecting
Lavander = Disenchanting
Blood Red = Lockpicking


How to use this addon:
  • First make sure your not in combat
  • Hold down the <ALT> key and mouse over an item in your bags
  • If the item is shimmering then a valid item has been found
  • Left-Click the item while holding <ALT> to perform the proper tradeskill spell.



A Note About Disenchanting:
I took a different approach to tackling Non-Disenchantable items. Instead of having a large table with Non-Disenchantable items, I decided to go with a learning curve instead.

Items that are found to be Non-Disenchantable (even after built-in checks) are added to a database. Once they are added to the database you will be forbidden from disenchanting that item in the future. Items that are added to the database will no longer produce the shimmering effect. So this makes it easy to know which items cannot be disenchanted.

Using this learning curve should reduce memory usage as it will only learn items as you come across them.

NOTE: If you use an addon to disable or remove UI Error Messages, then this feature MAY not work for you.



NOTE: Warning due to SEVERE restrictions on action buttons by Blizzard. Several anomalies may occur if you do this in combat or enter combat while using this mod. Sadly there is NO way around this with the SecureActionButton handlers that Blizzard has placed.

However, I've gone above and beyond to prevent these sort of issues from occurring. It's not 100% foolproof, but it's the best possible solution available that I could give. Including disabling key features that would cause errors and in combat checks.

Suffice to say you really shouldn't notice anything out of the ordinary.

Please keep this into consideration before posting a comment.



You can view Alpha Builds at my Github tracker.
v2.8
-Updated TOC to patch 5.2

v2.7
-Added a check so that the autoshine turns off after a second of non-use.
-Added Desecrated Herb
-Added vine-cracked junkbox
-Added ghost iron box
-Added Elementium Lockbox

v2.5
-Added Kyparite (forgot to add it.. darn these new ores)

v2.4
-Added new ore and herbs from Mists of Panderia.

v2.3
-Updated for Mists of Panderia patch 5.01
-Fix for Auction Frame items

v2.2
-A small fix to allow the addon to be a bit more flexible with other addons.
-The new fix should allow it to properly work with Elvui.
-A special thanks to pingumania at wowinterface.com for providing a quick fix.

v2.1
-Small fix to prevent actions from being performed while the mailbox window is opened.

v2.0
-Final fix for the equipment management portion of the character panel. Users should no longer be able to alt_disenchant their items using the character panel or equipment panel.

v1.9
-Added extra checks to make sure you can't use this on the Character window.
-Not sure how but someone said they were able to get this to happen on their character panel. The only thing I can think of is they have a modded character panel.

v1.8
-Toc update for patch 4.3

v1.7
-Updated for Firelands.
-YES I'm back to playing WOW, expect updates to all my addons.

v1.6:
-Updated TOC for patch 4.1
-Added Lockpicking! (special thanks to Kailsoul from wowinterface.com)

Version 1.5:
-NOTE: Had to switch it back to <ALT> due to complications!
-SIGH, for some reason CTRL+SHIFT does not work well on certain addons and certain UI's.
-I've put it back to <ALT> and added checks for the Character Panel equipment switch.
-Added a check for the LootFrame.
-I've fixed up the code a bit as well.
-Last update till after christmas >.>

Version 1.3:
-Due to conflicts with the Equipment Manager on the Character Frame (Hold ALT to switch gear).
-I've changed the modifier to CTRL+SHIFT-Click.
-Added some checks to make sure the item is not an equipped item.
-LOL would suck if you disenchanted an item that is equipped.


Version 1.2:
-Rather then having a long non-DE list, items that are found to be non-DE are added to a database.
-Fixed a slight typo I missed.
-Seperated the colors
-Added support for Error Grabbing.
-Added an additional layer to DE to check for Equippable items.
-I'm not entirely sure about the global translations though. Need to check on that ;0)


Version 1.1:
-A slight fix for the right <ALT> button. Whoops :P
Optional Files (0)


Archived Files (16)
File Name
Version
Size
Author
Date
v2.7
5kB
Xruptor
11-03-12 07:00 AM
v2.5
4kB
Xruptor
09-30-12 10:20 AM
v2.4
4kB
Xruptor
09-28-12 09:54 PM
v2.3
4kB
Xruptor
09-24-12 06:02 PM
v2.2
4kB
Xruptor
04-29-12 08:39 AM
v2.1
4kB
Xruptor
02-27-12 07:17 AM
v2.0
4kB
Xruptor
12-19-11 03:46 PM
v1.9
4kB
Xruptor
12-19-11 03:34 PM
v1.8
4kB
Xruptor
11-29-11 03:17 PM
v1.7
4kB
Xruptor
10-24-11 09:49 AM
1.6
4kB
Xruptor
05-03-11 06:29 AM
1.5
4kB
Xruptor
12-24-10 03:11 PM
1.3
3kB
Xruptor
12-23-10 02:07 PM
1.2
3kB
Xruptor
12-23-10 12:21 PM
1.1-a
3kB
Xruptor
12-21-10 06:22 PM
1.0
3kB
Xruptor
12-21-10 01:54 PM


Post A Reply Comment Options
Unread 01-06-12, 01:16 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Re: Enchanting

Originally Posted by xyjames1488
How do I remove a filter?
Go to your WTF folder in your WOW installation, go to Account folder, enter your AccountName folder. Then go to SavedVariables. Finally open 'xanMortarPestle.lua' using notepad.

Just remove the line with the itemid you want to remove.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 02-24-12, 05:00 AM  
yochaivaadia
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
enchanting

is the addon workes for enchanting also?
yochaivaadia is offline Report comment to moderator  
Reply With Quote
Unread 02-24-12, 06:48 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Re: enchanting

Originally Posted by yochaivaadia
is the addon workes for enchanting also?
I'm not exactly sure what you mean. This addon doesn't enchant items for you. What it does do, is make disenchanting much easier for you. It also does other skills like lockpicking, milling and prospecting.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 02-29-12, 07:48 AM  
kaisoul
A Fallenroot Satyr
 
kaisoul's Avatar

Forum posts: 20
File comments: 24
Uploads: 0
Glad to see your still keeping this addon up to date. Been a while since i last been stopped in and said hi & thank you for all your hard work.
__________________
kaisoul is offline Report comment to moderator  
Reply With Quote
Unread 03-04-12, 04:08 AM  
chrislue
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
how can I change it to right mouse button click mode?

I use Auctionator, and it uses alt+leftbutton for quick auction.
chrislue is offline Report comment to moderator  
Reply With Quote
Unread 03-06-12, 07:27 PM  
kaisoul
A Fallenroot Satyr
 
kaisoul's Avatar

Forum posts: 20
File comments: 24
Uploads: 0
NOT tested

Originally Posted by chrislue
how can I change it to right mouse button click mode?

I use Auctionator, and it uses alt+leftbutton for quick auction.
I looked at the code and the line 49

button:RegisterForClicks("LeftButtonUp")

might work if changed to

button:RegisterForClicks("RightButtonUp")

Note i used a editor called Notepad++
__________________
kaisoul is offline Report comment to moderator  
Reply With Quote
Unread 03-09-12, 02:53 AM  
chrislue
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
Re: NOT tested

Originally Posted by kaisoul
Originally Posted by chrislue
how can I change it to right mouse button click mode?

I use Auctionator, and it uses alt+leftbutton for quick auction.
I looked at the code and the line 49

button:RegisterForClicks("LeftButtonUp")

might work if changed to

button:RegisterForClicks("RightButtonUp")

Note i used a editor called Notepad++
Thanks, I've tried this, but it seems don't work.
chrislue is offline Report comment to moderator  
Reply With Quote
Unread 03-09-12, 05:44 AM  
kaisoul
A Fallenroot Satyr
 
kaisoul's Avatar

Forum posts: 20
File comments: 24
Uploads: 0
Re: Re: NOT tested

Thanks, I've tried this, but it seems don't work.
well only other thing i can think of off the top of my head is to see if ya can rewrite the code to use another mod key besides alt. again no idea if it will work just brain storming with ya
__________________
kaisoul is offline Report comment to moderator  
Reply With Quote
Unread 03-15-12, 03:42 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Re: Re: Re: NOT tested

Originally Posted by kaisoul
well only other thing i can think of off the top of my head is to see if ya can rewrite the code to use another mod key besides alt. again no idea if it will work just brain storming with ya
If I'm not mistaken using the right-click won't work. It will think you are trying to use the item. The right-click option is built into the client when it comes to consuming or using items. This is why it had to be left-click. I'm pretty sure that's why so many addons use left-click.

I hope that answers your question.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 03-24-12, 12:31 PM  
kurokikaze
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Elvui all-in-one bag section cause problem with this addon, it create the shine frame but not the disenchant action.

when disabling the allinone option it works again.

very annoin to disable option reload disenchant re-enabling the option.
kurokikaze is offline Report comment to moderator  
Reply With Quote
Unread 03-24-12, 03:08 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally Posted by kurokikaze
Elvui all-in-one bag section cause problem with this addon, it create the shine frame but not the disenchant action.

when disabling the allinone option it works again.

very annoin to disable option reload disenchant re-enabling the option.
Report it to Elvui as that is the only addon that has any sort of conflicts with this one. Almost all other bag mods work with xanMortarPestle. Normally I'd fix it but this seems like an issue with all-in-one bag.

Lately I've been feeling like I'm the one that always has to bend their back to get an addon to be compatible with my mod
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 03-24-12 at 03:12 PM.
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 04-23-12, 09:47 PM  
pingumania
A Murloc Raider

Forum posts: 7
File comments: 21
Uploads: 0
Originally Posted by Xruptor
Originally Posted by kurokikaze
Elvui all-in-one bag section cause problem with this addon, it create the shine frame but not the disenchant action.

when disabling the allinone option it works again.

very annoin to disable option reload disenchant re-enabling the option.
Report it to Elvui as that is the only addon that has any sort of conflicts with this one. Almost all other bag mods work with xanMortarPestle. Normally I'd fix it but this seems like an issue with all-in-one bag.

Lately I've been feeling like I'm the one that always has to bend their back to get an addon to be compatible with my mod
fix:
open the xanMortarPestle.lua goto line 51 and change
Code:
button:SetFrameStrata("DIALOG")
to
Code:
button:SetFrameStrata("TOOLTIP")
Last edited by pingumania : 04-23-12 at 09:47 PM.
pingumania is offline Report comment to moderator  
Reply With Quote
Unread 04-25-12, 01:43 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally Posted by pingumania
Originally Posted by Xruptor
Originally Posted by kurokikaze
Elvui all-in-one bag section cause problem with this addon, it create the shine frame but not the disenchant action.

when disabling the allinone option it works again.

very annoin to disable option reload disenchant re-enabling the option.
Report it to Elvui as that is the only addon that has any sort of conflicts with this one. Almost all other bag mods work with xanMortarPestle. Normally I'd fix it but this seems like an issue with all-in-one bag.

Lately I've been feeling like I'm the one that always has to bend their back to get an addon to be compatible with my mod
fix:
open the xanMortarPestle.lua goto line 51 and change
Code:
button:SetFrameStrata("DIALOG")
to
Code:
button:SetFrameStrata("TOOLTIP")
If that's the only change required then I don't mind making an update for it
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 05-13-12, 10:54 PM  
Goshian
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Restrictions

It seems Blizztards have their grubby grimy, measely hands on everything. So afraid someone is gonna find out a better way to do things and knock them out of credit. I hope someone does. Have come to despise this fucking game.
Goshian is offline Report comment to moderator  
Reply With Quote
Unread 05-14-12, 06:12 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Re: Restrictions

Originally Posted by Goshian
It seems Blizztards have their grubby grimy, measely hands on everything. So afraid someone is gonna find out a better way to do things and knock them out of credit. I hope someone does. Have come to despise this fucking game.
Sadly they crack down hard on addon authors if they feel certain features or actions should be restricted. If they didn't want folks to do it in the first place they shouldn't have given them the functions or access to those actions in the first place.

Either way, I'm a bit confused. Are you referring to the restrictions I posted on the addons description or are you speaking about a new restriction I'm not aware of?
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: