Download
(17 Kb)
Download
Updated: 05/01/14 12:16 PM
Pictures
File Info
Compatibility:
Live (1.0)
Updated:05/01/14 12:16 PM
Created:03/15/14 10:15 PM
Monthly downloads:79
Total downloads:50,994
Favorites:165
MD5:
Categories:Discontinued & Outdated, Auction House & Vendors
ins:JunkYard  Popular! (More than 5000 hits)
Version: 1.0a1
by: ins, YelloDello
==========================
insjunkyard
by: instant
==========================

Introduction:
==============
insJunkyard is an addon that can automatically sell _EVERY_
item you have marked as "Junk" whenever you visit a STORE.

It can automatically mark ANY item you have added to a stored list
as junk, and will remember this for your next game session.

It can auto mark TRASH items as Junk, so you do not have to do that
every time you loot a junk item.

You can be told which items are sold, the quantity, and the sum value
of said item as they are sold.

When you exit the store, you can be told the number of items sold and
the total sum gained.

When you loot an item you can get a message in chat with what you
looted as a clickable link.

It also has an option to let you know what your party members looted.

You can be informed when your inventory size is getting dangeorusly low.

It can also automatically mark as junk any item with the "Ornate" trait.
I.e. items with "This item will sell for %". So you can easily sell these.

It can semi-automatically destroy items that are in your junk bag,
on the junkyard list and are worth 0 gold.


==================================================================
To use JunkYard just as a Loot Info Addon you can do the following:

/junkyard set loot (to true)
/junkyard set party (to true)
/junkyard set junkyard (to false)
/junkyard set warn 0 (disabled inventory warnings)
/junkyard set autosell (Disables autoselling)

This will set the addon to display messages for all your loot
and for any loot your party members get. It will disable the
autoselling of junk items, the automarking of junk items and
the auto-warnings on low inventory space.
==================================================================

Commands:
==========
Type /junkyard to see a list of commands.
Type "/junkyard setup" or "/jy setup" for a GUI Option Screen.

Toggle between GLOBAL Configuration options and CHAR Specific:
* /junkyard set global

Toggle between GLOBAL or PER-CHARACTER "Junk" Profile.
(This is the list of all items that are regarded as junk)
* /junkyard set globaljunk

Toggle to have a startup message or not.
* /junkyard set welcome

Current working ITEMLIST commands:
* List all inventory items (/junkyard list all)
* List all junk items in inventory (/junkyard list junk)
* List all items of a set quality (0-5) (/junkyard list q 0-5)

* See a listing of all settings (/junkyard set)

Current Settings:
(at vendors)
* Feedback per item sold (/junkyard set salespam)
* Summary of sales on store exit (/junkyard set vendor)
* Autoselling JUNK items when at vendor (/Junkyard set autosell)

(when looting)
* Loot messages in chat (/junkyard set loot)
* Loot messages from party members (/junkyard set party)
* Inventory Size Warning (/junkyard set warn) Toggle to warn when you have 5 slots or less free
(This is also when AutoDestroy would kick in)

(dangerous)
* Autodestroy JUNK items that are worthless when low on inventory (/junkyard set destroy) !! WARNING !!
For an item to be destroyed it
a. Must be in the JUNK bag
b. Must be worth 0
c. Must be on the MARK list and match EXACTLY the MARK link.
And the mouse cursor must be 'clear'

(junk related)
* Notification each time an item is added to junk (/junkyard set junkspam)
* Automark TRASH items as junk (/junkyard set junkyard)
* Automark "Vendor Sell %" trait items as Junk (/junkyard set trait)
** With /junkyard set trait #0-5 as an optional number you can set a limit to which items will be put in JUNK based
on their item quality in addition to having the "Will sell to vendor for %xx more" trait. Any other number disables
the quality check.

0 - Worn/Trash (Gray)
1 - Normal (White)
2 - Fine (Green)
3 - Superior (Blue)
4 - Epic (Purple)
5 - Legendary (Gold)

Special AutoMarking Options are:
/junkyard add all - This option will add all items from your CURRENT Junk Inventory to Autojunk.
/junkyard add # - Where # is the ID you see when typing LIST or LIST JUNK options
/junkyard remove # - Where # is the ID you see when typing LIST/List Junk option.
/junkyard list mark - Lists the items on the saved AutoJunk list and their autojunk setting.
/junkyard delmark # - Remove a marked item from the MARK List.
/junkyard dm # (Same as above)

Note; You will have to ADD items to the MARK list from LIST/LIST JUNK for them
to be saved. Autojunk must be enabled for the auto-junking to work.

Todo:
======
* Prettier output / Reduce spam.
* Translations
* Help
* Less bugs and "hacky"
* Rewrite when I have the time

Changelist:
============
* See file "Change.log"


License:
=========


This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Code:
v1.0a1	- 2014-05-01
[Added]
* Option to have the junkmark list global or per character (/jy set globaljunk)
* Option to delete everything on the mark list. (/jy delmark all)
* "dm" as an option instead of typing "delmark"

[Bugfix]
* (More) input validation on /jy delmark
* Fixed the listbox selection for quality levels
* Small bug with party loot output.

 0.9999 2014-04-28 
 [BugFix:] (I hope).
 Some problems with all the settings being reset and either set to all TRUE or all FALSE. 
 I hopefully fixed it. 

 0.999 2014-04-27 
 [New:]
 +Not yet a full rewrite, but I did spend two days getting a setup screen working without using LibAddonMenu
 as I didn't want the list to grow any larger.  Type '/junkyard setup' to use it.
 
 [New:]
 + Autodestrction of 0 value, marked and junked items when low inventory
   "/junkyard set destroy"
 
 [New:]
 + GLOBAL or Character-specific settings. (Yes, this will destroy your savedvariables).
   "/junkyard set global" to toggle it.
   Remember to RELOAD THE UI _AND_ confirm your settings after using this option.
 
 [New:]
 + Added a itemstrip function to get a lot of itemdata. This will be used in a future update that will
 destroy your JUNK list but also make it more 'flexible'. 

 [New:]
 + Toggle to see the welcome message on addon loading or not.
   /junkyard set welcome

 [Change:]
 * Changed some of the "/jy list" listings to include more information about the items, such as
 the trait, value and type of item. Did you know there are two types of Disguises for example.
 
 

 0.99  2014-04-22
 [Bugfix:]
 +Apparently using global variables and function names is not a good idea, as this addon and other unnamed
 addons also using global variables ran into a bit of a fight.

 Change:
 +Redid everything to local, then had to swap things around as they were refering to functions that didn't exist yet. 
 What came first, the function or the call? Well, with Globals it doesn't matter, with locals it does.
 			

 0.98  [NEW] With "/junkyard set auto" option enabled, any time you add an item to JUNK through the UI, it will 
       automatically be added to the Junkyard list, so it will be remembered for other gaming sessions.
       This also works the other way, so if you remove something from 'junk' it will also be removed from the MARK list.
       
       [NEW] Added a option to /Junkyard set trait #0-5<- which identifies the item quality the trait must be equal to or 
       below for it to be auto-added to the junk list.
       
       [NEW] Shortcut /jy added in addition to /junkyard -- save you all that typing. :)
       
       [CHANGE] If an item is "TRASH" item, and is autojunked, it will not be added to the MARK list, since the 
       whole purpose of the addon as for these items to be Junked to begin with. (Should make the MARK list shorter)
          + Need to change how this works in v2.x 
          
       I really should get an option menu for this soon..
       

 0.97  [CHANGE] Had to redo the saved-variables as I suspect another addon used the same name which might have caused problems.
       [CHANGE] Changed the way inventory size warnings work. 

 0.96  [NEW] Toggle for messages when items are added to junk (/junkyard set junkspam)
 			 [NEW] Now shows 'stack count' for stackable items (those that go to 100) when looted.
 			        Note: Might bug if you have multiple stacks of 100. 
       [CHANGE] Toggle for item sale feedback moved to (/junkyard set salespam)      
       [CHANGE] Items added to junk list are now "Links" instead of "Names". Hopefully this means
       that "Cake"(gray) and "Cake"(white) are no longer mistaken for the same "cake". 
       We all know Pie is better anyway. Blueberry pie. 
       [CHANGE] Savedvariables has changed, so all settings had to be reset.
       (I added a few extra "backup settings" so maybe I wont have to reset this again as I can reuse them)

 0.95  [NEW] Toggle automarking items with "Sell to vendor for % more" as junk (/junkyard set trait)
       [NEW] Added (/junkyard help) for help text. (Currently it only tells you to read this read.me)
       [CHANGE] Savedvariable setup. After this you'll only need to redo your settings when there are options added.
       [CHANGE] (/junkyard set) will now show all the settings available (and the current value)
       (moved it out from the default /junkyard command list to reduce spam.)
       

 0.94  [NEW] Autojunk will now also add items with the trait
       "This item will sell to vendors for 125%" etc. to the junk. 
       (This option may not add every item with these traits, please send
       a bug report when it does so I can troubleshoot it. )

 0.92  [BUGFIX] Pesky bug. Had a slight error that caused the mark list fail
       on anything but the first entry.

 0.91  [BUGFIX] Fixed a bug with the saving of the marked list :-(
       [ADDED] A listing option to see items of a particular quality 
        /junkyard list q #
              0  = trash
              1  = normal
              2  = magical
              3  = superior
              4  = epic
              5  = legendary          

 0.9   [NEW] Added option "/junkyard add all" to add ALL ITEMS you currently have
       in your junk inventory to the autojunk list.
       
 0.85- [NEW] Save a list of items to be marked as junk
       [NEW] Add items to list of items to be marked as junk
       [NEW] Remove items from auto+junk list. (TRASH items will be marked regardless)
       [CHANGE] Modified the LIST and LIST ALL output to include Item Quality and ID.
       [CHANGE] Inventory Size warnings set on a 40 second timer. Hopefully.

 0.7 - [NEW] Configure Autosell ON/OFF
       [NEW] Configure Inventory size warning (0 disables). 
       [CHANGE] Some output changes

 0.6c- [BUGFIX] Renamed Readme.txt to Read.ME as the game thinks all TXT 
       files are addons.

 0.6b- [BUGFIX] Local Colours are bad, Globals are bad too - Seems like there
       is no such thing as magic. (: 
       Easter egg bug found by ESOUI@Graywind! Thanks.
       
 0.6 - [NEW]More configuration options
       * Automark TRASH as Junk (/junkyard set junkyard)
       * Vendor feedbar per item (/junkyard set spam)
       * Vendor summary on store exit (/junkyard set vendor)
       * Loot messages in chat (/junkyard set loot)
       * Loot messages from party members (/junkyard set party)
       
       [CHANGE]Internal code for handling input events
       [CHANGE]Did some things with the output to make it more magic

 0.5 - [NEW]Automark TRASH ITEMS as JUNK. (/wave to ESOUI@Ayuki & ESOUI@Garkin)

 0.4 - [NEW]Toggle chat spam on/off
       * [BONUS FEATURE] Save the setting! 
       [NEW]List all inventory items
       [NEW]List all JUNK items in inventory     

 0.2 - Bugfix: Clear the junk history on vendor exit.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.03
18kB
09/20/14 03:36 PM
Patch


Archived Files (1)
File Name
Version
Size
Uploader
Date
0.9999
16kB
ins
04/28/14 02:55 PM


Post A Reply Comment Options
Unread 05/13/14, 12:50 PM  
Sgt.Weirdo

Forum posts: 3
File comments: 20
Uploads: 0
Running pretty much perfectly now, very nicely done
Wouldn't go without it anymore.
Report comment to moderator  
Reply With Quote
Unread 05/11/14, 02:52 AM  
Frimlin

Forum posts: 0
File comments: 5
Uploads: 0
Originally Posted by ins
Could you try deleting the saved settings for the addon (/savedvariables/insjunkyard.lua) and install the latest version then let me know if the problem persists? Thanks.
I had that issue too. Tried deleting the insjunkyard.lua as you instruct.

It didn't help.

On character 1 I marked Molybenum as junk... log out... log to Character 2, loot something with Molybdenum, you get that same message:

Un-Marked [Molybdenum] as junk.
Removed: Molybdenum.

Seemingly useless message. Also, odd it gives junk messages when have that turned off in settings.

So for now I am going to restore my old insjunkyard.lua that contains many many items.
Report comment to moderator  
Reply With Quote
Unread 05/09/14, 10:47 AM  
daol

Forum posts: 6
File comments: 46
Uploads: 0
Originally Posted by ins
If you are put in 'overflow' server, the savedvariable contents will be different from when you're not.

I will redo the savedvariables to not care about this, but it will of course mean all settings (and saved junk) will have to be reset again. Hopefully this will also take care of the 'worm' problem.
aha ok well, I rather add everything again, then keep adding the same things over and over:P
and tnx for the awesome work!
Report comment to moderator  
Reply With Quote
Unread 05/09/14, 10:22 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
If you are put in 'overflow' server, the savedvariable contents will be different from when you're not.

I will redo the savedvariables to not care about this, but it will of course mean all settings (and saved junk) will have to be reset again. Hopefully this will also take care of the 'worm' problem.
Report comment to moderator  
Reply With Quote
Unread 05/09/14, 09:42 AM  
merit002

Forum posts: 0
File comments: 1
Uploads: 0
JunkYard dosent save all items correct , need help

Im not sure if its me or the add on, but sometimes JunkYard dosent save all added trash items correct to the File: insjunkyard.lua in the SavedVariables dir.
It seems the file is saved always after logging out of the game.
But sometimes (often) when i log back into the game, i have much less items in the trash list then before.
Sometimes JunkYard saves everything like intend.
Any ideas what goes wrong?
Last edited by merit002 : 05/09/14 at 09:43 AM.
Report comment to moderator  
Reply With Quote
Unread 05/07/14, 01:27 PM  
daol

Forum posts: 6
File comments: 46
Uploads: 0
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: auto sort

Originally Posted by ins
Originally Posted by daol

EDIT: I have now played alot, so much more fun now, when I dont have to sort all my crap:P
however, there is one item, I cant get the addon to auto put in the junk folder, regardless if I mark it as junk, "worms" lvl 1 bait, any idea why?
Not really, I'll try to figure it out.

Could you by any chance mark it manually as junk, then open your savedvariables/insjunkyard.lua file and paste the line where it is listed (or any lines with "worms").
I have added the worms via the game menu ui,and tried manually, btw, do you think it could have something to do with the fact that I have several alts, and lots of items added to the list?
here are the worm lines I found:

[[|HFFFFFF:item:28606:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|hplump worms^p|h]],
},
[5] =
{
[1] = [[|HFFFFFF:item:42869:1:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|hworms^p|h]],
},
[6] =
{
[1] =

[[|HFFFFFF:item:42869:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|hworms^p|h]],
[[|HFFFFFF:item:42869:1:7:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|hworms^p|h]],
},
[2] =
{
[1] = [[|
Last edited by daol : 05/07/14 at 01:37 PM.
Report comment to moderator  
Reply With Quote
Unread 05/07/14, 09:19 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Re: Re: Re: Re: Re: Re: Re: Re: Re: auto sort

Originally Posted by daol

EDIT: I have now played alot, so much more fun now, when I dont have to sort all my crap:P
however, there is one item, I cant get the addon to auto put in the junk folder, regardless if I mark it as junk, "worms" lvl 1 bait, any idea why?
Not really, I'll try to figure it out.

Could you by any chance mark it manually as junk, then open your savedvariables/insjunkyard.lua file and paste the line where it is listed (or any lines with "worms").
Report comment to moderator  
Reply With Quote
Unread 05/04/14, 01:43 PM  
daol

Forum posts: 6
File comments: 46
Uploads: 0
Re: Re: Re: Re: Re: Re: Re: Re: auto sort

Originally Posted by ins
Originally Posted by daol

EDIT: I have now done some testing, after uninstalling the addon the second time, and manually deleting the savedvariables file, that was not deleted by the uninstall, the addon now works great again
Phew. Glad to hear.

You are using minion? I guess it maybe doesn't have an option to remove saved settings?

yeah, Im using minion, have to many addons to look for updates manually:P
looks like it dont remove saved settings, found and deleted a few other files from addons I removed

EDIT: I have now played alot, so much more fun now, when I dont have to sort all my crap:P
however, there is one item, I cant get the addon to auto put in the junk folder, regardless if I mark it as junk, "worms" lvl 1 bait, any idea why?
Last edited by daol : 05/05/14 at 04:44 AM.
Report comment to moderator  
Reply With Quote
Unread 05/04/14, 02:45 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Re: Re: Re: Re: Re: Re: Re: auto sort

Originally Posted by daol

EDIT: I have now done some testing, after uninstalling the addon the second time, and manually deleting the savedvariables file, that was not deleted by the uninstall, the addon now works great again
Phew. Glad to hear.

You are using minion? I guess it maybe doesn't have an option to remove saved settings?
Report comment to moderator  
Reply With Quote
Unread 05/04/14, 02:43 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Originally Posted by Flak
I get this message for stuff that I manually "mark" as junk:



Does that mean that it is removing what I manually add as junk?
Hi,

Could you try deleting the saved settings for the addon (/savedvariables/insjunkyard.lua) and install the latest version then let me know if the problem persists? Thanks.
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 03:20 PM  
Flak

Forum posts: 0
File comments: 46
Uploads: 0
I get this message for stuff that I manually "mark" as junk:



Does that mean that it is removing what I manually add as junk?
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 12:39 PM  
daol

Forum posts: 6
File comments: 46
Uploads: 0
Re: Re: Re: Re: Re: Re: auto sort

Originally Posted by ins
Originally Posted by daol

set global: true
set global junk: false
set welcome: false
set salespam: false
set junkspam: false
set summary: false
set loot: false
set party: false
set junkyard automarking: false
set auto: false
set trait false

strange, since I have accountwide profile, sale summary, autoadd from ui, auto sell at vendor, on in the menu, just took a look to be sure
Thanks for the info.

Just to summarize to make sure I got it correctly:

1. You start game, and have your options set (like Sale Summary, Autoadd from UI etc) through the UI and pressing the button to save settings/exit the UI,
2. You go to a vendor to sell items.
3. Once you exit the vendor, the options are reset to false?

Between 1/2 -- do you exit the setup UI any other way than pressing the button?
yeah, exactly, the addon works great, untill I visit a vendor, and sell my crap, after that I have to add everything again via the add to junk in the backpack, like if the addon forgets everything that I have marked as junk, when I visit a vendor.
no, I press the save button before I exit, or do anything else.
have some friends over right now, but Il test a bit more later, as you remember when I typed /jy set, everything was "false", but enabled in your ui menu, uninstalled and deleted the savedvariables file, that was not deleted when I uninstalled it the first time,the did a quick loggin now, and typed /jy set again, now it says true on the correct settings, but Il do some testing later

EDIT: I have now done some testing, after uninstalling the addon the second time, and manually deleting the savedvariables file, that was not deleted by the uninstall, the addon now works great again
Last edited by daol : 05/03/14 at 10:28 PM.
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 09:28 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Originally Posted by Augmenti-DeMontia
Thanks for your work on this mod !


I believe I'm having this problem too, with .9999. I keep noticing Junkyard has been reset to Off, but had not been able to troubleshoot the problem as daol.
Can you try with the most recent version and let me know the result?
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 06:03 AM  
Augmenti-DeMontia

Forum posts: 32
File comments: 213
Uploads: 0
Thanks for your work on this mod !


I believe I'm having this problem too, with .9999. I keep noticing Junkyard has been reset to Off, but had not been able to troubleshoot the problem as daol.
Report comment to moderator  
Reply With Quote
Unread 05/03/14, 01:57 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Re: Re: Re: Re: Re: auto sort

Originally Posted by daol

set global: true
set global junk: false
set welcome: false
set salespam: false
set junkspam: false
set summary: false
set loot: false
set party: false
set junkyard automarking: false
set auto: false
set trait false

strange, since I have accountwide profile, sale summary, autoadd from ui, auto sell at vendor, on in the menu, just took a look to be sure
Thanks for the info.

Just to summarize to make sure I got it correctly:

1. You start game, and have your options set (like Sale Summary, Autoadd from UI etc) through the UI and pressing the button to save settings/exit the UI,
2. You go to a vendor to sell items.
3. Once you exit the vendor, the options are reset to false?

Between 1/2 -- do you exit the setup UI any other way than pressing the button?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.