Stuck in crafting loop

Forum Forums Discussion Stuck in crafting loop

This topic contains 9 replies, has 4 voices, and was last updated by Miqobot Miqobot 3 years, 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #27573

    Fireproof
    Participant
    0

    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.

    #27574
    Lyfox
    Lyfox
    Participant
    0

    Looks like you forgot to put Master’s Mend on hotbar. What keybind is it assigned to? Could you show a screenshot of your hotbar?

    #27575

    Fireproof
    Participant
    0

    Master’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, 2 months ago by  Fireproof.
    #27579
    Lyfox
    Lyfox
    Participant
    0

    Ah 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?

    #27582

    a
    Participant
    0

    uh miso soup with tofu is an ilvl 273 with a “craftmanship recommended” of 1044 (more than twice of yours)
    not sure if miqo’s behaviour is normal, but am not sure if you can actually craft it either

    #27583

    Fireproof
    Participant
    0

    Yes, 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”

    • This reply was modified 3 years, 2 months ago by  Fireproof.
    • This reply was modified 3 years, 2 months ago by  Fireproof.
    • This reply was modified 3 years, 2 months ago by  Fireproof.
    #27587
    Lyfox
    Lyfox
    Participant
    0

    Oh in that case you can simply remove Rapid Synthesis from hotbar. Afaik Miqo doesnt have ‘more often than not’ logic, she just follows the net average. 250% efficiency * 0.5 rate = 125% which is more than 120% so Rapid Synth wins. Just remove RS and she will do exactly what you want.

    #27588

    Fireproof
    Participant
    0

    Well 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…)

    #27589
    Lyfox
    Lyfox
    Participant
    0

    Yea i agree with you. But taking a skill off hotbar is easy and Miqo knows how to adjust. I do it quite often when i dont want rng in my crafts. For me its just another bot setting.

    #27609
    Miqobot
    Miqobot
    Keymaster
    0

    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.

    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.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.