Science Spread


Helper library to safely and consistently spread science packs around the tech tree.

Internal
13 hours ago
2.0
1.45K

g Doesn't finish loading

15 days ago

I have an admittedly large modlist, so I'm not sure which mod could be the culprit, but when I try to boot the game it just hangs at 9% loading Science Spread. The game doesn't crash or anything, so I thought maybe I just needed to be more patient, but I let it sit for like 15 minutes and it just never progresses. While it's stuck there, if I click on the game window my system says it's not responding and asks if I want to terminate. Last lines of the factorio-current.log file before I alt-f4 it are

32.634 Loading mod science-spread 0.3.0 (data-final-fixes.lua)
32.903 Script @science-spread/data-final-fixes.lua:124: {
["workshop-science-pack"] = "workshop-science-pack"
}

Let me know what other information I can/should provide. Modlist is unfortunately too long to paste into one reply, but it is listed here on the modlist page I've been slowly fine-tuning for my playgroup.

15 days ago

My best guess is a recursive technology in the tree, that I just iterate over infinitely.

I'm going to add a check for that before I start working on the tech tree, then see if that works.

15 days ago

released.

15 days ago

Thank you for the quick reply!

Unfortunately it doesn't seem to have fixed the problem for me. Only change in behavior is that now the log stops at "34.229 Loading mod science-spread 0.3.1 (data-final-fixes.lua)"

I wonder if my modlist is just too big and has too many technologies to iterate through? Or perhaps an incompatible mod somewhere...

Notably this occurs even if I remove Workshop Science (and I don't have Outer Rim ATM), so whatever's making it hang up happens regardless of if it's spreading any science.

15 days ago

What do you get if science spread is not in the pack? That is the last bit of info that I need, thank you for the rest.

15 days ago
(updated 15 days ago)

If I remove Science Spread (and downgrade Workshop Science to 1.0), it loads just fine. The log lines around the area where it would normally have stopped and hung on Science Spread are as listed below, where Science Spread would normally happen right after pipe-tiers. Let me know if you need more log lines or any other info/testing.

32.480 Loading mod crushing-industry 0.5.10 (data-final-fixes.lua)
32.650 Loading mod dea-dia-system 0.36.0 (data-final-fixes.lua)
32.819 Loading mod pipe-tiers 1.0.2 (data-final-fixes.lua)
32.963 Loading mod planet-muluna 2.1.75 (data-final-fixes.lua)
33.340 Loading mod Voidcraft 2.7.7 (data-final-fixes.lua)
33.478 Loading mod aquilo-seabloom-algaculture 0.4.4 (data-final-fixes.lua)

15 days ago

Hmm. Then it is here... I'll be on it, bit not sure when it willnbe fixed because I had to roll back similar code.

14 days ago

I am actively working on it. It is just a little harder as it is the third rewrite for this mod. There are loads of known edge cases to consider. >.<

14 days ago

No rush, and no worries. I know this has to be pretty complicated.

14 days ago

Fix should be out.

13 days ago

Ayy, nice. That did the trick. Thanks!

New response