Download
(3Kb)
Download
Updated: 08-08-09 08:40 PM
Pictures
File Info
Updated:08-08-09 08:40 PM
Created:04-23-09 06:33 PM
Downloads:6,118
Favorites:24
MD5:

Deconstructive  Popular! (More than 5000 hits)

Version: 1.1.9
by: High Five [More]

Disenchanting (of greens), Milling and Prospecting made easy through auto-updating macros.

For each of the above spells a macro will be created and auto-updated. The macro should pick the lowest level item/herb/ore that is not blacklisted.
The disenchanting macro should only pick green items with no enchants or gems.

You will sometimes have more than five of [Some Herb] or [Some Ore] but in multiple stacks and less than five in the first. The addon will then attempt to re-stack those so that the first stack is at least five of it. If anyone is having issues with this, post a comment and I'll see about adding options to disable it.

/deconstructive or /decon for some commands.

Blacklist an item with /decon blacklist id/name/link, or by alt+clicking the macro to blacklist the current item.

1.1.9
- added titanium ore to prospecting

1.1.7
- improved profession detection and d/e-able item detection

1.1.6
- nothing the end-user should concern themselves with

1.1.5
- the addon will no longer add items with enchants or gems when disenchanting

1.1.4
- resolved some issues

1.1.3
- the addon will now swap the first stack of ore/herbs when it is <4 with the second one

1.1.2
- blacklisting is now available to milling and prospecting as well
- you can now blacklist multiple items at once with /decon blacklist, if you provide links

1.1.1
- fixed an issue with prospecting and milling macros

1.1.0
- /deconstructive and /decon slash commands added
- blacklisting feature for disenchanting

1.0.1
-decided not to unintentionally break the addon for non-en clients...
-some minor improvements and fixes
Optional Files (0)


Post A Reply Comment Options
Unread 04-23-09, 08:54 PM  
Stolberg
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 17
Uploads: 2
Needs to be a tiny bit smarter

I love the idea of this but when I install, it just wants to disenchant my [Ultrasafe Transporter: Gadgetzan]. Your planned blacklist feature will probably do the trick.

Good work, looking forward to updates!
Report comment to moderator  
Reply With Quote
Unread 04-26-09, 12:14 PM  
High Five
A Kobold Labourer
 
High Five's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 30
Uploads: 2
Re: Needs to be a tiny bit smarter

Thanks!

Blacklisting options added with the latest update.
Report comment to moderator  
Reply With Quote
Unread 04-26-09, 08:59 PM  
Stolberg
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 17
Uploads: 2
Works like a charm, thanks for the quick update!
Report comment to moderator  
Reply With Quote
Unread 04-30-09, 03:39 PM  
Redwood Elf
An Aku'mai Servant
 
Redwood Elf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 71
Uploads: 1
Prospecting macro not working

With the new update, suddenly the prospecting macro gets truncated to just

#Showtooltip
/use Prospecting


I checked to make sure I had prospectable ore in my bags, and I do...something odd is going on.
Report comment to moderator  
Reply With Quote
Unread 04-30-09, 06:01 PM  
High Five
A Kobold Labourer
 
High Five's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 30
Uploads: 2
Re: Prospecting macro not working

Weird... I'll investigate.

edit: I think the issue was concatenating nil. Should be fine now.
Last edited by High Five : 04-30-09 at 06:14 PM.
Report comment to moderator  
Reply With Quote
Unread 05-02-09, 07:58 AM  
Redwood Elf
An Aku'mai Servant
 
Redwood Elf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 71
Uploads: 1
A couple more features that will be good:

When using the Milling and Prospecting macros, occasionally it will jam if the first stack in the bags is less than 5 units, because the user interface always attempts to use the first stack found, not the largest one. How about having these two macros make a run through the bags, looking for the First stack of material, and if that stack is smaller than 5 but the overall material count is greater than 5, find the next stack and do a mouspickup/mousedrop of the second stack onto the first one to merge the two, continuing until the first stack total is greater than 5?

Sometimes, someone might want to save a particular material type while prospecting or milling...how about porting the blacklist option to the other two, in case the player needs to keep the mithril, but wants to keep prospecting all his thorium/fel Iron?
Report comment to moderator  
Reply With Quote
Unread 05-04-09, 11:28 AM  
High Five
A Kobold Labourer
 
High Five's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 30
Uploads: 2
The blacklist thing should be easy enough, expect it soon.

The other feature shouldn't be too hard, either but pick-up scripts tend to be weird sometimes (at least in my experience). I'll see what I can do.
Report comment to moderator  
Reply With Quote
Unread 05-07-09, 03:55 PM  
lycanther
A Murloc Raider

Forum posts: 4
File comments: 26
Uploads: 0
I installed this and got the following error:

Code:
Date: 2009-05-07 14:52:44
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Deconstructive\Deconstructive.lua line 399:
   attempt to index upvalue 'blacklist' (a nil value)
Debug:
   [C]: ?
   Deconstructive\Deconstructive.lua:399: Scan()
   Deconstructive\Deconstructive.lua:309:
      Deconstructive\Deconstructive.lua:269
   (tail call): ?
Is there anything I can do to fix it?
Report comment to moderator  
Reply With Quote
Unread 05-07-09, 04:24 PM  
lycanther
A Murloc Raider

Forum posts: 4
File comments: 26
Uploads: 0
I was able to get it working by changing line 119 from
Code:
			DeconstructiveSV={}
to
Code:
			DeconstructiveSV={["blacklist"] = {}}
which was fine until I tried to blacklist something and it complained that it was trying to index a number in line 255, so I inserted a line before 255:
Code:
        input = input.." "
This is a quick-and-dirty change, but I'm liking the functionality so far.
Last edited by lycanther : 05-07-09 at 04:24 PM.
Report comment to moderator  
Reply With Quote
Unread 05-08-09, 06:43 AM  
High Five
A Kobold Labourer
 
High Five's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 30
Uploads: 2
Um, oops? Thanks for bringing those up.
Fixed and fixed.

Also added something that should fix the bug mentioned by Redwood Elf.
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 01:36 AM  
sun
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 104
Uploads: 1
mas milling

when mass milling i sometime get the "internal bag error" message but everything works fine.

i'm using bagnon, not sure if it's in anyway related.
Report comment to moderator  
Reply With Quote
Unread 05-15-09, 07:56 AM  
High Five
A Kobold Labourer
 
High Five's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 30
Uploads: 2
Re: mas milling

I'm quite sure the "internal bag error" gets fired whenever the bag API fails to do what it's supposed to do.
No bag addon should be incompatible with Deconstructive, unless they're actively trying to.

I actually play with errors disabled, so I've never seen this. I'll investigate when I can.
I have a hunch why it's appearing but I'm not quite sure how I can fix it. Maybe just a filter for the error since it's not really breaking anything?
Report comment to moderator  
Reply With Quote
Unread 05-16-09, 02:42 AM  
sun
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 104
Uploads: 1
a filter to the error would not be a good solution since i guess it would also filter "legitimate" errors for other addons.
Report comment to moderator  
Reply With Quote
Unread 05-16-09, 02:45 AM  
sun
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 104
Uploads: 1
it happens every time i'm milling the last 5 herbs of a stack.

20 herbs, no problem
15, nada
10, nada
5 herbs = internal bag error

i think somehow you're trying to stack the last 5 herbs with another full 20 stacks, i'm saying this because the last 5 herbs in my bag didn't generate the error.
Last edited by sun : 05-16-09 at 02:46 AM.
Report comment to moderator  
Reply With Quote
Unread 05-17-09, 11:50 AM  
High Five
A Kobold Labourer
 
High Five's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 30
Uploads: 2
Originally posted by sun
a filter to the error would not be a good solution since i guess it would also filter "legitimate" errors for other addons.
What I was thinking was
Code:
Disable errors
Do my stuff
Enable errors.
This way the message will still be displayed in any other cases.

Anyway I tested this last night and it seems the error appears due to the way used items are removed. If the issue is what I think it is, this will be easier to fix than I though (and no error message either!).
BRB need some ore...

edit: I think it's fixed now. Comment again if you run into any more issues.
Last edited by High Five : 05-17-09 at 01:11 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: