• 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.

WaywardAstronaut45

Recruit
18 Badges
Jun 23, 2023
4
3
  • Cities: Skylines - Green Cities
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Cities: Skylines - Campus
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Cities: Skylines Deluxe Edition

Information​

I have disabled all mods​

Yes

Required​

Summary​

The Post Van Cargo Station Death Loop is Back

Expected Result​

Post vans don't get stuck in cargo stations.

Actual Result​

Post vans are getting stuck in cargo stations.

Steps to reproduce​

Turn off the post offices that have stuck vans. Disabled mods. Let the game run until it happens again.

Platform​

Steam

Game Version​

1.17.1-f4

Optional​

Tags​

  • AI

Attachments​

20230623054920_1.jpg

 
  • 1Like
Reactions:
Does this also happen without mods in use?
 
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.
 
@co_avanya,

In:

PostVanAI.StartPathFind

There is the following bit of code:

if ((vehicleData.m_flags2 & Vehicle.Flags2.TransferToServicePoint) == 0)
{
if (vehicleData.m_transferType == 92)
{
return base.StartPathFind(vehicleID, ref vehicleData, startPos, endPos, startBothWays, endBothWays, undergroundTarget);
}
if ((vehicleData.m_flags & (Vehicle.Flags.TransferToSource | Vehicle.Flags.GoingBack)) != 0)
{
return base.StartPathFind(vehicleID, ref vehicleData, startPos, endPos, startBothWays, endBothWays, undergroundTarget);
}
}

This is incorrect as the "GoingBack" if statement needs to ALWAYS run to ensure that the post van uses the road network to get back to its service building. The current code means that a post van that delivers mail to a service point may then try to head back to its service building via a cargo station and get stuck in a loop.

Hope that helps
Sleepy
 
  • 1Like
Reactions:
Also BankVanAI.StartPathFind seems to have been copied from PostVanAI as it has the same issue and also allows travel by train and plane and ship which doesn't make any sense for a van going to commercial buildings to collect cash.

I suspect this is why bank vans end up in a cargo loop as well

HTH
Sleepy
 
I can't post my issue because my city needs 81 tiles to function, but I've seen this same behavior in public transport and when warehouses are selected to "fish"

The game is confused about what type of vehicle is what. Sounds like a simple logic error buried in there somewhere is not causing it to check if the vehicle attached to the building is indeed the correct vehicle.

My Fish warehouses don't work with or without mods enabled that would effect them. I have to clear all fishing boats for them to work again. Without relevent mods enabled it shows the vehicles being completely maxed out for the warehouses. I can see (with a mod) that the building's 50/50 vehicles are taken all by fishing boats.

Also, with a mod, sometimes transport lines are showing other vehicles like ambulances and bikes. While this could be an issue with ITP2 (that shows me this) I think it points to a deeper logic error. Maybe Sleepy334 found it above
 
I assume this has not been fixed, because I have the exact same issue with the post vans. There is no workaround, only disabling the mail forever.

I also have seen the "fish" issue mentioned in the comment above, but I worked it around by using trains to move cargo to commercial zones.
 
Unfortunately it seems to affect public transport too. For me the game is not playable at this point still, with the public transport issues eventually being the largest issue.

I have had issues with the post office vehicles but spreading them out seemed to allow it to function. I miss this game!