Paste Logistic Settings (Continued)


Copy and paste logistic chest and inserter filters.

Utilities
3 months ago
2.0
195
Logistic network Circuit network Storage

b [SOLVED] METATHREAD: Crash report

4 months ago
20348.365 Error MainLoop.cpp:1510: Exception at tick 2640779: The mod Paste Logistic Settings (Continued) (1.3.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event paste-logistic-settings-continued::paste-logistic-settings-continued-paste (ID 223)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    [C]: in function '__index'
    __paste-logistic-settings-continued__/control.lua:36: in function <__paste-logistic-settings-continued__/control.lua:22>
20354.432 Info AppManager.cpp:352: Deleting active scenario.

Happen when I tried to super force build an inserter

4 months ago

Interesting. Thanks for the report! I want to add ghost configuration in the next feature release, so I’ve been thinking about that but will have to take a look at this use case first.

4 months ago

Ok, the engine gave you a somewhat vague error message on this one, and also unfortunately I wasn't able to reproduce this crash locally.

I've tried to add some safety guards into 1.3.7, I'm hoping that helps, but if it happens again would you be willing to share some repro steps?

4 months ago
(updated 4 months ago)
1240.671 Error MainLoop.cpp:1510: Exception at tick 11920710: The mod Paste Logistic Settings (Continued) (1.3.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event paste-logistic-settings-continued::paste-logistic-settings-continued-paste (ID 223)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    [C]: in function '__index'
    __paste-logistic-settings-continued__/control.lua:37: in function <__paste-logistic-settings-continued__/control.lua:22>

again a force build, I think it's because force build use common key shortcut so game is doing a super force build + your script, thus that not a very important crash so that ok

4 months ago

How are you able to reproduce? I've tried and can't get it to break.

Are you super force building over water? Amonia? Lava? Other assemblers and inserters? From a blueprint?

4 months ago

Honestly no idea, next time I will try to find a repro cause I can't even repro it now... I was copy paste some chemical plant with their chest that was crafting explosive, at some point a big electric pole prevent me to build so I super force build and its crashed. It's not a big problem so don't worry much.

4 months ago

Oh I absolutely will worry about it lol

The Factorio dev team has set a very high bar for reliability that I strive to emulate!

4 months ago

but they can code with c++; mod using lua it's waaaaaaaaaaaaaaaaaaaaaay harder to not crash on random bullshit haha

3 months ago

Ok - someone in a DM reported this as well, and it gave me an idea: simply prevent mod activation if there is anything held in the cursor. That fix is in 1.3.8 - would be curious if this solves your report as well.

New response