#[✓1.18.2+] Excess Trains in Coach Yard from Urban Contracts

9 messages · Page 1 of 1 (latest)

slender jasper
#

Game version: 1.17.15 & 16
OS: Windows

Steps to reproduce:
Unclear

Wrong behavior:
Coach yards end up with excess urban trains which are not attached to any contracts (accepted, or offered), and sometimes increase on game save/load. Sometimes it is possible to clear these trains out by sending them out of the coach yard and then back in, but this is inconsistent. Cannot send them off map.

I am attaching two saves showing this.

Save 1: No contracts at all. All were cancelled for this save. At one point I was somehow able to remove all of these trains, but upon loading the game again, even more were added.

Save 2: Far more trains than contracts (Removing these contracts also does not remove these trains, and they cannot be sent off map after doing so). Oddly, this was fine last night, but on loading it today the number of trains increased quite dramatically.

Expected behavior:
The number of urban trains in coach yard to match the number of contracts whether accepted or offered (as I see the number ticks up upon offer). The coach yards work fine otherwise, but I wanted to delete the ones I had built which lead me to this issue.

Map:
Berlin

Screenshots, saves and log attached to post. Sorry if I didn't upload these correctly, I'm not sure how else to add them

lofty sorrel
#

I will have a look.

raw bough
lofty sorrel
#

I was able to reproduce it!

#

It is rejected contract leftover. Train is added to CY for the Offered contract and then removed when contract is rejected

#

However, it still refers the coach yard so next load adds it there again

lofty sorrel
#

@slender jasper so the first commit is the fix and the second commit allows you to get rid of the trains

UPDATE: Allow Urban trains of rejected contracts exit the map via Sink
FIX: Rejected Urban Transit contract train was removed from Coach Yard but reappeared after save&load
BUILD: 1.18.2
#

[✓1.18.2] Excess Trains in Coach Yard from Urban Contracts

raw bough