Sending several messages at same time.

179 views
Skip to first unread message

אביאל פוליאק

unread,
Jun 13, 2016, 4:27:15 AM6/13/16
to lidgren-network-gen3
Hello,
I'm using Lidgren for a while, and i have this problem:
When i'm sending a large amount of messages in a loop, the order i receive this messages is in a mess.

Can someone help me ?

example:

while(i < 100)
    Send(message);

and i getting the messages in the wrong order:

 1 5 2 4 3 ...

Ramon Oliveira

unread,
Jun 28, 2016, 3:42:53 PM6/28/16
to lidgren-network-gen3
Are you sending the messages using NetDeliveryMethod.ReliableUnordered?

אביאל פוליאק

unread,
Jun 29, 2016, 2:40:11 AM6/29/16
to lidgren-ne...@googlegroups.com
No , I'm sending it with Reliable order.

the problem caused when i was sending a lot of messages like in my example.





2016-06-28 22:42 GMT+03:00 Ramon Oliveira <ramon...@gmail.com>:
Are you sending the messages using NetDeliveryMethod.ReliableUnordered?


--
You received this message because you are subscribed to a topic in the Google Groups "lidgren-network-gen3" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lidgren-network-gen3/gbMHfXGNTh4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lidgren-network-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

RevenantX RevenantX

unread,
Jun 29, 2016, 9:29:41 AM6/29/16
to lidgren-network-gen3
This is known bug. I tried to fix it but without success. I created library called LiteNetLib (it works like lidgren). But without that problem.
Tested transfer huge amount of data on slow networks.

понедельник, 13 июня 2016 г., 11:27:15 UTC+3 пользователь אביאל פוליאק написал:

אביאל פוליאק

unread,
Jun 29, 2016, 9:45:48 AM6/29/16
to lidgren-ne...@googlegroups.com

Where i can download this lib?

בתאריך 29 ביוני 2016 16:29,‏ "RevenantX RevenantX" <doom...@gmail.com> כתב:
Message has been deleted

Ramon Oliveira

unread,
Jun 29, 2016, 3:30:27 PM6/29/16
to lidgren-network-gen3
Setting the NetPeerConfiguration.defaultMTU on client and server to 1400 solves a couple problems, maybe it could help.

אביאל פוליאק

unread,
Jun 30, 2016, 9:01:55 AM6/30/16
to lidgren-ne...@googlegroups.com
Thank you very much.

How is LiteNetLib ??

2016-06-29 22:30 GMT+03:00 Ramon Oliveira <ramon...@gmail.com>:
Setting the NetPeerConfiguration.defaultMTU on client and server to 1400 solves a couple problems, maybe it could help.

--
Reply all
Reply to author
Forward
0 new messages