Unreal Engine 4 - Network and Multiplayer
We are currently working on a student final year project in Unreal Engine 4. We are creating a multiplayer arena shooter type game. Most of the basic mechanics is already built, however we are struggling with the network part.
Our network system is built and one can host a session and join from the same PC, however when we try to join in a LAN setup the session cannot be found at all. We have already opened the ports on the firewalls and done the editing in the config files.
Is there someone that can maybe provide us with some help in this regard?
I will provide more info if and when needed.
Thank you in advance.
Our network system is built and one can host a session and join from the same PC, however when we try to join in a LAN setup the session cannot be found at all. We have already opened the ports on the firewalls and done the editing in the config files.
Is there someone that can maybe provide us with some help in this regard?
I will provide more info if and when needed.
Thank you in advance.
Comments
You have two options ... implement the Steam session system or use the Advanced Session Plugin ... there is a third option, but I will give you more information if you are interested.
For the Advanced Session: https://forums.unrealengine.com/showthread.php?69901-Advanced-Sessions-Plugin
For an easy utility to set up Steam: https://forums.unrealengine.com/showthread.php?67565-Steam-Setup-Utility&highlight=steam+setup
I would recommend you use the Advanced Session Plugin. Basically the current Session system in Unreal Engine is used to allow developers to create their own Session systems (this is what the Advanced Session Plugin does) or to leverage existing Session systems built by Epic (namely the Steam Session System).
The system is known as the Online SubSystem and you can read more about it here:
https://docs.unrealengine.com/latest/INT/Programming/Online/index.html
https://docs.unrealengine.com/latest/INT/Programming/Online/Types/index.html
I hope this helps ... you can hit me up here for more help or look for qdelpeche on the Unreal Forums (I am a moderator). Good luck with your project.