Quantcast
Replacement or enhancement for Scrap_Cleaner - WoWInterface
Thread Tools Display Modes
06-09-21, 08:33 AM   #1
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 215
Replacement or enhancement for Scrap_Cleaner

I am using Scrap_Cleaner on Classic Era which chooses the cheapest junk item in your bags when they become full and deletes it (using PickupContainerItem() and DeleteCursorItem()). Burning Crusade Classic (and retail) has crippled DeleteCursorItem() by requiring a hardware event.

I'm looking for either a modification to Scrap_Cleaner to maybe add a button on the screen (Hopefully not smack in the middle like a dialog) or an alternative addon that does a similar thing.

I looked at DeJunk but when told to destroy junk, it does all of it at once. I'd prefer to keep as much as possible until I can reach a vendor to sell it for gold (and now, selling it all at once is preferable!)

Any suggestions?
  Reply With Quote
06-09-21, 09:29 AM   #2
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Why not just use "Scrap" ( https://www.wowinterface.com/downloa...unkSeller.html ) for your... well ... junk in your bags?

Unfortunately, it doesn't look like it was updated for Classic, but it might just work for Classic.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!

Last edited by jeffy162 : 06-09-21 at 09:35 AM. Reason: more blah-blah-blah.
  Reply With Quote
06-09-21, 11:30 AM   #3
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 215
Scrap_Cleaner is a plugin for Scrap so yes, I am using Scrap and have updated the .toc.

There are numerous "at the vendor" junk addons. Scrap_Cleaner is the only "in the field" option I can find.

When my bags are full, Scrap_Cleaner finds the cheapest junk item and deletes it (or attempts to). I can then pickup the mob's quest item and move to the next mob. When I finally can visit a vendor, the base Scrap addon sells all the remaining junk. I've minimized the amount of gold I got rid of "in the field".
  Reply With Quote
06-09-21, 03:58 PM   #4
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 575
While you search for a solution, you're welcome to thank Ketho for causing this problem:

https://github.com/Stanzilla/WoWUIBugs/issues/13
https://www.wowinterface.com/forums/...698#post337698
  Reply With Quote
06-09-21, 08:30 PM   #5
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 215
I'm not opposed to preventing the deletion of an entire inventory but I would have preferred a solution that required a hardware event between each deletion instead of a hardware event before each deletion.

This would allow addons that were designed to delete one item to continue to function. In that scenario, plenty of hardware events would naturally occur between deletions.

I have been trying to modify the Scrap_Cleaner to have a button that appears when it wants to do a DeleteCursorItem() which can be clicked (the hardware event) to finish the process as suggested in https://www.wowinterface.com/forums/...698#post337698, but I haven't been successful. I was hoping someone else had already done so and would be kind enough to share or to challenge someone more clever than myself to do it.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Replacement or enhancement for Scrap_Cleaner

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off