Download
(10 Kb)
Download
Updated: 11/06/20 02:18 PM
Pictures
File Info
Compatibility:
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:11/06/20 02:18 PM
Created:10/19/18 04:08 PM
Monthly downloads:338
Total downloads:44,003
Favorites:68
MD5:
Categories:TradeSkill Mods, Auction House & Vendors, Utility Mods
AutoRefine  Popular! (More than 5000 hits)
Version: 0.9.1
by: ihause [More]
Addon refines raw materials (jewelrycrafting dust, blacksmithing, clothier and woodworking) automatically.
It calculates and saves between sessions the amount and probabilities of refined materials.

How to use:

Open craft station, press button "Auto Refine". Result wiil be printed in chat.

Results of several attempts sum up.

Addon can print raw materials prices suggestions according prices of refined mats, boosters and traits from Master Merchant, Tamriel Trade Center and Arkadius Trade Tools addons.

All price suggestions can be printed to chat by one key press (You need bind this in Binding menu)

Extra refining options: style materials, refine jewelry traits, refine jewelry boosters

Slash command /arstats for saved statistics and price suggestions were added, special thanks to Zed.

Key Bind was supported, special thanks to Baertram.


This addon depends on the following libraries:
-LibAddonMenu-2.0
-LibSlashCommander
-LibPrice

In new version:

1) Option "Start To Refining Automatically" was added. By default is false.


My plans:

1) UI for statistics.

Some words about Raw materials prices suggestions formula.

If you aren't friends with Math, just believe (or ignore) .

Suggestions are based on next assumptions:

- Probabilities don't depend on level of raw mats
- Probabilities have normal distribution
- Probability for refined materials equals 85%

For blacksmithing, clothier and woodworking prices are calculated for high level mats by formula:
K * SUM(TemperPrice * TemperProbability) + K * MatPrice * 0.85+ TK * SUM(TraitPrice * TraitProbability)

For other levels using general formula, because I usually sell this kind of mats to NPC. Let me know, if you need expanded print for low level mats.
K * SUM(TemperPrice * TemperProbability) + 4 (NPC price) * 0.85+ TK * SUM(TraitPrice * TraitProbability)

K = 0.78 = 1 - 0.08 (guild fee) - 0.1(margin) - 0.04(market instability) - you can change it in settings
TK = 0.7 = 1 - 0.08 (guild fee) - 0.1(margin) - 0.04(market instability) - 0.08 (discount for not popular item) you can change it in settings

For jewelrycrafting prices are calculated for all levels.

For Addon Authors

You can use
function AutoRefine:GetMMPrice(itemLink, itemType)
function AutoRefine:GetTTCPrice(itemLink, itemType)
function AutoRefine:GetATTPrice(itemLink, itemType)
in your code


P.S. Pardon my bad English
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Uploader
Date
0.9.0
9kB
ihause
06/03/20 02:45 PM
0.8.1
9kB
ihause
02/28/20 03:28 PM
0.8.0
9kB
ihause
09/20/19 03:38 PM


Post A Reply Comment Options
Unread 10/24/18, 01:37 PM  
fgoron2000

Forum posts: 0
File comments: 143
Uploads: 0
Originally Posted by ihause
This addon doesn't support style materials and jewelrycrafting grains and pulverized stuff refine,
because main purpose of addon to calculate probabilities for getting materials,
for style mats and grains is nothing to calculate.

There is addon "Multicraft", which can help, if you have many items of one type to refine.

Master Merchant addon needs for raw materials price suggestions.


Originally Posted by fgoron2000
this is a very cool addon, relief to my mouse button pressing finger...

...

edit:
Actually, when I went back to autorefine the Dwemer Scrap after posting this message, it does not refine at all with the autofunction. I expected a second pass to get it, but it didn't.

edit 2:
I noticed that there's a chat window message that says "There is not Master Merchant addon". Is that why the Dwemer didn't autorefine? I'm sure that many and maybe even most players who would use this with vending in mind, however, I would use it with obtaining refined mats for crafting in mind instead.
Multicraft is not what I'm looking for, that's for the automation of crafting items and has nothing to do with refining raw materials. This addon is related to refining raw materials, and that's what brought me here.

So, you're saying that the only things that this addon will refine are the actual blacksmithing, clothing, jewelry, and woodworking crafting raw materials? Leaving out the raw styling materials is not really a big deal because the raw mats for styling are usually in low volume anyway. But I would suggest that you clarify on your main page for this addon, that this is specifically for the raw crafting mats, which you do state, and not for autorefining the raw style mats which is not stated. I do think you'll want to state that in order to differentiate between the two, because some of the style mats are also raw materials that need to be refined in the same manner as the crafting mats. That way, others won't misunderstand as I did. Nevertheless, I will use this gladly, as the bulk of the mats needing refined are still the crafting mats.
Report comment to moderator  
Reply With Quote
Unread 10/25/18, 02:28 AM  
ihause
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
Originally Posted by fgoron2000
Multicraft is not what I'm looking for, that's for the automation of crafting items and has nothing to do with refining raw materials. This addon is related to refining raw materials, and that's what brought me here.

...
Ok. I will think about it. Maybe it will be option in settings menu, because I usually sell these items as is, without refining.
Report comment to moderator  
Reply With Quote
Unread 10/25/18, 12:33 PM  
fgoron2000

Forum posts: 0
File comments: 143
Uploads: 0
Originally Posted by ihause
Originally Posted by fgoron2000
Multicraft is not what I'm looking for, that's for the automation of crafting items and has nothing to do with refining raw materials. This addon is related to refining raw materials, and that's what brought me here.

...
Ok. I will think about it. Maybe it will be option in settings menu, because I usually sell these items as is, without refining.
I appreciate the consideration, and making it a settings option makes total sense. But even if you decide not to, and that's ok too...you really do want to specify on the main page that the style-type raw mats are not covered by this addon.

thanks once again, this is a great QoL addition to the game.
Report comment to moderator  
Reply With Quote
Unread 10/26/18, 04:19 AM  
SimplyArmin

Forum posts: 6
File comments: 43
Uploads: 0
Start config

First of all thanks for the addon, but can u please create an option to hide the start text: AutoRefine: Init?
Thanks
Report comment to moderator  
Reply With Quote
Unread 01/02/19, 10:33 AM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
AutoRefine Results

Made a screenshot of my results, maybe it helps anyone. Prices are PC eu but they are missing the Wax etc price in screenshot so I added that. It woud be nice if the addon did the math on buying mats to refine for wax VS selling raw mats and buying wax for it, therefore it woud need to check for the lowest raw price of non max level mat.. In my calculations below I however only check if its worth selling the raw max lvl mats vs refine and selling the result.



Wax price MM: 5258g
338400g to buy 14100 raw leather = 5548g per wax = 290g difference



Alloy price MM: 4252g
150840g to buy 8380 raw ore = 5387g per Alloy = 1135g difference



Resin price MM: 2281g
113580g to buy 6310 raw wood = 3786g per Resin = 1505g difference
Last edited by Tonyleila : 01/02/19 at 01:07 PM.
Report comment to moderator  
Reply With Quote
Unread 01/04/19, 07:47 AM  
ihause
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
Re: AutoRefine Results

Originally Posted by Tonyleila
Made a screenshot of my results, maybe it helps anyone. Prices are PC eu but they are missing the Wax etc price in screenshot so I added that. It woud be nice if the addon did the math on buying mats to refine for wax VS selling raw mats and buying wax for it, therefore it woud need to check for the lowest raw price of non max level mat.. In my calculations below I however only check if its worth selling the raw max lvl mats vs refine and selling the result.
You should check formula in addon description or addon settings menu, raw mats price incorporates not just gold material, but all materials, that can be refined. Usually people sell all refined materials. Formula also includes several coefficients for buy/sell profit. You can set these coefficents for your purposes.
Report comment to moderator  
Reply With Quote
Unread 01/21/19, 12:12 PM  
aodminc

Forum posts: 0
File comments: 6
Uploads: 0
anyway to speed up the refine process, i know i can refine faster pushing the R button. just curious if there is a way to speed it up in the addon? thanks for your work!
Report comment to moderator  
Reply With Quote
Unread 01/23/19, 01:52 PM  
ihause
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
Originally Posted by aodminc
anyway to speed up the refine process, i know i can refine faster pushing the R button. just curious if there is a way to speed it up in the addon? thanks for your work!
u can find line:
zo_callLater(doCraft, math.random(500, 1000)) in AutoRefine.lua
and try set 100, 500 instead 500, 1000 than reload ui
Last edited by ihause : 01/23/19 at 01:53 PM.
Report comment to moderator  
Reply With Quote
Unread 01/28/19, 08:40 AM  
Alexandriae

Forum posts: 0
File comments: 55
Uploads: 0
Hi, is it possible to add an option to disable the chat messages posted after refining materials?
Report comment to moderator  
Reply With Quote
Unread 02/21/19, 07:57 PM  
ShinWow

Forum posts: 0
File comments: 17
Uploads: 0
Hi, any idea why jewelry refining doesn't show stats in chat?
Blacksmith, Woodworking and Clothing all print stats correctly for me. Just jewelry does this:


This is it working correctly for Clothing, for example:
Last edited by ShinWow : 02/21/19 at 08:03 PM.
Report comment to moderator  
Reply With Quote
Unread 02/24/19, 10:55 AM  
starjax

Forum posts: 0
File comments: 2
Uploads: 0
For the purpose of refining lots of mats, this works FANTASTIC!!!!. I just refined about 10k of mats while enjoying my morning coffee. Nice work!
Report comment to moderator  
Reply With Quote
Unread 02/28/19, 06:13 AM  
ihause
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
Originally Posted by ShinWow
Hi, any idea why jewelry refining doesn't show stats in chat?
Blacksmith, Woodworking and Clothing all print stats correctly for me. Just jewelry does this:
....

Do u use some bug eater addon? If do, please turn off and send me screen with error.
Also u can send me ... \live\SavedVariables\AutoRefine.lua file, I'll try to understand what happens.
Last edited by ihause : 02/28/19 at 06:14 AM.
Report comment to moderator  
Reply With Quote
Unread 03/03/19, 11:43 PM  
ShinWow

Forum posts: 0
File comments: 17
Uploads: 0
Only Suppress Error Message, but I have the add-on disabled already to try and see any lua errors, but nothing shows up.

Contents from AutoRefine.lua:
Code:
AutoRefine_Data={["Default"]={["@ShinWow"]={["$AccountWide"]={["printTTCPrice"]=false,["woodworkingCoeff"]=0.7800000000,["clothierTraitCoeff"]=0.7000000000,["blacksmithing"]={["|H0:item:30219:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=19,["|H0:item:16291:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=19,["|H0:item:23219:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=14,["|H0:item:810:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=18,["|H0:item:23204:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=15,["|H0:item:30221:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=23,["|H0:item:23171:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=12,["mat"]=6640,["|H0:item:23203:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=22,["|H0:item:54172:33:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=55,["|H0:item:4486:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=22,["|H0:item:4456:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=22,["|H0:item:54173:34:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=24,["|H0:item:813:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=23,["|H0:item:23173:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=15,["|H0:item:23221:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=17,["|H0:item:4442:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=17,["|H0:item:23149:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=21,["|H0:item:54170:31:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=98,["|H0:item:54171:32:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=85,["|H0:item:23165:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=19,},["blacksmithingTraitCoeff"]=0.7000000000,["blacksmithingCoeff"]=0.7800000000,["version"]=1,["woodworking"]={["|H0:item:54179:32:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=86,["|H0:item:16291:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=20,["|H0:item:23219:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=25,["|H0:item:810:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=10,["|H0:item:23204:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=20,["|H0:item:30221:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=10,["|H0:item:23171:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=23,["mat"]=7000,["|H0:item:23203:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=19,["|H0:item:4486:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=21,["|H0:item:4456:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=23,["|H0:item:54178:31:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=112,["|H0:item:54180:33:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=47,["|H0:item:54181:34:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=42,["|H0:item:23173:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=19,["|H0:item:23221:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=15,["|H0:item:4442:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=19,["|H0:item:23149:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=20,["|H0:item:813:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=21,["|H0:item:30219:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=19,["|H0:item:23165:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=20,},["jewelrycraftingCoeff"]=0.7800000000,["refineJewelryTraits"]=true,["refineStyleMats"]=true,["refineJewelryBoosters"]=true,["clothier"]={["|H0:item:30219:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=46,["|H0:item:16291:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=0,["|H0:item:23219:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=39,["|H0:item:810:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=0,["|H0:item:54177:34:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=51,["|H0:item:30221:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=41,["|H0:item:23171:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=40,["mat"]=7990,["|H0:item:23203:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=0,["|H0:item:54176:33:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=58,["|H0:item:54174:31:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=133,["|H0:item:4486:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=0,["|H0:item:4456:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=46,["|H0:item:813:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=0,["|H0:item:23173:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=49,["|H0:item:23221:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=63,["|H0:item:4442:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=41,["|H0:item:23149:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=0,["|H0:item:54175:32:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=102,["|H0:item:23204:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=0,["|H0:item:23165:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=0,},["printMMPrice"]=false,["jewelrycrafting"]={["|H0:item:135159:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=-154,["|H0:item:135158:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=-138,["|H0:item:135152:32:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=-58,["mat"]=4690,["|H0:item:135153:33:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=-71,["|H0:item:135151:31:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=-20,["|H0:item:135160:30:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=-120,["|H0:item:135154:34:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h"]=-19,},["jewelrycraftingTraitCoeff"]=0.7000000000,["clothierCoeff"]=0.7800000000,["woodworkingTraitCoeff"]=0.7000000000,},},},}
Report comment to moderator  
Reply With Quote
Unread 03/04/19, 06:13 AM  
ihause
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
Originally Posted by ShinWow
Only Suppress Error Message, but I have the add-on disabled already to try and see any lua errors, but nothing shows up.

Contents from AutoRefine.lua:
Code:
 ...
Thank you, ShinWow. I saw strange issue in your save - for jewelrycrafting negative value were saved.

So, I'm going to figure out, how it possible, than fix.

Unfortunately, I can't reproduce bug on my account.
But I received some ideas from person with the same problem, I think, we'll be able solve issue.
Report comment to moderator  
Reply With Quote
Unread 05/08/19, 03:24 AM  
Galadius

Forum posts: 0
File comments: 21
Uploads: 0
English spelling error

I love your addon. And its options. I hate to be that guy, but I would like to help point out the only spelling error I have found. It is in the menu:

Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: