Cities: Skylines

Cities: Skylines

Traffic++
Aegrim Jul 4, 2015 @ 10:16am
Error Messge: Method not found: 'PathManager.FindPathPosition'...etc etc
Anyone else getting this error message? It just pops up whenever I enable the mod after I load a game, and if I close it it pops up again and again forever.

Method not found: 'PathManager.FindPathPosition'. [System.MissingMethodException]

Details:
No details
System.MissingMethodException: Method not found: 'PathManager.FindPathPosition'.
at CSL_Traffic.BusTransportLineAI.SimulationStep (UInt16 segmentID, .NetSegment& data) [0x00000] in <filename unknown>:0
at NetManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0
at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
at NetManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
at SimulationManager.SimulationStep () [0x00000] in <filename unknown>:0
at SimulationManager.SimulationThread () [0x00000] in <filename unknown>:0
< >
Showing 1-15 of 33 comments
Hofftari Jul 4, 2015 @ 10:37am 
I'm getting it as soon as I try to put up a bus stop or start a subway line. I've tried everything from disabling the mod to enabling ghost mode and to enable/disable the different features of the addon and all the possible combinations for these, yet I just cannot build any public transport line.
Lil Dikki Jul 4, 2015 @ 10:57am 
enable ghost mode , that should help.
groenroos Jul 4, 2015 @ 12:38pm 
I get this immediately and infinitely when I load a game up (heavy use of bus lane avenues). It was tricky to even leave the game when the barrage of error messages was endless. I'm guessing the 1.1.1b update broke it.
wuTz Jul 4, 2015 @ 2:31pm 
Just got that message trying to set up a train line.

It appears when I am hovering over the second station...
mrshow Jul 4, 2015 @ 3:14pm 
it happens when you have public transport lines. I can't load my cities without this error, and in the new cities it will work until I try to place bus or subway lines.

somehow this functionality is broken from the update... but I don't know if we are the minority or the majority.
John Kennington Jul 4, 2015 @ 3:19pm 
Definitely in the majority. The mod doesn't work with the latest update.
zhenghan1994 Jul 4, 2015 @ 3:23pm 
If you operate a new map without any public transportation, the bug wouldn't appear, but If you set up a train/bus/metro line in the map, as you try to connect two stations, this error must appear.
Probe1 Jul 4, 2015 @ 5:56pm 
Same here. Put a bus line down, error came up.
TinTin 6 Jul 4, 2015 @ 6:37pm 
so there's no solution yet?
wrheckz Jul 4, 2015 @ 10:35pm 
having same problem with this -.-
heathtech Jul 4, 2015 @ 10:43pm 
This is very easy to fix if you know any C#. If not, you can download my modified version here: https://copy.com/IY8zUNMUx0SqyIKW

Extract the contents of the zip file (basically just modified .cs files) into the path %localappdata%\Colossal Order\Cities_Skylines\Addons\Mods such that the path reads something like ...\Mods\CSL-Traffic\Source\*.cs.

Launch the game. When you look at the mods list in the content manager, you'll see two Traffic++ mods listed - turn the old one off and turn the one with the description ending with "fix by heathtech" on.

To summarize the fix if you do know C#, CO added another bool called "requireConnect" to the FindPathPosition method just after the "allowUnderground" parameter, making the code in its current Workshop form break. I also had to change all references of NetInfo.LaneType.Cargo to say ((NetInfo.LaneType)((byte)16)) since the enum value got lost apparently. Make these changes yourself if you don't trust the download link.
christian_B Jul 5, 2015 @ 1:04am 
Originally posted by heathtech:
This is very easy to fix if you know any C#. If not, you can download my modified version here: https://copy.com/IY8zUNMUx0SqyIKW

Extract the contents of the zip file (basically just modified .cs files) into the path %localappdata%\Colossal Order\Cities_Skylines\Addons\Mods such that the path reads something like ...\Mods\CSL-Traffic\Source\*.cs.

Launch the game. When you look at the mods list in the content manager, you'll see two Traffic++ mods listed - turn the old one off and turn the one with the description ending with "fix by heathtech" on.

To summarize the fix if you do know C#, CO added another bool called "requireConnect" to the FindPathPosition method just after the "allowUnderground" parameter, making the code in its current Workshop form break. I also had to change all references of NetInfo.LaneType.Cargo to say ((NetInfo.LaneType)((byte)16)) since the enum value got lost apparently. Make these changes yourself if you don't trust the download link.


You are the hero of the Day ;)

Confirmed Working!!
Does NOT work for me.
It just pops up some debug error messages about not used variables on startup, and after that the mods panel is broken, because the mods options button isnt fixed. So i cant turn off and on mods anymore.
christian_B Jul 5, 2015 @ 3:49am 
The mod panel works fine for me, you just need to press F5 to reload the list!
Vimes Jul 5, 2015 @ 4:46am 
Originally posted by SG Locutus of Borg:
Does NOT work for me.
It just pops up some debug error messages about not used variables on startup, and after that the mods panel is broken, because the mods options button isnt fixed. So i cant turn off and on mods anymore.


Ditto


http://images.akamai.steamusercontent.com/ugc/621844209606203480/6D56398B5E55183AFEA182D776A73C0089293398/

Not sure what I'm doing wrong...?
< >
Showing 1-15 of 33 comments
Per page: 1530 50