Download
(41 Kb)
Download
Updated: 05/04/23 03:00 AM
Pictures
File Info
Compatibility:
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Updated:05/04/23 03:00 AM
Created:07/11/21 04:18 AM
Monthly downloads:78
Total downloads:10,056
Favorites:19
MD5:
Caro's Pre-Crafter  Popular! (More than 5000 hits)
Version: 2.3.1
by: Irniben [More]
Disclaimer: All addons are used at your own risk. I try to test everything I upload extensively, but I am not responsible for any mats, items or gold you lose because something doesn't work as you thought it would.

Features:
  • Pre-craft items for alchemy and provisioning writs
  • Pre-craft items for your toons to research
  • Pre-craft user-defined alchemy and provisioning items


Accessing the addon
There are three ways to run the addon:
  1. Type /cpc in chat.
  2. Specify a keybind.
  3. Go to the addon’s settings and activate the buttons (highly recommended).

The chat command and keybind is context sensitive.
  • Use it at an alchemy or provisioning station to fill up your stacks.
  • Use it at the bank to transfer all items used for daily alchemy or provisioning writs to the bank.

Activating the addon’s buttons should be the prefered way to access it. The buttons will only show when they are actually needed and will give you some useful information via their tooltips.


This addon will never start to craft automatically, instead it will always wait for you to run it. This is intended to not interfere with lazy writ or anything similar.


Functions in detail

Pre-crafting writ items
If you're using Dolgubon's Lazy Writ to do your daily writs you probably have precrafted stacks of items used for alchemy and provisioning. This addon will help you keep those stacks filled.

In the addon's settings you can specify the stack size for food, potions and poisons. Please note that the addon will always assume that you use it on a char with the passive abilities to get 4 (or 16) items instead of one (resulting numbers might differ for that reason). Also note that the addon will only pre-craft writs for level 1 or 50. The addon will check your inventory and the bank for existing items and will only craft the missing ones. If you need writ items pre-crafted for other levels please add them as custom items (see below).

You can let the addon decide which combinations to use for alchemy or use the dropdown menus for each writ to use your favorite combinations. If you have LibPrice and a price addon (TTC/MM/ATT) installed you can also let the addon detect which combinations will be the cheapest at the moment and use those (use the button in the addon's options).




Pre-crafting research items
Go to the addon's settings and specify for which characters items should be pre-crafted and how many there should be in the bank/inventory. Use the CPC-buttons to precraft the items, deposit them in the bank and then start the research. If you want to use this function you should always use the addon to start the research. CPC will choose the pre-crafted items that will take the shortest amount of time. It will only use the pre-crafted level 1 items. If you manually start a research please note that any unnecessary items remaining in the bank have to be handled manually. This function requires CraftStore and LibLazyCrafting.


Pre-crafting custom items (alchemy and provisioning)
You can set up any provisioning and/or alchemy item to be pre-crafted via the addon’s settings. For alchemy items the addon will always use LibPrice to find the cheapest combination of ingredients the moment you craft the item. Please note, that this will only work for ingredients your current character has already learned.
You can add any alchemy or provisioning item you have in your bank or inventory. If you don't have it, just craft it once so you can add it to the list.





Languages: English / German

Depends on:
LibAddonMenu-2.0
LibCustomMenu

Optional depends on:
For auto-selection of ingredients and custom items:
LibPrice
For pre-crafting and analyzing research items:
CraftStore
LibLazyCrafting
- v.2.3.1.
-- fixed an issue with the new guild store restock button that could crash the client when trying to search an empty item list
-- added the option to directly add ingredients and items for writs (max level and level 1) to the restock list from the addon's settings

- v.2.3.0.
-- new feature: auto restock
---- CPC can buy runes and style motifs automatically on interacting with a vendor
---- you can add materials/items to a restock list and have a button attached to the guild store window that will automatically search for those items once the stacks you have in your bags falls below a certain amount
-- new dependency: LibCustomMenu

- v.2.2.1.
-- fixed an issue with level 1 items for alchemy (thanks to WalkerInTheVoid)
- v.2.2.0.
-- fixed a few issues with handling research items including the analayze button not being hidden or being hidden to early
-- added support for crafting jewelry research items (please check the settings)
-- added support for crafting nirnhoned research items (please check the settings. the addon will always try to craft armor before weapons)

- v.2.1.3
-- fixed an issue that could occur when analyzing items from the bank and trying to retrieve research items from the bank afterwards resulting in the wrong items being retrieved

- v.2.1.2:
-- fixed some issues that could occur when changing the number of research-items to a lower level or when deactivating research precrafting for toons that had it activated before (you don't need to reloadUI anymore)
-- added some more checks to the research precrafting routine to see if the user has manually started researches on a toon that were registered by CS but not by CPC

- v.2.1.1:
-- fixed an issue that could occur on some stations when cpc button wasn't active

- v.2.1.0:
-- when you activate the pre-crafted research items for a new toon you don't have to reload the ui anymore for it to work
-- tooltips for pre-crafting items now update during the crafting process
-- pushed the API version

- v.2.0.3:
-- fixed a minor issue that could occur when logging to your main crafter after destroying/deconstructing research items on your toons
-- pushed the API version

- v.2.0.2:
-- fixed an issue with alchemy pre-crafting

- v. 2.0.0:
-- added custom items for alchemy and provisioning
-- added buttons for all the function including tooltips (go to the settings to activate them)
-- added the option to pre-craft research items for your toons (see description for optional dependencies)
-- added German translation

- v. 1.0.0:
-- added options for level 1 writs (separate sliders in the options menu, one for each alliance)

- v. 0.4.0:
-- removed some incorrect tooltips from the option menu

- v. 0.3.0:
-- added the option to choose your favourite alchemy combinations
-- added the option to auto-choose the cheapest combinations (requires LibPrice + MM/ATT/TTC)

- v. 0.2.0:
-- removed two potions I included that are not needed (thanks to Snow for making me aware)
-- reduced the default stack size for potions to 100
Optional Files (0)


Archived Files (15)
File Name
Version
Size
Uploader
Date
2.3.0
40kB
Irniben
05/02/23 01:24 PM
2.2.1
36kB
Irniben
03/14/23 10:17 AM
2.2.0
35kB
Irniben
02/06/23 06:31 AM
2.1.3
32kB
Irniben
01/21/23 02:38 PM
2.1.2
32kB
Irniben
10/04/22 11:44 AM
2.1.1
32kB
Irniben
10/01/22 01:45 PM
2.1.0
32kB
Irniben
08/28/22 01:10 PM
2.0.3
31kB
Irniben
03/22/22 05:30 AM
2.0.2
31kB
Irniben
02/21/22 01:08 AM
2.0.0
31kB
Irniben
02/17/22 01:21 AM
1.0.0
8kB
Irniben
11/14/21 06:52 AM
0.4.0
7kB
Irniben
07/30/21 12:59 PM
0.3.0
7kB
Irniben
07/13/21 09:33 AM
0.2.0
5kB
Irniben
07/11/21 08:25 AM
0.1.0
5kB
07/11/21 04:18 AM


Post A Reply Comment Options
Unread 07/20/23, 11:19 AM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 210
File comments: 865
Uploads: 0
This addon absolutely saves my sanity. Thank you SO much.
Report comment to moderator  
Reply With Quote
Unread 07/20/23, 09:57 AM  
ChrisK

Forum posts: 0
File comments: 176
Uploads: 0
Wow! Thanks for the lightning fast response Irniben!

After some more testing, your addon is working properly and it was me going senile.

CPC's stack size was set (properly) to 200, and I had 198 items in the bank. Since crafting 1x potion would generate 4, your addon properly did not offer that option as it would go over the 200 stack size.

Thanks again for making such a fantastic addon

(This is on Live, English client)
Report comment to moderator  
Reply With Quote
Unread 07/20/23, 04:56 AM  
Irniben
 
Irniben's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 129
Uploads: 13
Originally Posted by ChrisK
Good Day!

With the last game update, the CPC buttons dont appear while at Alchemy stations. Also, typing /cpc doesn't yield any output to chat or craft anything while at an alchemy station.
Did you check the addon's settings? Maybe something in the saved varibles went missing and the button is deactivated or no main crafter is selected (or the wrong char for some reason). And are we talking about the live server or PTS?


Originally Posted by Inspector_Miles
Problem still exists.
https://imgur.com/a/vfyBOxL
https://imgur.com/nIS3A3q
https://imgur.com/a/U4xyR7r
See? I choose craft 3 items, but addon crafting only those where fewer traits are learned, and it's crafting mutually exclusive items.
I'm sorry. I will look into it, but I can't make any promises right now.
Report comment to moderator  
Reply With Quote
Unread 07/19/23, 06:47 AM  
ChrisK

Forum posts: 0
File comments: 176
Uploads: 0
Good Day!

With the last game update, the CPC buttons dont appear while at Alchemy stations. Also, typing /cpc doesn't yield any output to chat or craft anything while at an alchemy station.

Have unloaded 100% of other addons (except required libraries) but result the same. Exited ESO and then deleted the CarosPreCrafter.lua and re-set addon settings on next ESO launch but result the same. Exited ESO and then deleted the entire addon and re-installed but results the same.

Can you provide any suggestions on how to troubleshoot this?

Thanks for your help and for your awesome addons!

LibAddonMenu-2.0 version 2.0 r34
LibCustomMenu version 7.2.1
Report comment to moderator  
Reply With Quote
Unread 06/24/23, 09:33 AM  
Inspector_Miles

Forum posts: 0
File comments: 24
Uploads: 0
Problem still exists.
https://imgur.com/a/vfyBOxL
https://imgur.com/nIS3A3q
https://imgur.com/a/U4xyR7r
See? I choose craft 3 items, but addon crafting only those where fewer traits are learned, and it's crafting mutually exclusive items.
Last edited by Inspector_Miles : 06/24/23 at 09:39 AM.
Report comment to moderator  
Reply With Quote
Unread 05/03/23, 05:44 AM  
ChrisK

Forum posts: 0
File comments: 176
Uploads: 0
Irniben - love Pre-Crafter, it really improves life in ESO - thanks for the update!
Report comment to moderator  
Reply With Quote
Unread 05/02/23, 11:34 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Hi,

Is the research precraft possible accross 2 accounts?
As my account 1 is able to craft all kind of traits I'd like to craft items for a char of account 2.
Both accounts should be saving info to the SavedVariables so I hope this would be somehow possible.
Or is CraftStore not supporting this?
Report comment to moderator  
Reply With Quote
Unread 03/13/23, 11:27 AM  
WalkerInTheVoid

Forum posts: 0
File comments: 13
Uploads: 0
Noticed when I logged in after update that it immediately decided I was dangerously low on something and warned me. Apparently I'd gone to the trouble of tracking this down, it has to do with level 1 Alchemy writs, but didn't get to the part where I reported it here. My apologies.

So, in CarosPreCrafter.lua, line 338 needs to go from:
Code:
				local myLink = string.format(alchemyString, i, w)
to
Code:
				local myLink = string.format(alchemyString1, i, w)
so that it's formatting the string for a level 1 alchemy item, not a max level alchemy item.

cpc_bank.lua has a slightly more complicated change, lines 63-73 need to change from
Code:
		local function iterateWritAlternatives(theTable)
			for i, v in pairs(theTable) do
				for j, w in pairs(alchemyAlternatives[i]) do
					itemLinkList[string.format(alchemyString, i, w)] = true
				end
			end
		end
		
		if CarosPreCrafter.sV.desiredPois > 0 then iterateWritAlternatives(writPoison) end	
		if CarosPreCrafter.sV.desiredPot > 0 then iterateWritAlternatives(writPotion) end	
		if CarosPreCrafter.sV.desiredPot1 > 0 then	iterateWritAlternatives(writPotion1) end
to

Code:
		local function iterateWritAlternatives(alchString, theTable)
			for i, v in pairs(theTable) do
				for j, w in pairs(alchemyAlternatives[i]) do
					itemLinkList[string.format(alchString, i, w)] = true
				end
			end
		end
		
		if CarosPreCrafter.sV.desiredPois > 0 then iterateWritAlternatives(alchemyString, writPoison) end	
		if CarosPreCrafter.sV.desiredPot > 0 then iterateWritAlternatives(alchemyString, writPotion) end	
		if CarosPreCrafter.sV.desiredPot1 > 0 then	iterateWritAlternatives(alchemyString1, writPotion1) end
So that, once again, it checks for level 1 items using the level 1 string format and not the max level format. Thank you so much for this addon, it's been wonderful, and apologies for not reporting this before >_<
Report comment to moderator  
Reply With Quote
Unread 10/11/22, 01:28 PM  
Inspector_Miles

Forum posts: 0
File comments: 24
Uploads: 0
No, problem when i choose create 4/3/2/1 but addon create less count still exist, even after reloadui.
UPD: but it seems help if you change the quantity several times.
Last edited by Inspector_Miles : 10/11/22 at 01:34 PM.
Report comment to moderator  
Reply With Quote
Unread 10/11/22, 06:34 AM  
Inspector_Miles

Forum posts: 0
File comments: 24
Uploads: 0
I think the last problems are solved, but a new one came up. Addon create 2 frost staff with different traits, but impossible research 2 same items.
Report comment to moderator  
Reply With Quote
Unread 10/04/22, 11:50 AM  
Irniben
 
Irniben's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 129
Uploads: 13
Re: Crafts already researched trait items for toons

Originally Posted by Azrogart
I did notice that this addon crafts already reasearched traits for my toons.
This shouldn't happen. Are you sure that CraftStore has the correct data for those chars? If you for example force-shut down the game whithout logging out CS probably won't save all the data for the toon you were on before. Also make sure to use CPC to deposit the pre-crafted items into the bank and to start the research-process for them. That is the way it's supposed to and should work without any duplicates.

Originally Posted by Inspector_Miles
Hmm, i don't know what is the problem, but i choose 5 toons with 1 item for each profession. He create 4 item for Blacksmith and Woodworker, but only two for Clothier.
Still weird behaviour. Maybe it is a result of changing options without reloading the UI. I just updated those functions so the reload should no longer be necessary. Maybe the newest version (upload pending, v.2.1.2) will solve your issues as well.
Last edited by Irniben : 10/04/22 at 11:51 AM.
Report comment to moderator  
Reply With Quote
Unread 09/14/22, 03:00 AM  
Azrogart

Forum posts: 0
File comments: 8
Uploads: 0
Crafts already researched trait items for toons

Hi,

first off, this addon is real time saver thank you for that.

I did notice that this addon crafts already reasearched traits for my toons. Is there a way to force it to notice the already researched traits, to reduce the overhead on produced items?
Report comment to moderator  
Reply With Quote
Unread 09/06/22, 11:35 AM  
Inspector_Miles

Forum posts: 0
File comments: 24
Uploads: 0
Hmm, i don't know what is the problem, but i choose 5 toons with 1 item for each profession. He create 4 item for Blacksmith and Woodworker, but only two for Clothier.
Report comment to moderator  
Reply With Quote
Unread 09/05/22, 07:07 AM  
Inspector_Miles

Forum posts: 0
File comments: 24
Uploads: 0
Originally Posted by Irniben
Do you play ESO on more than one computer?
I have only one computer.
Report comment to moderator  
Reply With Quote
Unread 09/05/22, 12:58 AM  
Irniben
 
Irniben's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 129
Uploads: 13
Originally Posted by InsaneShad0w92
I have a suggestion for future update, for crafting research items for toons, could we get an option to exclude some traits? I don't want my toons to learn Nirhoned for example, 8 traits would be enough.
Sorry for the late response. That option doesn't exist for a simple reason: I excluded Nirnhoned completely from the addon. I figured that most people don't have that amount of nirncrux just sitting in ther crafting bag so I guessed nobody would need that trait to be pre-crafted automatically. If you need it it will propably be the last trait to learn, so you can still do that one manually. I was always thinking about adding an option to explicitly include that trait for certain toons - but I didn't want to put that much work into it until someone asks for this to be included. Same goes for jewelry.


Originally Posted by Inspector_Miles
Pre-crafting research items not always work right for me. Sometimes craft not with shortest amount of time. And sometimes i choose create one item for each toon, but addon not shown some of my toons, but then i choose create two items, it show those toons but with one item. And when choose create 4 items and then choose 1 item it still show 4 item until i did reloadui. Sorry for my bad english.
I'm sorry to hear that. I know about the reload-thing after lowering the amount. Everything else shouldn't happen. Two things I can think of: If you change the amount too often the addon might think that there are items already in the inventory of the toon until you login on that char. Try not to change that option too often. Do you play ESO on more than one computer? If you start an analysis on another computer then CraftStore won't know about it. So CPC will have false data for the research times.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: