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/02/14, 05:35 PM  
daol

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

Originally Posted by ins
Originally Posted by daol

yeah, it worked just fine before the menu update, I also tested uninstalling the addon, just in case there was anything wrong with my saved data for the addon, but that didnt help.
Hmm, once it starts bugging,

could you type

/jy set

And see what the settings are set to. I had a bug where they would reset, but I was sure I had fixed that.

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
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 05:14 PM  
ins
AddOn Author - Click to view AddOns

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

Originally Posted by daol

yeah, it worked just fine before the menu update, I also tested uninstalling the addon, just in case there was anything wrong with my saved data for the addon, but that didnt help.
Hmm, once it starts bugging,

could you type

/jy set

And see what the settings are set to. I had a bug where they would reset, but I was sure I had fixed that.
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 01:38 PM  
daol

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

Originally Posted by ins
Originally Posted by daol
for some reason after the menu update Im having some problems with this great addons, I used to have my "crap list" and get all those items in to junk, without doing anything, now I have "autoadd items to junkyard from ui" chosen, but here is the problem, lets say I mark plump worns as junk, it goes in to the junk tab, and all other plump worms I loot goes there too, here comes the problem, when I sell all my "crap" items, I have to redo the entire thing all over again, so it dont "auto junk" for me anymore, regardless of what type of items I add to the junklist.
Hmm, that is strange. I'll take a look at it and see what I can come up with. Thanks for the report
yeah, it worked just fine before the menu update, I also tested uninstalling the addon, just in case there was anything wrong with my saved data for the addon, but that didnt help.
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 04:59 AM  
ins
AddOn Author - Click to view AddOns

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

Originally Posted by daol
for some reason after the menu update Im having some problems with this great addons, I used to have my "crap list" and get all those items in to junk, without doing anything, now I have "autoadd items to junkyard from ui" chosen, but here is the problem, lets say I mark plump worns as junk, it goes in to the junk tab, and all other plump worms I loot goes there too, here comes the problem, when I sell all my "crap" items, I have to redo the entire thing all over again, so it dont "auto junk" for me anymore, regardless of what type of items I add to the junklist.
Hmm, that is strange. I'll take a look at it and see what I can come up with. Thanks for the report
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 04:58 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Originally Posted by Saftsuse
I want to add alot of White (Non-Magic) Gear to the Junk list, but I dont want to junk items with Intricate Trait, can this addon see the difference between traits? And if I add a (Non-Magic) Dwarven Long Sword to Junk list, what about the same items, but Magic? Will a (Magic) Dwarven Long Sword be auto added to the Junk List too?
The current version of the addon should require that the item is identical in all aspects (name, id, level, enchant, etc). The next version should offer more flexibility (Ignore level for example).
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 04:18 AM  
Saftsuse
 
Saftsuse's Avatar

Forum posts: 13
File comments: 149
Uploads: 0
I want to add alot of White (Non-Magic) Gear to the Junk list, but I dont want to junk items with Intricate Trait, can this addon see the difference between traits? And if I add a (Non-Magic) Dwarven Long Sword to Junk list, what about the same items, but Magic? Will a (Magic) Dwarven Long Sword be auto added to the Junk List too?
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 10:52 PM  
daol

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

for some reason after the menu update Im having some problems with this great addons, I used to have my "crap list" and get all those items in to junk, without doing anything, now I have "autoadd items to junkyard from ui" chosen, but here is the problem, lets say I mark plump worns as junk, it goes in to the junk tab, and all other plump worms I loot goes there too, here comes the problem, when I sell all my "crap" items, I have to redo the entire thing all over again, so it dont "auto junk" for me anymore, regardless of what type of items I add to the junklist.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 12:17 PM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Originally Posted by Fuinur
Would it be possible to add a option to autojunk all items without specific traits? i'm at the point where i rather vendor all green/whites w/o divines/infused trait on them
Coming in next version. Cheers.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 12:07 PM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Originally Posted by Tonyleila
Hey ins, any idea how it coud happen that the addon auto sells/ junk listing a ring that is not on the mark list? I tryed it multible times. Got the ring back from vendor, checked the /jy list mark options but the ring was not in it. Got to the vendor, ring was inside junk and auto sold again.

http://imgur.com/a/kgRBP
Hmm..

Can you try with the autosell option disabled just to confirm it is the addon doing it? The "sell" messages it outputs are from Events, so it could be "any" addon doing it.

Not sure how that would happen to be honest.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 10:39 AM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
Hey ins, any idea how it coud happen that the addon auto sells/ junk listing a ring that is not on the mark list? I tryed it multible times. Got the ring back from vendor, checked the /jy list mark options but the ring was not in it. Got to the vendor, ring was inside junk and auto sold again.

http://imgur.com/a/kgRBP
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 01:44 PM  
Fuinur

Forum posts: 0
File comments: 12
Uploads: 0
Would it be possible to add a option to autojunk all items without specific traits? i'm at the point where i rather vendor all green/whites w/o divines/infused trait on them
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 11:51 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
What, everyone love to type / commands :-)
But I see what you mean now.
I put it on TODO list
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 11:43 AM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
Originally Posted by ins
@Tony:
* There is an option there already to automatically add anything you "Mark as junk" in the user interface to add it to the list, so it will be remembered for future sessions. Are you thinking about something else?

* "/jy delmark all" is not a command, but it should be. (Adding in next verison)
* I think I should do some more input validation. You found a bug :-) (Fixing for next version)
Nah thats not what I was thinking about. I want to add special items to junk list.
I mark many things as junk manualy: old Pots from alchemy, ricepts from cooking I know etc. but I don't want that they are always marked as junk.
But there are other things that I always want to junk like fishing baits (they shoud be in your options..) so I have to add them all manually to the list to NOT exidently mark all the other things in my junkbag. It woud be more easy to mark things as junk if I coud rightklick and item and then select "Mark always as junk" and then in the addon options menu there shoud be a scrollable list what is in my junyard list where I can easy remove things from the list without annoying chat commands
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 11:07 AM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
@Tony:
* There is an option there already to automatically add anything you "Mark as junk" in the user interface to add it to the list, so it will be remembered for future sessions. Are you thinking about something else?

* "/jy delmark all" is not a command, but it should be. (Adding in next verison)
* I think I should do some more input validation. You found a bug :-) (Fixing for next version)


@Adden:
* Damn. I noticed it now. Think it was as a result of another bug, I'll have to look closer at that. Cheers.

@Saur:
* Global or Per Character Junk list (a global setting) is added in next version. It will default to Per Character.
Depending on whether you used a global or a per character setting already, your junk list might be saved.
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 08:37 AM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
Sorry to say this but such an important thing as mark junk items shoud be more easy to find as with chat commands. Its a pain to remove or add items to the list.
Better woud be: Wen rightklicking an item there shoud be an option to mark always as junk.
Then when its added to this addon it shoud be possible to show up a list of junked items where you just have to rightklick to remove them from list, also with a button to remove all from the junk list.
PS: instead of adding more 999 to your version numbers try out the alphabet like 0.9a 0.9b 0.9c ...

-------------------
Got this error wen trying to /junkyard remove all
Guess thats not a chat command but there shoud be no error or?

Code:
Too many anchors processed.
Checking type on argument slotIndex failed in GetItemLink_lua
stack traceback:
	[C]: in function 'GetItemLink'
	user:/AddOns/insjunkyard/insjunkyard.lua:416: in function 'remFromJunk'
	user:/AddOns/insjunkyard/insjunkyard.lua:661: in function 'commandHandler'
	EsoUI/Ingame/SlashCommands/SlashCommands.lua:102: in function 'DoCommand'
	EsoUI/Ingame/ChatSystem/ChatSystem.lua:1847: in function 'ChatSystem:SubmitTextEntry'
	EsoUI/Ingame/ChatSystem/ChatSystem.lua:2703: in function 'ZO_ChatTextEntry_Execute'
	14406795741938050902:3: in function '(main chunk)'
	(tail call): ?
I was trying to remove all junk from the list with /junkyard delmark all
or /junkyard delmark 1-15
-------------------------
Last edited by Tonyleila : 04/29/14 at 08:49 AM.
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.