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
8 months ago
2.0
2.44K
Blueprints Cheats

g [CLOSE]Ghost Placement - Crash

8 months ago
(updated 8 months ago)

The mod Lazy Builder (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.
Was ghost placing yellow belts through a forest (which was being deleted) when it crashed. Updated to the latest version, tried again and crashed again. Would you like the save file?

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

8 months ago

Was ghost placing yellow belts through a forest (which was being deleted) when it crashed. Updated to the latest version, tried again and crashed again. Would you like the save file?

Hi. Thank you for the bug report.
Yes, if possible, a save file would be very helpful.

8 months ago

I think I was able to reproduce it. You had instant building and demolition enabled. When trying to place a blueprint on trees, both demolition and placement were executed simultaneously, resulting in the objects becoming nil and causing an error. I fixed it by adding a check for nil and ignoring those objects.

New response