CitiesSkylinesMods / TMPE

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

Mail trucks ignoring lane arrows #307

Closed originalfoo closed 5 years ago

originalfoo commented 5 years ago

From discord:

Subaru Altraffioyne SVXYesterday at 23:35 Are mail trucks also supposed to... Not follow the road signs at all?

later....

Subaru Altraffioyne SVXToday at 05:33 Well, it's more to do with the fact that when making roads that go straight when joining from highway to road, for some reason, the mail trucks (even when the lane arrows are set to all straight) turn around.

Log files:

Config:

Asked for save game.

I know that we added mail vans to the vehicle categories, which should cover everything? I still wonder if there are different vehicle classes for mail vans vs. mail lorries? Or maybe the lane arrows code isn't using the centralised vehicle category stuff?

originalfoo commented 5 years ago

Noticed this in the logs:

Network Skins: Incorrect usedCount detected, should be 30 ([SegmentData] features: StreetLight, treeLeftPrefab: null, treeMiddlePrefab: null, treeRightPrefab: null, streetLightPrefab: StreetLamp01 1, usedCount: 28)

There are some other errors in the log but nothing notable.

originalfoo commented 5 years ago

Possible problem mods:

Other mod issues (not related to issue in OP):

Random pondering: Would mods that hide lane arrows (Hide It, Road Options, etc) cause any problems? (I doubt it as they are just visual, but just in case....)

originalfoo commented 5 years ago

Save game: https://steamcommunity.com/sharedfiles/filedetails/?id=1692336050

aubergine18 Today at 08:46 Subaru Altraffioyne SVX Where on the map should we be looking?

Subaru Altraffioyne SVXToday at 08:46 Do you see the 8 lane road? The point where it connects to both highways.

originalfoo commented 5 years ago

Another report of this issue via Steam:

Penguin 3 hours ago
Is it only me that experiences that post trucks aren't following the lane arrows? They use the left turning lane to turn right for example. Normal vehicles seem to follow them as they should.

It seems specific to post trucks and lane arrows. I've asked for save/log just in case it helps track down the issue.

eudyptula commented 5 years ago

Hey, here's my log file and save game. Playing with a lot of mods/assets, so attached the loading screen report also (had to rename it to .txt to keep GitHub happy).

The two trucks waiting for green light in the middle of the screenshot will turn right not long after the game is loaded. If you need more trucks, they usually come with the freight train.

Btw. they do respect the lane connector tool, I been using that as a quick fix for the worst of it. Just removed the lane connections for the show intersection and the trucks started to misbehave again shortly therafter. Also, might have seen this issue with garbage trucks too, but it's awhile ago so not entirely certain. That might just have been due to recent changes of the road layout.

Oh, and don't mind the city - was just fooling around with a one-tile city :P

GridCity - TM:PE Post Truck Bug output_log.txt Gridcity - Post Bug - Assets Report-2019-05-11_16-48-05.txt

Best Regards, Penguin

eudyptula commented 5 years ago

Here's a much better save game for you...

Copied the TM:PE DLLs from the steam workshop folder to steamapps\common\Cities_Skylines\Files\Mods\TLM, started the game with the --noWorkshop option and created a new city from scratch. As you see on the screenshot, blue post truck still makes a right turn, even though the arrow shows left only.

https://steamcommunity.com/sharedfiles/filedetails/?id=1738473042

Btw. using the stable version of the mod.

krzychu124 commented 5 years ago

Great, I will check what is going on there 😉

krzychu124 commented 5 years ago

Ok. I can confirm that post trucks going right 😕 PostVanAI working properly

Tested on [LABS]

RenaKunisaki commented 5 years ago

The Roundabout Builder definitely has some glitches and doesn't enforce restrictions; it will happily plop a roundabout right through buildings and over water. Especially when making them very small I've seen it sometimes not connect the roads properly. Not sure if that's going on here?

originalfoo commented 5 years ago

Another report of this issue on Steam:

ralfaltmann 10 minutes ago
One question: it seems that post transporters are ignoring the lane arrows. Is there anything special about post transporters?

originalfoo commented 5 years ago

Savegame for above:

yes, the savegame can be found here: https://steamcommunity.com/sharedfiles/filedetails/?id=1749002396

And here's a screenshot where you can see the issue: the truck comes from a lane with left-only arrow, but it's heading straight forward (the location is near the commercial area): https://steamcommunity.com/profiles/76561198059796181/screenshot/793109568944666567

Please notify me when you've downloaded the savegame, I want to delete it afterwards.

I've mentioned it may be a while before we get chance to review the save game.

VictorPhilipp commented 5 years ago

Reason: PostVanAI implements its own StartPathFind method which is not overriden by TMPE.