dymanoid / RealTime

A mod for the Cities: Skylines game. Adjusts the time flow and the citizens behavior to make them more real.
MIT License
97 stars 59 forks source link

Time Progress Freeze #179

Closed CreaDisc closed 5 years ago

CreaDisc commented 5 years ago

Hey guys,

I have been using the RushHour mod for quite some time now, but it suddently stopped working (about 4 months ago). Recently I found the Real Time mod as a replacement so I installed it. The game isn't working yet as it tells me there is an error that prevents Real Time from starting.

As I have a savegame with 380k population, I didn't want to start a new game (which btw works fine). So I loaded the savegame but the time progress seems stuck. The city is loaded and I can interact with the bottom panel, I even hear ambient sounds when traveling around in the city. But time is freezed and props are not moving. I uninstalled RushHour 2 and installed Real Time, but nothing has changed. I uploaded the output log here: https://gist.github.com/CreaDisc/9cbfdc63b24c2741a226c7aae5b8218c

Here is a list with all mods I use:

81 Tiles
Advanced Buildings Editor
Advanced Stop Selection
Advanced Vehicle Options
Airport Roads
Ambient Sounds Tuner
Any Road Outside Connections
Auto Line Color
Building Themes
Camera Positions Utility
City Drive 1.4.0
Clouds and Fog Toggler
Control Building Level Up
CrossTheLine
Cubemap Replacer
Daylight Classic
Decal Prop Fix
Dynamic Resolution
Elevated Stops Enabler
Extended Building Information Mod
Extra Landscaping Tools
Extra Train Station Tracks
Find It! 1.5.4
Fine Road Tools 1.3.7
Improved Public Transport 2
Map Editor Tunnels Enabler (disbaled)
Metro Overhaul
More Network Stuff (disabled)
Move It! 2.2.0
Network Extensions 2
Network Nodes Editor
Network Skins
One-Way Train Tracks
Pastel Cubemap Pack
Pedestrian Crossings
Plopable RICO
Prefab Hook
Prop and Tree Anarchy
Prop Remover
Quay Anarchy
Real Time
Relight
Roads United Core +
Roads United: North America Plus
Service Vehicle Selector 2
ShadowStrengthAdjuster
Sharp Junction Angles
Ship Converter
Ship Path Anarchy
Spawn Points Fix
Spawn/Unspawn Positions Swapper
Sun Shafts
Surface Painter
Traffic Manager: President Edition
Train Converter
Tram Station Track
Transport Line Rendering Fix
Ultimate Eyecandy 1.5.2
Unlimited Trees Mod
UnlimitedOutsideConnections
WG Citizen Lifecycle Rebalance v2.3
WG Realistic Population and Consumption Mod v8.3.3

What catched my attention when searching for an exception regarding Real Time were these log entries:

[Rush Hour II] Rush Hour II has been disabled.

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

[Rush Hour II] Removing patching for RushHour2.Patches...

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

[Rush Hour II] Couldn't unpatch everything!

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

[Rush Hour II] Cannot cast from source type to destination type.
0Harmony
  at RushHour2.Harmony.PatchInfoSerialization.Deserialize (System.Byte[] bytes) [0x00000] in <filename unknown>:0 
  at RushHour2.Harmony.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
  at RushHour2.Harmony.PatchProcessor.Unpatch (HarmonyPatchType type, System.String harmonyID) [0x00000] in <filename unknown>:0 
  at RushHour2.Harmony.HarmonyInstance.Unpatch (System.Reflection.MethodBase original, HarmonyPatchType type, System.String harmonyID) [0x00000] in <filename unknown>:0 
at RushHour2.Patches.PatchManager.UnPatchAll () [0x00000] in <filename unknown>:0 

at line 8080 and

The 'Real Time' mod starts, game mode LoadGame.

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

The 'Real Time' mod will not change the citizens aging because the 'Citizen Lifecycle Rebalance' mod is active.

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

The 'Real Time' mod will not change the building construction and upgrading behavior because some building mod is active.

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

Failed reverting a Harmony method patch RealTime.GameConnection.Patches.BuildingAIPatches+CommercialBuildingA_SimulationStepActive with ID 'com.cities_skylines.dymanoid.realtime'. Error message: System.TypeLoadException: Could not load type 'RushHour2.Harmony.Patch[]'.
  at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool)
  at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) [0x00000] in <filename unknown>:0 
  at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetDeserializationType (Int64 assemblyId, System.String className) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadType (System.IO.BinaryReader reader, TypeTag code) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (BinaryElement element, System.IO.BinaryReader reader) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (BinaryElement elem, System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in <filename unknown>:0 
  at Harmony.PatchInfoSerialization.Deserialize (System.Byte[] bytes) [0x00000] in <filename unknown>:0 
  at Harmony.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
  at Harmony.PatchProcessor.Unpatch (HarmonyPatchType type, System.String harmonyID) [0x00000] in <filename unknown>:0 
  at Harmony.HarmonyInstance.Unpatch (System.Reflection.MethodBase original, HarmonyPatchType type, System.String harmonyID) [0x00000] in <filename unknown>:0 
  at SkyTools.Patching.MethodPatcher+Patcher.RevertPatch (System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0 
  at SkyTools.Patching.PatchBase.RevertPatch (IPatcher patcher) [0x00000] in <filename unknown>:0 
  at SkyTools.Patching.MethodPatcher.Revert () [0x00000] in <filename unknown>:0 

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

Failed reverting a Harmony method patch RealTime.GameConnection.Patches.BuildingAIPatches+CommonBuildingAI_GetColor with ID 'com.cities_skylines.dymanoid.realtime'. Error message: System.TypeLoadException: Could not load type 'RushHour2.Harmony.Patch[]'.
  at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool)
  at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) [0x00000] in <filename unknown>:0 
  at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetDeserializationType (Int64 assemblyId, System.String className) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadType (System.IO.BinaryReader reader, TypeTag code) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (BinaryElement element, System.IO.BinaryReader reader) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (BinaryElement elem, System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in <filename unknown>:0 
  at Harmony.PatchInfoSerialization.Deserialize (System.Byte[] bytes) [0x00000] in <filename unknown>:0 
  at Harmony.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
  at Harmony.PatchProcessor.Unpatch (HarmonyPatchType type, System.String harmonyID) [0x00000] in <filename unknown>:0 
  at Harmony.HarmonyInstance.Unpatch (System.Reflection.MethodBase original, HarmonyPatchType type, System.String harmonyID) [0x00000] in <filename unknown>:0 
  at SkyTools.Patching.MethodPatcher+Patcher.RevertPatch (System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0 
  at SkyTools.Patching.PatchBase.RevertPatch (IPatcher patcher) [0x00000] in <filename unknown>:0 
  at SkyTools.Patching.MethodPatcher.Revert () [0x00000] in <filename unknown>:0 

at line 55795.

I hope this will help making the mod more stable and compatible in the future.

dymanoid commented 5 years ago

According to your log file, the Rush Hour II mod is still present on your system. Real Time is technically incompatible with Rush Hour. Disabling Rush Hour isn't enough, you must unsubscribe from it and delete the mod's directory completely, if it is not deleted automatically for some reason. This is because how Rush Hour mod is implemented. Even if you disable it, it still continues to change the game and breaks Real Time.