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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Dedicated Server vs Listen Server

Hi,

I'm currently trying to decide whether to use an Unreal dedicated server or if I could write a custom one and use a p2p listen server for the rest.

What I'm trying to do: players should be auto matched into sessions (kinda like in Journey) if they are in similar parts of the world. The limit is 2 players in one session (possibly more some day, but for now the limit is 2). So if two players start a game, they register to the server and keep it updated on where they are in the world. The server then checks if any 2 players are in the same area and if so, they are matched in a session.

Now, the basic server logic is relatively simple, I think. I wouldn't need a very powerful server, because everything it has to do is catch events every now and then, write all playing players with their current area in a database and every few minutes check if there are 2 players in the same area that aren't matched yet and put them together. Then it would just send a "Create Session" event to one of them and a "Join Session" event to the other one.

Would that be possible and easier than just use an Unreal dedicated server that keeps track of everything anyway? What specs in a server would I need for the dedicated server solution? I'm guessing that Unreal comes at a cost and would use much more performance than the simple server that I described. Would a p2p solution have impossible performance? The game itself is similar to Journey, too, so not much events and no shooting each other and anything, but basically just walking around and activating triggers.

Thanks

Product Version: UE 4.9
Tags:
more ▼

asked Nov 13 '15 at 04:14 PM in Using UE4

avatar image

Choba
11 1 3 5

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

0 answers: sort voted first
Be the first one to answer this question
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