Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v11: Vehicles stuttering or stopping at yield signs? #655

Closed
originalfoo opened this issue Feb 5, 2020 · 10 comments · Fixed by #662
Closed

v11: Vehicles stuttering or stopping at yield signs? #655

originalfoo opened this issue Feb 5, 2020 · 10 comments · Fixed by #662
Assignees
Labels
BUG Defect detected help wanted Seeking assistance in-progress The problem is being solved currently PRIORITY SIGNS Feature: Stop / Yield / Priority signs
Milestone

Comments

@originalfoo
Copy link
Member

originalfoo commented Feb 5, 2020

Just creating this issue to track a possible bug; several users have reported that since moving from v10 to v11 that vehicles are no longer fluidly moving through yield signs.

More information is required to confirm and subsequently diagnose the problem.


If you are experiencing this problem, please provide the following information:

  1. A save game that exhibits the problem
    • You can either share to steam workshop (see link above) or drag a zip of the savegame on to the comment box
    • Please indicate where we should be looking on the map (eg. district name or screenshots)
  2. The game log file and also the TMPE.log
    • You can just drag the files on to a comment box, or upload to a public file sharing service
  3. (Optional) Any screenshots that may help us understand (eg. a screenshot of your junction customisations)
    • Just drag them on to comment box, or upload to https://imgur.com and share the link

Possibly related issues: #650, #448

@originalfoo originalfoo added BUG Defect detected help wanted Seeking assistance triage Awaiting issue categorisation PRIORITY SIGNS Feature: Stop / Yield / Priority signs labels Feb 5, 2020
@rogermartensson
Copy link

Here is some data.

TMPE.log
output_log.txt
Save game: https://steamcommunity.com/sharedfiles/filedetails/?id=1990217485

Save game is built with Cities standard assets. Nothing special.
The best place to notice the pause/stutter/stop is in the round about.

This is a short clip showing what is happening.
car-slight-pause

@Priplq
Copy link

Priplq commented Feb 6, 2020

Some data:
output_log.txt
TMPE.log

TMPE v11 YIELD BUG.zip

First file "TMPE v11 BUG" is my main save, but it has a lot of assets. U can see any roundabout or at District "Little Russia" the roundabout connecting the highway and the district(its only 1 connection)

Second file "TMPE v11 BUG new save" is a newly build "city" with standart assets, i just saved when cars are approaching the roundabout from the highway. Its only 1 square city, build it for the purpose of this post.

Additional info. I did the unsucsribe from v10[LABS], game was not launched, subscribed to v11 alpha(STABLE wasn't released yet), then unsubscribed from the alpha and subscribed to stable(i thought the update didnt happen:D). It persisted in both v11 alpha and stable.

@krzychu124 krzychu124 added the investigating Issue currently under investigation label Feb 6, 2020
@krzychu124
Copy link
Member

@rogermartensson , @Priplq thanks for reports.
Both v11 versions are currently identical.
I found the problem, but now I'm searching for root.
I can't find what is causing vehicles to complete stop for fraction of a second.
BTW, there were 12 alpha versions before releasing as Stable and I don't remember that anyone reported that problem :/

@Priplq
Copy link

Priplq commented Feb 6, 2020

@krzychu124 TBH i didn't notice it at the beginning, like 50hours+ but then there was this roundabout where traffic was moving only straight 90% of it, and from there I noticed cars were stopping for no reason, after that every roundabout seemed off flow wise... More or less like a Baader-Meinhof phenomenon; Hard to notice if you don't know about it :>

BTW great job on this version, digging the game smoothness with AI on and the new additions, specially the lane arrow shortcut 💯

@krzychu124
Copy link
Member

@Priplq you can try temporal solution by tweaking settings in TMPE_GlobalConfig.xml (you can reset it in mod options later)

Change number value in this line:

<MaxYieldVelocity>2.5</MaxYieldVelocity> 

to e.g. 3 or 4
I will increase max velocity of vehicle approaching yield sign.
2.5 == 20km/h - (value * 8 = speed limit in km/h)

@originalfoo
Copy link
Member Author

edits documentation ...

@Priplq
Copy link

Priplq commented Feb 6, 2020

OK so:
3 - kinda better but nah
4 - noticeably better, but still there was some unnatural "stuttering"
5 - 5 looks rly good but sometimes they kinda cut off the cars in the roundabout

IMO maybe some re-balancing between 4 and 5, if that's the issue. Cause i had some old logs from v10 STABLE version, didn't see any difference in the priority values. Only difference in "Advance Vehicle AI" / "Dynamic Lane Switching" is:

MinMinSafeSpeedImprovement
MaxMinSafeSpeedImprovement

In the v10 it's 5 and 30 respectively, the v11 has no values. If that's any help, dunno. Thank you!! I will try some values between 4 and 5, flows a lot better now

@krzychu124
Copy link
Member

I will fix it, it's temporary solution 😃
I will check what those options do.

@Priplq
Copy link

Priplq commented Feb 7, 2020

I meant the v11 has no values, v10 has the 5 and 30, my bad.

krzychu124 added a commit that referenced this issue Feb 7, 2020
@krzychu124 krzychu124 linked a pull request Feb 7, 2020 that will close this issue
@krzychu124 krzychu124 added in-progress The problem is being solved currently and removed investigating Issue currently under investigation triage Awaiting issue categorisation labels Feb 7, 2020
@krzychu124 krzychu124 self-assigned this Feb 7, 2020
@originalfoo originalfoo added this to the 11.1 milestone Feb 7, 2020
@originalfoo
Copy link
Member Author

We'll be releasing a fix for this issue to the v11 LABS workshop page hopefully in next 24 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Defect detected help wanted Seeking assistance in-progress The problem is being solved currently PRIORITY SIGNS Feature: Stop / Yield / Priority signs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants