Deep core mining

by VortiK

A not cheaty infinite ore mod. Adds ore patches that appear when ore fields are depleted that can be mined with a pair of advanced mining drill to upgrade mining outposts and provide source of expensive but steady infinite ore. Adds an high tech infinite ore mining from rare deep core cracks spawned in the world that require heavy refining. Now with automatic mod support !

Content
4 months ago
0.15 - 2.0
40.8K
Mining

b [FIXED] Sudden Value Error

5 months ago

Hi After Restarting the Game You Mod has Started to Throw "Fehler beim Laden der Mods(Mod Load Error): Error while loading recipe prototype "vtk-deepcore-mining-multi-ore-chunk-refining" (recipe): Value (81600) outside of range. The data type allows values from 0 to 65535 in property tree at ROOT.recipe.vtk-deepcore-mining-multi-ore-chunk-refining.results[1].amount". Instaling an older version and reinstalling dindint solve the problem for me.

5 months ago

Having the same error as well, disabling this mod is currently only thing that allows it to load, from looking at other mod discussions it seems to be something to do with Moshine (https://mods.factorio.com/mod/Moshine), according to that mods creator, the error seem to be on this mod's side.

5 months ago

Hi, I'm adding a compatibility code to Moshine right now, but this could be definitely avoided, this mod's code should take into account that an ore can have an 'amount' above 800, which Deep core mining multiplies, and in this case, goes above the maximum value.

5 months ago

Hello, thanks for your report, I'll take a look to fix this as soon as I can.

5 months ago

Thanks! both Moshine and Deep core mining are really nice ^^

5 months ago

Hello, I've pushed a fix for this by adding a max value if result goes beyond 65535.

Some questions for you guys :

I found that mixed ore chunks refines from deep core ore which should be not be the case. This was a bug in my mod so I fixed it to only have vanilla Nauvis ores in Advanced Deep Core as it should (no modded off world ores from nauvis !).

While testing I couldn't generate a deep core "mixed ore" patch by mining the Moshine mixed ore. Is it explicitly excluded ? I probably need to debug a bit more for this.

As for the crash itself, it was caused by Mixed ore refining that somehow generated a huge amount of neodyme, with the cap fix it's still 40 000, is that right ? :D

I found the formula definition for neodyme :
amount = 1020,
probability = 0.003 /100,
And deep core mining generic ore definition is 80 x amount so indeed it ended above 65k :D

Never found a case like this not sure how to better handle it. You won't get ofter this ore but when you do the machine will be stuck on a mountain stack of this item for a longtime. I guess I can just cap it to if above 100 keep the original ore amount or something to be more reasonable but then again the probability is ultra low. Well I guess that's the design of the mod for this resource.

We can also add explicitly a deep core mining definition for this ressource to define the amount to a low value (like 1 or 2), this can be done either in Deep Core Mining or Moshine.

I also need to find how to automatically generate locale for automatic mod support, it's kind of ugly to have the technical entity names :D

Let me know what you think !

5 months ago

Thanks for the Fix

New response