Autobuild

by therax

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

Utilities
9 months ago
0.17 - 2.0
22.3K

b Error Deconstructing in 2.0.66

a month 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.

15 days ago

in 2.0.69 too

15 days ago
(updated 15 days 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.

New response