Player Auto Build 2 - (Ghosts, Blueprints, Deconstruction)

by MaZy

Automatically builds or removes blueprint / deconstruction / ghosts near the player. It has the same behaviour like you would do yourself mining or removing things. Also supports deconstruction which will mine mineable things to your inventory. Deconsturctions works on everything which is markable.

Utilities
9 months ago
1.1 - 2.0
5.10K

b Crash

9 months ago

When turning on Player auto build from gui icon (was probably going to crash even if it was already turned on)

The mod Player Auto Build 2 (1.2.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event player-auto-build-2::on_tick (ID 0)
player-auto-build-2/control.lua:96: attempt to index global 'inv' (a nil value)
stack traceback:
player-auto-build-2/control.lua:96: in function 'action'
player-auto-build-2/control.lua:210: in function 'tick_action_queue'
player-auto-build-2/control.lua:194: in function 'update_player'
player-auto-build-2/control.lua:312: in function <player-auto-build-2/control.lua:309>

9 months ago

i got the same bug
when it will try to anyting.

Error while running event player-auto-build-2::on_tick (ID 0)
player-auto-build-2/control.lua:96: attempt to index global 'inv' (a nil value)
stack traceback:
player-auto-build-2/control.lua:96: in function 'action'
player-auto-build-2/control.lua:210: in function 'tick_action_queue'
player-auto-build-2/control.lua:194: in function 'update_player'
player-auto-build-2/control.lua:312: in function <player-auto-build-2/control.lua:309>

9 months ago

Yeah sorry, I accidentally deleted one line in the code, lol. I updated.

9 months ago

now it makes it so when it places anything it has 1 hp

9 months ago

I'm too scared to renable this mod lmao

9 months ago
(updated 9 months ago)

I hope should be fixed now.

Yea sorry. I rush with updates because of I have less time. So accidentally happens small bugs.
Also Factorio mod api is confusing sometimes. placed items like belt if you use health like belt.health it shows real health but if you use itemstack in your inventory like stack.health it is a percentage instead of real health. So it applied 1% to all actually lol.

New response