Autobuild

by therax

Autobuild allows your character to automatically build, deconstruct, and upgrade nearby ghosts. A more efficient alternative to mods like Bluebuild.

Utilities
18 days ago
0.17 - 2.0
22.8K

b (fixed) Error Deconstructing in 2.0.66

2 months ago

Sometimes when deconstructing entities I get the following error:

The mod Autobuild (0.6.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event autobuild::on_nth_tick(10)
Index out of belt bounds.
stack traceback:
    [C]: in function '__index'
    __autobuild__/control.lua:735: in function 'move_items_on_belt_into_players_inventory'
    __autobuild__/control.lua:837: in function <__autobuild__/control.lua:822>
    (...tail calls...)
    __autobuild__/control.lua:967: in function 'do_autobuild'
    __autobuild__/control.lua:1082: in function 'handle_player_update'
    __autobuild__/control.lua:1088: in function <__autobuild__/control.lua:1086>

Having a full inventory triggers it often, but also I think deconstructing belts that have stacked items is triggering it.

a month ago

in 2.0.69 too

a month ago
(updated a month ago)

update: i proposed code to fix this error here: https://github.com/mspielberg/factorio-autobuild/pull/19/files

If mod author can merge it then it will appear in some next version of mod. In meantime you can edit mod manually on your computer to apply this fix if you want.

18 days ago

Thanks for the report and the proposed fix. I try to get around it, when I have some time to spare.

18 days ago

This should be fixed now

18 days ago

Yes, it seems it is fixed. Thanks!

14 days ago

Thank you!

New response