x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Replication issues with packet loss

Hi,

We are have a multiplayer game which seems to suffer a lot initially when a player is joining a game. When testing locally we have no issues, but we found out that when we simulate packet loss even just 5% the whole initialization of our game seems to get stuck.

Our guess is that the initial data we store (about 20kb of data in arrays of structs) gets send in chunks and if one chunk fails it sends the whole thing over again resulting in a sort of infinite loop preventing the game from correctly initializing on the client even though he sees the other players already moving. Is this guess correct? I am trying to prevent rewriting our whole setup and finally coming to the conclusion it still isn't solved :) Also suggestions on how to prevent this issue are appreciated!

Thanks in advance!

Product Version: UE 4.14
Tags:
more ▼

asked Jan 03 '17 at 05:06 PM in C++ Programming

avatar image

cageman
673 30 33 65

avatar image cageman Jan 07 '17 at 10:10 AM

Any ideas? I really can't find any information about it.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I decided just to go with my initial suspicions and it seems that the described situation is now solved by creating a smaller data format then before which results in correct replication in case of high packet loss situations.

more ▼

answered Jan 08 '17 at 04:04 PM

avatar image

cageman
673 30 33 65

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
more ▼

answered Jan 17 '17 at 08:30 PM

avatar image

zamy
396 17 13 34

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question