Lazy Builder

by Morgott

Another mod for auto-construction/upgrade of ghost structures and auto-dismantling of objects, but as non-cheaty as possible.

Utilities
8 months ago
2.0
2.44K
Blueprints Cheats

b [CLOSE]Latest version tanks UPS

8 months ago

Not sure what changed since there's no changelog, but after updating to the latest version my UPS is 20. Verified using debugger that this mod is responsible for ~40ms update time each frame.

I should note that I have 'instant build' enabled in options as well as a different mod that gives me long reach, is it possible this mod is iterating over the entire build area each frame which is causing the problem?

Anyway, disabling only this mod fixed the issue, in case this happens to anyone else.

8 months ago

Hello, thank you for your response. Everything is correct, the area around the character is scanned every 4 ticks. In the old version, it performed this scan three times simultaneously, but now it does it only once. Have you perhaps set a very large area? Lags can only occur with a large area.

Currently, I’m playing with friends (5 people), and we’re not experiencing any UPS drops.

8 months ago

I've just got the Far Reach mod installed, so whatever it sets as the reach is what I have. Note that I was playing with your mod for several hours without any issues until yesterday's update, which is when the UPS issues began

8 months ago

Thanks, I'll keep that in mind! Fixed a few more bugs in the mod.

8 months ago

I'm getting this error in the latest version

The mod Lazy Builder (1.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event auto-build-and-deconstruct::on_tick (ID 0)
auto-build-and-deconstruct/control.lua:58: attempt to call global 'deconstruct' (a nil value)
stack traceback:
auto-build-and-deconstruct/control.lua:58: in function 'scan'
auto-build-and-deconstruct/control.lua:24: in function <auto-build-and-deconstruct/control.lua:21>

8 months ago

The mod Lazy Builder (1.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Hello, please check it now. If there are still any crashes or ups drops, please send me the save file where this occurs and the list of mods.

8 months ago

The crash is fixed, unfortunately UPS is still unplayable. I looked at my stats and reach is +500, it's probably just too big of an area to iterate every tick performantly

New response