CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
569 stars 85 forks source link

Generate intercity passenger train endlessly #1582

Closed Viklamvia closed 1 year ago

Viklamvia commented 2 years ago

Describe the problem

I built Station Dresden-Neustadt (Basic) from Titan and set it as only intercity station in my city. The first 2 platform are used as innercity staion. However, there are 2 issues.

  1. Intercity traina generate endlessly (as the video show). It could happen on all platform corresponding to outside connnection. I cant stop it by TM:PE restriction and Optimised Outside Connections. Someone has discussed it before but found no solution yet. https://steamcommunity.com/app/255710/discussions/0/3275815186869206196/ If nothing could be done, is it possible to add function to TMPE like "forbid 0 passenger/cargo on certain segment" or "forbid vehicle spawn on certain segment or building"
  2. Although intercity was turned off on other station. Some train would ignore if I dont cut off the network physically.

Steps to reproduce

  1. This problem happen ramdomly. I cant find how to trigger or stop it.

Log files

https://ufile.io/era08dbg

Savegame?

https://ufile.io/dhozfx7x Quite large savegame with 5000 assets, so I upload map first.

Screenshots?

https://ufile.io/w4asdq5b

Notes or questions?

kianzarrin commented 2 years ago

is it a TMPE issue or also a vanilla issue? I wonder if there is any mod to fix this. I know there was a few mods to fix cargo.

Viklamvia commented 2 years ago

It is problem of passenger train. The cargo stations work normally.

krzychu124 commented 2 years ago

Looks like AdvancedOutsideConnection is broken a little bit

2,133,195ms | Exception while updating CustomBehaviours
System.NullReferenceException: Object reference not set to an instance of an object
  at AdvancedOutsideConnection.OverviewPanelExtension.<OnTransportTypeSort>b__34_0 (ColossalFramework.UI.UIComponent lhs, ColossalFramework.UI.UIComponent rhs) [0x00000] in <filename unknown>:0 
  at OverviewPanelBase.Quicksort (IList`1 elements, Int32 left, Int32 right, System.Comparison`1 comp) [0x00000] in <filename unknown>:0 
  at OverviewPanelBase.Quicksort (IList`1 elements, System.Comparison`1 comp) [0x00000] in <filename unknown>:0 
  at AdvancedOutsideConnection.OverviewPanelExtension.Sort (SortCriterion criterion, System.Comparison`1 compare) [0x00000] in <filename unknown>:0 
  at AdvancedOutsideConnection.OverviewPanelExtension.OnTransportTypeSort () [0x00000] in <filename unknown>:0 
  at AdvancedOutsideConnection.OverviewPanelExtension.RefreshOutsideConnections () [0x00000] in <filename unknown>:0 
  at AdvancedOutsideConnection.OverviewPanelExtension.FpsBoosterUpdate () [0x00000] in <filename unknown>:0 
  at BehaviourUpdater.Utils.SafelyIterableList`1[UnityEngine.MonoBehaviour].CallUpdate () [0x00000] in <filename unknown>:0 

Could you try without that mod?

Viklamvia commented 2 years ago

i have unsubbed, but it still happen.

krzychu124 commented 1 year ago

TM:PE does not manage train spawning (time or amount). I don't know how it can cause mentioned issue. Closing for now