Lazy Builder

by Morgott

Another mod for auto-construction/upgrade of ghost structures and auto-dismantling of objects, but as non-cheaty as possible.

Utilities
9 months ago
2.0
2.49K
Blueprints Cheats

b [OPEN]Crash Report

6 months ago

Hello, I’m reporting errors that occurred when construct/deconstruct special entities.
These happened with the beacon of PYMOD and the special pipe of ValveMOD that cannot connect to certain directions.

Lazy Builder (1.0.8)のMODが回復不能なエラーを発生させました。
MOD作成者にこのエラーを報告してください。

Error while running event auto-build-and-deconstruct::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'mine_entity'
auto-build-and-deconstruct/control.lua:116: in function 'deconstruct'
auto-build-and-deconstruct/control.lua:52: in function 'scan'
auto-build-and-deconstruct/control.lua:23: in function <auto-build-and-deconstruct/control.lua:20>

Lazy Builder (1.0.8)のMODが回復不能なエラーを発生させました。
MOD作成者にこのエラーを報告してください。

Error while running event auto-build-and-deconstruct::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'raise_event'
auto-build-and-deconstruct/control.lua:140: in function 'construct'
auto-build-and-deconstruct/control.lua:60: in function 'scan'
auto-build-and-deconstruct/control.lua:23: in function <auto-build-and-deconstruct/control.lua:20>

5 months ago

Hi ESUESU001,

Just wanted to let you know I might have resolved the issue you mentioned in the crashlog. I’ve put together an unpublished version of the mod for testing—would you be willing to give it a try? If everything works as expected, I’ll push the update to the Factorio mod repository right away. Let me know how it goes!
https://drive.google.com/file/d/1IWvol_jM1TV1c5i9TYSDXk-Sv_f89OME/view?usp=sharing
Thanks for your help!

5 months ago

Sorry, I forgot to check here.

I tested the MOD again, but it seems there are still some issues.
The crash when placing/removing the PY beacon has been resolved. But now, the beacon disappears when it is removed.
Also, when I mentioned the "special pipe" last time, I was referring to the straight pipes, elbow pipes, and T-pipes from the MOD Flow Control.
It seems that the game crashes when trying to auto-place one of these pipes while holding normal pipe.

The common point in both issues seems to be a mismatch between the surface entity and the inventory item.
In the case of the PY beacon, it exists in the inventory as an "AM1FM1" setting, but when placed on the surface, it operates with different settings.
As for the Flow Control pipes, when a T-pipe (or similar) is manually removed, it turns into a normal pipe in the inventory.
Also, when the game crashes during auto-placement of a T-pipe, I noticed that the number of normal pipes in the inventory decreased. If I had no regular pipes, the crash did not occur.

It seems that in Flow Control, pressing the Q key on a placed T-pipe brings up a normal pipe, which may be related to how the items are handled internally.

Please take your time. I’m happy to wait patiently.

New response