Forum › Forums › Discussion › Stuck in crafting loop
This topic contains 9 replies, has 4 voices, and was last updated by Miqobot 3 years, 10 months ago.
-
AuthorPosts
-
February 4, 2021 at 11:21 pm #27573
I’ve been leveling my CUL and i’ve noticed that Miqobot gets stuck in a loop where she will continuously try to “Observe” until she can use “Tricks of the trade” gradually using all of the CP until there is none left and the synthesis fails. At the same time, the bot prioritizes using “Touch” actions and using up essential durability instead of using “Synthesis” actions.
I am specifically trying to cook “Miso soup with tofu”. The loop occurs when:
-Durability reaches 10
-Progress is very little to none (because of failed “Rapid Synthesis” attempts)
-There is more than enough CP to use “Master’s Mend” (200+)My character’s level is 59 (AVG ilvl:77)
Craftmanship: 490
Control: 465
The recipe level is 64.While im not expecting the bot to make hq items all the time, i feel like it should prioritize completing the recipe over increasing quality and wasting materials. Especially when the level discrepancy is 4+ levels. I am aware that there is an “Ignore quality” button, but that is not what I want.
February 4, 2021 at 11:25 pm #27574February 4, 2021 at 11:36 pm #27575Master’s Mend is indeed on the hotbar and the bot will use it for easier recipes.
Also, forgive my atrocious hotbar. Its bad, I know, but it works.
https://drive.google.com/file/d/1tx7Bh_9P6f20aJg4bTf12BfNvfHGucPP/view?usp=sharing- This reply was modified 3 years, 10 months ago by Fireproof.
February 5, 2021 at 1:05 am #27579Ah ive realized your stats now. The observe loop happens when Miqo cant find the rotation to craft the item. If youre level 59 then your efficient crafting level is 148. Recipe level 64 is efficient 273. The discrepancy is not just 4+ levels, its actually 125 levels. The math gets crazier than crafting 4-star at the current endgame tier so i guess Miqo doesnt handle such extreme cases too well. Im not sure its even possible with those stats. Have you tried doing it manually?
February 5, 2021 at 3:59 am #27582February 5, 2021 at 4:05 am #27583Yes, I tested it and crafting it is perfectly doable even if using “basic synthesis” and no buffs other than “Master’s Mend”. However, the bot tends to use “Rapid Synthesis”. The problem is at that level, the payoff of “rapid synthesis” is too low for it to be worth it. More often than not, using rapid synthesis results in a net loss of
(progress/durability)
, as well as CP. This is beside the point though.
Somehow the bot gets to the point where even though there is enough CP left for it to use “Master’s Mend”, it goes into the CP scraping mode where it tries to scrape together CP via the Observing + tricks of the trade combo(until all the cp is gone and the synthesis fails) which is obviously not the correct thing to do in that situation.(Everything below is off the topic of the looping AI)
At level 63, you get the trait “Rapid Synthesis Mastery” which increases its efficiency to 500% and with the “Veneration” buff, you can have up to a 750% increase in a single action. This allows for many failed attempts while still being able to beat Standard Synthesis in efficiency.However, before level 63, “Rapid Synthesis” only has 250% efficiency (375% with veneration) and a 50% chance for success. So, that leaves you with a margin of 2(3) failed attempts before losing efficiency advantage while eating through durability which in turn eats through CP.
A Possible Improvement?
I might suggest that when crafting a recipe with extreme level discrepancy, the bot calculate the minimum number of steps it would take to finish the recipe using only basic synthesis and partition the remaining CP to apply buffs and use “Masters Mend”. then recalculate on each step given what buffs are active.(max_progress-current_progress)/(std_synth_efficiency*veneration_buff)
and if there is more than enough durability to complete it (excess durability available through CP via “Master’s Mend”) then the extra durability be treated as “sacrificial” and therefore able to be used on touch actions or other actions with <100% success rate such as “Rapid Synthesis”February 5, 2021 at 4:27 am #27587February 5, 2021 at 4:59 am #27588Well ofcourse I can take matters into my own hands and that would be the easiest bandaid solution. I’m just pointing out a minor bug where the bot is making the wrong decision for its circumstances.
Although this is by no means a mission critical bug, i just hope to see this bot perfected eventually because it fascinates me and I enjoy seeing its thought process. (ive actually been designing a fake crafting solver in python just because this bot is so interesting to me. not that it actually works with the game or anything…)
February 5, 2021 at 5:22 am #27589February 5, 2021 at 7:38 am #27609I am specifically trying to cook “Miso soup with tofu”. The loop occurs when:
-Durability reaches 10
-Progress is very little to none (because of failed “Rapid Synthesis” attempts)
-There is more than enough CP to use “Master’s Mend” (200+)My character’s level is 59 (AVG ilvl:77)
Craftmanship: 490
Control: 465
The recipe level is 64.Thank you for reporting.
Yes, Miqobot may indeed fail to craft a recipe with extremely low stats. We are aware of this issue. The problem is that Crafting Solver relies on certain optimizations that might break if we include adjustments for such cases, and this could increase the solving time tenfold. We will make no promises yet, but we will try to implement additional algorithms for this issue in the future versions.In the meantime, the only workarounds we can suggest have been already mentioned in this thread:
- Remove Rapid Synthesis from the hotbar.
- Enable “Ignore Quality” setting.
I might suggest that when crafting a recipe with extreme level discrepancy, the bot calculate the minimum number of steps it would take to finish the recipe using only basic synthesis and partition the remaining CP to apply buffs and use “Masters Mend”.
Yes, the Crafting Solver already follows this general idea, albeit on a deeper level. It considers not only Basic Synthesis and Master’s Mend, but all available crafting abilities, and includes potential loops created by Tricks of the Trade.
This is the reason behind the loop behavior you encountered. -
AuthorPosts
You must be logged in to reply to this topic.