Quantcast
Download
(6 Kb)
Download
Updated: 08/06/20 08:23 PM
Compatibility:
Greymoor (6.0.5)
Updated:08/06/20 08:23 PM
Created:06/15/20 08:51 PM
Monthly downloads:264
Total downloads:1,643
Favorites:9
MD5:
Aldanga's Lazier Writ Precrafter
Version: 1.7.0
by: Aldanga [More]
If you want to pre-craft daily writs, you've come to the right place! You can pre-craft daily writs of any level (or any combination of levels) and save yourself precious minutes while hopping between toons for dailies.

First up, this addon would not be possible without Dolgubon and LibLazyCrafting. Many thanks to him for his help in getting this addon (particularly the multicrafting) off the ground.

Commands
/scq without any parameters will queue the maximum number of rotations that will fit in your inventory.

/scq [multipler] will craft items for selected daily writs for the desired number of rotations. A rotation is a 3-day cycle for a particular profession. With all supported professions enabled, /scq will craft 37 total items. Crafting a set of 3 rotations (via /scq 3) would queue up 111 items to be crafted, so keep that in mind when queuing up rotations.

/clearqueue will clear the current character's queue.

Settings
You can enable (or disable) professions in the settings menu.

UI
There is currently no GUI, but I am open to suggestions.

Caveats
Things may get funky if you have autocraft enabled for Dolgubon's Lazy Writ Crafter while using Precrafter. I recommend disabling LWC autocraft if you're wanting to precraft.

Queued items are NOT saved to variables, so if you crash or otherwise log out, your queue will be gone.

If you enter a station without sufficient mats to craft the entirety of that station's queue, you will force-leave the station without crafting all of the items and without any obvious messaging from the addon. I intend to add messaging support (errors and warnings) in a future update, but I figured I might as well release this to the public since it's proved so useful to myself and my wonderful testers.

Support
If you run into problems or have suggestions not covered here, please provide feedback and I will try to be as helpful as possible.
[1.7.0] - 2020-08-06
----------
Added
- /scq command now will craft the max number of items based upon your current available inventory slots (passing a number will still limit crafting to that many rotations) Thanks, @Dolgubon!
- Ability to craft in any known style, thanks to LazyWritCrafter's free style choice option Thanks, @Dolgubon!
- Warning if you try to queue more rotations than you have available inventory slots
- /scqf command in case you want to force queuing without enough available inventory slots
- Basic chat messaging when you queue a rotation (or are prevented due to available slots)

[1.6.1] - 2020-06-16
----------
Fixed
- Missing LibAddonMenu-2.0 dependency declaration

[1.6.0] - 2020-06-15
----------
First public release
Archived Files (2)
File Name
Version
Size
Uploader
Date
1.6.1
6kB
Aldanga
06/16/20 08:57 PM
1.6.0
6kB
Aldanga
06/15/20 08:51 PM


Post A Reply Comment Options
Unread 01/21/21, 06:14 PM  
Aldanga
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 210
Uploads: 5
Originally Posted by Promethium
Does this addon support Alchemy and Provisioning crafting?

These are the only crafts that I would like to precraft at the moment, because these crafted items can be shared between characters.
The in-game settings only show enchanting and the 4 "major" crafting skills though, but not Alchemy or Provisioning.
Not at the moment. It's on my list as not having those precraftable adds a lot of time to my daily writ hopping.
Report comment to moderator  
Reply With Quote
Unread 01/21/21, 06:13 PM  
Promethium

Forum posts: 0
File comments: 5
Uploads: 0
Does this addon support Alchemy and Provisioning crafting?

These are the only crafts that I would like to precraft at the moment, because these crafted items can be shared between characters.
The in-game settings only show enchanting and the 4 "major" crafting skills though, but not Alchemy or Provisioning.
Report comment to moderator  
Reply With Quote
Unread 01/20/21, 10:52 PM  
Aldanga
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 210
Uploads: 5
Re: questions

Originally Posted by kooliloach
I just installed your addon and everything was going fine, I got the first station done (woodworking) but it only did about 1/3 rd of the second station (blacksmithing) so I figured I must be missing something and went onto the third station (clothing) and it didn't make anything all all.....I like the idea of making several items in advance for my 10 characters.... even with the Lazy Writ Crafter, it gets very tedious logging on each toon, doing their daily writs, logging off that specific toon, logging on each toon 1 at a time....I do have the assistants for the banker and merchant... As I understand it, your addon will help me create several of the items needed and let me deposit them in the bank (and withdraw them on other characters), and btw, what happens if some of my toons don't have the same skill (i.e. what if some use iron ingots, and others use steel ingots, etc.) ?
What likely happened is you ran out of whatever style stone was picked at the beginning of the crafting. Items are supposed to be able to dynamically change style stone on the fly, but there's an issue somewhere (either in here or LibLazyCrafting) that prevents that from happening after the queue is set. It's something I haven't been able to track down yet, and would likely require changes to LLC if I ever find the time to track down where that's happening.

If you run into that issue in the future and have enough crafting mats for the particular station (wood, leather, etc.), what you can do is check to see what style the items that did get crafted are in, and then buy more of that style mat from a crafting NPC. NPCs sell them for 15g each, and you can right click to buy more than one at once, up to 999 at a time, so the problem can be worked around rather quickly.

I'd like to be able to add some messaging around crafting issues, but I have very few hours every week to work on projects (5 hours if I'm lucky), and I have half a dozen addons, including ATT, plus other projects, that split that time. So I prioritize the things that impact the most people, and unfortunately this addon just isn't as popular as the others and often gets pushed to the back of the queue.



You can't create the items and deposit them into the bank to use on other toons. For writs involving gear, the items have to be created by the character turning in the crafting writ. What I do is craft multiple rotations at once, then leave those items on the character so I don't have to run to the crafting stations while I still have items in my inventory. This allows me to log in on a character, grab the writs from the board, then turn them in and log out again.

If you're doing writs on a bunch of characters, it saves a ton of time. You still have to go to the crafting stations on each character, but if you have lots of inventory space and queue multiple rotations, you'll only have to do that once every week or two. On days where I don't have to do any crafting, I can do writs on 18 characters in about 35-40 minutes (including loading screens).

The addon supports crafting items at any skill level, and will be able to determine which material to use to precraft writ items. However, like I said before, you can't share the quest items between characters; they have to be created on the character turning in the quest.

Hopefully that answers your questions. Please let me know if you have any others.
Report comment to moderator  
Reply With Quote
Unread 01/20/21, 10:34 PM  
kooliloach

Forum posts: 3
File comments: 4
Uploads: 0
questions

I just installed your addon and everything was going fine, I got the first station done (woodworking) but it only did about 1/3 rd of the second station (blacksmithing) so I figured I must be missing something and went onto the third station (clothing) and it didn't make anything all all.....I like the idea of making several items in advance for my 10 characters.... even with the Lazy Writ Crafter, it gets very tedious logging on each toon, doing their daily writs, logging off that specific toon, logging on each toon 1 at a time....I do have the assistants for the banker and merchant... As I understand it, your addon will help me create several of the items needed and let me deposit them in the bank (and withdraw them on other characters), and btw, what happens if some of my toons don't have the same skill (i.e. what if some use iron ingots, and others use steel ingots, etc.) ?
Report comment to moderator  
Reply With Quote
Unread 12/12/20, 09:42 PM  
Aldanga
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 210
Uploads: 5
Re: Maybe :-)

Originally Posted by Mandragorane
Just a thought,

would it be possible to put some markers on so I would know what I finished? I usually goof off and watch twitch or something and forget where I was lol :-(

Same for when all of them are used up so I know I have to craft again?

Anyhow just some brain farts.

Again this thing is amazing and saves me so much time !!!!!
I have the same problem sometimes, so I feel your pain.

I intend to add some new features (including an indication of queued/completed items), but I'm not sure when exactly they will come. Life's very busy and I've got other addons that I'm maintaining as well. But hopefully soon!
Report comment to moderator  
Reply With Quote
Unread 12/12/20, 12:34 PM  
Mandragorane

Forum posts: 0
File comments: 103
Uploads: 0
Maybe :-)

Just a thought,

would it be possible to put some markers on so I would know what I finished? I usually goof off and watch twitch or something and forget where I was lol :-(

Same for when all of them are used up so I know I have to craft again?

Anyhow just some brain farts.

Again this thing is amazing and saves me so much time !!!!!
Report comment to moderator  
Reply With Quote
Unread 12/07/20, 12:51 AM  
Mandragorane

Forum posts: 0
File comments: 103
Uploads: 0
Re: Re: Re: Enchantments

[quote=Mandragorane]
Originally Posted by Aldanga
Originally Posted by Mandragorane
Hi there,

When you say they don't sync with the dailies, what do you mean? Are the wrong glyphs being created, or are they just not crafted at all?
It creates the correct ones but somehow the daily crafting quest is not accepting them as the proper one on some characters. It could be that another addon I'm using messed with it when I crafted them through your addon. Let me clean out a character & I will double check with a new set and let you know. I just thought I missed something obvious
Update:

One of the recent game crashes must have corrupted something with my glyph id's. New set works perfect, had to decon old one. This addons is GREAT, saves me 30 min or so on writs everyday !!!!!
Report comment to moderator  
Reply With Quote
Unread 11/18/20, 03:57 PM  
Mandragorane

Forum posts: 0
File comments: 103
Uploads: 0
Re: Re: Enchantments

Originally Posted by Aldanga
Originally Posted by Mandragorane
Hi there,

what a cool addon. Took me a little to calibrate the quantities and settings for my usage but what at timesaver !!!! I love it. Ones I have all the bugs out I will time it properly but I think it can save me 15+ min on 18 alts.... ;-)

One thing my enchantments (glyphs) don't always sync with the dailies. Some characters do some don't. Is there something I'm missing?

TX !!
I'm glad it's useful! My personal record is about 30 minutes total for 18 characters.

When you say they don't sync with the dailies, what do you mean? Are the wrong glyphs being created, or are they just not crafted at all?
It creates the correct ones but somehow the daily crafting quest is not accepting them as the proper one on some characters. It could be that another addon I'm using messed with it when I crafted them through your addon. Let me clean out a character & I will double check with a new set and let you know. I just thought I missed something obvious
Report comment to moderator  
Reply With Quote
Unread 11/18/20, 12:33 PM  
Aldanga
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 210
Uploads: 5
Re: Enchantments

Originally Posted by Mandragorane
Hi there,

what a cool addon. Took me a little to calibrate the quantities and settings for my usage but what at timesaver !!!! I love it. Ones I have all the bugs out I will time it properly but I think it can save me 15+ min on 18 alts.... ;-)

One thing my enchantments (glyphs) don't always sync with the dailies. Some characters do some don't. Is there something I'm missing?

TX !!
I'm glad it's useful! My personal record is about 30 minutes total for 18 characters.

When you say they don't sync with the dailies, what do you mean? Are the wrong glyphs being created, or are they just not crafted at all?
Report comment to moderator  
Reply With Quote
Unread 11/18/20, 12:22 PM  
Mandragorane

Forum posts: 0
File comments: 103
Uploads: 0
Enchantments

Hi there,

what a cool addon. Took me a little to calibrate the quantities and settings for my usage but what at timesaver !!!! I love it. Ones I have all the bugs out I will time it properly but I think it can save me 15+ min on 18 alts.... ;-)

One thing my enchantments (glyphs) don't always sync with the dailies. Some characters do some don't. Is there something I'm missing?

TX !!
Last edited by Mandragorane : 11/18/20 at 12:23 PM.
Report comment to moderator  
Reply With Quote
Unread 06/17/20, 05:03 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3295
File comments: 4001
Uploads: 64
Maybe just take your foot off the pedal a bit when dealing with experienced developers.
Thanks for the feedback.

Please don't take my posts as an attack on your coding! It was not meant to harm you or your experience
I don't know you or your experience and actually I don't even care (sounds more rude than it's meant I guess).
It just makes no difference for me at all. Please take my post "as information".

If you knew this info already, ignore it. I'm totally fine with that and do not expect any positive feedback or thank you at all.
And most probably I wont ignore other feedback, to clear things up. As one does not get an notification here about posts in addo comments etc. it might be better to personally write me a PM, so I'm able to notice and answer.
If you din't know the info yet: Either use it, maybe even improve it with your experience, or ignore it

I just saw your "Caveats" entry and thought this might be a valuable info for you, without knowing if you did already or not (about the SavedVariables).

btw:
My time is limited as well and this is also a reason I do not check whom I'm writing the information to in advance.
Some names are known to me, others aren't/weren't yet.

Nor am I able to know, from the amounts or addons e.g., if a developer is experienced, and experienced within ESO lua especially.
I'm not scanning the whole code (exception: see below at LibStub), nor do I expect this to happen with my addons (as the code is awfull , and I'm no experienced developer myself, just a hobby developer).

Checking code for "LibStub"
My "windmills I'm fighting against" are old addon templates and LibStub usages. So all I do is check the txt file and the library calls in the addons, to hint the authors about the obsolete library LibStub.
And sometimes I find such missing lines like LibAddonMenu etc. while checking for LibStub.
Last edited by Baertram : 06/17/20 at 06:20 AM.
Report comment to moderator  
Reply With Quote
Unread 06/16/20, 09:40 PM  
Rhyono
AddOn Author - Click to view AddOns

Forum posts: 658
File comments: 1276
Uploads: 19
Baertram never tries to be insulting to other devs; he just tends to look at how things could be better and strives to steer it towards happening. I doubt he checks what people have been involved with before giving advice on the specific addon at hand.
Report comment to moderator  
Reply With Quote
Unread 06/16/20, 08:15 PM  
Aldanga
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 210
Uploads: 5
Originally Posted by Baertram
You say
But there is no settings menu via LibAddonMenu mentioned in the dependencies. You should add it as an optional info in your description!

*snip*
Thanks for letting me know about the missing dependency declaration. It was an unfortunate oversight as I added settings later in development and forgot to add the dependency to the manifest. I'll get that fixed.

While I appreciate your good intentions and thorough explanations, I'm well aware of how dependencies and the global table work. Given I have written or maintain relatively popular addons, I'd hope you'd give me the benefit of the doubt before spending time writing a rudimentary explanation of how to navigate through saved variables and modify them.

Sometimes other factors come into play when choosing features to include, like having a family with young children, a job, a farm, and other responsibilities. I decided, rather than to ignore the potential problems people might face or not release the addon, to simply let them know how they can work around them as my time is a very limited and precious resource, particularly during the summer months.

I appreciate all that you do on ESOUI, your libs, and how you respond to so many (sometimes ridiculous) posts on the forums here. You've been an invaluable resource to addon authors. Maybe just take your foot off the pedal a bit when dealing with experienced developers.
Last edited by Aldanga : 06/16/20 at 08:16 PM.
Report comment to moderator  
Reply With Quote
Unread 06/16/20, 06:15 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3295
File comments: 4001
Uploads: 64
You say
Settings
You can enable (or disable) professions in the settings menu.
But there is no settings menu via LibAddonMenu mentioned in the dependencies. You should add it as an optional info in your description!

It is referenced though inside your settings.lua file via the global library variable LibAddonMenu2.
This way it will fail to load properly as you do not assure the library, even IF present, was loaded BEFORE your addon was loaded!

To solve this you must add libraries, which CAN be loaded but MUSTN't, to the ## OptionalDependsOn: tag :

Code:
## DependsOn: LibLazyCrafting>=2996
## OptionalDependsOn: LibAddonMenu-2.0>=28
Version 2r28 was the one which introduced the global variable LibAddonMenu2
Last edited by Baertram : 06/16/20 at 06:17 AM.
Report comment to moderator  
Reply With Quote
Unread 06/16/20, 06:11 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3295
File comments: 4001
Uploads: 64
Hey thanks for the addon!
A hint:
I recommend disabling LWC autocraft if you're wanting to precraft.
As the settings are stored in the global SavedVariables tables, you are able to access them from your addon as well.
So maybe check the global table mentioned in DolgubonsLazyWritCrafter.txt at the ## SavedVariables: entry.
You are to inspect it via mer Torchbug ingame e.g. and see what entries are in there.
Depending on if they are characater settings, global account wide settings, settings for each server, etc. there are some subtables in the SV table, like

--Non server dependent
["default"] =
{
--subtables here
}


--Server dependent
["NA Megaserver"] =
{
--subtables here
}

and at the --subtables here entry there are tables for the current accountName e.g. ["@AccountName"] and below something like ["$AccoutnWide"] settings, or maybe something like ["81231312312321"] which is the unique character name, or if an old way of storing characters via their name is still used, you'll see ["Your character name"] there.

Below this there are stored the settings then where one would be the "Auto craft" setting. You can lookup the name of this var in Dolgubons LAM settings setFunc of this "Auto craft" entry e.g.

You would be able to use GetWorldName() for the server name, GetDisplayName() for the @AccountName, GetCurrentCharacterId() for the logged in characterId or GetUnitName("player") for your current character name (maybe you need to remove the gender specific stuff at the end of the character name! There sometimes exists a suffix like ^m or ^f for masculin or feminin. So use ZO_CachedStrFormat("<C:1>", GetUnitName("player")) to clean those up!

Maybe ask Dolgubon if this is allowed or if he provides an easy way to change the settings from your addon.
Else, if this is allowed, read the value, change it to false if true, do your addon stuff and rechange it back to true afterwards
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: