Cupric Asteroids


Adds a new type of asteroid that gives earlier access to copper in space.

Content
a month ago
2.0
3.80K
Factorio: Space Age Icon Space Age Mod
Environment Mining

b crashed

3 months ago

An error occured while compiling "entity:cupric-asteroid-chunk:probability" noise expression:
candidate_point_count (10304; skipSpan=92) too high

3 months ago
(updated 3 months ago)

Hi beomyo, can you figure out what other mod(s) specifically cause the crash? (as few as possible)

3 months ago

I can't find the cause. I have over 300 mods installed.
I also tried modifying the code to fix the bug, but I couldn't solve it.
I'll just leave it at that.

3 months ago

Unfortunately I can't do much without more information, since it works with vanilla SA, and as a policy I don't install other's mod lists and do the binary search myself anymore. As you saw this mod just copies properties from existing metallic asteroid spawn definitions, and it works with every modded planet I've tested with before. If you or anyone else runs into this issue and has more information, I can take a look then :)

a month ago
(updated a month ago)

I've found which mod causes it. in my case ive ghot slightly different number of cndidate points: 10080, but overally it was the same - game launches sucessfully - and absolutely playable on nauvis or lignumis, but during the fiirst space trip to muluna right in the moment of arriving to the destination orbit same error fired.
Binary search among 600+ installed mods showed it was due to https://mods.factorio.com/mod/tenebris-prime.
looking in its code ive found that in prototypes/planet/tenebris_map_gen.lua it makes a lot of noise function changes that sadly affects things outside tenebris too (for instance biomes noise for nauvis is too graine if you dont change map gen expession upon starting new game)
So i assume there is not much you can do from your side excpet marking Tenebris Prime as Incompatible till it is patched.

a month ago

Also same error (with different count of points): An error occured while compiling "entity:cupric-asteroid-chunk:probability" noise expression:
candidate_point_count (10864; skipSpan=97) too high
with https://mods.factorio.com/mod/terrapalus
which have some noise function injections too. Seems like Tenebris inherited this code and this way both planets are incompatible.

there is still some possibility that both are still playable with cupric asteroids, and this is just an edge case combined with some 3rd (4th) mod, but ive already spend two days on this to make binary search passes again, so let me know it you cant reporduce ill try to narrow it down or share modlist ( gargantuan abomination)

a month ago
(updated a month ago)

https://mods.factorio.com/mod/tiberium-patch-planet
https://mods.factorio.com/mod/Factorio-Tiberium
https://mods.factorio.com/mod/Velora
https://mods.factorio.com/mod/shchierbin
https://mods.factorio.com/mod/outer-rim
another set
also one or more planets dependant of any planet start (rjdunaps remixed planets+pandora+crucible)
seems like cupric asteroids are inncompatible with any mod messing with noise in general. and with so many i think you need to do something with asteroid prototype. maybe at the point where you copy metallic asteroid properties make exclusion for spawn points and instead of spawn_points = old_definition.spawn_points, build them from scratch?

a month ago

Hiya! Thanks for looking into it and for the detailed information. I'll definitely figure out a fix for this when I have the time to do so.

a month ago
(updated a month ago)

So I am unable to reproduce this error after installing good a handful of those planets. I also don't do anything with noise expressions in cupric asteroids, but I made a change that could feasibly fix things from another mod iterating over asteroid spawn definitions and scaling them all.

If this doesn't work, I'll unfortunately need an exact small list of mods that reproduce the issue before I can investigate properly.

EDIT: Tried launching a space platform to Terra Palus and no luck with repro either.

a month ago

Still happens.
here is my modlist.
https://pastebin.com/S5rr6JEh
it is unlaunchable without some edits ( too many planets facing hardoded limits of factorio and require cutting out some content, tile-effects and tile variats specificly), sooo.
if none of them gives you idea of what happens just by name ill try to find minimal combination of mods to reproduce in following days (probably it wont be quick process)

a month ago
(updated a month ago)

Sorry, seems like i am failing to minimize list beacuse issue reproduces only with big set. Most probably i was wrong adressing that certain mods and problem rooted in accumulated effect of many mods adding noise expressions and that listed above mods was just big enough to serve as last drop each.

Anyway, also factorio error message was misleading - it is not your issue, but rather at Muluna side (maybe not only). It has nothing to do with space trip and asteroids in space, arrival on orbit was just a trigger to create surface of that planet. and muluna with your mod enabled tries to create surface veins of cupric asteroids and fails.

And yet again - probably it is unsolvable, at least in elegant way by one particular mod develepor, due to hardcoded engine limitations. It mostly my fault for bloating list and trying to squeeze everything to the point where game is barely launchable.

Note for other players with similar issue: a if someone will face such problem too and no patch figured out - possible solution for personal use is to temporarely disable big portion of late game planets (begin with listed above) make your first trip to Muluna/other planet with minable asteroids and let it generate surface. After that save game and reenable planets. (in case of muluna it is mostly safe beacuasy of its strict progression order, while if you will try to make such trick for some later planets your progress may be erased)

New response