Loaders Modernized: Integrations


Integrations for Loaders Modernized with popular mods: 5Dim's, Bob's Logistics, Extended Vanilla, Factorio+, Iper Belt, Krastorio 2, One More Tier, Pyanodons, Space Exploration, Turbo Belt, Ultimate Belts Space Age, and Wooden Logistics.

Content
2 months ago
2.0 - 2.1
3.45K
Logistics Circuit network

b [Fixed] K2SO compatibility: mdm-superior-loader-wfs does not exist when loaders-modernized-integrations is enabled

a month ago

Body:
Hi, I'm running Factorio 2.1 with the following relevant mods:
• loaders-modernized 2.1.3
• loaders-modernized-integrations 2.1.3
• Krastorio2-spaced-out 2.0.17
• space-age 2.1.14
• Krastorio2
When loaders-modernized-integrations is enabled, the game fails to load with this error:
text


复制


下载
Error in assignID: entity with name 'mdm-superior-loader-wfs' does not exist.

At ROOT.loader-1x1.mdm-turbo-loader-wfs.next_upgrade

Source: mdm-turbo-loader-wfs (loader-1x1).


What I've tried:
• Updated both loaders-modernized and loaders-modernized-integrations to 2.1.3.
• Rolled loaders-modernized-integrations back to 2.1.2 — same error.
• Reset mod settings — no change.
• Confirmed there are no deprecated addons like loaders-modernized-k2 installed.
• Moved require("prototypes.k2so.k2so") from data.lua to data-updates.lua in the integrations mod — this did not fix the issue. The error still points to mdm-turbo-loader-wfs's next_upgrade.
My analysis:
It looks like loaders-modernized creates mdm-turbo-loader-wfs and sets its next_upgrade to mdm-superior-loader-wfs too early, before K2SO (or the K2SO compatibility code) has created the mdm-superior-loader-wfs entity. This seems to be a load-order issue between the base mod and the K2SO integration.
Disabling loaders-modernized-integrations allows the game to load normally, but then K2SO loader compatibility is lost.
Could you please take a look? Thanks!

7 days ago

Definitely due to a change in K2SO and really should be fixed there. I've submitted a bug report to K2SO and provided a pull request to fix. Hopefully that won't take to long to make it into an updated K2SO.

https://github.com/Polka37/Krastorio2-spaced-out/issues/204

3 days ago

This should be fixed in K2SO's latest version.

New response