Autobuild

by therax

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

Utilities
3 months ago
0.17 - 2.0
20.7K

g Version 2.0

5 months ago

Will you be rebuilding this mod for v2.0? Having hard time starting up the game without it.

5 months ago

There is definitely the intent to update this mod for 2.0.
But, I'm unsure, when I have enough time to dig into the 2.0 API changes, etc. and it depends, how fundamentally things have changed. I hope, its straight forward, but you never know.

5 months ago
(updated 5 months ago)

Plz update mod, i don't want to install 500 stone furnaces by hand

5 months ago
(updated 5 months ago)

I've updated it, but I'm pretty sure, there are still problems, esp. with space age and remote view.
I'm playing space age, but I'm still on nauvis and can't test it, my progress is like a snail xD
If you want, you can check this:
https://github.com/jodokus31/factorio-autobuild/releases/tag/v0.6
https://github.com/jodokus31/factorio-autobuild/releases/download/v0.6/autobuild_0.6.0.zip

The autobuild_0.6.0.zip can be placed inside the mod folder

5 months ago

thnx)

5 months ago

Lets me know, if you run into problems

5 months ago

Thanks for updating this for 2.0. My joints aren't good enough to play the game worth a damn without blueprints.

I am also on Nauvis, still, but I get intermittent crashes while placing rail. When I do get a crash, it is reproducible from a save file, but I can't say exactly whta causes it.

[code]
19122.176 Checksum for script level/control.lua: 2463946943
19122.178 Checksum for script autobuild/control.lua: 636302293
19122.180 Checksum for script jetpack/control.lua: 3843532548
19122.186 Checksum for script cybersyn/control.lua: 2032276101
19151.431 Error MainLoop.cpp:1429: Exception at tick 3828090: The mod Autobuild (0.6.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event autobuild::on_nth_tick(10)
Invalid ItemID: expected LuaItemPrototype, LuaItemStack, LuaItem or string.
stack traceback:
[C]: in function 'can_insert'
autobuild/control.lua:313: in function 'insert_or_spill'
autobuild/control.lua:344: in function 'try_revive_with_stack'
autobuild/control.lua:396: in function <autobuild/control.lua:389>
(...tail calls...)
autobuild/control.lua:931: in function 'do_autobuild'
autobuild/control.lua:1046: in function 'handle_player_update'
autobuild/control.lua:1052: in function <autobuild/control.lua:1050>
[/code]

5 months ago
(updated 5 months ago)

Thanks for the hint. It looks like not everything got converted to 2.0 API properly and I didn't run into this case, yet
Need to check after work. The error message is quite helpful, I think

5 months ago
(updated 5 months ago)

I would guess it happens, because the rail ghost are placed on trees/rocks. When reviving the ghost and it tries to insert the wood/stone into the inventory, it's crashing. Have to figure it out further, why it doesn't work anymore.
But as workaround, you could to deconstruct the colliding trees/rocks first regularly.
EDIT: It's because of items on the ground, which wants to get picked up, when an entity is placed there.

5 months ago
(updated 5 months ago)

https://github.com/jodokus31/factorio-autobuild/releases/tag/v0.6.1
https://github.com/jodokus31/factorio-autobuild/releases/download/v0.6.1/autobuild_0.6.1.zip

I fixed the bug with items on the ground.
I also considered the quality for items/ghosts correctly on building and upgrading.

5 months ago

Awesome. Needless to say, my crash is fixed. Thanks a lot, Jodokus.

3 months ago

You need to update your code so it detects for 2.0 people cant find your mod unless they use the mod portal in game will not show due to the 0.17 dependency

3 months ago

Yeah, I know. I wanted to test a bit more with space age, different planets and space, because the remote view could be problematic. But I didn't get to it, at all, so far :/

3 months ago

Ok, I took the plunge and released it. I checked it briefly with my Vulcanus save and looked ok. Fixed sounds on deconstruct.
Please let me know, if there a more problems, as I mainly play unmodded currently...

New response