Download
(3 Kb)
Download
Updated: 12/10/18 11:28 AM
Pictures
File Info
Compatibility:
Ascending Tide (7.3.5)
Deadlands (7.2.5)
Waking Flame (7.1.5)
Blackwood (7.0.5)
Flames of Ambition (6.3.5)
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:12/10/18 11:28 AM
Created:01/16/15 03:11 PM
Monthly downloads:97
Total downloads:19,502
Favorites:21
MD5:
Advanced Filters - Miscellaneous level filter plugin  Popular! (More than 5000 hits)
Version: 2.0
by: Baertram [More]
Miscellaneous items filter plugin for "Advanced Filters Updated"

This is a filter plugin for the dynamic filters of the "Advanced Filters" addon.
You are able to filter the miscellaneous by their level, chosing it from the dropdown box at the Advanced Filters subfilter row.
2.0
Raised API
Fixed metatable to EN strings (typo)

1.9
Raised API, made compatible with actual AdvancedFilters version

1.8
Updated API to Homestead
Updated library LAM

1.7
Updated API
Updated libraries

1.0.7
-Updated API to Shadows of the Hist

1.0.6
Updated: API to version 100015

1.0.5
Updated: API to version 100014
Updated: Moved the filters to a submenu to support lower screen resolutions

1.0.4
Updated: API to version 100013

1.0.3
Updated: API to version 100012

1.0.2
-Updated the API version for patch 1.6 (100011)

1.0.1
Fixed a glitched global variable
Archived Files (11)
File Name
Version
Size
Uploader
Date
1.9
3kB
Baertram
08/05/18 05:56 PM
1.8
2kB
Baertram
02/06/17 02:40 PM
1.7
2kB
Baertram
10/02/16 07:39 PM
1.0.7
2kB
Baertram
07/17/16 01:19 PM
1.0.6
2kB
Baertram
06/05/16 08:52 AM
1.0.5
2kB
Baertram
02/27/16 05:01 PM
1.0.4
2kB
Baertram
11/05/15 03:17 AM
1.0.3
2kB
Baertram
08/31/15 05:21 PM
1.0.2
2kB
Baertram
03/03/15 06:11 PM
1.0.1
2kB
Baertram
02/26/15 03:13 PM
1.0.0
2kB
01/16/15 03:11 PM


Post A Reply Comment Options
Unread 06/17/18, 02:42 AM  
and

Forum posts: 9
File comments: 256
Uploads: 0
Bespoke levels

Hi there!

May I ask if it is possible to customise the levels shown? I would be happy to do it modifying the LUA files, if needed.

Many thanks!
Report comment to moderator  
Reply With Quote
Unread 06/17/18, 07:58 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Re: Bespoke levels

Hi, I think it should be possible yes. You need to check the lua file and add other entries to the callbackFunction table + translations in the strings, stringsDE etc. tables for the new entries which you have added.

If I find the time I can add them too in the future, if the levels make sense. Which one do you want to add?

Originally Posted by and
Hi there!

May I ask if it is possible to customise the levels shown? I would be happy to do it modifying the LUA files, if needed.

Many thanks!
Last edited by Baertram : 06/17/18 at 11:02 AM.
Report comment to moderator  
Reply With Quote
Unread 06/23/18, 01:42 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
If you want to change the levels you need to change the file AF_FCOMiscellaneousLevelFilters.lua and chnage the table beginning at row 31:

Lua Code:
  1. local fullLevelDropdownMiscellaneousCallbacks = {
  2.     [1] = { name = "1-10", filterCallback = GetFilterCallbackForMiscellaneousLevel(1, 10) },
  3.     [2] = { name = "11-20", filterCallback = GetFilterCallbackForMiscellaneousLevel(11, 20) },
  4.     [3] = { name = "21-30", filterCallback = GetFilterCallbackForMiscellaneousLevel(21, 30) },
  5.     [4] = { name = "31-40", filterCallback = GetFilterCallbackForMiscellaneousLevel(31, 40) },
  6.     [5] = { name = "41-50", filterCallback = GetFilterCallbackForMiscellaneousLevel(41, 50) },
  7.     [6] = { name = "CP10-CP20", filterCallback = GetFilterCallbackForMiscellaneousLevel(60, 70) },
  8.     [7] = { name = "CP30-CP40", filterCallback = GetFilterCallbackForMiscellaneousLevel(80, 90) },
  9.     [8] = { name = "CP50-CP60", filterCallback = GetFilterCallbackForMiscellaneousLevel(100, 110) },
  10.     [9] = { name = "CP70-CP80", filterCallback = GetFilterCallbackForMiscellaneousLevel(120, 130) },
  11.     [10] = { name = "CP90-CP100", filterCallback = GetFilterCallbackForMiscellaneousLevel(140, 150) },
  12.     [11] = { name = "CP110-CP120", filterCallback = GetFilterCallbackForMiscellaneousLevel(160, 170) },
  13.     [12] = { name = "CP130-CP140", filterCallback = GetFilterCallbackForMiscellaneousLevel(180, 190) },
  14.     [13] = { name = "CP150-CP160", filterCallback = GetFilterCallbackForMiscellaneousLevel(200, 210) },
  15. }

The function GetFilterCallbackForMiscellaneousLevel(from, to) is filtering by the level where 1 - 50 are normal levels and the CP ranks are beginning at 60 (=CP10) and ending at 210 (=CP160).

Each entry in this table got a string identifier (e.g. name = "CP110-CP120") which needs a mathcing entry in the table starting at line 53:

Lua Code:
  1. local stringsEN = {
  2.     ["FCOMiscLevelFiltersSubmenu"] = "Misc.: Level",
  3.     ["1-10"] = "1-10",
  4.     ["11-20"] = "11-20",
  5.     ["21-30"] = "21-30",
  6.     ["31-40"] = "31-40",
  7.     ["41-50"] = "41-50",
  8.     ["CP10-CP20"] = cpIcon ..   "10-".. cpIcon .. "20",
  9.     ["CP30-CP40"] = cpIcon ..   "30-".. cpIcon .. "40",
  10.     ["CP50-CP60"] = cpIcon ..   "50-".. cpIcon .. "60",
  11.     ["CP70-CP80"] = cpIcon ..   "70-".. cpIcon .. "80",
  12.     ["CP90-CP100"] = cpIcon ..  "90-".. cpIcon .. "100",
  13.     ["CP110-CP120"] = cpIcon .. "110-".. cpIcon .. "120",
  14.     ["CP130-CP140"] = cpIcon .. "130-".. cpIcon .. "140",
  15.     ["CP150-CP160"] = cpIcon .. "150-".. cpIcon .. "160",
  16.  
  17. }

cpIcon is the champion rank icon which is integrated into the filter list.

If you alter these two tables you are able to add additional levels or construct it the way you want it.
Report comment to moderator  
Reply With Quote
Unread 08/06/18, 09:22 AM  
and

Forum posts: 9
File comments: 256
Uploads: 0
Originally Posted by Baertram
If you want to change the levels you need to change the file ...
Many thanks! BTW, is it possible to apply the filter to Weapons, Armor and Jewelry categories?
Last edited by and : 08/06/18 at 09:50 AM.
Report comment to moderator  
Reply With Quote
Unread 08/07/18, 08:34 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Originally Posted by and
Originally Posted by Baertram
If you want to change the levels you need to change the file ...
Many thanks! BTW, is it possible to apply the filter to Weapons, Armor and Jewelry categories?
This is for Miscelaneous items, no weapons or armor?
Please use the build in level filter plugin from advanced filters, it's already there?
Report comment to moderator  
Reply With Quote
Unread 08/07/18, 11:15 AM  
and

Forum posts: 9
File comments: 256
Uploads: 0
Originally Posted by Baertram
Originally Posted by and
Originally Posted by Baertram
If you want to change the levels you need to change the file ...
Many thanks! BTW, is it possible to apply the filter to Weapons, Armor and Jewelry categories?
This is for Miscelaneous items, no weapons or armor?
Please use the build in level filter plugin from advanced filters, it's already there?
Oh, I see the difference now!

Cheers
Report comment to moderator  
Reply With Quote
Unread 08/07/18, 12:12 PM  
and

Forum posts: 9
File comments: 256
Uploads: 0
Originally Posted by and
Originally Posted by Baertram
If you want to change the levels you need to change the file ...
Many thanks! BTW, is it possible to apply the filter to Weapons, Armor and Jewelry categories?
Is there a way to apply it to Jewelry? Editing the file in the Extrafilters folder only apply it to weapons and armors.
Report comment to moderator  
Reply With Quote
Unread 08/07/18, 12:52 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Indide the levelfilter file there is defined where the
Filtets apply, near the bottom at filterInformation.

One would need to copy the whole block in the same file, and change the filtertype_x to filtertype_jewelry I think.
Not able to test as I got no access to the game until the weekend, sry.

Originally Posted by and
Originally Posted by and
Originally Posted by Baertram
If you want to change the levels you need to change the file ...
Many thanks! BTW, is it possible to apply the filter to Weapons, Armor and Jewelry categories?
Is there a way to apply it to Jewelry? Editing the file in the Extrafilters folder only apply it to weapons and armors.
Report comment to moderator  
Reply With Quote
Unread 08/11/18, 11:45 AM  
and

Forum posts: 9
File comments: 256
Uploads: 0
Originally Posted by Baertram
Indide the levelfilter file there is defined where the
Filtets apply, near the bottom at filterInformation.

One would need to copy the whole block in the same file, and change the filtertype_x to filtertype_jewelry I think.
Not able to test as I got no access to the game until the weekend, sry.

Originally Posted by and
Originally Posted by and
Originally Posted by Baertram
If you want to change the levels you need to change the file ...
Many thanks! BTW, is it possible to apply the filter to Weapons, Armor and Jewelry categories?
Is there a way to apply it to Jewelry? Editing the file in the Extrafilters folder only apply it to weapons and armors.
It worked for me, many thanks! Not exactly sure how LUA works, but your instructions were clear
Report comment to moderator  
Reply With Quote
Unread 06/01/19, 04:17 PM  
F-Lambda

Forum posts: 1
File comments: 82
Uploads: 0
Originally Posted by Baertram
Originally Posted by and
Originally Posted by Baertram
If you want to change the levels you need to change the file ...
Many thanks! BTW, is it possible to apply the filter to Weapons, Armor and Jewelry categories?
This is for Miscelaneous items, no weapons or armor?
Please use the build in level filter plugin from advanced filters, it's already there?
Seems like things have changed since you posted this, since it does apply to weapons and armor now. It seems there's no longer a difference between this and the regular one, so the Misc one is no longer needed.
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.