CitiesSkylinesMultiplayer / CSM

Source code for the Cities: Skylines Multiplayer mod (CSM)

Home Page:https://citiesskylinesmultiplayer.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

First attempt of connecting fails, on the second try it succeeds with time out shortly

PatrickSkowronek opened this issue · comments

Describe the bug
On the first attempt of connecting, it does not work without an error. However, in the log there is an error. On the second try it works. But after maybe 1 minute I get a disconnect. We tried uninstalling the mod, checking the games files.
We played 11 hours on that save game, looks like it has some problem's?

Active DLCs

  • Industries
  • After dark
  • Green cities
  • Mass Transit

Active mods
Only CSM
Versions
Type /version into the in-game chat and paste the version numbers here:

  • Mod version: current
  • Game version: current

Additional context
[22:26:49.8488] [2006.21.0.0] [Info] Creating join game button... [22:26:53.4360] [2006.21.0.0] [Info] Attempting to connect to server at 192.168.200.38:4230... [22:26:53.4450] [2006.21.0.0] [Info] Set status to 'connecting'... [22:26:59.3060] [2006.21.0.0] [Info] Disconnected from server. Message: ConnectionFailed, Code: Success [22:26:59.4720] [2006.21.0.0] [Warn] Client disconnected while in connecting loop. [22:26:59.4880] [2006.21.0.0] [Info] Disconnected from server [22:27:00.4750] [2006.21.0.0] [Info] Attempting to connect to server at 192.168.200.38:4230... [22:27:00.4750] [2006.21.0.0] [Info] Set status to 'connecting'... [22:27:06.2760] [2006.21.0.0] [Info] Disconnected from server. Message: ConnectionFailed, Code: Success [22:27:06.5050] [2006.21.0.0] [Warn] Client disconnected while in connecting loop. [22:27:06.5050] [2006.21.0.0] [Info] Disconnected from server [22:27:08.9840] [2006.21.0.0] [Info] Attempting to connect to server at 192.168.200.38:4230... [22:27:08.9890] [2006.21.0.0] [Info] Set status to 'connecting'... [22:27:14.8610] [2006.21.0.0] [Info] Disconnected from server. Message: ConnectionFailed, Code: Success [22:27:15.0130] [2006.21.0.0] [Warn] Client disconnected while in connecting loop. [22:27:15.0130] [2006.21.0.0] [Info] Disconnected from server [22:27:15.6990] [2006.21.0.0] [Info] Attempting to connect to server at 192.168.200.38:4230... [22:27:15.6990] [2006.21.0.0] [Info] Set status to 'connecting'... [22:27:17.3920] [2006.21.0.0] [Error] Exception while parsing BuildingCreateCommand System.NullReferenceException: Object reference not set to an instance of an object at PrefabCollection1[BuildingInfo].GetPrefab (UInt32 index) [0x00000] in :0
at CSM.Commands.Handler.Buildings.BuildingCreateHandler.Handle (CSM.Commands.Data.Buildings.BuildingCreateCommand command) [0x00000] in :0
at CSM.Commands.Handler.CommandHandler1[C].Parse (CSM.Commands.CommandBase command) [0x00000] in <filename unknown>:0 at CSM.Commands.TransactionHandler.FinishReceived (Int32 sender) [0x00000] in <filename unknown>:0 [22:27:17.8990] [2006.21.0.0] [Info] Sending connection request to server... [22:27:17.8990] [2006.21.0.0] [Error] Encountered an error while reading command from 192.168.200.38:4230: System.NullReferenceException: Object reference not set to an instance of an object at EconomyManager.PeekResource (EconomyManager/Resource,int) <0x0002e> at (wrapper dynamic-method) EconomyManager.DMD<DMD<FetchResource_Patch2>?-1852872192..FetchResource_Patch2> (EconomyManager,EconomyManager/Resource,int,ItemClass/Service,ItemClass/SubService,ItemClass/Level) <0x0008d> at CSM.Commands.Handler.Economy.EconomyResourceHandler.Handle (CSM.Commands.Data.Economy.EconomyResourceCommand) <0x0011f> at CSM.Commands.Handler.CommandHandler1.Parse (CSM.Commands.CommandBase) <0x00064>
at CSM.Commands.Handler.Economy.EconomyResourcesHandler.Handle (CSM.Commands.Data.Economy.EconomyResourcesCommand) <0x00065>
at CSM.Commands.Handler.CommandHandler`1.Parse (CSM.Commands.CommandBase) <0x00064>
at CSM.Commands.CommandReceiver.Parse (LiteNetLib.NetPacketReader,LiteNetLib.NetPeer) <0x001ce>
at CSM.Networking.Client.ListenerOnNetworkReceiveEvent (LiteNetLib.NetPeer,LiteNetLib.NetPacketReader,LiteNetLib.DeliveryMethod) <0x00039>

[22:27:18.0060] [2006.21.0.0] [Info] Successfully connected to server. Downloading world...
[22:27:18.2150] [2006.21.0.0] [Info] Client has connected.
[22:27:20.0260] [2006.21.0.0] [Info] Player Deatheagle93 has connected!
[22:27:20.0260] [2006.21.0.0] [Error] Encountered an error while reading command from 192.168.200.38:4230: System.NullReferenceException: Object reference not set to an instance of an object
at EconomyManager.PeekResource (EconomyManager/Resource,int) <0x0002e>
at (wrapper dynamic-method) EconomyManager.DMD<DMD<FetchResource_Patch2>?-1852872192..FetchResource_Patch2> (EconomyManager,EconomyManager/Resource,int,ItemClass/Service,ItemClass/SubService,ItemClass/Level) <0x0008d>
at CSM.Commands.Handler.Economy.EconomyResourceHandler.Handle (CSM.Commands.Data.Economy.EconomyResourceCommand) <0x0011f>
at CSM.Commands.Handler.CommandHandler1.Parse (CSM.Commands.CommandBase) <0x00064> at CSM.Commands.Handler.Economy.EconomyResourcesHandler.Handle (CSM.Commands.Data.Economy.EconomyResourcesCommand) <0x00065> at CSM.Commands.Handler.CommandHandler1.Parse (CSM.Commands.CommandBase) <0x00064>
at CSM.Commands.CommandReceiver.Parse (LiteNetLib.NetPacketReader,LiteNetLib.NetPeer) <0x001ce>
at CSM.Networking.Client.ListenerOnNetworkReceiveEvent (LiteNetLib.NetPeer,LiteNetLib.NetPacketReader,LiteNetLib.DeliveryMethod) <0x00039>

[22:27:24.3850] [2006.21.0.0] [Info] World has been received, preparing to load world.
[22:27:24.3850] [2006.21.0.0] [Info] Preparing to load world (of size 11902809)...
[22:27:24.3850] [2006.21.0.0] [Info] Telling the loading manager to load the level
[22:28:12.4692] [2006.21.0.0] [Info] Disconnected from server. Message: Timeout, Code: Success
[22:28:12.4692] [2006.21.0.0] [Info] Disconnected from server
[22:31:40.1068] [2006.21.0.0] [Info] Creating join game button...
[22:31:48.2233] [2006.21.0.0] [Info] Attempting to connect to server at 192.168.200.38:4230...
[22:31:48.2233] [2006.21.0.0] [Info] Set status to 'connecting'...
[22:31:54.0803] [2006.21.0.0] [Info] Disconnected from server. Message: ConnectionFailed, Code: Success
[22:31:54.2543] [2006.21.0.0] [Warn] Client disconnected while in connecting loop.
[22:31:54.2693] [2006.21.0.0] [Info] Disconnected from server
[22:31:54.9713] [2006.21.0.0] [Info] Attempting to connect to server at 192.168.200.38:4230...
[22:31:54.9773] [2006.21.0.0] [Info] Set status to 'connecting'...
[22:31:58.4243] [2006.21.0.0] [Error] Exception while parsing BuildingCreateCommand System.NullReferenceException: Object reference not set to an instance of an object
at Building.set_Info (BuildingInfo) <0x00013>
at (wrapper dynamic-method) BuildingManager.DMD<DMD<CreateBuilding_Patch2>?-580937344..CreateBuilding_Patch2> (BuildingManager,uint16&,ColossalFramework.Math.Randomizer&,BuildingInfo,UnityEngine.Vector3,single,int,uint) <0x00107>
at CSM.Commands.Handler.Buildings.BuildingCreateHandler.Handle (CSM.Commands.Data.Buildings.BuildingCreateCommand) <0x00195>
at CSM.Commands.Handler.CommandHandler`1.Parse (CSM.Commands.CommandBase) <0x00064>
at CSM.Commands.TransactionHandler.FinishReceived (int) <0x00128>

[22:31:58.7393] [2006.21.0.0] [Info] Sending connection request to server...
[22:31:58.7393] [2006.21.0.0] [Error] Encountered an error while reading command from 192.168.200.38:4230: System.NullReferenceException: Object reference not set to an instance of an object
at EconomyManager.PeekResource (EconomyManager/Resource,int) <0x0002e>
at (wrapper dynamic-method) EconomyManager.DMD<DMD<FetchResource_Patch2>?-1852872192..FetchResource_Patch2> (EconomyManager,EconomyManager/Resource,int,ItemClass/Service,ItemClass/SubService,ItemClass/Level) <0x0008d>
at CSM.Commands.Handler.Economy.EconomyResourceHandler.Handle (CSM.Commands.Data.Economy.EconomyResourceCommand) <0x0011f>
at CSM.Commands.Handler.CommandHandler1.Parse (CSM.Commands.CommandBase) <0x00064> at CSM.Commands.Handler.Economy.EconomyResourcesHandler.Handle (CSM.Commands.Data.Economy.EconomyResourcesCommand) <0x00065> at CSM.Commands.Handler.CommandHandler1.Parse (CSM.Commands.CommandBase) <0x00064>
at CSM.Commands.CommandReceiver.Parse (LiteNetLib.NetPacketReader,LiteNetLib.NetPeer) <0x001ce>
at CSM.Networking.Client.ListenerOnNetworkReceiveEvent (LiteNetLib.NetPeer,LiteNetLib.NetPacketReader,LiteNetLib.DeliveryMethod) <0x00039>

[22:31:58.8433] [2006.21.0.0] [Info] Successfully connected to server. Downloading world...
[22:31:58.9933] [2006.21.0.0] [Info] Client has connected.
[22:32:00.8633] [2006.21.0.0] [Info] Player Deatheagle93 has connected!
[22:32:00.8633] [2006.21.0.0] [Error] Encountered an error while reading command from 192.168.200.38:4230: System.NullReferenceException: Object reference not set to an instance of an object
at EconomyManager.PeekResource (EconomyManager/Resource,int) <0x0002e>
at (wrapper dynamic-method) EconomyManager.DMD<DMD<FetchResource_Patch2>?-1852872192..FetchResource_Patch2> (EconomyManager,EconomyManager/Resource,int,ItemClass/Service,ItemClass/SubService,ItemClass/Level) <0x0008d>
at CSM.Commands.Handler.Economy.EconomyResourceHandler.Handle (CSM.Commands.Data.Economy.EconomyResourceCommand) <0x0011f>
at CSM.Commands.Handler.CommandHandler1.Parse (CSM.Commands.CommandBase) <0x00064> at CSM.Commands.Handler.Economy.EconomyResourcesHandler.Handle (CSM.Commands.Data.Economy.EconomyResourcesCommand) <0x00065> at CSM.Commands.Handler.CommandHandler1.Parse (CSM.Commands.CommandBase) <0x00064>
at CSM.Commands.CommandReceiver.Parse (LiteNetLib.NetPacketReader,LiteNetLib.NetPeer) <0x001ce>
at CSM.Networking.Client.ListenerOnNetworkReceiveEvent (LiteNetLib.NetPeer,LiteNetLib.NetPacketReader,LiteNetLib.DeliveryMethod) <0x00039>

[22:32:05.3513] [2006.21.0.0] [Info] World has been received, preparing to load world.
[22:32:05.3513] [2006.21.0.0] [Info] Preparing to load world (of size 11981669)...
[22:32:05.3513] [2006.21.0.0] [Info] Telling the loading manager to load the level
[22:32:28.9641] [2006.21.0.0] [Warn] ArrayHandler: Applying already in progress! Ignoring.
[22:32:28.9641] [2006.21.0.0] [Warn] ArrayHandler: Applying more items than collected!
[22:33:02.4451] [2006.21.0.0] [Info] Disconnected from server. Message: Timeout, Code: Success
[22:33:02.4451] [2006.21.0.0] [Info] Disconnected from server
[22:33:07.2731] [2006.21.0.0] [Info] Creating join game button...
`