r/MelvorIdle • • 10d ago

Suggestion MI2: Is anyone here good at data mining/coding?

If i was any good at it, I'd do it myself, but my goal would be to pull all the numbers of how long it takes to acquire every resource without any bonuses. Then i would use that data to figure out how long it is to craft every item including the time needed to gather resources + craft sub materials.

So, for example., instead of simply looking at the time to craft a bow, you're looking at the time to gather flax + gather wood + craft bowstrings + craft a bow.

This would make it easier to tell what is worth crafting and what isn't worth the time to craft when training skills.

0 Upvotes

16 comments sorted by

12

u/New-Part-6917 10d ago

2

u/United-Succotash-167 8d ago

Not working anymore. Will this be updated? Savefile is version 32 but only 31 is supported

1

u/Thaijler 8d ago

not working for me either

6

u/Esenfur 10d ago

been using this for days best tool atm

1

u/Thaijler 8d ago

thanks

1

u/Thaijler 8d ago

how do you use it? I can't find where the game saves your file and pasting a string doesnt work

1

u/Dyer678 8d ago

Thanks for the link. Just checked it out and seems awesome. Hoping for a quick update for the new save version.

1

u/Dormantium 7d ago

This is almost exactly what I've been trying to figure out! I extracted Melvor Idle 2's data and used Codex with GPT-6.2 on Ultra reasoning to map the items, recipes, skill actions and dependencies. The goal is a calculator that answers: "If I start with no materials and no bonuses, how long does this item ACTUALLY take to make?"

The extracted dataset includes 1,811 items, 1,280 indexed skill actions, 723 artisan recipes, 499 shop purchases, 3,403 mastery tasks, 192 monsters and 124 item upgrades. That's a useful starting point, but it doesn't automatically mean every game mechanic has been reproduced correctly.

Here are some preliminary, calculated examples from the extracted tables. They assume the relevant skills are unlocked, no bonuses, and sequential gathering/crafting. These are theoretical baselines, not in-game measurements or fully validated optimal routes.

1. Your exact example: making a Normal Bow from scratch

The recipe needs 2 Normal Logs + 1 Bowstring. The Bowstring itself needs 1 Flax.

  • Cut 2 Normal Logs: ~6s
  • Gather 1 Flax: ~2s
  • Craft 1 Bowstring: 2s
  • Fletch 1 Normal Bow: 6s
  • Total: ~16 seconds, not just 6s.

A Normal Bow gives 7 Fletching XP and sells for 12 GP. If you already have the materials, 6s per bow implies 600 bows/hour = 4,200 Fletching XP/hour. From raw materials, 16s per bow implies 225 bows/hour = 1,575 Fletching XP/hour (and 2,700 gross GP/hour if sold). That's a 62.5% drop in effective Fletching XP/hour once the supply chain is included.

For 1,000 bows, you need 2,000 logs, 1,000 flax and 1,000 bowstrings. The modeled time becomes 4h 26m 40s, compared with only 1h 40m for the last crafting step alone.

2. How much that changes across bow tiers

Based on the same simplified baseline:

BowFinal craftFull chainCraft-only XP/hFull-chain XP/h
Normal6s16s4,2001,575
Oak8s20s7,2002,880
Willow10s24s11,5204,800
Maple12s32s17,4006,525
Yew14s46s30,3439,235
Magic16s60s40,95010,920
Redwood20s76s50,58013,311

The Redwood example is striking: ~50.6k Fletching XP/h with stocked materials vs ~13.3k XP/h including gathering and intermediate crafting. Obviously, the inputs are also leveling other skills, so a useful calculator should report XP separately for every skill, not pretend that time is wasted.

3. Crafting isn't necessarily the best GP/hour

Another thing I've been comparing is the value of selling raw resources instead of processing them. These are gross sale values, not net profit, and exclude byproducts:

MethodModeled gross GP/h
Gather/sell Normal Logs3,600
Make/sell Normal Bows, full chain2,700
Gather/sell Oak Logs5,400
Make/sell Oak Bows, full chain8,640
Gather/sell Willow Logs12,240
Make/sell Willow Bows, full chain12,750
Gather/sell Yew Logs18,771
Make/sell Yew Bows, full chain17,609

For a Normal Bow, the ingredients' raw sale value is 2 logs x 3 GP + 1 flax x 1 GP = 7 GP, while the bow sells for 12 GP. Processing adds 5 GP of value per item, but takes time. More value per item doesn't necessarily mean more GP per hour. Also, you should distinguish sale revenue from economic profit: you could have sold those ingredients instead.

4. Same skill, different products

Even within Fletching, the optimal training product may not be the obvious one:

ItemFull-chain timeFletching XP/hGross GP/h
Oak Bow20s2,8808,640
Oak Boomerangs12s2,7009,000
Willow Bow24s4,80012,750
Willow Boomerangs14s3,60010,029
Maple Bow32s6,52516,313
Maple Boomerangs20s4,6809,720

Boomerang recipes output three items per craft, which matters for both inventory and value. Different goals (Fletching XP, GP, or avoiding another skill entirely) could give different recommendations.

5. Smithing: intermediate XP changes the answer again

Take Copper items. In the example production model:

  • Copper Bar: 2.5s processing + modeled ore acquisition.
  • Copper Dagger: 1 bar + 4s final crafting; 8 XP for the dagger.
  • Copper Sword: 2 bars + 6s final crafting; 13 XP for the sword.

But the bar production ALSO grants Smithing XP. Counting 3 XP per Copper Bar gives:

  • Dagger: 11 total Smithing XP across its chain, ~11.5s => ~3,443 Smithing XP/h.
  • Sword: 19 total Smithing XP across its chain, ~21s => ~3,257 Smithing XP/h.

In this scenario, the dagger comes out ahead for Smithing XP/hour even though a finished sword gives more XP. This is exactly why you can't just sort recipes by their final crafting XP.

Important caveat: mining cannot simply be treated as "one ore every X seconds." The extracted tables contain hit intervals and break/progress values. In one illustrative independent-roll interpretation, a 1.5s hit with a 30% Copper product chance gives 720 Copper Ore/h. The actual rock-break mechanics need verification before treating that as a real base rate. A robust calculator should track both the formula and its confidence level.

6. Batch recipes and leftovers

Imagine making Stone Arrows. Intermediate recipes create batches, not necessarily one ingredient at a time. For example, the extracted chain includes 20 Arrow Shafts per log, 10 Headless Arrows per relevant craft, 10 Stone Arrowtips per relevant craft, and 4 Stone Arrows per final craft.

A bulk order should account for the leftovers from earlier batches. Calculating one arrow by rounding each sub-recipe up independently, then multiplying by 1,000, would wildly exaggerate the material and time cost. We need a quantity-aware recipe solver, not just a spreadsheet that adds durations.

7. Fishing and Cooking demonstrate co-products and failure rates

Some extracted baseline fishing actions suggest:

  • Shallow Pools: 6s/attempt, 80% Shrimp => 480 Shrimp/h.
  • Calm Shallows: 8s/attempt, 40% Sardine and 40% Shrimp => 180 of each/h.
  • Quiet Bend: 9s/attempt, 80% Herring => 320 Herring/h.

Notice that the Sardine method also generates Shrimp. If we charge the full fishing time independently to both species, we double-count shared production time.

Cooking further complicates things: cooked Shrimp heals 15 HP, Sardine 53, Herring 63, but some cooking actions can fail. If an example Herring recipe had 57% success and failures consumed the input, effective edible HP/hour would be dramatically lower than assuming 100% success. The calculator should show expected yield as well as the risk/variance, not just a perfect-case number.

8. Upgrade payback matters too

The Copper Telescope is a good example of why I'd want this for shop upgrades, too. The extracted requirements I found were 150 Copper Bars, 150 Molten Glass and 2,500 GP. If the glass needs 150 buckets of sand at 5 GP each, the direct cash outlay is 3,250 GP plus the gathering/processing time for all those materials. The actual telescope modifier must be interpreted correctly before claiming a precise payback period.

A calculator could ask: if buying an upgrade costs 25 minutes of gathering/crafting but increases future production by X%, how long do I need to use it to break even? And is that different depending on what I'm farming?

9. What I'd eventually like to build

Select any item and quantity (1, 100, 10,000), then show:

  • Raw materials and all intermediate recipes, with dependency trees.
  • Minimum skill requirements and locked prerequisites.
  • Gathering time, processing time, crafting time and total time.
  • XP gained in each skill and effective XP/h.
  • Gross GP, actual cash costs and opportunity cost of inputs.
  • Possible alternative acquisition routes (shop, drops, gathering, etc.).
  • Recipe batch sizes, leftovers and co-products.
  • Expected results for success rates, RNG drops and resource doubling.
  • Whether tasks run sequentially or passively in parallel (Farming/Ranching).
  • Estimated upgrade payback and sensitivity to bonuses.
  • A toggle between zero bonuses, your actual modifiers, and an optimized character.

I'm not claiming I've finished or validated an all-items calculator yet. The dataset is extracted and these are preliminary models. The hard part now is reconstructing the real mechanics, avoiding double-counting co-products, handling stochastic outcomes and validating theoretical estimates against the actual game.

But yes: your idea is absolutely the right question to ask. Sorting by full-chain XP/hour or GP/hour rather than final-craft-only rates could change which items are genuinely worth making, especially when leveling several connected skills at once.

1

u/Thaijler 5d ago

I'll be honest I didn't even read most of that because it's needlessly complicated. The point of datamining was to get static values to obtain every resource in the game. I could do it manually, but compiling it would be lengthy and tedious. Then those static value would get plugged in to a calculator using an algorithm coded in to the tool. Again, I could do that too, but haven't coded in years, so and for all intensive purposes can't make anything meaningful.

The coding expertise would be used to mine the game's data and then plugged in to a code for a tool everyone could use.

2

u/Dormantium 7d ago

Yes this is on my plan. Thank you for the great idea! Gonna look into it!

-7

u/googleduck 10d ago

Don't really need to be anymore. I am good at coding but I had codex/Claude code throw together whatever calculators I wanted for the game and do its own data mining. Haven't even glanced at the code.

Maybe later I can throw something together that I can upload if someone else hasn't done it already.

1

u/Joshy_CC 9d ago

Funny thing is, if you go through the Melvor Idle 2 mod section, most, if not all of them are made with AI.

Why?

Because it’s much faster and does the exact same thing.

Yes, AI isn’t great, but you’ve got to understand it isn’t going anywhere, it’s actively changing society and you’ve got two choices, stay in the past or stay relevant.

-12

u/just_a_teacup 10d ago

AI bad!

-2

u/TheEdes 10d ago

I have big suspicions this game has heavy AI use in its creation, not knocking it but the interface of the new skills look extremely slopped up.

-4

u/googleduck 10d ago edited 10d ago

It's an extremely useful tool and those who don't use it are going to get left behind. Also I'm a software engineer, I'm allowed to replace myself with AI.