Since updating to the latest SVN version we've started getting this warning infrequently.
NetException: This message has already been sent! Use NetPeer.SendMessage() to send to multiple recipients efficiently
Lidgren.Network.NetPeer.SendMessage (Lidgren.Network.NetOutgoingMessage msg, System.Collections.Generic.List`1 recipients, NetDeliveryMethod method, Int32 sequenceChannel)
Network.Implementation.Lidgren.Server.Send (System.Collections.Generic.List`1 cn, UInt32 target, UInt32 type, System.Byte[] data, SendMethod sendType)
Network.Server.Send (Network.Connection cn, UInt32 target, UInt32 type, System.Byte[] msg, SendMethod sendType)
Nothing else has changed about the way we send messages, and the way we send them kind of guarantees we'd never re-use a NetOutgoingMessage..
public override int Send( List<Network.Connection> cn, uint target, uint type, byte[] data, Network.SendMethod sendType )
Was wondering if anyone else has seen these issues? I'm going to roll back to our previous version (I don't know the version, but pre november) and will let you know if the errors stop.
garry