Hey,
a LTN Train Station was constructed without the logistic input and output by drones. When i try to deconstruct this LTN Tran Station by hand or drone it crashes.
Also manual placing of this two hidden items didn't fix it.
Edit: Renaming also crashes the game.
[LTN 1.7.6] Crash when deconstruct a LTN Station
Moderator: Optera
- Darkestnoir
- Inserter
- Posts: 29
- Joined: Sun Nov 23, 2014 8:57 pm
- Contact:
[LTN 1.7.6] Crash when deconstruct a LTN Station
- Attachments
-
- mod-settings.zip
- Mod settings
- (4.06 KiB) Downloaded 70 times
-
- mod-list.json
- Mod list
- (5.33 KiB) Downloaded 87 times
-
- _autosave2.zip
- save
- (21.02 MiB) Downloaded 73 times
-
- factorio-current.log
- log
- (218.95 KiB) Downloaded 74 times
-
- picture
- Clipboard01.png (2.91 MiB) Viewed 1986 times
Re: [LTN 1.7.6] Crash when deconstruct a LTN Station
How did you manage to build an LTN stop without its IO entities?
My Mods: mods.factorio.com
- Darkestnoir
- Inserter
- Posts: 29
- Joined: Sun Nov 23, 2014 8:57 pm
- Contact:
Re: [LTN 1.7.6] Crash when deconstruct a LTN Station
I don't know, my drones did that. My other LTN Stations was builded fine. It would be nice when you can fix the code, so i can remove this station without a crashOptera wrote:How did you manage to build an LTN stop without its IO entities?
When i edit the save in the map editor, i cant save it because of problems with other mods or so...
Re: [LTN 1.7.6] Crash when deconstruct a LTN Station
You can remove glitched entities through console commands yourself.
Just adapt the remove ore command using name="logistic-train-stop"
I'm not going to add redundant checks, slowing down LTN for everyone just to fix a single broken save. Sorry.
The way I see it one of your other mods spawns stops without calling either on_built_entity or on_robot_built_entity resulting in an LTN Stop entity that isn't properly initialized.
Creative mode had that bug several months ago, but it was fixed in both mods.
Just adapt the remove ore command using name="logistic-train-stop"
I'm not going to add redundant checks, slowing down LTN for everyone just to fix a single broken save. Sorry.
The way I see it one of your other mods spawns stops without calling either on_built_entity or on_robot_built_entity resulting in an LTN Stop entity that isn't properly initialized.
Creative mode had that bug several months ago, but it was fixed in both mods.
My Mods: mods.factorio.com
- Darkestnoir
- Inserter
- Posts: 29
- Joined: Sun Nov 23, 2014 8:57 pm
- Contact:
Re: [LTN 1.7.6] Crash when deconstruct a LTN Station
Thanks for the tipOptera wrote:You can remove glitched entities through console commands yourself.
Just adapt the remove ore command using name="logistic-train-stop"
I'm not going to add redundant checks, slowing down LTN for everyone just to fix a single broken save. Sorry.
The way I see it one of your other mods spawns stops without calling either on_built_entity or on_robot_built_entity resulting in an LTN Stop entity that isn't properly initialized.
Creative mode had that bug several months ago, but it was fixed in both mods.
I used:
Code: Select all
/c for _, entity in ipairs(game.player.surface.find_entities_filtered{
area={{game.player.position.x-32, game.player.position.y-32},
{game.player.position.x+32, game.player.position.y+32}},
name="logistic-train-stop"})
do
entity.destroy()
end