Page 1 of 1

[0.15.16] Train Schedule - Station state not updating

Posted: Mon May 29, 2017 8:31 pm
by Zaka
So I've been working on a way to have mines call for a train when they have material to load.

Trains wait in the [Resource Specific] Waiting Bay.
The Mine detects that it has a full load available.
The Mine Controller detects this condition, and acknowledges it and records it.
The Waiting Bay controller sees that a train is required, releases it and notifies the Mine Controller.
The mine controller then subtracts from the number of mines that need service.

The above sums up how it should work and the save attached works that way.
Still Shots
Video
The problem that I ran in to is when a train is released it will drive right past the mine to the Drop Off (Oil-Refinery) then go back to the Waiting Bay.
The subtraction has already taken place and now there is a mine that will never get serviced.

I found that the Train Schedule does not update the state (Disabled/Enabled) of the Target Station when it is released from the Waiting Bay stop using
the Wait for Circuit condition (Green > 0).

To see the problem open the save and delete the Train Stop that has the Hazard Concrete.
The problem will show up within a couple of cycles.


Attached Save REQUIRES Creative Mode Mod.
Blueprints for the system are included in the save.
If you use them YMMV as this is a work in progress.

- Zaka

Re: [0.15.16] Train Schedule - Station state not updating

Posted: Tue May 30, 2017 2:04 am
by Zaka
Updated with Video

Re: [0.15.16] Train Schedule - Station state not updating

Posted: Tue Jun 20, 2017 2:56 pm
by Klonan
Thanks for the report,

However i am having a hard time understanding what exactly the issue is
Zaka wrote:I found that the Train Schedule does not update the state (Disabled/Enabled) of the Target Station when it is released from the Waiting Bay stop using
the Wait for Circuit condition (Green > 0).
Could you make as small and simple a setup in vanilla required to reproduce this,
A save game would be best,

And describe what should happen,
And what is actually happening

It sounds like you are releasing the train, and at the same time enabling the station?