Quantcast
Download
(110 Kb)
Download
Updated: 09/17/18 09:08 AM
Pictures
File Info
Compatibility:
Wolfhunter (4.1)
Updated:09/17/18 09:08 AM
Created:09/13/17 05:41 PM
Monthly downloads:5,845
Total downloads:39,839
Favorites:120
MD5:
Categories:Bags, Bank, Inventory, Data Mods, Graphic UI Mods, Miscellaneous, Utility Mods
4.1
Auto Category - Custom Inventory Categories  Updated less than 3 days ago!  Popular! (More than 5000 hits)
Version: 1.31
by: rockingdice, crafty35a
Still struggling to manage your inventory? Always full of items that you don't know how to deal with?

This add-on will help sort things out!

Auto Category adds categories to your inventory, bank, guild bank, craft bag, and crafting station screens. Fully customizable!


Supported add-ons:
Inventory Grid View
Alpha Gear
FCO Item Saver
Tamriel Trade Centre
Master Merchant
Iakoni's Gear Changer
BetterUI
Set Tracker



Original Keyboard Interface:





Inventory Grid View:





BetterUI for Gamepad:




  • Pre-defined rules and settings for beginners, download and use with no more settings required. Just that easy!
  • A nice header is added for each custom category. Get a clear view of your inventory.
  • Auto integrate with all interfaces. Keyboard is fully supported. Gamepad supports most of them, and
    Gamepad with BetterUI is supported.
  • Fully customizable rules based on LUA, for advanced users you can categorize items as the way you want.
  • Use pre-defined or your own rules, applying them to your backpack/bank/guild bank/craft bag/craft station, it will refresh categories immediately without reloading.
  • Complete wiki for learning rules. Need more rules/Have great ideas/Need other add-on integration? Just request a new API!
  • Auto group for your set items without adding rules one by one.


You can find more rule details and examples in:
Auto Category's wiki

If you enjoy this add-on and think my work is really worthy, you can send me in-game coin to:
@RockingDice in NA megaserver
or donate via Paypal :
Donate!

Any donations will keep me make more good add-on for improving your gaming experience!
1.31 Changes:
  • Big performance increase (2x or better for me), thank you to Shadowfen for the code change suggestion!
  • Updated libraries

1.30 Changes:
  • Added French translation. Big thanks to Hasgaad!

1.29 Changes:
  • HOTFIX - resolve errors at merchant due to Wolfhunter API changes.

1.28 Changes:
  • Bumped API version for Wolfhunter.

1.27 Changes:
  • Bumped API version for Summerset.
  • Added support for jewelry crafting ingredients. Note: you will need to either create a new rule yourself, or reset AutoCategory to default settings to grab the new default rule.
    • To create your own rule, use
      Lua Code:
      1. filtertype("jewelrycrafting")
    • To reset to default settings: In the Auto Category add-on menu, use the Defaults button. Then use the /reloadui command. Important: this will remove any custom rules/settings you have defined.
  • New API function "IsMarkedIS()" - use to test whether an item is marked with Item Saver. Note that FCO ItemSaver users should continue to use "IsMarked()"

1.26 Changes:
  • New API function "islocked()" - use to test whether an item has been locked.

1.24 Changes:
  • Resolve circular dependency issue with DoItAll (requires matching update to DoItAll).


1.23 Changes:
  • Added Set Tracker support! Use "getsettrackerstate()" to retrieve the name of the Set Tracker category, if an item is tracked.
  • Added charlevel() and charcp() to pull current character level and CP. Can be used to compare item level to your character level with a custom rule. (Thanks to VulcanTourist)

1.22 Changes:
  • You can now define separate settings for your home storage chests (they will take their initial settings from your bank settings, but can be customized at will).

1.21 Changes:
  • Added support for home storage chests (big thanks to raj72616a). Currently, they will use the settings selected for your bank (no custom settings for home chests yet).
  • Bumped API version for Dragon Bones.
  • New maintainer (crafty35a).


1.19 Changes:
  • Fixed Localization.
  • New Feature: Collapsed/Expanded status can be saved now. You can turn it on in the general setting menu.

1.18 Changes:
  • Fixed Bug: IGV will show the last category correctly.
  • Fixed Bug: Items Count can be turned off permanently.
  • Fixed Bug: Quest Panel will not complain about lua error.

1.17 Changes:
  • Removed debug logs in destruct/improvement panel

1.16 Changes:
  • New Feature: Collapsible Category. You can now click the header to fold all items inside. Get an overall view of your inventory! Context Menu is available, you can collapse/expand all headers with one click.
  • New Feature: Hide-able Category. You can hide some categories to focus on the items you need to deal with. Also you can hide the items that are not matched in the 'Other' category. Can be set in bag setting menu.
  • New Feature: Items Count. You can get a total number about how many items inside the category. This can be turned off in the general setting menu.
  • Account Wide setting changed: You can switch account wide/character wide for each of your characters. (* Need to select again if you use character setting before, don't affect the bag settings)
  • Fixed bug: Removed duplicated rules in bag setting.
  • Fixed bug: German set names should be able to be matched now.
  • Changed api:keepresearch()
    After a lot of tests, the api is not working fine. So I decided to make the api work more simple: It will match all the items can be researched. If you want better result, please use it with other api together. This is a basic idea to filter the item that is not part of a set and can be researched:
    Lua Code:
    1. keepresearch() and not isset()
  • New api:isset() api:ismonsterset()

1.15 Changes:
  • New feature: Category header's height is customizable!
  • New feature: You can change the name of ungrouped Category.
  • New feature: Added a message in chat when toggling the add-on's function, and a switch for it to turn on/off.
  • Fixed bug: Toggling in Inventory Grid View should not result a bad layout.
  • Fixed bug: Removed tag should not to be restored after relog.
  • New Add-ons Integrated!
    Do It All: You can now use it with AC together.
    Alpha Gear: Added a new api:alphagear
    Master Merchant: Added a new api:getpricemm
    Tamriel Trade Centre: Added a new api:getpricettc
  • New api:isinbank

1.14 Changes:
  • CwC is supported!
  • Fixed integration for Inventory Grid View(3.2).

1.13 Changes:
  • Fixed Bug: Setting for Craft Station is not working.
  • Added API:
    Code:
    getquality
    please see api:getquality
  • Updated localization for Chinese.

1.12 Changes:
  • New Function: Export to all bag settings. You can now replace all bag settings by one of them.
  • Added API:
    Code:
    quality
    please see api:quality
  • Fixed Bug: Import from bag setting will incorrectly make settings be linked together.

1.11 Changes:
  • New bags supported: Guild Bank / Craft Bag / Craft Station for both keyboard and gamepad mode.
  • New function: Import from bag setting: you can import from a bag setting to replace current one. No need to create it from the beginning. Make backups by copying your AutoCategory.lua in SavedVariables folder!
  • New add-on supported: Quick Menu you can toggle Auto Category by Quick Menu to save a key binding, check it out!
  • Added API:
    Code:
    sellprice
    islearnable
    please see api:sellprice and api:islearnable for more info.

1.10 Changes:
1.09 Changes:
1.08 Changes:
  • Fixed Category 'Trait/Style Gems' (If not changed, please try to restore to defaults)
  • Added Localization support.

1.07 Changes:
  • Fixed a rare issue of IGV integration.

1.06 Changes:
  • Fixed Quest tab issue.
  • Adjusted the height of header to the same as item row.
  • Added custom appearance of header text. You can set up them in the setting menu (or type /ac)

1.05 Changes:
  • Fixed multiple add-on compatible issue.
  • Fixed auto set name in different languages.
  • Added API:
    Code:
    iscrafted
    please see api reference and tutorial for more info.

1.04 Changes:
  • Added gamepad trade inventory support. Thanks @catsith105 for testing!

1.03 Changes:
  • Integrated with 'Inventory Grid View'
  • Added a tutorial button.
  • Added a wiki home page and tutorial page.

1.02 Changes:
  • Fixed banking issue with deposit/withdraw items.

1.01 Changes:
  • Updated lib: LibAddonMenu to r24
  • Refined Addon Setting Menu
Archived Files (27)
File Name
Version
Size
Author
Date
1.30
105kB
rockingdice
08/24/18 11:57 AM
1.29
104kB
rockingdice
08/13/18 08:39 AM
1.28
104kB
rockingdice
08/13/18 06:56 AM
1.27
104kB
rockingdice
05/21/18 06:31 AM
1.26
105kB
rockingdice
04/20/18 11:11 AM
1.25
105kB
rockingdice
04/19/18 01:21 PM
1.24
105kB
rockingdice
04/16/18 09:57 AM
1.23
105kB
rockingdice
04/15/18 06:37 PM
1.22
105kB
rockingdice
04/12/18 09:14 PM
1.21
104kB
rockingdice
04/11/18 11:25 AM
1.19
104kB
rockingdice
10/29/17 09:35 PM
1.18
103kB
rockingdice
10/29/17 11:11 AM
1.17
103kB
rockingdice
10/29/17 07:53 AM
1.16
103kB
rockingdice
10/28/17 11:55 PM
1.15
105kB
rockingdice
10/25/17 10:07 AM
1.14
103kB
rockingdice
10/23/17 07:59 PM
1.13
103kB
rockingdice
10/21/17 02:09 AM
1.12
107kB
rockingdice
10/19/17 05:04 AM
1.11
106kB
rockingdice
10/18/17 09:33 AM
1.10
104kB
rockingdice
10/08/17 08:26 AM
1.09
98kB
rockingdice
09/21/17 09:50 PM
1.08
96kB
rockingdice
09/18/17 09:13 PM
1.07
75kB
rockingdice
09/17/17 09:42 AM
1.06
75kB
rockingdice
09/15/17 09:12 PM
1.05
71kB
rockingdice
09/15/17 01:02 PM
1.04
71kB
rockingdice
09/14/17 10:25 AM
1.03
71kB
rockingdice
09/13/17 05:41 PM


Post A Reply Comment Options
Unread Yesterday, 07:23 PM  
ZoLatKam
 
ZoLatKam's Avatar

Forum posts: 3
File comments: 23
Uploads: 0
Re: Re: UI still breaks when AwesomeGuildStore & AC are enabled.

Originally Posted by crafty35a
Originally Posted by ZoLatKam
I still get the bug Baertram is describing (I think) where I can see a lua error pop up, but I can't hit Escape or any other hotkey to access the error.

This issue only ever happens when both AGS & AC are enabled on any of my characters.


I have zero issue with IGV & AC running on any of my characters.
Issues with just AGS and AC, or is IGV also active when this happens?
OH... Hmm... Yes, I keep IGV enabled all the time... I should test AGS & AC without IGV enabled & see if the issue is still present.

Thx for the suggestion, Crafty!


EDIT - 09.19.18 @ 12:11:09:

Inventory Grid View IS causing the problem (somehow) when all 3 mods are enabled.

Loading AGS alongside AC while disabling IGV = Issue not present.
__________________
Warning: Spoiler
Last edited by ZoLatKam : 09/19/18 at 11:12 AM.
Report comment to moderator  
Reply With Quote
Unread 09/18/18, 02:12 PM  
Fistandantiilus

Forum posts: 0
File comments: 7
Uploads: 0
Would recommend a minor change to "Low level" category such that it filters out items that are researchable.

Props for this addon excellent idea and neat application

Report comment to moderator  
Reply With Quote
Unread 09/17/18, 07:00 PM  
Shadowfen
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 144
Uploads: 5
Originally Posted by Baertram
Originally Posted by syzgod
Amazing. Can you look at AC why it is not compatible with Inventory Grid View. I know IGV is outdated.
I already tried to rebuild the bug mentioned here: http://www.esoui.com/forums/showthread.php?t=8049

But I cannot One could simply try to put some ~= nil checks into IGV but pretty sure this will not "fix" the lua errors to appear, but only hide them. And the error is still there then and makes the addon break or break temporarily.

Not sure why the whole UI gets somehow disabled. This sometimes happen if you are messing around with scenes or fragments. Maybe AutoCategory does change ascene or fragment in the inventory, IGV raises an lua error and AC cannot go on normally and thus the changed scene / fragment is broken and the UI too this way?
Could it be that the two addons together are hitting and passing some hard limit of things for ZOS - like the number of anchors errors appeared to be for a variety of addons? That problem had not necessarily the same addons reporting because it depended on load order who got loaded last. If so, certain combinations of addons would cause the problem because they are complex enough to use lots of an unknowingly limited set of resources. Neither addon is wrong and by itself operates correctly.
Report comment to moderator  
Reply With Quote
Unread 09/17/18, 05:19 PM  
crafty35a
 
crafty35a's Avatar

Forum posts: 5
File comments: 95
Uploads: 0
Re: UI still breaks when AwesomeGuildStore & AC are enabled.

Originally Posted by ZoLatKam
I still get the bug Baertram is describing (I think) where I can see a lua error pop up, but I can't hit Escape or any other hotkey to access the error.

This issue only ever happens when both AGS & AC are enabled on any of my characters.


I have zero issue with IGV & AC running on any of my characters.
Issues with just AGS and AC, or is IGV also active when this happens?
Report comment to moderator  
Reply With Quote
Unread 09/17/18, 03:52 PM  
ZoLatKam
 
ZoLatKam's Avatar

Forum posts: 3
File comments: 23
Uploads: 0
UI still breaks when AwesomeGuildStore & AC are enabled.

I still get the bug Baertram is describing (I think) where I can see a lua error pop up, but I can't hit Escape or any other hotkey to access the error.

This issue only ever happens when both AGS & AC are enabled on any of my characters.


I have zero issue with IGV & AC running on any of my characters.
__________________
Warning: Spoiler
Last edited by ZoLatKam : 09/17/18 at 03:52 PM.
Report comment to moderator  
Reply With Quote
Unread 09/17/18, 11:01 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1736
File comments: 1789
Uploads: 47
Originally Posted by syzgod
Amazing. Can you look at AC why it is not compatible with Inventory Grid View. I know IGV is outdated.
I already tried to rebuild the bug mentioned here: http://www.esoui.com/forums/showthread.php?t=8049

But I cannot One could simply try to put some ~= nil checks into IGV but pretty sure this will not "fix" the lua errors to appear, but only hide them. And the error is still there then and makes the addon break or break temporarily.

Not sure why the whole UI gets somehow disabled. This sometimes happen if you are messing around with scenes or fragments. Maybe AutoCategory does change ascene or fragment in the inventory, IGV raises an lua error and AC cannot go on normally and thus the changed scene / fragment is broken and the UI too this way?
Report comment to moderator  
Reply With Quote
Unread 09/17/18, 10:27 AM  
syzgod

Forum posts: 46
File comments: 228
Uploads: 0
Amazing. Can you look at AC why it is not compatible with Inventory Grid View. I know IGV is outdated.
Report comment to moderator  
Reply With Quote
Unread 09/17/18, 07:55 AM  
crafty35a
 
crafty35a's Avatar

Forum posts: 5
File comments: 95
Uploads: 0
Re: Re: Re: Lag reduction

Originally Posted by Shadowfen
All of the relevant functions except for the FCOIS one. Sped things up enough that I started turning AC back on with all of my toons. I had started turning it off on selected toons to avoid the lag because they had so many items in inventory as well as full bank.
Awesome work! I just made the changes myself and I do see a roughly 2x performance improvement, maybe even a little better. I'll do a little more testing today and push an update out to everyone.

I was discussing the performance issues with RockingDice a while back (the original author of AC) and he made an interesting suggestion - caching the results of the Sort function and only doing the calculation again on a new item that is added to the list. But so far I haven't been able to figure out a way to cache this. Let me know if you have any suggestions there. I bet that would remove any remaining lag (at least after the first time each inventory is accessed after logging in).
Report comment to moderator  
Reply With Quote
Unread 09/16/18, 08:56 PM  
Shadowfen
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 144
Uploads: 5
Re: Re: Lag reduction

Originally Posted by crafty35a
Originally Posted by Shadowfen
I've been trying various things...
Very interesting! How many did you end up changing (all of the relevant functions?), and how much did it help? I can do some testing this week as well.
All of the relevant functions except for the FCOIS one. Sped things up enough that I started turning AC back on with all of my toons. I had started turning it off on selected toons to avoid the lag because they had so many items in inventory as well as full bank.
Report comment to moderator  
Reply With Quote
Unread 09/16/18, 08:07 PM  
crafty35a
 
crafty35a's Avatar

Forum posts: 5
File comments: 95
Uploads: 0
Re: Lag reduction

Originally Posted by Shadowfen
I've been trying various things...
Very interesting! How many did you end up changing (all of the relevant functions?), and how much did it help? I can do some testing this week as well.
Report comment to moderator  
Reply With Quote
Unread 09/16/18, 01:13 PM  
Shadowfen
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 144
Uploads: 5
Lag reduction

I've been trying various things to reduce the amount of lag that I have to wait through just for opening inventory, and one of the things I've tried seems to work well, so I am recommending it to you to implement:

In AutoCategory_RuleFunc.lua, there are multiple RuleFunc functions which follow the same basic format:

* make sure we have arguments
* for each argument
** decide if arg is number or string
*** if string, the create a huge table of never-changing values (itemTypeMap)
and decide if the string is an entry in the map.

I see significant performance improvement by moving the local map outside of the function (and renaming it so they are not all trying to be "itemTypeMap"). The maps are still local to the AutoCategory_RuleFunc.lua file, but they are not being recreated over and over again for each trip through the for loop.

As an example, the AutoCategory.RuleFunc.EquipType() becomes the following:
Code:
local equipTypeMap = {
    ["chest"] = EQUIP_TYPE_CHEST,
    ["costume"] = EQUIP_TYPE_COSTUME,
    ["feet"] = EQUIP_TYPE_FEET,
    ["hand"] = EQUIP_TYPE_HAND,
    ["head"] = EQUIP_TYPE_HEAD,
    ["invalid"] = EQUIP_TYPE_INVALID,
    ["legs"] = EQUIP_TYPE_LEGS,
    ["main_hand"] = EQUIP_TYPE_MAIN_HAND,
    ["neck"] = EQUIP_TYPE_NECK,
    ["off_hand"] = EQUIP_TYPE_OFF_HAND,
    ["one_hand"] = EQUIP_TYPE_ONE_HAND,
    ["poison"] = EQUIP_TYPE_POISON,
    ["ring"] = EQUIP_TYPE_RING,
    ["shoulders"] = EQUIP_TYPE_SHOULDERS,
    ["two_hand"] = EQUIP_TYPE_TWO_HAND,
    ["waist"] = EQUIP_TYPE_WAIST,
}

function AutoCategory.RuleFunc.EquipType( ... )
	local fn = "equiptype"
	local ac = select( '#', ... )
	if ac == 0 then
		error( string.format("error: %s(): require arguments." , fn))
	end
	
	for ax = 1, ac do
		
		local arg = select( ax, ... )		
		if not arg then
			error( string.format("error: %s():  argument is nil." , fn))
		end
		
		local _, _, _, _, _, equipType = GetItemInfo(AutoCategory.checkingItemBagId, AutoCategory.checkingItemSlotIndex)

		if type( arg ) == "number" then
			if arg == equipType then
				return true
			end
		elseif type( arg ) == "string" then
			-- this is where the map used to be created...

			local v = equipTypeMap[string.lower( arg )]
			if v and v == equipType then
				return true
			end
		else
			error( string.format("error: %s(): argument is error." , fn ) )
		end
		
	end
	
	return false
	
end
Report comment to moderator  
Reply With Quote
Unread 09/15/18, 08:17 AM  
crafty35a
 
crafty35a's Avatar

Forum posts: 5
File comments: 95
Uploads: 0
Re: Is Assassin

Originally Posted by lichlord
I get same errors. Through trial and error I nailed down Auto category as the culprit, unfortunately.
See my previous comment
Report comment to moderator  
Reply With Quote
Unread 09/15/18, 07:56 AM  
lichlord
 
lichlord's Avatar

Forum posts: 11
File comments: 7
Uploads: 0
Is Assassin

I get same errors. Through trial and error I nailed down Auto category as the culprit, unfortunately.
Last edited by lichlord : 09/15/18 at 07:56 AM.
Report comment to moderator  
Reply With Quote
Unread 09/11/18, 01:15 PM  
crafty35a
 
crafty35a's Avatar

Forum posts: 5
File comments: 95
Uploads: 0
Re: Auto Category & Inventory Grid View

Originally Posted by isAssassin
I have errors when I have both Auto Category & Inventory Grid View running. This only started occurring with the Wolfhunter update.
I've run with just those two AddOns active.
Originally Posted by Tonyleila
I got same errors as isAssassin I woud love to use this addon again but not without Inventory Grid View
See the comment below by SlippyCheeze. I'm not sure there's much I can do on my side to fix this, unfortunately.
Report comment to moderator  
Reply With Quote
Unread 09/11/18, 05:31 AM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 269
File comments: 687
Uploads: 6
Re: Auto Category & Inventory Grid View

I got same errors as isAssassin I woud love to use this addon again but not without Inventory Grid View
__________________
My Addons @ WoWInterface
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: