Bluebuild rewritten

by gheift

Allows automatic blueprint building and deconstruction without bots. Once a blueprint is placed, nearby entities will be auto-placed as long as you have the objects in your inventory and are standing still. Once items are marked for deconstruction, they will be auto-removed and put into your inventory as long as you are standing still. Deconstruction speed is based on the mining time and the currently used tool. Press SHIFT+K to toggle building, press SHIFT+L to toggle deconstruction.

Utilities
7 years ago
0.15
17

b Crash on a deconstruction

7 years ago
(updated 7 years ago)

4916.257 Error MainLoop.cpp:945: Exception at tick 17945200: Error while running event ght-bluebuild::on_tick (ID 0)
Given index value (327) is too big, the data type allows values from 0 to 255
stack traceback:
ght-bluebuild/control.lua:803: in function 'deconstruct_entity'
ght-bluebuild/control.lua:965: in function 'deconstruct'
ght-bluebuild/control.lua:1049: in function 'check'
ght-bluebuild/control.lua:1089: in function <ght-bluebuild/control.lua:1085>

7 years ago

I get a crash too...
Error while running event Bluebuild::on_tick (ID 0)
Bluebuild/control.lua:186: attempt to perform arithmetic on field '?' (a nil value)

7 years ago

Same I'm getting this error:
Error while running event Bluebuild::on_tick (ID 0)
Bluebuild/control.lua:186: attempt to perform arithmetic on field '?' (a nil value)

New response