"You are playing on version 2.0 and need Lane Splitters. The changes I made are for version 2.1."
I thought this was clear with mentioning the mod "Advanced Belts 2.0" (it has "2.0" in the name and this mod is only for 2.0).
Your own mod is for 2.0 with version 0.0.1 (you uploaded 10 months ago). If your mod were only for version 2.1, I wouldn't have contacted you in the first place.
"2. I checked the code for AdvancedBeltsUpdated, and it actually creates three Lane Splitters for the three types of belts it adds (the high-speed ones). Isn’t that what you’re looking for? (Perhaps there was a misunderstanding.)"
Again: This mod only adds normal splitters, like the vanilla Factorio ones, just with faster speeds to fit the new belts. It DONT has this single-belt-splitters like your mod has! Is this that hard to understand?
"Note: My mod doesn’t just generate new Lane Splitters out of thin air; it uses the existing splitters. If there are no additional splitters available, there won’t be any additional Lane Splitters either."
Whatever you mean by that. I can only repeat myself. In my game (and in the mod "Advanced Belts 2.0" are ONLY normal splitters, for every belt color).
"I’ve uploaded the update for 2.0; please check if it’s working properly and let me know."
Yes, thank you, it works. But one thing worried me a LOT! I have 130 mods installed and I write my own, but I've never seen THIS before.
When I install your both Mods ("YAIM904 d10b Lane splitters" and "YAIM904 d00b Core") and load my save file, then I get the message, that Hadur (the planet I stand on (from Space Exploration)) couldnt be deleted. What the..?!
I tried to check myself for hours to find the issue and I also checked Space Exploration (universe.lua and zone.lua, it seemed it has do to with that), but I couldnt find out, so I loaded up everything to Claude (the Luas from Space Exploration and the ones from your mods, also my factorio-current.log and I got this for you:
(not my words!)
"I found a serious incompatibility with Space Exploration.
Setup: Factorio 2.0.77, Space Exploration 0.7.57, YAIM904-d00b-core 0.0.4 + YAIM904-d10b-lane-splitters 0.0.4, many other mods.
Problem: When I load an existing save after adding your mods, SE logs:
space-exploration/scripts/universe.lua:1461: Resource settings mismatch: Resource rebuild required. (Destructive)
space-exploration/scripts/zone.lua:3526: Deleting surface for zone: Calidus Orbit
... (many more zones)
On the planet I was standing on I got "<Planet> cannot be deleted while players are on it. Try trimming the surface instead." This never happened before installing your mods. With both mods disabled the same save loads normally.
Probable cause (from reading the code, not yet fully verified): d00b-core's data-final-fixes.lua, This_MOD.set_localised(), wraps the localised_name of every item:
if type(item.localised_name) == "table" and item.localised_name[1] ~= "" then
item.localised_name = { "", item.localised_name }
end
SE's Universe.list_core_fragments() identifies its core fragment items via proto.localised_name[1] == "item-name.core-fragment". After the wrapping, [1] is "", so the list changes, SE's resource settings comparison string differs, and SE rebuilds all resource assignments (deleting surfaces, regenerating/rescaling resources).
Suggested fixes:
- Only modify prototypes your mod creates or intentionally changes; don't rewrite localised_name of all items/entities/recipes/techs globally.
- If you need a normalized form, don't change the structure of existing localised_name tables (or at least skip items from other mods).
- Similarly, change_orders() and format_minable()/format_icons() touch all of data.raw; this may cause other cross-mod side effects.
Since the damage happens at load time in existing saves, this could be dangerous for users with SE. Maybe add a warning to the mod page until fixed."
I hope this will help you to find the issue.