Quantcast
Download
(67 Kb)
Download
Updated: 02/26/17 05:33 PM
Pictures
File Info
Compatibility:
Homestead (2.7)
Updated:02/26/17 05:33 PM
Created:02/12/17 08:54 PM
Monthly downloads:1,302
Total downloads:1,310
Favorites:8
MD5:
2.7
WritWorthy  Updated less than 3 days ago!
Version: 2.7.7
by: ziggr [More]
Is this Master Writ worth doing?

Most writs consume less than 1000g worth of materials for each writ voucher they return. But some consume 4000g+ materials per voucher and are probably not worth doing.

Shopping guild stores for Master Writs? Which is cheaper, 700,000g for a 72-voucher writ, or 400,000g for a 45-voucher writ? Sure, you could do division in your head or with a calculator. Or let the computer tell you (it's the 400,000g/45-voucher writ, just barely).

This add-on adds text to each Master Writ's tooltip, showing the total material cost, purchase price (if any), and the cost per writ voucher reward.


Not interested in writs that require something that you cannot craft?

This add-on shows big red warnings when writ requires a motif, trait, or recipe that the current character does not yet know.


It also dumps a complete material list to chat.


Requires Master Merchant for material prices.

Thank you to CraftStore Fixed and Improved and ESO Master Recipe List for some internal glyph and recipe item_id tables that saved me a couple hours of work.

--Z
2.7.6 2017-02-25
  • Stop crashing auf Deutsch. When building recipe ingredient lists out of ZOS-returned data, use item links, not names, as element keys. All WritWorthy text is still in US English. The only change here is that it can run correctly when the ESO client is set to German.

2.7.6 2017-02-25
  • Survive without Master Merchant. If missing, or if its database lacks some required materials, display "?g" for "unknown amount of gold" and don't count materials costs when calculating per-voucher cost.

2.7.5 2017-02-24
  • Add big red text to tooltip if current character cannot craft the required item due to missing motif, traits or recipe.

2.7.4 2017-02-20
  • Add a table of recipes to Provisioning so that the provisioning writs can show a material list even if the current character does not know the required recipe. Fixes "Recipe not found" errors for such writs.

2.7.3 2017-02-16
  • Settings UI: checkbox to enable/disable material list dump to chat. Too much clutter in the chat window.
  • Bugfix: Alchemy materials had poison/potion = Alkahest/Lorkhan's Tears swapped.

2.7.2 2017-02-14
  • Replace string matching with item_link parsing

2.7.1 2017-02-12
  • First release. Uses string matching that worked only for US English clients.
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Author
Date
2.7.6
67kB
ziggr
02/25/17 05:01 PM
2.7.5
66kB
ziggr
02/24/17 11:13 PM
2.7.4
68kB
ziggr
02/20/17 02:57 PM
2.7.3
55kB
ziggr
02/16/17 03:44 PM
2.7.2
19kB
ziggr
02/15/17 12:12 AM
2.7.1
17kB
ziggr
02/12/17 08:54 PM


Post A Reply Comment Options
Unread Yesterday, 12:09 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 249
File comments: 480
Uploads: 6
Re: Re: provisioning

Originally Posted by ziggr
Originally Posted by Tonyleila
Coud you also make it so that you can press SHIFT / CMD to show the price as if the addon only uses the MM Data of the last 10 or 3 days? (same way MM is doing it with the tooltips)
Neat idea. I'll have to ponder that one a bit more. Requires that I change how I tap into tooltip display events.
Sound like you already work on it

I have 2 other ideas:

You coud subtract the money you get back for giving in the writ into the calculation: Its always 332 gold, no matter profession or amount of wits. Currently not much with the lowest price wit I have seen for 8k but coud be interesting later when you get the wites for less then 2k..

And it woud be neat if the MM price had an extra line showing how much gold get for each voucher if you woud sell it in the guild store, this way I coud decide it its worth to sell the wite or do it even if the mats are expensive
__________________
My Addons @ WoWInterface
Last edited by Tonyleila : 02/27/17 at 12:17 PM.
Report comment to moderator  
Reply With Quote
Unread Yesterday, 10:25 AM  
Vaddi

Forum posts: 0
File comments: 1
Uploads: 0
Unknown Motif Warning Not Showing Until Logout/Login

I have a Blacksmith Master Writ with these requirements:
Rubedite Gauntlets
Epic
Training
Death's Wind
Trinimac

I do not know the Trinimac motif for gloves. However; I was not getting the red warning message. I logged out and back in and the warning message now shows up. I have not seen this happen with other writs.

This is a great add-on. Thanks for creating it.
Report comment to moderator  
Reply With Quote
Unread 02/26/17, 05:37 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 26
Uploads: 5
Re: provisioning

Originally Posted by Tonyleila
When I hoover my provisioning writ it can't calculate it.. the error: "indedient not known: Bervezsaft" (german for "Bervez Juice") same for "surilietrauben" a normal white cooking indegient.
Fixed. 2.7.7 just uploaded. Leftovers from when I maintained my own recipe/ingredient list, all in English. Code now uses itemLink instead.

Originally Posted by Tonyleila
Coud you also make it so that you can press SHIFT / CMD to show the price as if the addon only uses the MM Data of the last 10 or 3 days? (same way MM is doing it with the tooltips)
Neat idea. I'll have to ponder that one a bit more. Requires that I change how I tap into tooltip display events.
Report comment to moderator  
Reply With Quote
Unread 02/26/17, 06:04 AM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 249
File comments: 480
Uploads: 6
provisioning

When I hoover my provisioning writ it can't calculate it.. the error: "indedient not known: Bervezsaft" (german for "Bervez Juice") same for "surilietrauben" a normal white cooking indegient.

Coud you also make it so that you can press SHIFT / CMD to show the price as if the addon only uses the MM Data of the last 10 or 3 days? (same way MM is doing it with the tooltips)
__________________
My Addons @ WoWInterface
Last edited by Tonyleila : 02/26/17 at 12:05 PM.
Report comment to moderator  
Reply With Quote
Unread 02/25/17, 05:04 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 26
Uploads: 5
Re: Lots of errors

I just uploaded 2.7.6 that appears to work even if Master Merchant is not installed, or if MM is installed but does not have prices for some items.

WritWorthy now works even without MM, so you can still get a useful per-voucher price for guild store purchases, as well as big red warnings for unknown motif/traits/recipe.

Thank you @CFMcghee for the bug report and suggestions.

--Z
Report comment to moderator  
Reply With Quote
Unread 02/25/17, 09:20 AM  
CFMcghee
 
CFMcghee's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Suggestion

Short fix: Add a check for a nil or 0 value for material cost, then display a short 'No Data' in the tooltip.

Medium fix: add an option to disable Master Merchant pricing, leaving just the knowledge portion of the tooltip.

Long fix: Change to use Tamriel Trade Center (TTC) instead of Master Merchant (MM). MM tracks completed sales of your guild(s). TTC tracks what is for sale on any Guild Trader you visit (items searched for and/or a complete scan).

Right now this addon is limited to those player who are in a guild with healthy selling, and is dependent on MM. You should tag it as MM dependent, and add a short sentence on the addon front page that lets the players know of the dependency of robust MM data.

Again, thanks for your awesome work on this addon, I really look forward to using it to pick which writs to do!
Report comment to moderator  
Reply With Quote
Unread 02/25/17, 02:05 AM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 26
Uploads: 5
Re: Lots of errors

Originally Posted by CFMcghee
Getting tons of errors whenever I mouse over master Writs on the Guild trader.

user:/AddOns/WritWorthy/WritWorthy_Alchemy.lua:321: attempt to index a nil value
stack traceback:
user:/AddOns/WritWorthy/WritWorthy_Alchemy.lua:321: in function 'Parser:ToMatList'
user:/AddOns/WritWorthy/WritWorthy.lua:60: in function 'WritWorthy.ToMatKnowList'
user:/AddOns/WritWorthy/WritWorthy.lua:155: in function 'WritWorthy.TooltipInsertOurText'
user:/AddOns/WritWorthy/WritWorthy.lua:211: in function 'SetTradingHouseItem'
EsoUI/Ingame/Inventory/InventorySlot.lua:1990: in function '(anonymous)'
EsoUI/Ingame/Utility/ZO_SlotUtil.lua:14: in function 'RunHandlers'
EsoUI/Ingame/Inventory/InventorySlot.lua:2190: in function 'ZO_InventorySlot_OnMouseEnter'
ZO_TradingHouseItemPaneSearchResults1Row1_MouseEnter:3: in function '(main chunk)'

For Writ |H1:item:119700:6:1:0:0:0:239:29:9:6:0:0:0:0:0:0:0:0:0:0:20000|h|h

And WritWorthy writes "MM not found: Beetle Scuttle" in chat.

I just installed Master Merchant, so could this error be from no MM data for Beetle Scuttle? I'm getting errors all over the place for Master Writs with chat messages of "MM not found: XXXXX".
Yeah, this add-on falls apart if any of the required materials lack a Master Merchant average. It's impossible to come up with a materials cost without M.M. estimates.

I could test with a blank M.M. database and figure out what to do in that case. Price estimates are impossible, but I could at least divide the purchase price by vouchers, and display any unknown trait/motif/etc warnings.

Originally Posted by CFMcghee
Additionally, I am not seeing any tooltip color change for trait/motif not known.
The only addons I have enabled were Master Merchant and WritWorthy
You won't with 2.7.5, until you've accumulated enough M.M. data to provide useful prices for materials. The red "Motif not known." text is appended after the price, and since the price errored out, the motif-checking code never got a chance to add to the tooltip.

Thank you for the bug report, and the item link!
Report comment to moderator  
Reply With Quote
Unread 02/25/17, 12:42 AM  
CFMcghee
 
CFMcghee's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Lots of errors

Getting tons of errors whenever I mouse over master Writs on the Guild trader.

user:/AddOns/WritWorthy/WritWorthy_Alchemy.lua:321: attempt to index a nil value
stack traceback:
user:/AddOns/WritWorthy/WritWorthy_Alchemy.lua:321: in function 'Parser:ToMatList'
user:/AddOns/WritWorthy/WritWorthy.lua:60: in function 'WritWorthy.ToMatKnowList'
user:/AddOns/WritWorthy/WritWorthy.lua:155: in function 'WritWorthy.TooltipInsertOurText'
user:/AddOns/WritWorthy/WritWorthy.lua:211: in function 'SetTradingHouseItem'
EsoUI/Ingame/Inventory/InventorySlot.lua:1990: in function '(anonymous)'
EsoUI/Ingame/Utility/ZO_SlotUtil.lua:14: in function 'RunHandlers'
EsoUI/Ingame/Inventory/InventorySlot.lua:2190: in function 'ZO_InventorySlot_OnMouseEnter'
ZO_TradingHouseItemPaneSearchResults1Row1_MouseEnter:3: in function '(main chunk)'

For Writ |H1:item:119700:6:1:0:0:0:239:29:9:6:0:0:0:0:0:0:0:0:0:0:20000|h|h

And WritWorthy writes "MM not found: Beetle Scuttle" in chat.

I just installed Master Merchant, so could this error be from no MM data for Beetle Scuttle? I'm getting errors all over the place for Master Writs with chat messages of "MM not found: XXXXX".

Additionally, I am not seeing any tooltip color change for trait/motif not known.
The only addons I have enabled were Master Merchant and WritWorthy
Last edited by CFMcghee : 02/25/17 at 12:55 AM.
Report comment to moderator  
Reply With Quote
Unread 02/24/17, 11:22 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 26
Uploads: 5
Re: Suggestion for mod addition

Originally Posted by CFMcghee
Something that I also have to consider when accepting a writ is 'Do I know the traits/style needed for the item requested. It would be nice if the tooltip text was colored red for traits/styles I do not know.
Done. Just uploaded 2.7.5 which includes big red warnings if your character lacks the required knowledge to craft this item. Even checks that you have enough traits for Julianos or Kagrenacs or whatever.
Report comment to moderator  
Reply With Quote
Unread 02/23/17, 06:13 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 26
Uploads: 5
Re: Suggestion for mod addition

Originally Posted by CFMcghee
Thanks for your work!

Something that I also have to consider when accepting a writ is 'Do I know the traits/style needed for the item requested. It would be nice if the tooltip text was colored red for traits/styles I do not know.

Not sure how much work this would require though...just a though.
Excellent idea. Added to my to-do list:
  • traits you do not yet know
  • motifs you do not yet know
  • set pieces that you to not know enough traits to craft
  • recipes you do not know

--Z
Report comment to moderator  
Reply With Quote
Unread 02/23/17, 01:04 PM  
CFMcghee
 
CFMcghee's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Suggestion for mod addition

Thanks for your work!

Something that I also have to consider when accepting a writ is 'Do I know the traits/style needed for the item requested. It would be nice if the tooltip text was colored red for traits/styles I do not know.

Not sure how much work this would require though...just a though.
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 09:32 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 26
Uploads: 5
Re: UI Error - Writ Worthy 2.7.4 Upon Opening Crafting Writ Payoff Container

Originally Posted by Shadowshire
The following UI Error message has been displayed twice yesterday, when my PC delivered a completed Crafting Writ and opened the payoff container (e.g., Alchemists Vessel) which included a Sealed Master Wrti:

http://imgur.com/a/s15iG
Probably a mistyped glyph ID in my glyph-to-materials table.
I've added some debugging dumps around this code to tell me which glyph I screwed up.

Uploaded to GitHub: WritWorthy_Enchanting.lua

Give it a try, and next time you see "Glyph not found:nnnnn" send me the glyph ID.

I'll also continue to see if I can make it happen on my end (so far, nope).

Or you could just right-click the crash-inducing Master Writ, "Link in chat", then copy the linked item from chat and paste it here. That link should be enough for me to chase down the bug.

--Z
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 06:46 PM  
Shadowshire

Forum posts: 1
File comments: 14
Uploads: 0
Originally Posted by ziggr
Originally Posted by Rushinator
Hey, like the addon! Another great one from you
Thanks!

Originally Posted by Rushinator
"WritWorthy: 323 recipe names loaded.
recipe not found:"68251"
AHA! I just figured out the cause of this. Your character does not know the required recipe. This bug has been gnawing at me for a couple days now.

Either I embed a list of all 554 recipes into the add-on, or I figure out an API that lets me scan recipes that the current character does not yet know. Working on it.

--Z
Can you just change the message to: "Character Does Not Know Required Recipe" ??
__________________
---- Shadowshire ..... nil carborundum illegitimi
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 06:38 PM  
Shadowshire

Forum posts: 1
File comments: 14
Uploads: 0
Arrow UI Error - Writ Worthy 2.7.4 Upon Opening Crafting Writ Payoff Container

The following UI Error message has been displayed twice yesterday, when my PC delivered a completed Crafting Writ and opened the payoff container (e.g., Alchemists Vessel) which included a Sealed Master Wrti:

http://imgur.com/a/s15iG
__________________
---- Shadowshire ..... nil carborundum illegitimi
Report comment to moderator  
Reply With Quote
Unread 02/19/17, 06:06 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 26
Uploads: 5
Originally Posted by Rushinator
Hey, like the addon! Another great one from you
Thanks!

Originally Posted by Rushinator
"WritWorthy: 323 recipe names loaded.
recipe not found:"68251"
AHA! I just figured out the cause of this. Your character does not know the required recipe. This bug has been gnawing at me for a couple days now.

Either I embed a list of all 554 recipes into the add-on, or I figure out an API that lets me scan recipes that the current character does not yet know. Working on it.

--Z
Last edited by ziggr : 02/19/17 at 07:17 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: