Quantcast
Download
(71 Kb)
Download
Updated: 04/04/17 05:06 PM
Pictures
File Info
Compatibility:
Homestead (2.7)
Updated:04/04/17 05:06 PM
Created:02/12/17 08:54 PM
Monthly downloads:959
Total downloads:2,946
Favorites:19
MD5:
2.7
WritWorthy
Version: 2.7.10
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 optionally dumps a complete material list to chat. Surprisingly useful when filling Alchemy writs.


Reporting Errors
WritWorthy now writes a small debugging log to SavedVariables\WritWorthy.lua. This should help me identify what it is about the master writ that triggers a bug in WritWorthy. Please send (or upload to imgur or gist.github.com or whatever):
  1. screenshot of the offending writ. You might have to move a UI Error dialog out of the way to make the shot.
  2. /reloadui to cause the log to write to SavedVariables
  3. [i]SavedVariables\WritWorthy.lua[\I]


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.10 2017-04-04
  • Option to fall back to hardcoded prices for common style and trait materials.

2.7.9 2017-03-22
  • AHA Found the "Trait not known" bug for medium armor: when a writ required a trait for some medium armor piece (such as belt), WritWorthy erroneously checked the light armor piece (such as sash).

2.7.8 2017-03-22
  • Debug log: records details about the 20 most recent writs. If there's a problem with a writ, send a screenshot of the offending writ (or the UI error), and a screenshot of the writ that caused the problem. This ought to help me figure out what's going wrong.

2.7.7 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 (9)
File Name
Version
Size
Author
Date
2.7.9
69kB
ziggr
03/23/17 12:40 AM
2.7.8
69kB
ziggr
03/23/17 12:08 AM
2.7.7
67kB
ziggr
02/26/17 05:33 PM
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 04/09/17, 06:24 PM  
Shadowshire

Forum posts: 1
File comments: 23
Uploads: 0
Originally Posted by ziggr
Originally Posted by MagiczneTornado
Hardcode it maybe?
Done.

I just uploaded version 2.7.10, which will fall back to hardcoded prices if there is no MM data. Hardcoded prices supplied for the basic style materials: 15g, and non-nirncrux trait materials: 5g.

There is a UI option to enable/disable this fallback, default off.

If you wish to change the default prices, or add more, edit the table in WritWorthy_Price.lua.

--Z
There is almost certainly one or more API functions that fetech data about any item in the game. So you could use one to fetch the vendor Gold Piece value of anything that can be sold to a NPC vendor, when a price is not available from Master Merchant. FWIW, I cannot recall anything that I can sell via a Guild Store that I cannot sell to a vendor, and anything bound to a player's account can be sold only to a vendor, if it can be sold at all. (For example, items bought from the Crown Store cannot be sold in-game, traded, transferred via e-mail message, or deposited to a guild's or to another player's bank account.)
__________________
---- Shadowshire ..... nil carborundum illegitimi
Report comment to moderator  
Reply With Quote
Unread 04/04/17, 10:26 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 40
Uploads: 5
Originally Posted by Moosetrax
Is there any chance you might be willing to make it compatible with Tamriel Trade Centre for those of us who use it instead of MM?
It's a possibility. This is the second or third time somebody has asked for TTC support. Fellow players in my trade guilds use TTC and love it.

Probably not anytime soon though.

--Z
Report comment to moderator  
Reply With Quote
Unread 04/04/17, 09:07 PM  
Moosetrax
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 100
Uploads: 1
Hey Ziggr, This looks like a very useful mod!

Is there any chance you might be willing to make it compatible with Tamriel Trade Centre for those of us who who use it instead of MM?

I understand it's probably a lot of extra work, so if the answer is no there are no hard feelings.
Report comment to moderator  
Reply With Quote
Unread 04/04/17, 05:09 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 40
Uploads: 5
Originally Posted by MagiczneTornado
Hardcode it maybe?
Done.

I just uploaded version 2.7.10, which will fall back to hardcoded prices if there is no MM data. Hardcoded prices supplied for the basic style materials: 15g, and non-nirncrux trait materials: 5g.

There is a UI option to enable/disable this fallback, default off.

If you wish to change the default prices, or add more, edit the table in WritWorthy_Price.lua.

--Z
Report comment to moderator  
Reply With Quote
Unread 04/04/17, 04:13 AM  
MagiczneTornado

Forum posts: 33
File comments: 188
Uploads: 0
Originally Posted by ziggr
Originally Posted by MagiczneTornado
Noticed that recently a lot of master writs started causing WritWorthy to show "?" as mat total. Found out its a side effect of me cleaning up MM history.
Correct. If there is no M.M. estimate for a material, then WritWorthy cannot calculate an estimate for materials cost. Once your guild's store accumulates some sales history for these items the price estimate will again have useful data.

There is no UI for entering your own price estimates; that would exceed the scope of this little add-on. Nor is there UI for other sources such as Tamriel Trade Centre.

Sorry.

Hardcode it maybe?


If

no MM value for <item_name>

and

<item_name> == <cheap style mat> or <cheap trait stone not even worth selling>

then

value = <0, 15, ... anything >
is_incomplete = true

end


That additional is_incomplete flag could be used to trigger short information in MasterWrit tooltip "pricing based on incomplete information, missing data on <item_name>
This way WritWorthy will generate any output at all, instead of "?"
__________________
Darg's Crafting Emporium - @DargusMaximus - [PC][NA]
- Crafting custom furniture - over 550 items avaliable, check out my catalogue
- Custom crafted equipment - 100% motifs know, 9/9 trait in everything, can make any item and enchant it, more information about ordering
- Tanking, Trials, PVE dungeons guides - check out my youtube channel
Last edited by MagiczneTornado : 04/04/17 at 04:18 AM.
Report comment to moderator  
Reply With Quote
Unread 04/03/17, 02:06 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 40
Uploads: 5
Originally Posted by MagiczneTornado
Noticed that recently a lot of master writs started causing WritWorthy to show "?" as mat total. Found out its a side effect of me cleaning up MM history.
Correct. If there is no M.M. estimate for a material, then WritWorthy cannot calculate an estimate for materials cost. Once your guild's store accumulates some sales history for these items the price estimate will again have useful data.

There is no UI for entering your own price estimates; that would exceed the scope of this little add-on. Nor is there UI for other sources such as Tamriel Trade Centre.

Sorry.
Report comment to moderator  
Reply With Quote
Unread 04/03/17, 07:56 AM  
MagiczneTornado

Forum posts: 33
File comments: 188
Uploads: 0
Noticed that recently a lof of master writs started cuasing WritWorthy to show "?" as mat total. Found out its a sideffect of me cleaning up MM history.

It seems that there is no system in place that handles exception which occurs when item required to craft master writ item was never sold and has no entry in user MM history.

This results in mentioned above "?" mats to craft writ and makes calculating gold/voucher in guild traders use default Listing price/vouchers.

Imo in cases like that, when some basic item that often is not worth selling (basic style stones, unwanted trait items, rarely used enchanting essence runestones) addon should assume some arbitrary value (could be vendor value) just for sake of finishing calculations and give more or less accurate result.
__________________
Darg's Crafting Emporium - @DargusMaximus - [PC][NA]
- Crafting custom furniture - over 550 items avaliable, check out my catalogue
- Custom crafted equipment - 100% motifs know, 9/9 trait in everything, can make any item and enchant it, more information about ordering
- Tanking, Trials, PVE dungeons guides - check out my youtube channel
Last edited by MagiczneTornado : 04/03/17 at 08:39 AM.
Report comment to moderator  
Reply With Quote
Unread 04/03/17, 02:47 AM  
Shadowshire

Forum posts: 1
File comments: 23
Uploads: 0
Re: Re: UI Errors - Writ Worthy 2.7.9

Originally Posted by ziggr
1. That first UI error from within Util.Fail(). Yeah, I guess I could see how that might happen? I'll try a few things.

2. I can see "Glyph not found:0" in the chat window for the first error. VERY bizarre that the master enchanting writ lacks an actual enchanting glyph as a requirement. Good golly I'd like to get a look at the itemLink for that sealed enchanting writ.
That might have been the Master Enchanting Writ which required the Hakeijo Prismatic Essence Rune, which is obtainable only in Imperial City (Cyrodiil), or by buying one via Guild Store / Guild Trader from a player who obtained one there. They tend to be rare and expensive. You can find more about it:

http://benevolentbowd.ca/games/esotu...-list/#essence

I had never seen it on any other list and knew nothing about it until the Master Enchanting Writ required a Glyph of Prismatic Defense.

Originally Posted by ziggr
3. That second UI error in Alchemy.ToReagent3List() has me fully baffled. Looks like I failed to discover the required potion/poison effects from the Sealed Alchemy Writ. Good golly I'd like to get a look at the itemLink for that one, too.
Some Master Alchemy Writ "poisons" are actually potions made with three herbs. The potion usually has at least two positive effects, but it will also have at least one ravaging or other poisonous effect, too. Again, I've been in uncharted territory with Alchemy Master Crafting writs in general.

As to why some combinations are described as "potions" and others as "poisons", only the ESO devs know -- if they have consistent criteria, then that would be surprising. On the face of it, the distinction would be made by the Solvent (water or oil), but that is not consistently the distinction in naming the Master Writs. I have no idea as to what the "item link" would be for any ESO item(s) or how anyone would discover it.

Originally Posted by ziggr
4. Those line numbers in the second UI do not match the code in WritWorthy 2.7.9. Looks like that Alchemy.ToReagent3List() error is from WritWorthy 2.7.7. You'd probably get the same error in 2.7.9, just different line numbers.

--Z
That screenshot might have been taken while 2.7.7 was installed, but after I installed 2.7.9 the UI Error dialogs continued, so I made a screenshot for some of them, too.

Thank you for your time and attention to these issues.
__________________
---- Shadowshire ..... nil carborundum illegitimi
Last edited by Shadowshire : 04/03/17 at 02:59 AM.
Report comment to moderator  
Reply With Quote
Unread 03/29/17, 10:02 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 40
Uploads: 5
Re: UI Errors - Writ Worthy 2.7.9

Originally Posted by Shadowshire
The following Imgur album has two images of two respective UI Error dialogs which were displayed when I opened a crafting reward container that included a Sealed Master Crafting Writ:

http://imgur.com/a/XcGf0

I do not have a GitHub account, and no other way to upload a copy of the Saved Variables file.
1. That first UI error from within Util.Fail(). Yeah, I guess I could see how that might happen? I'll try a few things.

2. I can see "Glyph not found:0" in the chat window for the first error. VERY bizarre that the master enchanting writ lacks an actual enchanting glyph as a requirement. Good golly I'd like to get a look at the itemLink for that sealed enchanting writ.

3. That second UI error in Alchemy.ToReagent3List() has me fully baffled. Looks like I failed to discover the required potion/poison effects from the Sealed Alchemy Writ. Good golly I'd like to get a look at the itemLink for that one, too.

4. Those line numbers in the second UI do not match the code in WritWorthy 2.7.9. Looks like that Alchemy.ToReagent3List() error is from WritWorthy 2.7.7. You'd probably get the same error in 2.7.9, just different line numbers.

--Z
Report comment to moderator  
Reply With Quote
Unread 03/29/17, 08:46 PM  
Shadowshire

Forum posts: 1
File comments: 23
Uploads: 0
UI Errors - Writ Worthy 2.7.9

The following Imgur album has two images of two respective UI Error dialogs which were displayed when I opened a crafting reward container that included a Sealed Master Crafting Writ:

http://imgur.com/a/XcGf0

I do not have a GitHub account, and no other way to upload a copy of the Saved Variables file.
__________________
---- Shadowshire ..... nil carborundum illegitimi
Last edited by Shadowshire : 03/29/17 at 08:49 PM.
Report comment to moderator  
Reply With Quote
Unread 03/29/17, 11:13 AM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 40
Uploads: 5
Originally Posted by wambo
A writ for heavy legs in glass style is not showing a warning.

Both TraitBuddy and Craftstore are showing me that glass legs are unknown.
Yeah, I'm still trying to figure out why that happens sometimes.


Please help me figure out what's broken in WritWorthy:
  1. Make sure you have WritWorthy 2.7.9 (or newer if you're reading this months from now)
  2. make the bug happen: click/hover over the Sealed Writ to cause the tooltip to appear with the incorrect information.
  3. /reloadui This writes SavedVariables\WritWorthy.lua to disk.
  4. Send me SavedVariables\WritWorthy.lua If you cannot attach it to an esoui.com message, then upload it to gist.github.com or some other place.
Report comment to moderator  
Reply With Quote
Unread 03/29/17, 05:20 AM  
wambo

Forum posts: 6
File comments: 20
Uploads: 0
A writ for heavy legs in glasit style is not showing a warning.

Both TraitBuddy and Craftstore are showing me that glasit legs are unknown.
Report comment to moderator  
Reply With Quote
Unread 03/23/17, 12:41 AM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 40
Uploads: 5
WritWorthy 2.7.9 fixes

I had erroneously copied-and-pasted the light armor constants for trait research lines.

Spotted immediately thanks to shiny new debug log output.

Bug caused "Trait not known" if you really did know the trait for medium armor, but not light.
Bug caused no red "Trait not known" to appear if you did not know the trait for medium, but did know it for light.

--Z
Last edited by ziggr : 03/23/17 at 12:43 AM.
Report comment to moderator  
Reply With Quote
Unread 03/23/17, 12:11 AM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 40
Uploads: 5
WritWorthy 2.7.8 now includes debug logging

Just uploaded WritWorthy 2.7.8 which now includes useful debugging details in its SavedVariables\WritWorthy.lua file.

Next time things go wrong:
  1. Take a screenshot of the offending writ tooltip. Even if you have to move a UI Error dialog out of the way.
  2. /reloadui to write the SavedVariables file.
  3. Send a copy of SavedVariables/WritWorthy.lua . Do this before looking at a bunch of other writs, because the log only remembers the last 20 or so writs.

An example:

Code:
[18] = 
{
    [1] = "Consume to start quest:\nCraft a Rubedo Leather Belt; Quality:
           Legendary; Trait: Training; Set: Varen's Legacy; Style: Daedric",
    [2] = "|H0:item:121533:6:1:0:0:0:39:190:5:241:15:20:0:0:0:0:0:0:0:0
           :756800|h|h",
    [3] = "smithing",
    [4] = "request_item:39 Rubedo Leather Belt",
    [5] = "set_bonus:241",
    [6] = 
    {
        ["trait_ct"] = 7,
        ["name"] = "Varen's Legacy",
    },
    [7] = "trait:15",
    [8] = 
    {
        ["mat_name"] = "emerald",
        ["trait_index"] = 5,
        ["trait_name"] = "training",
    },
    [9] = "motif:20",
    [10] = 
    {
        ["mat_name"] = "daedra heart",
        ["motif_name"] = "Daedric",
        ["is_simple"] = true,
    },
    [11] = "improve:5",
    [12] = 
    {
        ["purple_mat_ct"] = 4,
        ["green_mat_ct"] = 2,
        ["blue_mat_ct"] = 3,
        ["gold_mat_ct"] = 8,
    },
    [13] = "motif book IsSmithingStyleKnown(20+1) = false",
==> [14] = "is_known:false name:motif Daedric lack_msg:Motif Daedric not
            known",
    [15] = "GetSmithingResearchLineInfo(skill=2, line=7) = sash",
    [16] = "GetSmithingResearchLineTraitInfo(skill=2, line=7, trait=5) =
           true",
==> [17] = "is_known:true name:trait training sash lack_msg:Trait training
           sash not known",
==> [18] = "known traits for GSRLTI(skill=2, line=7, trait_index=?):
            1 1 1 1 1 1 0 0 0",
==> [19] = "is_known:false name:7 traits for set bonus lack_msg:6 of 7 traits
            required for set Varen's Legacy",
},
Last edited by ziggr : 03/23/17 at 12:21 AM.
Report comment to moderator  
Reply With Quote
Unread 03/22/17, 05:33 PM  
ziggr
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 40
Uploads: 5
Originally Posted by wambo
I am not sure, whether this behaviour changed, but the Addon does not show a warning (anymore) for a style (Dwemer Bow for example) I cant craft yet, but got a writ for.
Definitely a bug. Somebody else also reported that the add-on was incorrectly reporting known motif pages.

I do not yet know why it happens. Sorry.

--Z
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: