Train Depot


Automatically clones trains at new advanced train stations called train depots. The train to clone is set by a circuit network signal sent to the station. It can clone schedule and filter settings as well as the carriages. Also adds a combinator that sends a signal counting the number of trains scheduled for a station it is placed next to. Check the mod portal for details on signals and usage.

Content
5 years ago
0.16
5
Trains

g Crash on MP proberly blueprint related?

5 years ago

2650179.030 Info AppManager.cpp:260: Saving to _autosave3 (blocking).
2650181.012 Info AppManagerStates.cpp:1639: Saving finished
2650597.093 Error MainLoop.cpp:1035: Exception at tick 11652962: Error while running event TrainDepot::on_player_setup_blueprint (ID 68)
TrainDepot/control.lua:73: bad argument #1 to 'ipairs' (table expected, got nil)
2650597.093 Error ServerMultiplayerManager.cpp:96: MultiplayerManager failed: "Error while running event TrainDepot::on_player_setup_blueprint (ID 68)
TrainDepot/control.lua:73: bad argument #1 to 'ipairs' (table expected, got nil)"
2650597.093 Info ServerMultiplayerManager.cpp:699: mapTick(11652962) changing state from(InGame) to(Failed)
2650597.095 Info GlobalContext.cpp:696: Waiting for child processes to exit:
2650597.686 Info ServerMultiplayerManager.cpp:142: Quitting multiplayer connection.
2650597.686 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(Failed) to(Closed)
2650597.687 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/remove-game/4169884
2650597.790 Info HttpSharedState.cpp:145: Status code: 200
2650597.805 Info UDPSocket.cpp:206: Closing socket
2650597.805 Info UDPSocket.cpp:236: Socket closed
2650597.806 Goodbye+

Its a MP server, dedicated. I did not do anything with blueprints at that point, so i dont know if the Depo was actualy in the blueprint or not.

5 years ago

Hmm, a blueprint with no entities set up in it. Thanks for the report, intertoothh!

https://github.com/taerin-markman/TrainDepot/issues/30

5 years ago

I didn't repro it, but I fixed the specific crash. Give 0.1.3 a try and let me know!

New response