mickael9 / cut-and-paste

Quickly cut or copy an area and paste it where you want (single-use blueprints). External circuit connections are restored when possible.
MIT License
3 stars 2 forks source link

Crash While Copy/Cut and Pasting Rails #8

Closed Lezreth closed 7 years ago

Lezreth commented 7 years ago

Attempting to copy or cut and then paste layouts that include rails crashes the game. The error message I received is:

Error while running event cut-and-paste::on_tick (ID 0)
__cut-and-paste__/control.lua:48: attempt to index local 'm' (a nil value)

Another user has also encountered this issue. Judging from the error message they posted, it appears that they were in a multiplayer game. The two error messages they posted are as follows:

Message 1:

29551.878 Error MainLoop.cpp:859: Exception at tick 26049145: Error while running event cut-and-paste::on_tick (ID 0)
__cut-and-paste__/control.lua:48: attempt to index local 'm' (a nil value)
29551.878 Error ServerMultiplayerManager.cpp:94: MultiplayerManager failed: "Error while running event cut-and-paste::on_tick (ID 0)
__cut-and-paste__/control.lua:48: attempt to index local 'm' (a nil value)"
29551.878 Info ServerMultiplayerManager.cpp:670: mapTick(26049145) changing state from(InGame) to(Failed)

Message 2:

398443.665 Error MainLoop.cpp:864: Exception at tick 33234812: Error while running event cut-and-paste::on_player_selected_area (ID 49)
__cut-and-paste__/control.lua:313: table index is nil
398443.666 Error ServerMultiplayerManager.cpp:94: MultiplayerManager failed: "Error while running event cut-and-paste::on_player_selected_area (ID 49)
__cut-and-paste__/control.lua:313: table index is nil"
398443.666 Info ServerMultiplayerManager.cpp:670: mapTick(33234812) changing state from(InGame) to(Failed)