Cities: Skylines

Cities: Skylines

Traffic Volume
110 kommentarer
StayHungryStayFoolish 17. juni 2023 kl. 10:25 
Traffic Volume works just fine, see here: https://ibb.co/f9gHBwK

Treasure & Hunt compatible modlist.
AleksanderTheGreat ✅ 17. juni 2023 kl. 8:04 
Not compatible with 1.17.1
StayHungryStayFoolish 25. mar. 2023 kl. 7:11 
I have removed AutoLineColor Redux from the modlist compatible with the latest software version (Hubs & Transport patch (1.16.1 f2) .

Traffic Volume and Favorite Cims are under investigation. I got noticed, that these mods have around 40 reports about various issues, up to game-breaking.
Chamëleon TBN 5. feb. 2023 kl. 2:04 
@colborne_greg - have nothing to do with this mod. Take care to read your Compatibility Report.
Mr. Xuan 6. jan. 2023 kl. 1:47 
Hello, boss! Please visit here to recommend some interesting maps: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2901994173
colborne_greg 4. jan. 2023 kl. 18:33 
(Filename: Line: -1)

Int16 out of bounds: 34455
at System.Environment.get_StackTrace
at ColossalFramework.IO.DataSerializer.WriteInt16(Int32 value
at BuildingManager+Data.Serialize(ColossalFramework.IO.DataSerializer s
at ColossalFramework.IO.DataSerializer.Serialize(System.IO.Stream stream, Mode mode, UInt32 version, IDataContainer data
at LoadingManager+<SaveSimulationData>c__IteratorC.MoveNext(
at AsyncTask.Execute(
at SimulationManager.SimulationStep(
at SimulationManager.SimulationThread( [Serialization - Internal
colborne_greg 4. jan. 2023 kl. 18:33 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object
UnityEngine.DebugLogHandler:LogException(Exception, Object
UnityEngine.Logger:LogException(Exception, Object
UnityEngine.Debug:LogException(Exception
SerializableDataWrapper:OnSaveData
Data:Serialize(DataSerializer
ColossalFramework.IO.DataSerializer:Serialize(Stream, Mode, UInt32, IDataContainer)
<SaveSimulationData>c__IteratorC:MoveNext
AsyncTask:Execute
SimulationManager:SimulationStep
SimulationManager:SimulationThread
colborne_greg 4. jan. 2023 kl. 18:31 
There are 100+ errors, here is the first. The output log is 2,162 KB lol

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

NullReferenceException: Object reference not set to an instance of an object
at PropAnarchy.Data.Serialize (ColossalFramework.IO.DataSerializer s) [0x00000] in <filename unknown>:0
at ColossalFramework.IO.DataSerializer.Serialize (System.IO.Stream stream, Mode mode, UInt32 version, IDataContainer data) [0x00000] in <filename unknown>:0
at PropAnarchy.SerializableDataExtension.OnSaveData () [0x00000] in <filename unknown>:0
at SerializableDataWrapper.OnSaveData () [0x00000] in <filename unknown>:0
Rethrow as ModException: The Mod E:\Steam\steamapps\workshop\content\255710\2696146766 [CitiesHarmony.API.dll, UIIndicator.dll, PropAnarchy.dll] has caused an error
thejoun  [ophavsmand] 4. jan. 2023 kl. 17:19 
@colborne_greg Sure, that will do :) Just paste the error somewhere or open an issue on github. Thanks!
colborne_greg 4. jan. 2023 kl. 15:13 
Serious issues with this mod
Output log contains information about my system, and will not send that information, I can send a sanitized file with the stack trace.
WonderStand 20. dec. 2022 kl. 19:41 
@StayHungryStayFoolish yeah i mean it's a bug from base game. If CO want to disable all the pedestrian route display they should've been removed the toggle button together.
StayHungryStayFoolish 20. dec. 2022 kl. 9:46 
@Wonder this mod it is not drawing the routes just calculating the ratio. However, the base-game is not drawing the 65k pedestrian routes. I think it could break the game on an old PC.
WonderStand 20. dec. 2022 kl. 5:55 
@StayHungryStayFoolish i believe it's a bug. The toggle button for pedestrian/ cyclist routes are still there.
StayHungryStayFoolish 18. dec. 2022 kl. 11:38 
Missing pedestrian routes is a known issue, not mod-related, and not harmful (just the info is missing). See the thread (unanswered) here:

https://forum.paradoxplaza.com/forum/threads/cities-skylines-steam-pedestrains-cyclists-traffic-routes-cannot-display.1562036

My suggestion is to use Favorite Cims mod or Commuter Destination mod to see some info about pedestrians.
thejoun  [ophavsmand] 18. dec. 2022 kl. 6:42 
And about the pedestrian paths, not sure why they didn't tell us about it in the patch notes or something. But I guess, maybe they cut this feature to improve performance (there was a hard cap of 100 displayed paths, and vehicles are surely more important than predestrians)
thejoun  [ophavsmand] 18. dec. 2022 kl. 6:38 
Thank you for your responses! If that's the case... I just uploaded an update that should hopefully prevent some of the errors. I wasn't able to pinpoint them exactly, so I can only keep my fingers crossed. If you still stumble upon any issues, please let me know :)
Democracy Manifest 17. dec. 2022 kl. 4:19 
@thejoun I'm getting the pedestrian/cyclist route bug too, and haven't seen any fix on the forums yet. Something in financial districts update for sure
CosmicFurFace 16. dec. 2022 kl. 15:45 
@thejoun ...and here I thought it was just me lacking pedestrian paths...

I noted but didn't check into it; don't know if there are pedestrians but no paths shown, or 0 pedestrians to path but shows "n" in the count.

Certainly not critical. Thanks for your efforts.
StayHungryStayFoolish 15. dec. 2022 kl. 13:53 
So cyclists are there, but the traffic volume report and the route screen are not showing them. OK. This is not harmful.

@thejoun take your time. I will wait for the update.
Nickless 15. dec. 2022 kl. 13:26 
@thejoun, I was just about to comment that I can't see pedestrians/cyclist paths anymore. The numbers show up in the traffic volume pop-up, but the paths aren't being drawn, for any kind of road or path, both vanilla or workshop.
saifullahiy 15. dec. 2022 kl. 10:31 
@thejoun, definitely not just you
thejoun  [ophavsmand] 14. dec. 2022 kl. 14:45 
Hey everyone, I've got a favor to ask you! I was just about to push an update, but then I realized after Financial Districts I no longer see any pedestrian or cyclist paths when playing with the traffic routes view (even with this mod off). Could someone please confirm this? Or is it only me?
QueenAsh 9. dec. 2022 kl. 1:44 
Nevermind fixed it with loading screen mod
QueenAsh 9. dec. 2022 kl. 1:22 
Did Maghuro's issue get patched, or is there a workaround? It seems I've run into the same issue on my save
CityScapes 8. dec. 2022 kl. 10:59 
Okay then the culprit must lay somewhere else
thejoun  [ophavsmand] 4. dec. 2022 kl. 15:43 
@CityScapes not at all
CityScapes 4. dec. 2022 kl. 8:56 
Does this mod increase traffic somehow too?
Maghuro 1. dec. 2022 kl. 16:27 
Thanks for your work and efforts! :)

My best regards
thejoun  [ophavsmand] 1. dec. 2022 kl. 15:41 
Hi @Maghuro, thank you for posting this! I'm currently working on a fix, should be out really soon :)
Maghuro 1. dec. 2022 kl. 14:50 
Continues:
(PathVisualizer,int,int) <0x00119>
at PathVisualizer.AddPaths (InstanceID,int,int) <0x0045a>
at PathVisualizer.SimulationStep (int) <0x0079b>
at (wrapper dynamic-method) NetManager.NetManager.SimulationStepImpl_Patch2 (NetManager,int) <0x0125e>
at SimulationManagerBase`2.SimulationStep (int) <0x0004c>
at NetManager.ISimulationManager.SimulationStep (int) <0x00024>
at SimulationManager.SimulationStep () <0x00693>
at SimulationManager.SimulationThread () <0x0018a>
Maghuro 1. dec. 2022 kl. 14:50 
System.IndexOutOfRangeException: Array index is out of range.
at TrafficVolume.Helper.IsVehicleOnSegment (int,System.Collections.Generic.HashSet`1<InstanceID>,PathManager,NetManager,BuildingManager,DistrictManager,VehicleManager) <0x00e09>
at TrafficVolume.Traffic.LocalTraffic.CountLocalVolume (System.Collections.Generic.HashSet`1<InstanceID>) <0x001c1>
at TrafficVolume.Patches.PathVisualizerAddPathsImplPatch.Prefix (int,int,System.Collections.Generic.HashSet`1<InstanceID>) <0x0003f>
at (wrapper dynamic-method) PathVisualizer.PathVisualizer.AddPathsImpl_Patch1
Maghuro 1. dec. 2022 kl. 14:50 
This mod is sometimes giving me the following error. I can't find a pattern, it randomly happens, and i have to force close the game. This time a tsunamy was hitting my city, maybe that's related?
Erro in next post
tuananh821 20. nov. 2022 kl. 10:29 
alway error Index out of range
thejoun  [ophavsmand] 19. nov. 2022 kl. 4:35 
An update just landed. You can now enable auto-refresh functionality in the mod's settings, as well as change the global traffic count keybind!
Spill 27. okt. 2022 kl. 7:01 
Got the same crash again, this time when checking traffic volume ona modded Recycle Center

Recycling Centre MkII
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1312767991
GamingBren 26. okt. 2022 kl. 12:21 
Great mod!
GamingBren 26. okt. 2022 kl. 12:21 
Suggestion: When you disable a transport type, the pie chart should change
Spill 25. okt. 2022 kl. 13:38 
Spill 25. okt. 2022 kl. 13:36 
Index out of range whenn looking at a custom cargo station and I accidently clicked the view traffic button. Ment to click the Transfer mod icon.
I think a train just spawned as I clicked the button

output log
https://pastebin.com/ZxKy5vtU
CosmicFurFace 24. okt. 2022 kl. 20:26 
@thejoun I also would like to thank you for this mod. I've found myself using it more than I expected, and appreciate that I no longer have to try to "count moving arrows" to determine the traffic in a given location.
thejoun  [ophavsmand] 24. okt. 2022 kl. 6:47 
Thanks everyone for your warm feedback! I plan to implement settings, keybinds and autorefresh as soon as I can :)
p1timmy 22. okt. 2022 kl. 9:54 
Really like this mod, it be nice if you can make it to where the numbers get updated in real time
TrackEx 19. okt. 2022 kl. 9:10 
is there a way you could set up a settings page so we can do custom keybinds?
StayHungryStayFoolish 17. okt. 2022 kl. 15:06 
I tested and liked it, so it is part of the Plazas & Promenades DLC Compatible modlist. Please know that Alt+G opens for me the Global Traffic Volume window and CSLGraphs window, too. Can you make it possible to change the shortcut?
LegoProfessor 17. okt. 2022 kl. 3:29 
Just an idea :-)
You wrote one of ther future things could be : "auto refreshing the data every second or so"
What about a option for trigger based display
After selecting the segment/buliding*) one can set a threshold. Then the mod goes into background. When the traffic exceeds this threshold then the mod pops up.
This could be intressting in two ways
a) Informs you when there is a traffic jam
b) If you set the threshold to 1 you got informed if there is at all trafic on a road

*) for idea a), also a global threshold would be nice. But I believe, this will take away too much performance

LegoProfessor
Terminal Frost 16. okt. 2022 kl. 19:34 
@sTARs, Compatibility Report is incorrect re this mod. It is fully compatible with the current version of the game.
Spill 15. okt. 2022 kl. 18:45 
That should have been resorted. Mod works fine. Have you updated your data for compa mod? use the download button in settings
sTARs 15. okt. 2022 kl. 18:18 
I checked this mod with the "compatibility mod" and it outputted this:

Traffic Volume [Steam ID 2858654134]

- Unsubscribe! This mod is broken.
* Broken with Plazas & Promenades free Game Update 1.15.0-f5


Should I be worried?
thejoun  [ophavsmand] 13. okt. 2022 kl. 14:54 
@rcav8tr Thank you for your feedback, I appreciate it.
rcav8tr 13. okt. 2022 kl. 13:42 
Some feedback on your mod coding:

Your logic in GetTransportType looks like it is trying to mimic the categorization logic in PathVisualizer.AddPathsImpl used by the Traffic Routes info view. Your logic is different in several ways. I don't know if that was intentional. I just added global traffic counts to my More City Statistics mod. Please see the logic in my mod for GetVehicleTrafficCounts and GetCitizenTrafficCounts.

When looping thru the game's arrays, don't use constants for the array size. Always get the actual array size at run time because some other mod might alter the array size from the game's default size.

You might want to consider joining the LemonsterOG [discord.com] discord server for help with CS modding.