Skip to content

[BUG] Unrecoverable error when space platform is destroyed #46

@JXSDGAMR

Description

@JXSDGAMR

Bug: Error while running event captains-log::on_space_platform_changed_state (ID 195)
captains-log/scripts/events.lua:156: attempt to index local 'spaceLocation' (a nil value)
stack traceback:
captains-log/scripts/events.lua:156: in function 'handler'
core/lualib/event_handler.lua:72: in function <core/lualib/event_handler.lua:70>
788.771 Error ClientMultiplayerManager.cpp:86: MultiplayerManager failed: "The mod Captain's Log (0.0.6) caused a non-recoverable error.
Please report this error to the mod author.

This error is directly from the Factorio log

Factorio Error Report
If Factorio provided an error message, please include it here. This helps identify and troubleshoot issues more efficiently.
Pls put the report into 3x`.

```

Error while running event captains-log::on_space_platform_changed_state (ID 195)
captains-log/scripts/events.lua:156: attempt to index local 'spaceLocation' (a nil value)
stack traceback:
captains-log/scripts/events.lua:156: in function 'handler'
core/lualib/event_handler.lua:72: in function <core/lualib/event_handler.lua:70>
788.771 Error ClientMultiplayerManager.cpp:86: MultiplayerManager failed: "The mod Captain's Log (0.0.6) caused a non-recoverable error.
Please report this error to the mod author.


```

Additional context
This was on a multiplayer server, with the blueprint sandbox mod. We were testing a ship in the sandbox, and I believe it got destroyed. This caused an unrecoverable error and the server got automatically rolled back to a previous save

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions