-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server not Joinable by Client #282
Comments
hmmm, maybe something to do with the |
I assume the host is running the same version as the client? |
on my side both are on the same game/mod version but one is using windows the other one is on mac ... and we are on LAN ... so portforwarding shouldnd be the issue
|
yeah not a networking issue, I think it has to do with parsing the mods list |
Mine came from Windows (Host) and Linux (Client) using Portforwarding with same versions game and mod |
if it helps in any way ... on windows the log was well formatted while on mac the log is without linebreaks ... so maybe unix/windows missmatch on linebreaks? |
I just tested an assumption I had. When the list of mods is empty, protobuf seems to send null to the other side, which then causes the issue. |
Yeah, looks like the new line character needs to be different on unix platforms, will have to see how you detect that in mono (separate issue though) |
was thinking the same but didnt had same content on both machines for testing it xD |
Description:
On the newest Update of CSM Clients can not join the Host it returns an Error for the Host (Error while parsing command, see log)
Steps to reproduce the behavior:
Expected behavior
Connect without Issues/Error
Active DLCs
-None
Active mods
-Harmony 2.2-0
-Cities Skylines Multiplayer (CSM)
Versions
Additional context
Log File
Encountered an error while reading command from (Joining Client IPADDRESS):: System.ArgumentNullException: Argument cannot be null. Parameter name: first at System.Linq.Check.FirstAndSecond (System.Object first, System.Object second) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.SequenceEqual[String] (IEnumerable1 first, IEnumerable1 second, IEqualityComparer1 comparer) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.SequenceEqual[String] (IEnumerable1 first, IEnumerable1 second) [0x00000] in <filename unknown>:0 at CSM.Commands.Handler.Internal.ConnectionRequestHandler.HandleOnServer (CSM.Commands.Data.Internal.ConnectionRequestCommand command, LiteNetLib.NetPeer peer) [0x00000] in <filename unknown>:0 at CSM.Commands.CommandReceiver.Parse (LiteNetLib.NetPacketReader reader, LiteNetLib.NetPeer peer) [0x00000] in <filename unknown>:0 at CSM.Networking.Server.ListenerOnNetworkReceiveEvent (LiteNetLib.NetPeer peer, LiteNetLib.NetPacketReader reader, DeliveryMethod deliveryMethod) [0x00000] in <filename unknown>:0
-Multiple people have reported this on the Discord so I doubt its a isolated Case
The text was updated successfully, but these errors were encountered: