DarkMultiPlayer Client

DarkMultiPlayer Client

38.8k Downloads

VESSEL_UPDATE with large ships

gsumpster opened this issue ยท 1 comments

commented

We were trying to launch a massive vessel from Kerbin to orbit, when it reached 8000m, and we tried to turn it, the user crashed and this error message was given out by the server.

[14:17:48][DEBUG] : Error handling VESSEL_UPDATE from iCnHunter, exception: System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
   at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   at System.Collections.Generic.Queue`1.SetCapacity(Int32 capacity)
   at System.Collections.Generic.Queue`1.Enqueue(T item)
   at DarkMultiPlayerServer.ClientHandler.SendToClient(ClientObject client, ServerMessage message, Boolean highPriority)
   at DarkMultiPlayerServer.ClientHandler.SendToAll(ClientObject ourClient, ServerMessage message, Boolean highPriority)
   at DarkMultiPlayerServer.ClientHandler.HandleMessage(ClientObject client, ClientMessage message)
[14:17:48][INFO] : Disconnecting client iCnHunter, sent CONNECTION_END to endpoint 76.18.109.7:58872``
commented

Vessel updates are the same size no matter what the ship - if this pops up again reopen this issue. I've never been able to reproduce it.