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"

FindSessions node

The find sessions node has me puzzled, how does it know where to look? i mean, if you try to find a session that is not in LAN it cant possible search the whole internet for a server, that would be very inefficient and slow... but there is not field in a node to specify a server or even an IP range for it to search???

Some one please explain to me exactly how finding a session in UE4 works and how that can be applied to match making.

I have tried google, no luck...

Product Version: Not Selected
Tags:
more ▼

asked Nov 08 '18 at 04:12 PM in Blueprint Scripting

avatar image

sonicphi
72 9 9 11

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You are correct, it does not search the whole internet. The online session nodes like host, find, and join all use the online subsystem, which depending on your platform means they use xbox live, ps plus, steam, etc. servers to host games which are then searchable by the system. and of course if you have lan enabled it will search your local network for hosted games instead.

more ▼

answered Nov 08 '18 at 04:56 PM

avatar image

Steve SybrSyn
1.5k 4 5 9

avatar image sonicphi Nov 08 '18 at 07:36 PM

So what if i am hosting a session on my machine for the world to play, how is the find sessions node going to know that there is a game on my machine? it cant possibly search the whole internet? or do i have to use another node that specifies ip's?

avatar image Steve SybrSyn Nov 08 '18 at 07:52 PM

Yes, you would not need the session nodes in that scenario. You would use client and server travel. You would open the level with the open level node and the input option set to listen on the host. Then the client would open the level with the correct IP address set in the option field. There would be issues though for clients outside your IP. There are ways to handle them, but this is why you would probably to use a server service like Amazon gamelift, game sparks, etc which have sdk’s for hosting, finding, and connecting to their servers that anybody could access.

avatar image sonicphi Nov 08 '18 at 08:25 PM

Thank you very much, that was really helpful.

So i assume the best way for something like a matchmaking system to be implemented would be for the master server to select the player with the best connection as the one hosting the session, then it would broadcast the IP to all the other players to join in?

I have no experience with multiplayer and i am just trying to get the concepts right in my head before i dive into the actual action haha.

(comments are locked)
10|2000 characters needed characters left
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