Page 1 of 1

[boskid] [1.0.0] Blueprinted trains reload every time server is joined.

Posted: Tue Oct 20, 2020 4:14 am
by NotRexButCaesar
When joining a server the first time, blueprints are loaded to the server. Every consecutive time, the blueprints are cached and do not need to be loaded again, unless the blueprint is a train: then the blueprint must be reloaded each time.

This bug appears to have been introduced with the changes to train blueprints: when blueprints were changes such that issues when placing trains were resolved

Shown below is a blueprint previously loaded on the server, but because it contains a train it must be loaded again.

Re: [1.0.0] Blueprinted trains reload every time server is joined.

Posted: Tue Oct 20, 2020 7:56 am
by boskid
Hm... you are right. I was able to consistently reproduce this issue.

When narrowing it down i found it is due to the value tickEnteredLeftStation of a Rolling stock that is related to the door opening-closing animation: it changes when anything in the blueprint shelf changes so the blueprint invalidates.

Re: [1.0.0] Blueprinted trains reload every time server is joined.

Posted: Tue Oct 20, 2020 10:24 am
by boskid
Should be fixed for 1.1.0