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
25 days ago
1.1 - 2.0
27.9K
Logistics Trains Circuit network

b [1.0.9] depot network signal

2 years ago
(updated 2 years ago)

There is some inconsistent behaviour with network signals:
1. Set up stations (depot, provider, request) for network A.
2. Send a train to depot after the warmup period.
3. While the train is parked at the depot, change signal to network B.
4. Train still serve network A until the next time it returns to the depot / toggle manual and back to auto.

Changing network signal for providers and requesters doesn't work too. I am guessing you missed a has_changed toggle in this line.

Another related behaviour (probably intended? For changing network signal mid-delivery):
1. Set up stations (depot, provider, request) for network A.
2. Trigger a delivery, while the train is delivering, change depot to network B
3. Train will not bypass the depot for another delivery (I observed that the train is still under the signal-A key in available_trains table)

After fixing has_changed flag, the train continues with its delivery for network A until it returns to depot and convert into a network B train. Not sure which behaviour is intended.

P/S: please change the title, it is not limited to depot only

2 years ago

wow thanks for the detailed bug report. Yes you are absolutely right, that must have been a copy-paste bug. The intended behavior is trains may only change networks while parked at a depot.

New response