Crane Builder


Adds an early crane that builds ghosts before robots

Content
a month ago
2.0
515
Logistic network

b [Fixed] crash when placing crane with "show crane range" set to complex

2 months ago

When placing a Crane while the "show crane range" setting is set to "complex", which is the default for that setting, it crashes.

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

Error while running event crane-builder::on_tick (ID 0)
crane-builder/scripts/crane_highlight.lua:39: attempt to index field 'nw' (a nil value)
stack traceback:
crane-builder/scripts/crane_highlight.lua:39: in function 'calculate_highlight'
crane-builder/scripts/crane_highlight.lua:91: in function 'draw_full_circle'
crane-builder/scripts/crane_highlight.lua:166: in function 'draw_crane_range'
crane-builder/scripts/crane_highlight.lua:217: in function 'on_tick'
crane-builder/control.lua:11: in function <crane-builder/control.lua:9>

2 months ago

Hi, I was unable to reproduce your error. Could you give me a few information that might help me:
a) have you changed any settings from their default? when yes which and to what value
b) have you any other cranes placed in your surrounding
c) can you reproduce the error when you start a new game, give yourself with the editor (console: "/editor") a crane and place it then down
d) do you play any kind of ribbon world? or have any other kind of special restricted world (e.g. factorissimo)

2 months ago

a: the only settings I changed from the defaults are that I enabled the support for logistics chests, additionally it does NOT crash if I set the "show crane range" setting to simple
b: I crashes the moment I place the FIRST crane, so no
c: yes, I made a fresh testing world and enabled cheat mode with editor extensions "made" crane with the creative recipes and placed it down
d: no, just a regular space age world with editor extensions cheat mode enabled

a month ago

Repro in a game with way too many mods. Was placing first crane; a supply crate existed but was several blocks away (?)

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

Error while running event crane-builder::on_tick (ID 0)
crane-builder/scripts/crane_highlight.lua:39: attempt to index field 'nw' (a nil value)
stack traceback:
crane-builder/scripts/crane_highlight.lua:39: in function 'calculate_highlight'
crane-builder/scripts/crane_highlight.lua:91: in function 'draw_full_circle'
crane-builder/scripts/crane_highlight.lua:166: in function 'draw_crane_range'
crane-builder/scripts/crane_highlight.lua:217: in function 'on_tick'
crane-builder/control.lua:11: in function <crane-builder/control.lua:9>
5884.917 Error ClientMultiplayerManager.cpp:86: MultiplayerManager failed: "The mod Crane Builder (1.4.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event crane-builder::on_tick (ID 0)
crane-builder/scripts/crane_highlight.lua:39: attempt to index field 'nw' (a nil value)
stack traceback:
crane-builder/scripts/crane_highlight.lua:39: in function 'calculate_highlight'
crane-builder/scripts/crane_highlight.lua:91: in function 'draw_full_circle'
crane-builder/scripts/crane_highlight.lua:166: in function 'draw_crane_range'
crane-builder/scripts/crane_highlight.lua:217: in function 'on_tick'
crane-builder/control.lua:11: in function <crane-builder/control.lua:9>"
5884.917 Info ClientMultiplayerManager.cpp:608: UpdateTick(653597) changing state from(InGame) to(Failed)

a month ago
(updated a month ago)

Thanks for the report.

a month ago

Fixed in 1.5.0 (hopefully)

New response