Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when adding cargo ships v1.0.13 to factorio 2.0.28 existing save (headless multiplayer) #38

Open
Emyrk opened this issue Dec 22, 2024 · 1 comment

Comments

@Emyrk
Copy link

Emyrk commented Dec 22, 2024

Booting the server yields a crash

  13.062 Checksum for script __deadlock-beltboxes-loaders__/control.lua: 4240529791
  13.148 Script @__cargo-ships__/logic/ship_api.lua:44: Adding ship 'cargo_ship':
  13.149 Script @__cargo-ships__/logic/ship_api.lua:160: Added ship specification:
{coupled_engine = 1, engine = "cargo_ship_engine", engine_offset = {{x = -4.4000000000000004, y = 8.4000000000000004}, {x = -7, y = 7}, {x = -8.4000000000000004, y = 4.4000000000000004}, {x = -9.5, y = 0}, {x = -8.4000000000000004, y = -4.4000000000000004}, {x = -7, y = -7}, {x = -4.4000000000000004, y = -8.8000000000000007}, {x = 0, y = -9.5}, {x = 4.4000000000000004, y = -8.8000000000000007}, {x = 7, y = -7}, {x = 8.8000000000000007, y = -4.4000000000000004}, {x = 9.5, y = 0}, {x = 8.8000000000000007, y = 4.4000000000000004}, {x = 7, y = 7}, {x = 4.4000000000000004, y = 8.8000000000000007}, [0] = {x = 0, y = 9.5}}, name = "cargo_ship"}
  13.149 Script @__cargo-ships__/logic/ship_api.lua:44: Adding ship 'oil_tanker':
  13.150 Script @__cargo-ships__/logic/ship_api.lua:160: Added ship specification:
{coupled_engine = 1, engine = "cargo_ship_engine", engine_offset = {{x = -4.4000000000000004, y = 8.4000000000000004}, {x = -7, y = 7}, {x = -8.4000000000000004, y = 4.4000000000000004}, {x = -9.5, y = 0}, {x = -8.4000000000000004, y = -4.4000000000000004}, {x = -7, y = -7}, {x = -4.4000000000000004, y = -8.8000000000000007}, {x = 0, y = -9.5}, {x = 4.4000000000000004, y = -8.8000000000000007}, {x = 7, y = -7}, {x = 8.8000000000000007, y = -4.4000000000000004}, {x = 9.5, y = 0}, {x = 8.8000000000000007, y = 4.4000000000000004}, {x = 7, y = 7}, {x = 4.4000000000000004, y = 8.8000000000000007}, [0] = {x = 0, y = 9.5}}, name = "oil_tanker"}
  13.150 Script @__cargo-ships__/logic/ship_api.lua:44: Adding ship 'boat':
  13.151 Script @__cargo-ships__/logic/ship_api.lua:160: Added ship specification:
{coupled_engine = 0, engine = "boat_engine", engine_offset = {{x = 1.3200000000000001, y = -2.52}, {x = 2.1000000000000001, y = -2.1000000000000001}, {x = 2.52, y = -1.3200000000000001}, {x = 2.85, y = -0}, {x = 2.52, y = 1.3200000000000001}, {x = 2.1000000000000001, y = 2.1000000000000001}, {x = 1.3200000000000001, y = 2.6400000000000001}, {x = -0, y = 2.85}, {x = -1.3200000000000001, y = 2.6400000000000001}, {x = -2.1000000000000001, y = 2.1000000000000001}, {x = -2.6400000000000001, y = 1.3200000000000001}, {x = -2.85, y = -0}, {x = -2.6400000000000001, y = -1.3200000000000001}, {x = -2.1000000000000001, y = -2.1000000000000001}, {x = -1.3200000000000001, y = -2.6400000000000001}, [0] = {x = -0, y = -2.85}}, name = "boat"}
  13.151 Script @__cargo-ships__/logic/ship_api.lua:174: Adding boat 'indep-boat':
  13.151 Script @__cargo-ships__/logic/ship_api.lua:215: Added boat specification:
{name = "indep-boat", placing_item = "boat", rail_version = "boat"}
  13.151 Script @__cargo-ships__/logic/ship_api.lua:254: Ship Engines Defined:
  13.151 Script @__cargo-ships__/logic/ship_api.lua:256: {compatible_ships = {cargo_ship = true, oil_tanker = true}, coupled_ship = 0, name = "cargo_ship_engine", recover_fuel = true}
  13.152 Script @__cargo-ships__/logic/ship_api.lua:256: {compatible_ships = {boat = true}, coupled_ship = 1, name = "boat_engine", recover_fuel = true}
  13.152 Script @__cargo-ships__/logic/ship_api.lua:260: Enterable ships:
{boat = true, boat_engine = true, cargo_ship = true, cargo_ship_engine = true, ["indep-boat"] = true, oil_tanker = true}
  57.934 Error ServerMultiplayerManager.cpp:84: MultiplayerManager failed: "The mod Cargo Ships (1.0.13) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event cargo-ships::on_init()
Resource temporarily unavailable
stack traceback:
	[C]: in function 'regenerate_entity'
	__cargo-ships__/logic/mapgen.lua:10: in function 'oil_generation_migration'
	__cargo-ships__/control.lua:523: in function 'init'
	__cargo-ships__/control.lua:535: in function <__cargo-ships__/control.lua:534>"
  57.934 Info ServerMultiplayerManager.cpp:806: updateTick(18446744073709551615) changing state from(CreatingGame) to(InitializationFailed)
  57.934 Info CommandLineMultiplayer.cpp:211: Exit point.
  57.946 Info ServerMultiplayerManager.cpp:146: Quitting multiplayer connection.
  57.946 Info ServerMultiplayerManager.cpp:806: updateTick(18446744073709551615) changing state from(InitializationFailed) to(Closed)
  57.946 Info ServerMultiplayerManager.cpp:166: Deleting active scenario (global = true).
  58.024 Info UDPSocket.cpp:233: Closing socket
  58.026 Goodbye

@robot256
Copy link
Owner

Thanks for the report. Can you attach the complete log file and the save file so we can reproduce it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants