Crane Builder


Adds an early crane that builds ghosts before robots

Content
11 days ago
2.0
488
Logistic network

b [Fixed] Error when deconstructing the crane

a month ago
(updated a month ago)
The mod Crane Builder (1.4.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event crane-builder::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    [C]: in function '__index'
    __crane-builder__/scripts/crane_highlight.lua:230: in function 'on_tick'
    __crane-builder__/control.lua:11: in function <__crane-builder__/control.lua:9>

Error occasionally happens when i remove the crane

a month ago

Should be fixed with 1.4.1

12 days ago

Not fixed. :(

Verified that this happens randomly on deconstruction of an unpowered crane, regardless of display (Complex, Simple, None). It may be related to having a few construction bots actively working nearby. Will try to reproduce in a unique sand box without other mods; am not a modder, but have software experience and love this mod; lmk if there's anything I can do to help!

2003.670 Error MainLoop.cpp:1468: Exception at tick 2916260: The mod Crane Builder (1.5.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event crane-builder::on_nth_tick(10)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__crane-builder
/scripts/crane_highlight.lua:255: in function 'on_tick'
crane-builder/control.lua:10: in function <crane-builder/control.lua:9>

12 days ago

Found the root! Error occurs when you deconstruct a crane with another crane in your hand.

Confirmed bug occurs in a creative world with no other mods; Passive Provider & Buffer Chests enabled, all other settings default.

Steps to reproduce:
- Enter a cheat world.
- Cheat two cranes into your inventory.
- Select both with the mouse
- Place the first crane.
- With the second crane still selected, deconstruct the first crane by hand (right-click).
- Crash should occur immediately when the first crane is fully deconstructed.

Hope this helps; let me know if there's anything else I can do!

11 days ago

Yes, I could reproduce it with your steps. Thanks a lot for them.
Fixed with 1.5.1

8 days ago

Huzzah!! 😁👏👏

New response