Cities: Skylines

Cities: Skylines

125 ratings
Network detective (for debuggin mods)
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
624.798 KB
Jul 3, 2020 @ 4:20am
Dec 1, 2022 @ 4:25pm
22 Change Notes ( view )

Subscribe to download
Network detective (for debuggin mods)

Description
It shows information about placed network instances.
Objective:
help to develop/debug code.
Focus:
display important traffic-related information of networks.
NEW!:
- update/remove networks
- swap start/end nodes

Are you(modder) confused by the direction of the segments/lanes? do you find it confusing to deal with Invert flag, lane direction/finalDirection, left/right hand traffic, start/end node? This mod can help with that. I also created the concept of tail/head node (for a one-way road, cars go from tail to head) to make things simpler. feel free to pick up the code for GetHeadNode() and GetTailNode().

Instructions
- Control+D to activate (activation shortcut is configurable settings)
- Control+D or Right-click to deactivate
- Hover over segments to view info (hold control to view nodes).
- Click on networks to select them (Right-click to deselect).
- Hover over elements in the display panel to view quick information about them.
- Click elements in the display panel to select them and view in-depth information about them.
- To find a Network using its ID, click on the search icon in the top right corner of the panel.
- to update a network select update from drop-down menu and then click on any node/segment to update it. or you can update all segments from mod options (good to overcome load order issues)
- to switch start/end node select reverse from drop down menu and then click on any segment to reverse it.
Source:
https://github.com/kianzarrin/NetworkDetective
20 Comments
iPanuzzo Feb 27, 2023 @ 11:25am 
I was able to save the save (pardon my french) with this mod. See https://steamcommunity.com/sharedfiles/filedetails/?id=2939979417 Thank you a lot!
oshawotta737 Jan 12, 2023 @ 8:09pm 
@kian.zarrin after i refresh all roads the game stutters and freezes once every few seconds. Saving it and re-loading doesn't fix it.
kian.zarrin  [author] Dec 8, 2022 @ 1:43pm 
> t I was able to find a broken bus line segment using the "find segment by ID number" feature.
Broken node detector mod might also be useful
kian.zarrin  [author] Dec 8, 2022 @ 1:42pm 
i takes a while.
marekstefaniak Nov 23, 2022 @ 2:18pm 
@kian.zarrin
Hi! When I update all networks in game I can't plop anything afterwards. Do you know why this is happening?
Systematic Annihilator Jul 13, 2022 @ 3:32am 
Thanks so much for making this mod kian.zarrin - using it I was able to find a broken bus line segment using the "find segment by ID number" feature. This broken segment was causing Node Controller 2.8 to raise a NullPointerException (NodeController.Patches.CalculateSegment.Postfix). Once I rebuilt the bus line segment, my errors went away!
kian.zarrin  [author] Jan 3, 2022 @ 10:09am 
Since I changed the name of the Adaptive Roads Mod to Adaptive Networks, Network detective does not recognized it.
This new version is compatible with Adaptive Network 3.2.17+
for compatibility with older versions of AN please download older releases from github.
matthew07 Nov 17, 2021 @ 3:58am 
Hey, thanks for this great tool. Really helped me.
kian.zarrin  [author] Nov 9, 2021 @ 12:54am 
TMPE discord is the best place to traffic issues.
wonderingpunk Nov 8, 2021 @ 2:17pm 
I have lights worked out but if I could get more of the traffic to compress at them it would be great. But couple issues 1 is I'm thinking that possibly I messed up a turn onto a side road further ahead so cims detour from the most logical path and if I could figure out where it would keep them from pilling and 2 I'm kinda anal-retentive sometimes