Download
(14Kb)
Download
Updated: 11-10-22 06:56 PM
WL
(14kB)
Download
Updated: 11-10-22 06:56 PM
Pictures
File Info
Compatibility:
WOTLK (3.4.0)
Updated:11-10-22 06:56 PM
Created:12-21-10 01:54 PM
Downloads:11,073
Favorites:93
MD5:

xanMortarPestle  Popular! (More than 5000 hits)

Version: v4.5
by: Xruptor [More]

PLEASE NOTE THIS ADDON HAS BEEN DISCONTINUED STARTING ON 11/13/2022. I WILL NO LONGER PROVIDE UPDATES OR SUPPORT FOR THIS ADDON. FOR A SIMILAR AND UPDATED ADDON PLEASE SEE Molinari.

---------------------------------------------



Definition: Mortar and Pestle

xanMortarPestle will make Milling, Prospecting, Lockpicking, Disenchanting and Hunter Feed Pet 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
Blood Red = Hunter Feed Pet

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.



You can view Alpha Builds at my Github tracker.

xanMortarPestle
v4.5 (2022-11-11)
Full Changelog Previous Releases
  • Added support for the addons at the Wago.io website.
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
v4.4
14kB
Xruptor
11-04-22 09:50 AM
v4.3
14kB
Xruptor
09-19-21 08:16 AM
v4.2
14kB
Xruptor
05-28-21 08:08 AM
v4.1
14kB
Xruptor
05-28-21 07:49 AM
v4.0
14kB
Xruptor
04-06-21 10:15 AM
v3.9
14kB
Xruptor
03-16-21 04:32 PM
v3.8
14kB
Xruptor
03-12-21 02:50 PM


Post A Reply Comment Options
Unread 12-21-10, 03:11 PM  
Widersinnes
A Kobold Labourer

Forum posts: 0
File comments: 51
Uploads: 0
Like it ... one request to make this totally unique

Tailoring. the ability to alt click a stack of cloth and start making bolts ...
Report comment to moderator  
Reply With Quote
Unread 12-21-10, 04:15 PM  
Gsusnme
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 199
Uploads: 1
Looks great, thanks!
Report comment to moderator  
Reply With Quote
Unread 12-23-10, 07:27 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Re: Like it ... one request to make this totally unique

Originally posted by Widersinnes
Tailoring. the ability to alt click a stack of cloth and start making bolts ...
I'm pretty sure this requires the trade-skill to be opened. Also those recipes I think are no longer counted as spells. I can check later though. It's not a bad idea actually, if it's possible I can add it.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 12-23-10, 01:29 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
NOTE: The modifier has been changed to CTRL+SHIFT because of issues the equipment manager on the character frame.


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.
__________________
Click HERE for the ultimate idiot test.

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

Forum posts: 0
File comments: 40
Uploads: 0
Holding CTRL+SHIFT and mousing over prospectable ore doesn't seem to do anything. I tried both left and right shift to see if it would matter. This was on Copper Ore, I was unable to test on milling or disenchanting.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 12-24-10, 06:15 AM  
ovidiuflaviu
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Having the same problem. Tried with milling.
Report comment to moderator  
Reply With Quote
Unread 12-24-10, 07:25 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Originally posted by kazama14
Holding CTRL+SHIFT and mousing over prospectable ore doesn't seem to do anything. I tried both left and right shift to see if it would matter. This was on Copper Ore, I was unable to test on milling or disenchanting.

Thanks.
Odd works fine on my end. You sure you don't have any other mods that may be conflicting? I just asked some of my guildies and they are using it just fine. You must have some bag mod or some sort of addon that is overwriting the cltr+shift. You have to hold both keys down and then hover an item just to clarify.

Finally, did it work before for you when it was just the <ALT> key?

Let me know what you find. I can solve the problem but I'm going to need a bit more information.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 12-24-10 at 08:33 AM.
Report comment to moderator  
Reply With Quote
Unread 12-24-10, 01:47 PM  
Ravnik
A Murloc Raider
 
Ravnik's Avatar

Forum posts: 7
File comments: 4
Uploads: 0
Originally posted by Xruptor
Odd works fine on my end. You sure you don't have any other mods that may be conflicting? I just asked some of my guildies and they are using it just fine. You must have some bag mod or some sort of addon that is overwriting the cltr+shift. You have to hold both keys down and then hover an item just to clarify.
I just tested this..

Doesnt work with the Bagnon addon going.
But turning off my bag mod, allowed it to work just fine(at least for milling...dont have any of the other skills )
Report comment to moderator  
Reply With Quote
Unread 12-24-10, 01:59 PM  
kazama14
A Kobold Labourer

Forum posts: 0
File comments: 40
Uploads: 0
I tried Alt as well and that didn't work either. I am using cargbags for a bag addon. Molinari works just fine but I cant seem to get XanMortarPestle to work.
Report comment to moderator  
Reply With Quote
Unread 12-24-10, 03:13 PM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
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 >.>
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 01-01-11, 10:21 AM  
NiQil
A Deviate Faerie Dragon

Forum posts: 13
File comments: 56
Uploads: 0
I wonder if it might be possible to include lockpicking into this addon? Rogue especially, but also bs skeleton keys and eng seaforium charges. Would be a useful addition, I think.
Report comment to moderator  
Reply With Quote
Unread 01-03-11, 07:23 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Originally posted by NiQil
I wonder if it might be possible to include lockpicking into this addon? Rogue especially, but also bs skeleton keys and eng seaforium charges. Would be a useful addition, I think.
Hmm it might be possible. It would only work on items in your bags though to lockpick. It won't work with objects outside your bag in the environment.

In order for this to work, I would have to compile a list of all known objects that can be lockpicked.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 03-13-11, 12:53 AM  
kaisoul
A Fallenroot Satyr
 
kaisoul's Avatar

Forum posts: 20
File comments: 24
Uploads: 0
Originally posted by Xruptor
Hmm it might be possible. It would only work on items in your bags though to lockpick. It won't work with objects outside your bag in the environment.

In order for this to work, I would have to compile a list of all known objects that can be lockpicked.
I was just about to come on here and ask you for lockpicking ability also ^_^
__________________
Report comment to moderator  
Reply With Quote
Unread 04-02-11, 02:16 PM  
shinchih2001
A Defias Bandit

Forum posts: 3
File comments: 198
Uploads: 0
cause game crash

it's several times
when i use this ui too with too many items
will cause game crash
Report comment to moderator  
Reply With Quote
Unread 04-05-11, 05:41 AM  
kaisoul
A Fallenroot Satyr
 
kaisoul's Avatar

Forum posts: 20
File comments: 24
Uploads: 0
Originally posted by Xruptor
Hmm it might be possible. It would only work on items in your bags though to lockpick. It won't work with objects outside your bag in the environment.

In order for this to work, I would have to compile a list of all known objects that can be lockpicked.
Code:
--[[------------------------
	LOCK
--------------------------]]

xMPDB.lock = {
	[4632] = true,
	[4633] = true,
	[4634] = true,
	[4636] = true,
	[4637] = true,
	[4638] = true,
	[5758] = true,
	[5759] = true,
	[5760] = true,	
	[6354] = true,	
	[6355] = true,	
	[7209] = true,	
	[6712] = true,
	[12033] = true,
	[13875] = true,
	[16882] = true,
	[16883] = true,
	[16884] = true,
	[16885] = true,			
	[29569] = true,			
	[31952] = true,			
	[43575] = true,
	[43622] = true,
	[43624] = true,
	[45986] = true,
	[63349] = true,
	[68729] = true,	
}
added that to the itemDB lua for a listing of all locked items one can have in there bags. then i added this to the xanMortarPestle lua

Code:
local colors = {
	[51005] = {r=181/255, g=230/255, b=29/255},	--milling
	[31252] = {r=1, g=127/255, b=138/255},  	--prospecting
	[13262] = {r=128/255, g=128/255, b=1},   	--disenchant
        [1804] = {r=200/255, g=75/255, b=75/255},       --lock picking
}
Code:
--check for DB
	if not XMP_DB then XMP_DB = {} end
	
	--milling
	if(IsSpellKnown(51005)) then
		spells[51005] = GetSpellInfo(51005)
	end

	--prospecting
	if(IsSpellKnown(31252)) then
		spells[31252] = GetSpellInfo(31252)
	end
	
	--disenchanting
	if(IsSpellKnown(13262)) then
		spells[13262] = GetSpellInfo(13262)
	end

	--lock picking
	if(IsSpellKnown(1804)) then
		spells[1804] = GetSpellInfo(1804)
	end
Code:
--first check milling
	if xMPDB.herbs[id] and spells[51005] then
		return 51005
	end
	
	--second checking prospecting
	if xMPDB.ore[id] and spells[31252] then
		return 31252
	end
	
	--third checking lock picking
	if xMPDB.lock[id] and spells[1804] then
		return 1804
	end

	--otherwise check disenchat
	if itemType and qual and XMP_DB and spells[13262] then
		--only allow if the type of item is a weapon or armor, and it's a specific quality
		if (itemType == ARMOR or itemType == L.Weapon) and qual > 1 and qual < 5 and IsEquippableItem(link) and not XMP_DB[id] then
			return 13262
		end
	end
The sections of code are exsamples of the codes in the lua where i added a little here and there to make lockpicking function like the rest. Hope that helps. Note i only did this cause im lazy on my rogue and i love this addon and thought i might do something nice for the author.
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: