• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

bzimage

Private
12 Badges
May 20, 2016
19
2
  • Cities in Motion
  • Cities in Motion 2
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Cities: Skylines - Campus

Information​

I have disabled all mods​

Yes

Required​

Summary​

public transport vehicle has "forever boarding" problem

Expected Result​

not having this "forever boarding" problem

Actual Result​

there are "forever boarding" problems

Steps to reproduce​

playing the game for sometime, it will appears

Platform​

Steam

Game Version​

1.17.1-f4

Optional​

Description​

Hi, I have encounterd the "forever boarding" problem recently.
Since I have some experiences in programming, so I try to find out why.

I understand that Vehicle class has a Info field, which has a GetAI() method returning the vehicle's AI,
which has a field m_passengerCapacity, this should be the max capacity of a public transport vehicle, let's call this "AI capacity".

Also the Vehicle class has a m_transferSize field, which is current passenger count, let's call it "vehicle passenger".

Also the Vehicle class has a m_citizenUnits field, this should be the first unit of the CitizenUnit chain.
Each CitizenUnit can contain at most 5 citizens(m_citizen0/m_citizen1 ...). Thus we can calculate the max "chain capacity".

Further more, we can check each citizen field in CitizenUnit, and get the "chain passenger" count.

If I understand right, I think the "chain capacity" should be greater than or equal to the "AI capacity".
And the "vehicle passenger" should be equal to the "chain passenger".

But I found something strange in the "forever boarding" vehicle(for example, a monorail train), which is combined by several Vehicle instances(carriages).
Some of the carriage vehicle has information that the "chain capacity" is less than "AI capacity",
and some other carriage vehicle has information that "vehicle passenger" is NOT equal to the "chain passenger".

I think this might be the reason causing the "forever boarding" problem.
So I call the ReleaseVehicle method of VehicleManager class, and release all the suspicious vehicles.
But after a small time, when I check again, there are new suspicious vehicles created.
Now I doubt if my understanding is right :(

And about the environment I testing with, I know MODs can have a lot influences.
So I removed all the MODs, except my testing code MOD, which do nothing but get information and release suspicious vehicles.

Please help me with this problem, If my understanding above is wrong, please correct me.
Thanks a lot.

Tags​


Attachments​



 
Upvote 0
Please check your mods against this list:
Make sure to check the tab "Broken"

If you still get this problem after removing or replacing any bad ones, attach here the game's log file:
…\Steam\steamapps\common\CitiesSkylines\CitiesData\output_log.txt

AND the affected saved game file. Thanks.
 
I understand that Vehicle class has a Info field, which has a GetAI() method returning the vehicle's AI,
which has a field m_passengerCapacity, this should be the max capacity of a public transport vehicle, let's call this "AI capacity".

Also the Vehicle class has a m_transferSize field, which is current passenger count, let's call it "vehicle passenger".

Also the Vehicle class has a m_citizenUnits field, this should be the first unit of the CitizenUnit chain.
Each CitizenUnit can contain at most 5 citizens(m_citizen0/m_citizen1 ...). Thus we can calculate the max "chain capacity".

Further more, we can check each citizen field in CitizenUnit, and get the "chain passenger" count.

If I understand right, I think the "chain capacity" should be greater than or equal to the "AI capacity".
And the "vehicle passenger" should be equal to the "chain passenger".
I have removed all other MODs, except the one I use to test.
I hope you can help me to see If my understanding above is right?
Thanks a lot.
 
Hi, i never used any mods for the moment, just updated vanilla game. But since last update, i started to have this bug too for trams, buses and metro. Not for trains or airplanes for the moment. Thanks for help and support.