Download
(1 Kb)
Download
Updated: 09/28/20 08:23 AM
Pictures
File Info
Compatibility:
Stonethorn (6.1.5)
Updated:09/28/20 08:23 AM
Created:09/26/20 11:00 AM
Monthly downloads:925
Total downloads:29,726
Favorites:43
MD5:
Advanced Filters - TTC Filters  Popular! (More than 5000 hits)
Version: 1.01
by: CorpDady [More]
Advanced Filters - TTC Filters

This addons Depends on ADDONs:

Advanced Filters - Updated
Tamriel Trade Centre

Functionality :

List of filter added :

Lower or equal = 0.5k
Lower or equal = 1k
Lower or equal = 10k

Greater or equal = 5k
Greater or equal = 10k
Greater or equal = 100k
Greater or equal = 250k
Greater or equal = 500k

Crédits : Baertram for inspiration and exemple source
1.01 - Fix error in text, add-ons folder change to AF_TTC, optimization code
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Uploader
Date
1.0
1kB
CorpDady
09/26/20 11:00 AM


Post A Reply Comment Options
Unread 09/28/20, 02:31 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4959
File comments: 6029
Uploads: 78
No problem, and thanks for the quick fix

Originally Posted by CorpDady
Originally Posted by Baertram
Hi, thanks for the plugin but would you please rename the folder and files: Remove the "FCO"!
FCO is my guild's name and only used for my addons and plugins. It should not be added to other addons or plugins created by other users.
Thanks for your understanding.

Just name it AF_TTC e.g.

Many thanks

P.S.
Your screenshot shows "TCC Filter" as the name of the submenu. Seems there is a typo you might want to fix to "TTC" as well.

And here are the updated German and English translations. Not sure what "po" was meaning but the k should be enough to understand it's the value
Code:
local en = {
	["TTC Filter"] = "TTC Filter",
	["inf 500"] = "<= 0.5k",
	["inf 1000"] = "<= 1k",
	["inf 10000"] = "<= 10k",
	["sup 5000"] = ">= 5k",
	["sup 10000"] = ">= 10k",
	["sup 100000"] = ">= 100k",
	["sup 250000"] = ">= 250k",
	["sup 500000"] = ">= 500k",
}
local de = {
	["TTC Filter"] = "TTC Filter",
	["inf 500"] = "<= 0.5k",
	["inf 1000"] = "<= 1k",
	["inf 10000"] = "<= 10k",
	["sup 5000"] = ">= 5k",
	["sup 10000"] = ">= 10k",
	["sup 100000"] = ">= 100k",
	["sup 250000"] = ">= 250k",
	["sup 500000"] = ">= 500k",
}
Another hint:
If you need to reuse the same value multiple times, assign it to a local.
e.g.
local avg = ttc["Avg"]
And then repalce all your occurences in teh function GetFilterCallback with avg .
Should be faster than having the function to query the table ttc each time again for the key "Avg".
Update 1.01 send with your all recommandation,
Sorry for the name , and thanks you for recommandation
Report comment to moderator  
Reply With Quote
Unread 09/28/20, 08:25 AM  
CorpDady
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 1
Uploads: 2
Originally Posted by Baertram
Hi, thanks for the plugin but would you please rename the folder and files: Remove the "FCO"!
FCO is my guild's name and only used for my addons and plugins. It should not be added to other addons or plugins created by other users.
Thanks for your understanding.

Just name it AF_TTC e.g.

Many thanks

P.S.
Your screenshot shows "TCC Filter" as the name of the submenu. Seems there is a typo you might want to fix to "TTC" as well.

And here are the updated German and English translations. Not sure what "po" was meaning but the k should be enough to understand it's the value
Code:
local en = {
	["TTC Filter"] = "TTC Filter",
	["inf 500"] = "<= 0.5k",
	["inf 1000"] = "<= 1k",
	["inf 10000"] = "<= 10k",
	["sup 5000"] = ">= 5k",
	["sup 10000"] = ">= 10k",
	["sup 100000"] = ">= 100k",
	["sup 250000"] = ">= 250k",
	["sup 500000"] = ">= 500k",
}
local de = {
	["TTC Filter"] = "TTC Filter",
	["inf 500"] = "<= 0.5k",
	["inf 1000"] = "<= 1k",
	["inf 10000"] = "<= 10k",
	["sup 5000"] = ">= 5k",
	["sup 10000"] = ">= 10k",
	["sup 100000"] = ">= 100k",
	["sup 250000"] = ">= 250k",
	["sup 500000"] = ">= 500k",
}
Another hint:
If you need to reuse the same value multiple times, assign it to a local.
e.g.
local avg = ttc["Avg"]
And then repalce all your occurences in teh function GetFilterCallback with avg .
Should be faster than having the function to query the table ttc each time again for the key "Avg".
Update 1.01 send with your all recommandation,
Sorry for the name , and thanks you for recommandation
Last edited by CorpDady : 09/28/20 at 08:27 AM.
Report comment to moderator  
Reply With Quote
Unread 09/28/20, 07:31 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4959
File comments: 6029
Uploads: 78
Hi, thanks for the plugin but would you please rename the folder and files: Remove the "FCO"!
FCO is my guild's name and only used for my addons and plugins. It should not be added to other addons or plugins created by other users.
Thanks for your understanding.

Just name it AF_TTC e.g.

Many thanks

P.S.
Your screenshot shows "TCC Filter" as the name of the submenu. Seems there is a typo you might want to fix to "TTC" as well.

And here are the updated German and English translations. Not sure what "po" was meaning but the k should be enough to understand it's the value
Code:
local en = {
	["TTC Filter"] = "TTC Filter",
	["inf 500"] = "<= 0.5k",
	["inf 1000"] = "<= 1k",
	["inf 10000"] = "<= 10k",
	["sup 5000"] = ">= 5k",
	["sup 10000"] = ">= 10k",
	["sup 100000"] = ">= 100k",
	["sup 250000"] = ">= 250k",
	["sup 500000"] = ">= 500k",
}
local de = {
	["TTC Filter"] = "TTC Filter",
	["inf 500"] = "<= 0.5k",
	["inf 1000"] = "<= 1k",
	["inf 10000"] = "<= 10k",
	["sup 5000"] = ">= 5k",
	["sup 10000"] = ">= 10k",
	["sup 100000"] = ">= 100k",
	["sup 250000"] = ">= 250k",
	["sup 500000"] = ">= 500k",
}
Another hint:
If you need to reuse the same value multiple times, assign it to a local.
e.g.
local avg = ttc["Avg"]
And then repalce all your occurences in teh function GetFilterCallback with avg .
Should be faster than having the function to query the table ttc each time again for the key "Avg".
Last edited by Baertram : 09/28/20 at 07:37 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: