How to create a server-client connection on the Blueprint for the network games MMORPG for android devices?
Hello. My name is Serg. How to create a server-client connection on the Blueprint for the network games MMORPG for android devices?
asked Jun 08 '18 at 02:54 PM in Blueprint Scripting
Online Subsystem is a way for Unreal to make a connection to another copy of the game that is running, on a network.
The Steam online subsystem is very popular because it facilitates users to make a listen server connection to other users over the internet, so the developer doesn't have to create or maintain a dedicated server or purchase hosting.
For a dedicated server for an MMORPG though, you may have to come up with something of your own.
The NULL online subsystem basically means that you are not trying to use an online subsystem, you are just going to try to connect using LAN or a specific IP address. This might work for your dedicated MMORPG server idea. But remember the dedicated server has to be hosted somewhere that allows incoming connections on the Unreal port(s). It is tricky to set up a dedicated server in your home and have the whole world connect to it (that doesn't work very well and is usually blocked by your router or ISP - there are ways around it but it's a pain.)
So do you want to host the dedicated server someplace like GameSparks? Or maybe Steam has a dedicated server option, I don't know.
Anyway, if you want to make a dedicated server for your game then you will have to build a separate version of the game just for being the dedicated server, and it has to be built from Git source code version of Unreal engine, not the epic launcher version, and there's many steps to setting it up. You will need a tutorial on how to do it, but there are several on the web. I have never done it myself but I have read a few of those.
answered Jun 19 '18 at 04:35 PM
The lobby is just a Level you create where people who found your Created Session go as soon as they connect. So you simply Create Session and then Open Level "Lobby" or whatever you named your lobby level. Now the server game world is on the lobby level so those who Join you Session enter the lobby too.
if Android cannot do steam then you probably will use NULL for online subsystem, and people who want to Join your Session will have to use the blueprint node of execute console command: 123.456.7890 where those numbers are instead the IP address of your dedicated server.
answered Jun 20 '18 at 01:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here