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 on 2.0.20

9 months ago

Failed to load modes: File _ base _ /graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x32.png not found

9 months ago

+

9 months ago

I tried rolling back the update from today...and it still won't load

9 months ago
(updated 9 months ago)

I just dug through the graphics folder, looks like the icons are now x24 and x56, not x32, so that's now an invalid file to look for. The simplest fix for now until it updates officially is to open the mod file, go into data.lua, and change the top icon line from

icons = {
{
icon = "base/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x32.png",
icon_size = 32,
scale = 0.5,
flags = {"gui-icon"}
}
},

to

icons = {
{
icon = "base/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x56.png",
icon_size = 56,
scale = 0.5,
flags = {"gui-icon"}
}
},

All that needs changing is toggle-personal-roboport-x32.png --> toggle-personal-roboport-x56.png and icon_size = 32, --> icon_size = 56,

9 months ago
(updated 9 months ago)

Note: 'base' is bolded because there should be two underscores before and after it, and this site formats that. Make sure you leave the underscores present in the data.lua file

9 months ago

I just dug through the graphics folder, looks like the icons are now x24 and x56, not x32, so that's now an invalid file to look for. The simplest fix for now until it updates officially is to open the mod file, go into data.lua, and change the top icon line from

icons = {
{
icon = "base/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x32.png",
icon_size = 32,
scale = 0.5,
flags = {"gui-icon"}
}
},

to

icons = {
{
icon = "base/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x56.png",
icon_size = 56,
scale = 0.5,
flags = {"gui-icon"}
}
},

All that needs changing is toggle-personal-roboport-x32.png --> toggle-personal-roboport-x56.png and icon_size = 32, --> icon_size = 56,

Works well - Thanks so much you're a king/Queen!

9 months ago

Hallo, ich finde die mod datei nicht. Wo kann ich die finden um es zu ändern?

9 months ago

I just dug through the graphics folder, looks like the icons are now x24 and x56, not x32, so that's now an invalid file to look for. The simplest fix for now until it updates officially is to open the mod file, go into data.lua, and change the top icon line from

icons = {
{
icon = "base/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x32.png",
icon_size = 32,
scale = 0.5,
flags = {"gui-icon"}
}
},

to

icons = {
{
icon = "base/graphics/icons/shortcut-toolbar/mip/toggle-personal-roboport-x56.png",
icon_size = 56,
scale = 0.5,
flags = {"gui-icon"}
}
},

All that needs changing is toggle-personal-roboport-x32.png --> toggle-personal-roboport-x56.png and icon_size = 32, --> icon_size = 56,

i do it, but now ->

Unknown event name: toggle-player-auto-build
stack traceback:
[C]: in function 'on_event'
player-auto-build-2/control.lua:318: in main chunk

9 months ago

i fix it

New response