Project Cybersyn - Logistics Train Dispatcher


Creates a feature-rich train logistics network through cybernetic combinators. With just this mod you can coordinate the economic inputs and outputs of your entire megabase.

Content
7 months ago
1.1
15.7K
Logistics Trains Circuit network

b On changing timeout time of "stuck train" causes crash?

4 months ago

The mod Project Cybersyn (1.3.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event cybersyn::on_nth_tick(2)
LuaTrain API call when LuaTrain was invalid.
stack traceback:
[C]: in function 'index'
__cybersyn
/scripts/factorio-api.lua:743: in function 'send_alert_for_train'
cybersyn/scripts/factorio-api.lua:805: in function 'send_alert_stuck_train'
cybersyn/scripts/central-planning.lua:719: in function 'tick_poll_entities'
cybersyn/scripts/central-planning.lua:829: in function 'tick'
cybersyn/scripts/main.lua:888: in function <cybersyn/scripts/main.lua:887>

4 months ago

Ive changed stuck train timer from 10 minutes to back standart value. Now this happens?

4 months ago

Breaking a depo with drones caused crash too??? Random one tho.

The mod Project Cybersyn (1.3.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event cybersyn::on_robot_pre_mined (ID 15)
LuaTrain API call when LuaTrain was invalid.
stack traceback:
[C]: in function 'index'
__cybersyn
/scripts/factorio-api.lua:743: in function 'send_alert_for_train'
cybersyn/scripts/factorio-api.lua:824: in function 'send_alert_depot_of_train_broken'
cybersyn/scripts/main.lua:45: in function 'on_depot_broken'
cybersyn/scripts/main.lua:582: in function 'on_stop_broken'
cybersyn/scripts/main.lua:663: in function <cybersyn/scripts/main.lua:658>

4 months ago

Funny enough it the same place that causes the crash?

4 months ago
(updated 4 months ago)

Okey that station was connected to train that got broken due to me removing a mod that added armored cargo wagons. Basically it became 2 trains with 1 id? On breaking station liked to such train it just crashes.

https://drive.google.com/file/d/1hzDUpt-1onMG-xdnf-d3cHHEq1RXJSjm/view?usp=sharing

Here is my save file. The stations to blame are on bottom right corner. You can find the train that causes the crash in trains list (they are basically just top and bottom of the train)

Yep I cant even break it without crashing even tho trains are gone.

4 months ago

```LUA The mod Project Cybersyn (1.3.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event cybersyn::on_nth_tick(2)
LuaTrain API call when LuaTrain was invalid.
stack traceback:
[C]: in function 'index'
__cybersyn
/scripts/factorio-api.lua:743: in function 'send_alert_for_train'
cybersyn/scripts/factorio-api.lua:805: in function 'send_alert_stuck_train'
cybersyn/scripts/central-planning.lua:719: in function 'tick_poll_entities'
cybersyn/scripts/central-planning.lua:829: in function 'tick'
cybersyn/scripts/main.lua:888: in function <cybersyn/scripts/main.lua:887> ```

Great not only I CANT break it. But if it checks for stuck trains it crashes my game :)

New response