Hey barba, I still learning stuff about session but I think I can put light over some questions.
-
From what I know, you have tree way to join a server. With the command line=> open [IP]:[PORT], use Join Session node or with the shortcut.
-
If I say nothing wrong, you can create as many session you want. If you know that you will have only one session for all your player, I suggest you to use the command line open [IP]:[PORT]. Essentialy a session will create a persistant connection between the client and the server.
-
Exactly, if you don’t use steam/google whatever service, you can put it to Null. Keep in mind that if you want to be able to make work your Online nodes, you’ll need to put it in your DefaultEngine.ini (for PIE) and also uncomment the feature in your build.cs of your project (only for development/shipping version).
-
It’s not that much hard, you’ll need to create only one session per match ([match include lobby :p] you create session only if you don’t find anything, you don’t want all your player to create session from no where). You’ll have two level; one with your lobby and the other one with your main level. You’ll need Servertravel command line to push all your player in the next level. (not sure what you mean by manage player before the match begins).
Here some picture how I use Session>
I’ll make a little explanation>
Note: all append to find talk is for my project, I have a box with information about searching for the player.
1 > I try to find a session, first I put the result in a variable, if the Lenght == 0, I know that I need to create one. if lenght is not equal to 0. Now I start searching for an avalaible session. (Basicly I search 50 session)
2 > So if they is no session find, here how I create my session (really basic as you can see)
3 > Now I look which session can be join. Also if I don’t find any session, I look how many session was found. If I find 50 session on 50, I restart the search with MaxResultFindSession + 50. If I find less than 50 session and no one was joignable I create a new session.
4 > If I find an avalaible session, I jump to my custom event where I can join with my result.
So this is a way to make session work, also it allow the player to click one time and get in game what ever happen.
I wish this would help you a little. I still confusing about session some time so if something is not clear or you still have some question, feel free to ask :D. Also keep in mind that is a very cool framework provide by epic game and more easy to use than create your own socket system.
(My native language is french, sorry if something don’t make sens)