joaofarias / csl-traffic

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

Possible bug with multi-platform feature #79

Open originalfoo opened 9 years ago

originalfoo commented 9 years ago

Seen some reports that the multi-track station enabler mod by @SkylinesSimsfirehouse might cause issues whereby the metro tunnel option is missing from the metro tab.

Workaround: Turn the mod off and on again.

I assume this might also affect the same feature in T++.

Still trying to get hold of log files but most people had already started new game with the multi-platform mod disabled thus wiping their logs. :/

ghost commented 9 years ago

Thanks for the heads up. The mod is outdated as of 1.1.1b because of code change.

Interestingly though, there is a new variable named fixedPlatform in their code. Perhaps CO has implemented this feature?

ghost commented 9 years ago

I have updated the code on my side, but I don't have time (and probably the skill) to work on the part in Traffic++, namely CustomTransportTool.cs.

And an answer to myself: fixedPlatform has nothing to do with multiplatform function.

joaofarias commented 9 years ago

Can you provide a link to your code so I can see what changes you've made?

originalfoo commented 8 years ago

I assume this is the link: https://github.com/SkylinesSimsfirehouse/Skylines-MultiTrackStationEnabler/commit/cd28fbb38ae56adf2f8ae644de8ac0bc5743fb40

armarayo commented 8 years ago

People are reporting that multitrackstationenabler isn't working properly....? I hope simsfirehouse investigates and updates :)

m-thorsen commented 8 years ago

Just to chip in... The enabler seems to be working for me, both the standalone version and T++ Some of the closed roof stations I tried were very hard to work with, but the open one (Holstebro) worked as it should.

angus725 commented 8 years ago

Running into this issue. Workaround does not work for me either.

langesi commented 8 years ago

The workaround also doesn't work for me.

As soon as I start I get this message, which seems to be related to the issue (I'm playing on a mac):

The Mod /Users/sim/Library/Application Support/Steam/steamapps/workshop/content/255710/442957897 [MultiTrackStationEnabler.dll] has caused an error [ModException]

Details: System.MissingMethodException: Method not found: 'NetSegment.GetClosestLanePosition'. at (wrapper managed-to-native) System.RuntimeMethodHandle:GetFunctionPointer (intptr) at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in :0 at MultiTrackStationEnabler.RedirectionHelper.RedirectCalls (System.Reflection.MethodInfo from, System.Reflection.MethodInfo to) [0x00000] in :0 at MultiTrackStationEnabler.RedirectionHelper.RedirectCalls (System.Type from, System.Type to, System.String methodName, Boolean privateVar) [0x00000] in :0 at MultiTrackStationEnabler.LoadingExtension.OnLevelLoaded (LoadMode mode) [0x00000] in :0 at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in :0