Download
(81 Kb)
Download
Updated: 03/11/24 08:29 AM
Pictures
File Info
Compatibility:
Scions of Ithelia (9.3.0)
Updated:03/11/24 08:29 AM
Created:02/10/20 11:09 AM
Monthly downloads:1,889
Total downloads:46,379
Favorites:100
MD5:
Categories:Bags, Bank, Inventory, Auction House & Vendors, TradeSkill Mods, ToolTip
9.3.0
Alchemy Tooltips  Popular! (More than 5000 hits)
Version: 1.19
by: Hyperioxes, Sharlikran
Displays cheapest way to craft certain potion, poison or alchemy master writ in its tooltip along with crafting cost, based on LibPrice prices. Changes potions' names and icons to reflect their actual effects and changes their quality color based on crafting cost

Dependencies:
-LibPrice
-LibAddonMenu
-LibAlchemy



Quick Slots:


Inventory:




Guild Trader:




Default crafting cost color:
0-100 - Green
100-200 - Blue
200-300 - Purple
300+ - Orange
Defaults to green color if price can't be found




Currently changes icons for:
-(+Health/+Magicka/+Stamina) potion
-(+Health/+Magicka/+Stamina) poison
-(+Health/+HealthOverTime/+Vitality) potion
-(+Magicka/+Stamina/+Heroism) potion
-(+Magicka/+SpellCrit/+SpellPower) potion
-(+Stamina/+WeaponCrit/+WeaponPower) potion
-(+Unstoppable/+Health/+Magicka) potion
-(+Unstoppable/+Health/+Stamina) potion
-(+Unstoppable/+Detection/+Magicka) potion
-(+Unstoppable/+Speed/+Stamina) poison
-(-Health/-HealthOverTime) poison




You can change the way actual effect names are being "translated" into shorter names in the settings





Special thanks to ziggr, Dolgubon, Marify, sirinsidiator and Baertram for helping me out with the coding part, to everyone who sent me potions so I could write down their IDs (especially @keebleec), to t.vicson for suggesting a layout change, to soft_warrior for submitting russian translation and to Wheels for the idea of changing potions' names is inspired by his addon Samurai

1.19

- Added Chinese translation (Lykeion)
- API Bump for U41

1.18

- Added Untranslated Turkish files

1.17

- Updated API requirement for LibAlchemy
- Updated for Necrom

1.16
-Split the single option for using custom names, icons and quality colors into 3 separate options

1.15b.
-Fixed a bug with 'Reinitialize prices' button not working

1.15a
-Fixed a bug with potion names defaulting to orange color if you didn't have any price tracking addon (either MM,TTC or ATT)

1.15
-Added settings allowing to change crafting cost brackets on which potion quality colors are based

1.14
-Custom Icons are now being displayed in mail attachments

1.13a
-Fixed and issue with icons of non-crafted potions not appearing in quickslots

1.13
-Optimized code to reduce fps drops happening during weapon swaps (caused by custom icons on quickslots)

1.12a
-Fixed a bug with tooltips of Master Writs and Collectibles throwing errors

1.12
-Custom names are now being displayed in Trade Between Players Window, Buyback Tab and in Mail
-Added custom potion icons

1.11
-Custom names are now being displayed in Guild Stores and on Quick Slots

1.10
-Added options to change the way potions' names are being changed

1.9
-Added custom potion names

1.8d
-Fixed a bug with potions/poisons made with Grease or Natural Water throwing errors if you had no price data for those solvents

1.8c
-Fixed a bug with the addon not taking prolonged effects into account

1.8b
-Fixed a bug with guild tabard throwing up errors

1.8a
-Added russian translation submitted by soft_warrior

1.8
-Added Greymoor reagents and effects
-Changed the way addon works so it doesn't need database anymore, it works on all potions and poisons now

1.7
-Moved all databases and most of functions to a separate library

1.6j
-Added more potions to database

1.6i
-Added more potions to database

1.6h
-Added more potions to database

1.6g
-Added more potions to database

1.6f
-Added more potions to database

1.6e
-Added more potions to database

1.6d
-Added more potions to database

1.6c
-Fixed bug

1.6b
-Added more potions to database

1.6a
-Added more potions to database

1.6
-Addon now properly recognizes prolonged effects (for example combination Columbine-Bugloss-Mountain Flower, its Major Fortitude lasts 52.8 seconds instead of 47.6 because effect "Restore Health" is used 3 times and now addon will recognize and suggest correct combination)

1.5d
-Added more potions to database
-Fixed bugs

1.5c
-Added more potions to database

1.5b
-Fixed bug

1.5a
-Added more potions to database
-Fixed bugs

1.5
-Changed tooltip layout, can still change to old layout in settings

1.4f
-Added more potions to database

1.4e
-Fixed bugs

1.4d
-Added more potions to database
-Fixed bugs

1.4c
-Added more potions to database
-Fixed a bug with some potions' crafting costs being calculated is if they were poisons

1.4b
-Added more potions to database

1.4a
-Fixed a bug with settings not being saved

1.4
-Minor bugfixes
-Added settings

1.3
-Bugfix: alchemy master writs' tooltips now properly appear on language versions other than english
-Started using LibPrice to extract price which fixed a few other bugs
-Added german and polish translation

1.2
-Tooltip now also appear on alchemy master writs

1.1
-Bugged tooltip no longer shows up on master writ tooltips
-TTC prices now initialize with a 5 second delay
-Added more potions to database
Archived Files (47)
File Name
Version
Size
Uploader
Date
1.18
80kB
Sharlikran
01/23/24 11:19 PM
1.17
75kB
Sharlikran
05/22/23 09:28 AM
1.16
76kB
Hyperioxes
07/12/21 03:48 PM
1.15b
75kB
Hyperioxes
06/04/21 06:15 AM
1.15a
75kB
Hyperioxes
01/07/21 06:40 PM
1.15
75kB
Hyperioxes
01/05/21 12:42 AM
1.14
75kB
Hyperioxes
12/13/20 10:54 AM
1.13a
75kB
Hyperioxes
12/07/20 11:09 AM
1.13
75kB
Hyperioxes
12/05/20 01:57 AM
1.12a
73kB
Hyperioxes
12/04/20 05:13 PM
1.12
73kB
Hyperioxes
12/03/20 08:59 PM
1.11
8kB
Hyperioxes
12/03/20 12:20 AM
1.10
8kB
Hyperioxes
12/01/20 03:15 AM
1.9
6kB
Hyperioxes
11/27/20 07:02 AM
1.8d
6kB
Hyperioxes
09/23/20 11:32 AM
1.8c
6kB
Hyperioxes
06/14/20 12:30 PM
1.8b
6kB
Hyperioxes
05/28/20 09:21 AM
1.8a
6kB
Hyperioxes
05/27/20 04:23 PM
1.8
5kB
Hyperioxes
05/27/20 04:13 PM
1.7
5kB
Hyperioxes
05/10/20 05:44 PM
1.6j
13kB
Hyperioxes
05/09/20 02:41 PM
1.6i
12kB
Hyperioxes
05/09/20 04:38 AM
1.6h
12kB
Hyperioxes
05/08/20 01:36 PM
1.6g
12kB
Hyperioxes
05/07/20 01:29 PM
1.6f
12kB
Hyperioxes
05/05/20 02:32 PM
1.6e
11kB
Hyperioxes
04/30/20 01:59 PM
1.6d
11kB
Hyperioxes
04/21/20 10:36 AM
1.6c
11kB
Hyperioxes
04/19/20 06:19 AM
1.6b
11kB
Hyperioxes
04/18/20 08:36 AM
1.6a
11kB
Hyperioxes
03/25/20 02:53 PM
1.6
11kB
Hyperioxes
03/22/20 10:28 PM
1.5d
11kB
Hyperioxes
03/22/20 10:51 AM
1.5c
11kB
Hyperioxes
03/21/20 12:29 AM
1.5b
10kB
Hyperioxes
03/19/20 01:28 PM
1.5a
10kB
Hyperioxes
03/19/20 01:13 PM
1.5a
10kB
Hyperioxes
03/19/20 12:05 PM
1.4f
10kB
Hyperioxes
03/18/20 02:40 AM
1.4e
10kB
Hyperioxes
03/16/20 02:33 PM
1.4d
10kB
Hyperioxes
03/15/20 02:39 PM
1.4c
10kB
Hyperioxes
03/14/20 11:50 AM
1.4b
10kB
Hyperioxes
03/12/20 12:55 PM
1.4a
10kB
Hyperioxes
03/11/20 10:36 AM
1.4
10kB
Hyperioxes
03/10/20 12:27 PM
1.3
9kB
Hyperioxes
03/01/20 06:28 PM
1.2
7kB
Hyperioxes
02/27/20 03:16 AM
1.1
7kB
Hyperioxes
02/24/20 03:01 AM
1.0
7kB
02/10/20 11:09 AM


Post A Reply Comment Options
Unread 02/10/20, 11:30 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5989
Uploads: 78
Nice addon, could you mabe add multi language support?
Maybe other addons like Potion maker already provide the translated texts of the reagents etc.

Using clientLanguage dependent language files in your manifest txt:
https://wiki.esoui.com/Addon_manifest_(.txt)_format#Variable_Expansion

e.g. add to your txt file:
lang/en.lua
lang/$(language).lua

This will always load the en.lua strings as fallback and also after that the client's language file e.g. fr.lua or de.lu or jp.lua
You can watch pChat addon how to add strings like ZOs does it and multi translate them with the other files then.


Maybe also format your currency in the tooltip witht his information:
https://wiki.esoui.com/Currency_Formatting

Just a hint about your "posthook" of the tooltip controls:
Code:
local origMethod = tooltipControl[method]

	tooltipControl[method] = function(self, ...)
		origMethod(self, ...)
		AddPotionInfo(self, checkPotion(linkFunc(...)))

	end
You can use the function SecurePostHook since last major update to build a posthook instead of creating it manually:

Lua Code:
  1. if not tooltipControl[method] then return end
  2. SecurePostHook(tooltipControl, method, function(self, ...)
  3.         AddPotionInfo(self, checkPotion(linkFunc(...)))
  4.     end)
Last edited by Baertram : 02/10/20 at 11:33 AM.
Report comment to moderator  
Reply With Quote
Unread 02/10/20, 12:13 PM  
Hyperioxes
 
Hyperioxes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 69
Uploads: 11
I wanted to add multi language support but it's my college project which I have to finish before certain date and I was running out of time so I decided I'll have to add it later and for now just make sure everything else works fine. I have a few final exams in the following weeks but I can start working on multi language support after I'm done with that, thanks for the support!
Report comment to moderator  
Reply With Quote
Unread 02/11/20, 05:08 AM  
Maelynn

Forum posts: 18
File comments: 39
Uploads: 0
If it were possible for you to add this functionality to the Sealed Writs, then I'd insta-download this.
Report comment to moderator  
Reply With Quote
Unread 02/11/20, 02:27 PM  
Greevir
 
Greevir's Avatar

Forum posts: 27
File comments: 130
Uploads: 0
Can't seem to get this working. Has issues with TTC for me.

Code:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: attempt to index a nil value
stack traceback:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: in function 'InitializePricesTTC'
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:1392: in function 'OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "AlchemyTooltips" </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 02/11/20, 04:03 PM  
Hyperioxes
 
Hyperioxes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 69
Uploads: 11
Originally Posted by Greevir
Can't seem to get this working. Has issues with TTC for me.

Code:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: attempt to index a nil value
stack traceback:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: in function 'InitializePricesTTC'
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:1392: in function 'OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "AlchemyTooltips" </Locals>|r
It seems like the TTC suggested price is nil. Are you absolutely sure that your TTC data is up to date? Are you seeing suggested price in alchemy reagents' tooltips?
Report comment to moderator  
Reply With Quote
Unread 02/11/20, 11:17 PM  
Greevir
 
Greevir's Avatar

Forum posts: 27
File comments: 130
Uploads: 0
Originally Posted by Hyperioxes
Originally Posted by Greevir
Can't seem to get this working. Has issues with TTC for me.

Code:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: attempt to index a nil value
stack traceback:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: in function 'InitializePricesTTC'
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:1392: in function 'OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "AlchemyTooltips" </Locals>|r
It seems like the TTC suggested price is nil. Are you absolutely sure that your TTC data is up to date? Are you seeing suggested price in alchemy reagents' tooltips?
Yup, absolutely sure:
Last edited by Greevir : 02/11/20 at 11:18 PM.
Report comment to moderator  
Reply With Quote
Unread 02/14/20, 12:52 AM  
Hyperioxes
 
Hyperioxes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 69
Uploads: 11
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Can't seem to get this working. Has issues with TTC for me.

Code:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: attempt to index a nil value
stack traceback:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: in function 'InitializePricesTTC'
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:1392: in function 'OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "AlchemyTooltips" </Locals>|r
It seems like the TTC suggested price is nil. Are you absolutely sure that your TTC data is up to date? Are you seeing suggested price in alchemy reagents' tooltips?
Yup, absolutely sure:
Sorry for very late answer, can you try adding this at the end of addon's code?
Lua Code:
  1. SLASH_COMMANDS["/test"] = function ()
  2.     d(TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice)
  3.     d(reagents[30148][2])
  4. end

Then just use the /test command and tell me what shows up on your chat, I need to figure if the issue is with extracting TTC price or with saving that price to the table.
Report comment to moderator  
Reply With Quote
Unread 02/14/20, 07:50 PM  
Greevir
 
Greevir's Avatar

Forum posts: 27
File comments: 130
Uploads: 0
Originally Posted by Hyperioxes
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Can't seem to get this working. Has issues with TTC for me.

Code:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: attempt to index a nil value
stack traceback:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: in function 'InitializePricesTTC'
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:1392: in function 'OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "AlchemyTooltips" </Locals>|r
It seems like the TTC suggested price is nil. Are you absolutely sure that your TTC data is up to date? Are you seeing suggested price in alchemy reagents' tooltips?
Yup, absolutely sure:
Sorry for very late answer, can you try adding this at the end of addon's code?
Lua Code:
  1. SLASH_COMMANDS["/test"] = function ()
  2.     d(TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice)
  3.     d(reagents[30148][2])
  4. end

Then just use the /test command and tell me what shows up on your chat, I need to figure if the issue is with extracting TTC price or with saving that price to the table.
Chat shows two lines:

45.26
nil
Report comment to moderator  
Reply With Quote
Unread 02/15/20, 06:47 PM  
Hyperioxes
 
Hyperioxes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 69
Uploads: 11
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Can't seem to get this working. Has issues with TTC for me.

Code:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: attempt to index a nil value
stack traceback:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: in function 'InitializePricesTTC'
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:1392: in function 'OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "AlchemyTooltips" </Locals>|r
It seems like the TTC suggested price is nil. Are you absolutely sure that your TTC data is up to date? Are you seeing suggested price in alchemy reagents' tooltips?
Yup, absolutely sure:
Sorry for very late answer, can you try adding this at the end of addon's code?
Lua Code:
  1. SLASH_COMMANDS["/test"] = function ()
  2.     d(TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice)
  3.     d(reagents[30148][2])
  4. end

Then just use the /test command and tell me what shows up on your chat, I need to figure if the issue is with extracting TTC price or with saving that price to the table.
Chat shows two lines:

45.26
nil
It appears that price gets extracted from TTC but doesnt get saved to the table. Also the table exists because if it didn't then 2nd line in chat would show nothing instead of "nil". My only idea is that for some reason TTC loads up delayed so I want you to try out this:
Lua Code:
  1. SLASH_COMMANDS["/test"] = function ()
  2.     InitializePricesTTC()
  3.     d(TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice)
  4.     d(reagents[30148][2])
  5. end
Change the code you pasted last time to this and tell me what shows up on your chat.
Report comment to moderator  
Reply With Quote
Unread 02/23/20, 09:59 PM  
Greevir
 
Greevir's Avatar

Forum posts: 27
File comments: 130
Uploads: 0
Originally Posted by Hyperioxes
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Can't seem to get this working. Has issues with TTC for me.

Code:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: attempt to index a nil value
stack traceback:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: in function 'InitializePricesTTC'
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:1392: in function 'OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "AlchemyTooltips" </Locals>|r
It seems like the TTC suggested price is nil. Are you absolutely sure that your TTC data is up to date? Are you seeing suggested price in alchemy reagents' tooltips?
Yup, absolutely sure:
Sorry for very late answer, can you try adding this at the end of addon's code?
Lua Code:
  1. SLASH_COMMANDS["/test"] = function ()
  2.     d(TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice)
  3.     d(reagents[30148][2])
  4. end

Then just use the /test command and tell me what shows up on your chat, I need to figure if the issue is with extracting TTC price or with saving that price to the table.
Chat shows two lines:

45.26
nil
It appears that price gets extracted from TTC but doesnt get saved to the table. Also the table exists because if it didn't then 2nd line in chat would show nothing instead of "nil". My only idea is that for some reason TTC loads up delayed so I want you to try out this:
Lua Code:
  1. SLASH_COMMANDS["/test"] = function ()
  2.     InitializePricesTTC()
  3.     d(TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice)
  4.     d(reagents[30148][2])
  5. end
Change the code you pasted last time to this and tell me what shows up on your chat.
nothing happens
Report comment to moderator  
Reply With Quote
Unread 02/24/20, 03:14 AM  
Hyperioxes
 
Hyperioxes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 69
Uploads: 11
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Originally Posted by Hyperioxes
Originally Posted by Greevir
Can't seem to get this working. Has issues with TTC for me.

Code:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: attempt to index a nil value
stack traceback:
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:417: in function 'InitializePricesTTC'
user:/AddOns/AlchemyTooltips/AlchemyTooltips.lua:1392: in function 'OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "AlchemyTooltips" </Locals>|r
It seems like the TTC suggested price is nil. Are you absolutely sure that your TTC data is up to date? Are you seeing suggested price in alchemy reagents' tooltips?
Yup, absolutely sure:
Sorry for very late answer, can you try adding this at the end of addon's code?
Lua Code:
  1. SLASH_COMMANDS["/test"] = function ()
  2.     d(TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice)
  3.     d(reagents[30148][2])
  4. end

Then just use the /test command and tell me what shows up on your chat, I need to figure if the issue is with extracting TTC price or with saving that price to the table.
Chat shows two lines:

45.26
nil
It appears that price gets extracted from TTC but doesnt get saved to the table. Also the table exists because if it didn't then 2nd line in chat would show nothing instead of "nil". My only idea is that for some reason TTC loads up delayed so I want you to try out this:
Lua Code:
  1. SLASH_COMMANDS["/test"] = function ()
  2.     InitializePricesTTC()
  3.     d(TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice)
  4.     d(reagents[30148][2])
  5. end
Change the code you pasted last time to this and tell me what shows up on your chat.
nothing happens
I've just updated the addon, please check if it works now and let me know. If it still doesn't work then I'm out of ideas and I'll need to post this on forums hoping that someone smarter than me can figure it out.
Report comment to moderator  
Reply With Quote
Unread 02/27/20, 10:34 AM  
SneakyWitchTheif

Forum posts: 1
File comments: 42
Uploads: 0
Lovely addon, but the TTC prices are far too low. Could we get an option for using MM prices via libprice?
Report comment to moderator  
Reply With Quote
Unread 02/27/20, 11:05 AM  
wizzard2k

Forum posts: 0
File comments: 75
Uploads: 0
Originally Posted by SneakyWitchTheif
Lovely addon, but the TTC prices are far too low. Could we get an option for using MM prices via libprice?
TTC Suggested by default is the lowest 30% of listings, minus 20%, so it will always be lower than most markets.

by changing the lines such as
Code:
	reagents[30148][2] = TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice
to

Code:
	reagents[30148][2] = LibPrice.ItemLinkToPriceGold("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h")
and making the addon dependent on libprice would give the option for the user to set their own preference, and even add the option to overload the above changed command to specify a source as an optional argument 2
Report comment to moderator  
Reply With Quote
Unread 02/27/20, 12:03 PM  
Hyperioxes
 
Hyperioxes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 69
Uploads: 11
Originally Posted by wizzard2k
Originally Posted by SneakyWitchTheif
Lovely addon, but the TTC prices are far too low. Could we get an option for using MM prices via libprice?
TTC Suggested by default is the lowest 30% of listings, minus 20%, so it will always be lower than most markets.

by changing the lines such as
Code:
	reagents[30148][2] = TamrielTradeCentrePrice:GetPriceInfo("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h").SuggestedPrice
to

Code:
	reagents[30148][2] = LibPrice.ItemLinkToPriceGold("|H0:item:30148:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h")
and making the addon dependent on libprice would give the option for the user to set their own preference, and even add the option to overload the above changed command to specify a source as an optional argument 2
Right now I'm working on multi language support but after I'm done with that I'll look into libprice and try to create some settings with options to pick between TTC, MM or ATT.
Report comment to moderator  
Reply With Quote
Unread 03/19/20, 05:50 AM  
t.vicson
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 4
I apologize, but in my opinion it looks better. Can you do that?
Last edited by t.vicson : 03/19/20 at 06:03 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: