Crash when adding new belt?

Place to get help with not working mods / modding interface.
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Crash when adding new belt?

Post by Dysoch »

I added 2 new transport belts, but when i want to try them in my game(savegame i am really far in ;)), it crashes. This only happens when adding a new belt, everything else is added just fine.

When starting a new game, it loads just fine.

How to fix this? Because i hate to start over :( (its a savegame around 28 hours in)

and yes, i have migrations that should work, this is have

Code: Select all

game.reloadscript()
game.player.force.resetrecipes()
game.player.force.resettechnologies()
nothing more is needed for now.

edit: when i disabled the new belts, its still crashes. Weird, didnt change anything.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
kovarex
Factorio Staff
Factorio Staff
Posts: 8293
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Crash when adding new belt?

Post by kovarex »

When exactly does it crash? (WHen you load the game, place belts, or load game saved with the belts?)
Does it say something (The cause of the crash), or it just crashes without message?
What are the properties of the belts?

You can always provide the mod (or some small part of it just with the belts), so we can run it and find the cause of the crash.
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: Crash when adding new belt?

Post by Dysoch »

kovarex wrote:When exactly does it crash? (WHen you load the game, place belts, or load game saved with the belts?)
Does it say something (The cause of the crash), or it just crashes without message?
What are the properties of the belts?

You can always provide the mod (or some small part of it just with the belts), so we can run it and find the cause of the crash.
It crashes on load of a savegame where the belts are not placed or even loaded yet. And it crashes without error, just saying factorio.exe doesnt work.

But i tried it without the belts ( disabled the requires "files" in data.lua) and it still crashes.
All i did extra was a few base edits. (Nothing mayor, just order changes)
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

Re: Crash when adding new belt?

Post by Dysoch »

sent a pm with everything i have.

(add everything, as my save uses every mod)
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
Post Reply

Return to “Modding help”