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.09K

b [FIXED] The game crashes when opening the map

9 months ago

Hi, here is the error message when I want to open the map and there are deconstructions/ghosts planned :

Le mod Player Auto Build 2 (1.2.0) a engendré une erreur non récupérable.
Merci d'informer l'auteur de cette erreur.

Error while running event player-auto-build-2::on_tick (ID 0)
player-auto-build-2/control.lua:54: attempt to index upvalue 'inv' (a nil value)
stack traceback:
player-auto-build-2/control.lua:54: in function 'action'
player-auto-build-2/control.lua:158: in function 'tick_action_queue'
player-auto-build-2/control.lua:143: in function 'update_player'
player-auto-build-2/control.lua:248: in function <player-auto-build-2/control.lua:245>

Thx for help

9 months ago
(updated 9 months ago)

Thank you, I will check it up.

Did you use it with with Space Age - if yes, its not tested for it.

Did you get the error on first try (after installing the mod)?

Or after opening map multiple times (after saving it)?

9 months ago

Yes I'm on Space Age, I installed the mod and the crash happened as soon as I opened the map

;-)

9 months ago

It occurs to me that I also crashed when opening the Remote View. It basically is the same crash as I posted about earlier, YoshY.

Kind regards,
Alin

9 months ago

It occurs to me that I also crashed when opening the Remote View. It basically is the same crash as I posted about earlier, MaZy.

Kind regards,
Alin

9 months ago
(updated 9 months ago)

Thank you guys. Seems like I found the bug. Remote View removes inventory access. That's why it shows local 'inv' (a nil value) inv for inventory.
I will upload the fixed the version now.

9 months ago

Cheers!

New response