CitiesSkylinesMods / TMPE

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

No garbage trucks #1687

Closed Kryniu closed 1 year ago

Kryniu commented 1 year ago

Describe the problem

When i turn TM:PE on, garbage collectors don't spawn

Steps to reproduce

  1. Turn TM:PE and Harmony on
  2. Build a garbage dump or garbage incinerator

Log files

https://www.dropbox.com/s/2pozywq8nl2yk53/TMPE.log?dl=0 https://www.dropbox.com/s/9vac2ucvjplu65x/output_log.txt?dl=0

Savegame?

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

Screenshots?

https://imgur.com/a/Ig4MsXj

Notes or questions?

krzychu124 commented 1 year ago

Since you use Lane connector, check if all connections are correct and don't block garbage trucks from reaching any building. Basically find the most red one, then closest landfill or incineration plant and find if all connections are correct and buildings are reachable by each other both directions, then continue for other red buildings until you find all sources of the problem.

It's, as in 99.9% reported cases, the problem with the lane connections you've applied and most likely vehicles can't find path to building (you may notice that counter is flickering 0/1/0/1/0...). Placing a new landfill helps only for few seconds because that new building, because the same as all others will also try to reach that one (or more) inaccessible buildings somewhere on the map - in a loop, indefinitely. You may also find that disabling the mod solves the problem but that only prove the point that lane connections or other restrictions are the source of problem. I've spent too much time trying to find the bug in the code.. There is no bug, it's user error as of today, always. Also, if you have some buildings like metro that reports garbage issues but is not connected yet to any landfill it may cause the same problem (you have to turn it off to solve that problem until you connect the building to the network). At some point game will indefinitely try to send garbage trucks to that one building (most likely more than one) using all available landfills/incineration plants breaking everything so every building has to be accessible by at least one garbage collection facility or you will see the problem again and again, it's just a matter of time.

krzychu124 commented 1 year ago

I'll check your savegame a bit later today or tomorrow. More info with nice tool which helps finding the source of problems: https://github.com/CitiesSkylinesMods/TMPE/wiki/Vehicle-Count-Flickering-Between-1-and-0

Kryniu commented 1 year ago

Dzięki za pomoc :)

On Thu, Nov 17, 2022, 16:43 Krzysztof @.***> wrote:

I'll check your savegame a bit later today or tomorrow. More info with nice tool which helps finding the source of problems:

https://github.com/CitiesSkylinesMods/TMPE/wiki/Vehicle-Count-Flickering-Between-1-and-0

— Reply to this email directly, view it on GitHub https://github.com/CitiesSkylinesMods/TMPE/issues/1687#issuecomment-1318828642, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4HZBXB2NYITQAVBTG3LIQLWIZHC5ANCNFSM6AAAAAASDP4EAI . You are receiving this because you authored the thread.Message ID: @.***>

krzychu124 commented 1 year ago

Closing, reopen or create new issue if needed. #1724 once released, might also help reducing the chance for this issue to occur.