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
a month ago
2.0
3.72K
Blueprints Cheats

b crash in spill_item_stack[OPEN]

4 months ago
(updated a month ago)

I copy and pasted over something that would cause upgrades, and received this crash. I'm running 2.0.73 with space-age.

The mod Lazy Builder (1.1.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event auto-build-and-deconstruct::on_tick (ID 0)
__auto-build-and-deconstruct__/control.lua:20: Arguments count error for 'spill_item_stack': Expected 1 argument but 4 were given
stack traceback:
    [C]: in function 'spill_item_stack'
__auto-build-and-deconstruct__/control.lua:20: in function 'give_item_to_player'
__auto-build-and-deconstruct__/control.lua:498: in function <__auto-build-and-deconstruct__/control.lua:473>
(...tail calls...)
__auto-build-and-deconstruct__/control.lua:584: in function 'process_all'
__auto-build-and-deconstruct__/control.lua:599: in function 'scan'
__auto-build-and-deconstruct__/control.lua:632: in function <__auto-build-and-deconstruct__/control.lua:629>
3 months ago

ty for report! ill fix it soon

a month ago
(updated a month ago)

So I received this error a couple more times. While I can't say upgrades don't cause it, the last couple of times I got it I think my inventory was completely full, so maybe that's the problem. Here's the latest:

The mod Lazy Builder (1.1.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event auto-build-and-deconstruct::on_tick (ID 0)
__auto-build-and-deconstruct__/control.lua:20: Arguments count error for 'spill_item_stack': Expected 1 argument but 4 were given
stack traceback:
[C]: in function 'spill_item_stack'
__auto-build-and-deconstruct__/control.lua:20: in function 'give_item_to_player'
__auto-build-and-deconstruct__/control.lua:433: in function <__auto-build-and-deconstruct__/control.lua:382>
(...tail calls...)
__auto-build-and-deconstruct__/control.lua:584: in function 'process_all'
__auto-build-and-deconstruct__/control.lua:606: in function 'scan'
__auto-build-and-deconstruct__/control.lua:632: in function <__auto-build-and-deconstruct__/control.lua:629>`
a month ago
(updated a month ago)

edit: ignore this

a month ago

Fixed in 1.1.1! The crash happened when your inventory was full and the mod tried to drop the leftover items on the
ground. The game updated how that works in 2.0 and my code was still using the old way, so it blew up instead of
just dropping the items.
Grab the update and it should be smooth now. Thanks a lot for the report and for sending the second log, that
confirmed it was the full inventory case. Let me know if it pops up again!

New response