GithubHelp home page GithubHelp logo

89pleasure / cities2-realistic-density Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 4.0 3.65 MB

RealisticDensity is a mod that tries to allow a more realistic number of workplaces in individual buildings. This increases the bustle factor but also the traffic density and at the same time increases the difficulty of the game.

License: GNU General Public License v2.0

C# 30.52% JavaScript 69.48%

cities2-realistic-density's People

Contributors

89pleasure avatar

Watchers

 avatar

cities2-realistic-density's Issues

Disaster Response Vehicles in Maintenance when using mod

When having this mode installed building a fire station and adding the disaster response unit puts all disaster response vehicles in maintenance. Efficiency is > 100%, 160/160 employees, but no matter how many response units or fire stations I build, the vehicles are not being used.

Maybe it is unrelated to the mod, but I can reproduce it.

Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.

After game update to 1.1.0f1 (patch) game don't want to start.
I'm using xbox launcher.

Logs:

[Message:   BepInEx] BepInEx 5.4.21.0 - Cities2 (25.03.2024 19:12:39)
[Info   :   BepInEx] Running under Unity v2022.3.7.9732149
[Info   :   BepInEx] CLR runtime version: 4.0.30319.42000
[Info   :   BepInEx] Supports SRE: True
[Info   :   BepInEx] System platform: Bits64, Windows
[Message:   BepInEx] Preloader started
[Info   :   BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.21.0]
[Info   :   BepInEx] 1 patcher plugin loaded
[Info   :   BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message:   BepInEx] Preloader finished
[Message:   BepInEx] Chainloader ready
[Message:   BepInEx] Chainloader started
[Info   :   BepInEx] 2 plugins to load
[Info   :   BepInEx] Loading [Gooee 0.1.1.0]
[Info   :     Gooee] 
 @@@@@@@@   @@@@@@    @@@@@@   @@@@@@@@  @@@@@@@@  
@@@@@@@@@  @@@@@@@@  @@@@@@@@  @@@@@@@@  @@@@@@@@  
!@@        @@!  @@@  @@!  @@@  @@!       @@!       
!@!        !@!  @!@  !@!  @!@  !@!       !@!       
!@! @!@!@  @!@  !@!  @!@  !@!  @!!!:!    @!!!:!    
!!! !!@!!  !@!  !!!  !@!  !!!  !!!!!:    !!!!!:    
:!!   !!:  !!:  !!!  !!:  !!!  !!:       !!:       
:!:   !::  :!:  !:!  :!:  !:!  :!:       :!:       
 ::: ::::  ::::: ::  ::::: ::   :: ::::   :: ::::  
 :: :: :    : :  :    : :  :   : :: ::   : :: ::   
                                                   
[Info   :     Gooee] Plugin Gooee is loaded! Patched methods: 5
[Info   :     Gooee] Patched method: Game.dll:OnCreate
[Info   :     Gooee] Patched method: Game.dll:Initialize
[Info   :     Gooee] Patched method: Game.dll:InitializeUI
[Info   :     Gooee] Patched method: Game.dll:Awake
[Info   :     Gooee] Patched method: Game.dll:.ctor
[Info   :   BepInEx] Loading [RealisticDensity 0.14.0]
[Error  : Unity Log] TypeLoadException: VTable setup of type RealisticDensity.Mod failed
Stack trace:
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset:OnEnable()

[Message:   BepInEx] Chainloader startup complete
[Error  : Unity Log] ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
VTable setup of type RealisticDensity.Mod failed
Stack trace:
System.Reflection.Assembly.GetTypes () (at <b89873cb176e44a995a4781c7487d410>:0)
Unity.Entities.TypeManager.InitializeAllComponentTypes () (at <15e64532bf0341c38bcbd8d7ec243608>:0)
Unity.Entities.TypeManager.Initialize () (at <15e64532bf0341c38bcbd8d7ec243608>:0)
Unity.Entities.AttachToEntityClonerInjection.Initialize () (at <bc587eb79e0442b399a1502e729f7d2d>:0)
Unity.Entities.AttachToEntityClonerInjection..cctor () (at <bc587eb79e0442b399a1502e729f7d2d>:0)
Rethrow as TypeInitializationException: The type initializer for 'Unity.Entities.AttachToEntityClonerInjection' threw an exception.

[Info   :   Console] Logs at C:/Users/szymo/AppData/LocalLow/Colossal Order/Cities Skylines II/Logs
[Info   : Unity Log] Game version: 1.1.0f1 (292.26494) [5402.24215]
[Info   : Unity Log] Type: Desktop
OS: Windows 10  (10.0.19045) 64bit
System memory: 15,821 GB
Graphics device: NVIDIA GeForce RTX 3060 Ti (Version: Direct3D 11.0 [level 11.1])
Graphics memory: 7,836 GB
Max texture size: 16384
Shader level: 50
3D textures: True
Shadows: True
Compute: True
CPU: 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
Core count: 16
Platform: WindowsPlayer
Screen resolution: 1920x1080x144
Window resolution: 1920x1080
DPI: 96
Rendering Threading Mode: LegacyJobified
CLR: 4.0.30319.42000
Modding runtime: BepInEx 5.4.21.0
Scripting runtime: Mono 6.13.0 (Visual Studio built mono)
[Error  : Unity Log] [SceneFlow] [FATAL]  Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
VTable setup of type RealisticDensity.Mod failed System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
VTable setup of type RealisticDensity.Mod failed
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <b89873cb176e44a995a4781c7487d410>:0 
  at Unity.Entities.TypeManager.InitializeAllComponentTypes () [0x00044] in <15e64532bf0341c38bcbd8d7ec243608>:0 
  at Unity.Entities.TypeManager.Initialize () [0x001c0] in <15e64532bf0341c38bcbd8d7ec243608>:0 
  at Unity.Entities.EntityManager.Initialize (Unity.Entities.World world) [0x00000] in <15e64532bf0341c38bcbd8d7ec243608>:0 
  at Unity.Entities.WorldUnmanaged.Create (Unity.Entities.World world, Unity.Entities.WorldFlags flags, Unity.Collections.AllocatorManager+AllocatorHandle backingAllocatorHandle) [0x0006d] in <15e64532bf0341c38bcbd8d7ec243608>:0 
  at Unity.Entities.World.Init (Unity.Entities.WorldFlags flags, Unity.Collections.AllocatorManager+AllocatorHandle backingAllocatorHandle) [0x00000] in <15e64532bf0341c38bcbd8d7ec243608>:0 
  at Unity.Entities.World..ctor (System.String name, Unity.Entities.WorldFlags flags) [0x00044] in <15e64532bf0341c38bcbd8d7ec243608>:0 
  at Game.SceneFlow.GameManager.CreateWorld () [0x00027] in <c2ceedce7a434e3f9d32d52b09376e62>:0 
  at Game.SceneFlow.GameManager.Initialize () [0x001c5] in <c2ceedce7a434e3f9d32d52b09376e62>:0 
System.TypeLoadException: VTable setup of type RealisticDensity.Mod failed

Lot of trucks are spawing

Hi,

since i started using your mod, i've got the following issue (see screenshot).
Is there a way to adjust the traffic spawn rate? I was wondering why trucks are heading to houses as well... is that intended?
05-März-16-43-26-00

job problem

my city is telling that it is always missing industrie and commercial buildings but i don't have enough of residential for all the workers and there is no demand for it therefore my economy is crumbelling

Error when using the mod

This is the error i got earlier when starting with v0.07 and reloading, and now with the 0.08 aswell

Data size mismatch when deserializing component null
ComponentSerializerException: Data size mismatch when deserializing component null
  at Colossal.Serialization.Entities.ComponentDataSerializer`1+DeserializeComponentDataJob`1[TComponentData,TReader].Execute () [0x00320] in <105a68e297994eaa8e388ba9453ff856>:0 
  at Unity.Jobs.IJobExtensions+JobStruct`1[T].Execute (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00001] in <a8fc136049044b19982b5abcb6f6b426>:0 
  at (wrapper delegate-invoke) Unity.Jobs.IJobExtensions+JobStruct`1+ExecuteJobFunction[Colossal.Serialization.Entities.ComponentDataSerializer`1+DeserializeComponentDataJob`1[RealisticDensity.Prefabs.RealisticDensityData,Colossal.Serialization.Entities.BinaryReader]].invoke_void_T&_intptr_intptr_JobRanges&_int(Colossal.Serialization.Entities.ComponentDataSerializer`1/DeserializeComponentDataJob`1<RealisticDensity.Prefabs.RealisticDensityData, Colossal.Serialization.Entities.BinaryReader>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Huge Log file

[2024-01-04 19:22:33,953] [INFO] Loading.
[2024-01-04 19:22:33,953] [INFO] Loading Harmony patches.
[2024-01-04 19:22:34,004] [INFO] Plugin RealisticDensity is loaded! Patched methods 2
[2024-01-04 19:22:34,004] [INFO] Patched method: Game.dll:Initialize
[2024-01-04 19:22:34,004] [INFO] Patched method: Game.dll:Initialize
[2024-01-04 19:23:00,899] [INFO] Add system to world.
[2024-01-04 19:27:28,791] [INFO] Run UpdateCityServicesJob
[2024-01-04 19:27:28,793] [INFO] Run UpdateSpawnablesJob
[2024-01-04 19:27:28,795] [INFO] Run UpdateHighOfficesJob
[2024-01-04 19:27:28,895] [INFO] Run UpdateSpawnablesJob
..
[2024-01-04 19:30:17,780] [INFO] Run UpdateSpawnablesJob

This is the start of my log file, and after the Run UpdateSpawnablesJob goes on forever. See just 3 minutes of the game, and it has a log of nearly 500k already with Run UpdateSpawnablesJob on every line

Error when loading city using this MOD

Data size mismatch when deserializing component null
ComponentSerializerException: Data size mismatch when deserializing component null
at Colossal.Serialization.Entities.ComponentDataSerializer1+DeserializeComponentDataJob1[TComponentData,TReader].Execute () [0x00320] in <105a68e297994eaa8e388ba9453ff856>:0
at Unity.Jobs.IJobExtensions+JobStruct1[T].Execute (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00001] in <a8fc136049044b19982b5abcb6f6b426>:0 at (wrapper delegate-invoke) Unity.Jobs.IJobExtensions+JobStruct1+ExecuteJobFunction[Colossal.Serialization.Entities.ComponentDataSerializer1+DeserializeComponentDataJob1[RealisticDensity.Prefabs.RealisticDensityData,Colossal.Serialization.Entities.BinaryReader]].invoke_void_T&_intptr_intptr_JobRanges&_int(Colossal.Serialization.Entities.ComponentDataSerializer1/DeserializeComponentDataJob1<RealisticDensity.Prefabs.RealisticDensityData, Colossal.Serialization.Entities.BinaryReader>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.