[2.0.10] Train stuck at disabled station
Posted: Wed Oct 23, 2024 11:50 pm
I've setup a number of train stops, "[flamethrower][oil][repair pack]". These train stations are configured with "Set Train Limit" circuit network condition.
If the stop needs items, the circuit network sets "L" to "1" to enable the station. When it gets all items it needs, it stops sending "L", disabling the station.
The train is configured with two station schedules, as follows.
1. "[flamethrower][oil][repair pack]"
* 5 seconds of inactivity
2. "[flamethrower][oil][repair pack]"
* 5 seconds of inactivity
It has 4 interrupts.
1. It has an interrupt to refuel the train if fuel is low.
2. It has an interrupt to go get more walls and repair packs if it is low
3. It has an interrupt to go get oil if it is low on oil.
1, 2, and 3 are currently not triggering as their conditions have not been met, as expected.
4. "Gunboat Idle"
Conditions:
* Destination full or no path
Targets:
* "Gunboat Idle" Station
* No wait condition
My train goes to a "[flamethrower][oil][repair pack]", and unloads. The station then gets set to 0.
This causes two issues.
1. There is no path to the next station, so it should return to the "Gunboat Idle" station, it does not.
2. When a "[flamethrower][oil][repair pack]" station becomes available, it stays at the currently disabled station.
The "Play"/"Stop" button does not change between the two stations.
The "5s of inactivity" conditions on both stations strobe green between the two stations.
Edits:
* Tested against 2.0.10, updated title
If the stop needs items, the circuit network sets "L" to "1" to enable the station. When it gets all items it needs, it stops sending "L", disabling the station.
The train is configured with two station schedules, as follows.
1. "[flamethrower][oil][repair pack]"
* 5 seconds of inactivity
2. "[flamethrower][oil][repair pack]"
* 5 seconds of inactivity
It has 4 interrupts.
1. It has an interrupt to refuel the train if fuel is low.
2. It has an interrupt to go get more walls and repair packs if it is low
3. It has an interrupt to go get oil if it is low on oil.
1, 2, and 3 are currently not triggering as their conditions have not been met, as expected.
4. "Gunboat Idle"
Conditions:
* Destination full or no path
Targets:
* "Gunboat Idle" Station
* No wait condition
My train goes to a "[flamethrower][oil][repair pack]", and unloads. The station then gets set to 0.
This causes two issues.
1. There is no path to the next station, so it should return to the "Gunboat Idle" station, it does not.
2. When a "[flamethrower][oil][repair pack]" station becomes available, it stays at the currently disabled station.
The "Play"/"Stop" button does not change between the two stations.
The "5s of inactivity" conditions on both stations strobe green between the two stations.
Edits:
* Tested against 2.0.10, updated title