joaofarias / csl-traffic

A WIP mod for Cities: Skylines to improve traffic.
90 stars 30 forks source link

Certain vehicles seem to be breaking... #40

Closed originalfoo closed 9 years ago

originalfoo commented 9 years ago

The "Insect" vans (I assume the ones with the bug spray advert on the side) - seen two or three reports similar to this:

.1. http://www.reddit.com/r/CitiesSkylines/comments/37flpv/insect_cars_doent_move_at_all/

Hot dog vans and tractors too:

.2. http://www.reddit.com/r/CitiesSkylines/comments/37e4jm/release_traffic_bus_bonanza/crmawjf

Box trucks:

.3. http://steamcommunity.com/workshop/filedetails/discussion/409184143/613958868376457349/#c615085406651944827

Maybe something to do with realistic vehicle speeds option....

.4. http://steamcommunity.com/workshop/filedetails/discussion/409184143/613958868376457349/#c615085406651982221

originalfoo commented 9 years ago

If it is the realistic speeds then prolly need to do a check to see that updated speed hasn't resulted in vehicle having no speed?

joaofarias commented 9 years ago

It's not the realistic speeds - I haven't touched it. I have changed the way I replace the AI, but if something went wrong they would have the default behavior (ignoring lane restrictions), not stopping completely.

And then there's people saying that ghost mode doesn't fix it, so it can't be my path finder. Ask for logs, please.

originalfoo commented 9 years ago

Another one:

.5. http://steamcommunity.com/workshop/filedetails/discussion/409184143/613958868376457349/?tscn=1432718915#c615085406650784387

joaofarias commented 9 years ago

I answered that already.

originalfoo commented 9 years ago

Another one:

.6. http://www.reddit.com/r/CitiesSkylines/comments/37e4jm/release_traffic_bus_bonanza/crmelwo?context=3

originalfoo commented 9 years ago

Another person stating that turning off realistic speeds solved it for them:

relates to report .6. http://www.reddit.com/r/CitiesSkylines/comments/37e4jm/release_traffic_bus_bonanza/crmgcvh?context=3

Maybe realistic speeds isn't directly the problem, but just makes problem manifest sooner? Specifically, it leads to more traffic on roads, and what happens if the game engine can't process all traffic in sufficient time? Is there a point where it will skip vehicles?

originalfoo commented 9 years ago

A log file posted by a reddit user relating to this issue:

relates to report .6. http://pastebin.com/ihcBU7aK

joaofarias commented 9 years ago

I cannot reproduce this issue and the logs we've received don't show anything. Can you please ask people to show a screenshot of the stopped vehicles? I'll work on the button disabling other tools bug.

originalfoo commented 9 years ago

The only time I've had traffic stall is if there's a metro under a road near a junction (most likely copy and paste code in metro AI from Train AI or something?) - I've not had vehicles stopping mid road.

Will ask for screenshots, etc.

originalfoo commented 9 years ago

Possibly another one, although could be caused by game's subway bug (will monitor):

.7. http://steamcommunity.com/app/255710/discussions/0/615085406653709796/

originalfoo commented 9 years ago

Possibly another one (investigating):

.8. http://www.reddit.com/r/CitiesSkylines/comments/37hy2q/anyone_knows_how_is_this_possible_stucked_truck/

originalfoo commented 9 years ago

Collating information for report .1. (Odatas on reddit)

Source: http://www.reddit.com/r/CitiesSkylines/comments/37flpv/insect_cars_doent_move_at_all/

Affects: Vans

Plugins:

originalfoo commented 9 years ago

Collating information for report .2. (Interurban_Era on reddit)

Source: http://www.reddit.com/r/CitiesSkylines/comments/37e4jm/release_traffic_bus_bonanza/crmawjf

Affected: Hotdog trucks, Farm tractors w/ trailer

no further info yet

originalfoo commented 9 years ago

Collating information for report .3.

Source: http://steamcommunity.com/workshop/filedetails/discussion/409184143/613958868376457349/#c615085406651944827

Affects: Box trucks

RESOLVED: Turned off realistic vehicle speeds. (He noted that turning option back on afterwards did not recreate the error - unlike some other reports listed)

Log file: http://pastebin.com/f4ksbnJy

originalfoo commented 9 years ago

Collating information for report .4. (Imperial Guardsmen on steam)

Source: http://steamcommunity.com/workshop/filedetails/discussion/409184143/613958868376457349/#c615085406651982221

Affects: Donut trucks, Box trucks, Fire engines, Ore trucks

RESOLVED: Disable realistic speeds, then restart the app. (Did not work if app started with that option enabled, also once option is enabled the problem returns)

originalfoo commented 9 years ago

Collating information for report .5. (cgrazko on steam)

Source: http://steamcommunity.com/workshop/filedetails/discussion/409184143/613958868376457349/?tscn=1432718915#c615085406650784387

Affects: Donut trucks

no further info yet

originalfoo commented 9 years ago

Collating information for report .6. (gaijin5 on reddit)

RESOLVED: Turned off realistic speeds option and vehicles started working again.

Log file: http://pastebin.com/ihcBU7aK

Plugins:

T++ Options:

originalfoo commented 9 years ago

Collating information for report .7. (Bender on steam)

Source: http://steamcommunity.com/app/255710/discussions/0/615085406653709796/

Affects: Lorries (Box trucks?)

Screenshot: http://tinypic.com/view.php?pic=59yj41&s=8

59yj41

originalfoo commented 9 years ago

Collating information for report .8. (Figazza1 on reddit)

Source: http://www.reddit.com/r/CitiesSkylines/comments/37hy2q/anyone_knows_how_is_this_possible_stucked_truck/

Affects: White trucks

Screenshot: http://imgur.com/1nM7zik

1nm7zik

Disabling entire T++ mod had no effect.

originalfoo commented 9 years ago

Collating information for report .9. (Froggypwns on reddit)

Source: http://www.reddit.com/r/CitiesSkylines/comments/37e4jm/release_traffic_bus_bonanza/crmgc3p

Affected: Garbage trucks

RESOLVED: Disabled realistic vehicle speeds

originalfoo commented 9 years ago

OK, just a stab in the dark here - we've not had any reports of it affecting civilian transport (cars, mopeds), police cars, hearses, ambulances.

What's the common theme between everything else (fire truck, cargo trucks - all sizes, garbage trucks)? Could it be the "heavy vehicle" flag?

joaofarias commented 9 years ago

Sorry, I have been working with a guy that is running some tests for me and I think I found the problem. I'm just finishing a new version for him to test so I'll let you know how it went in a few.

joaofarias commented 9 years ago

Ok, I was able to fix it. It was due to the changes I made on how vehicle AIs are replaced. Basically, the variable that controls the realistic speeds wasn't intialized now, so it had a speed multiplier of 0. Why it didn't affect all vehicles is just proof of how much I don't know about the game's code :/

originalfoo commented 9 years ago

I bet that will also solve some vehicles not respecting speed limit customisations as well!

joaofarias commented 9 years ago

Maybe.. I really don't know :/

I've released the hotfix so this is now fixed. Thanks for keeping track of bug reports on reddit. :)

originalfoo commented 9 years ago

I've replied to them all personally to let them know a new release is out fixing the bug they reported a few hours ago. :)