SpaceManiac / Spacecraft

Spacecraft is the SpaceManiac Minecraft Server, a C# server for Minecraft (http://minecraft.net) licensed under CC-BY-SA
3 stars 1 forks source link

Crash: Destination Array Not Long Enough #3

Closed AtkinsSJ closed 14 years ago

AtkinsSJ commented 14 years ago
Unhandled Exception: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
  at System.Array.CopyTo (System.Array array, Int32 index) [0x00000] 
  at spacecraft.NetworkString..ctor (System.Byte[] raw) [0x00000] 
  at spacecraft.NetworkString.op_Implicit (System.String s) [0x00000] 
  at spacecraft.Connection.DisplayMessage (System.String msg) [0x00000] 
  at spacecraft.Player.PrintMessage (System.String msg) [0x00000] 
  at spacecraft.ChatCommands.Help.Run (spacecraft.Player sender, System.String cmd, System.String args) [0x00000] 
  at spacecraft.ChatCommandHandling.Execute (spacecraft.Player sender, System.String cmd, System.String args) [0x00000] 
  at spacecraft.Player.conn_ReceivedMessage (System.String msg) [0x00000] 
  at spacecraft.Connection.HandleMessage (spacecraft.ClientMessagePacket messagePacket) [0x00000] 
  at spacecraft.Connection.HandleIncomingPacket () [0x00000] 
  at spacecraft.Connection.ReadThread () [0x00000] 

This is possibly related to painting as I think that's the last thing that happened. But then again it might not be.

SpaceManiac commented 14 years ago

Hmm, that's interesting. Another weird glitch in Onion's NetworkTypes :P

I'll investigate it as soon as I can.

SpaceManiac commented 14 years ago

Alright, as of revision b6d19e0a8dd3cbbe77fc7a5c192adbc18eafd1a3 this specific error should no longer happen.