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"

Online multiplayer without Steam?

Hi, I've been trying to setup online multiplayer on our game so that the entire team could play test together, but I've hit a snag. So I initially set it up using steam subsystems and three of us (2 in California and I in Arizona) could connect and play together. Another team member on the east coast however, could not. So I assumed this would be because of some sort of a region lock since we were using the 480 testing app ID. We then decided to try setting up a multiplayer without steam for the development phase so we could all be involved in the testing, and we'd just include steam in our release. However, I haven't been able to figure out how to go about this. I've read a lot of forum posts and watched some videos, and I'm really confused about how to start setting this up. I read on one post that UE just offers local multiplayer out-of-the-box and that I would need Steam or some other master server for online multiplayer ? Another person said something about connecting by using the console commands and specifying the IP, but I can't imagine how that's work all over the internet ? I'd be really grateful if anyone could nudge me in the right direction regarding this. Thanks!

Product Version: UE 4.18
Tags:
more ▼

asked Aug 03 '18 at 07:04 PM in Using UE4

avatar image

hussainAbis
30 2 4 11

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

1 answer: sort voted first

Probably the simplest way I heard of (but haven't tried yet) is to set up your game for LAN (use online subsystem NULL in your config files and tick the LAN checkbox on Create Session nodes in blueprint), and then have everyone get on Hamachi or some other VPN so that your "LAN" is actually across the internet between everyone who is on the VPN. This obviously isn't much of a solution for a released game but can get over the testing hurdle until you're ready to really dig in and get your online features thoroughly supported.

more ▼

answered Aug 03 '18 at 07:10 PM

avatar image

mightyenigma
3.7k 18 23 20

avatar image hussainAbis Aug 03 '18 at 07:16 PM

Hmm, thanks for the input! If nothing else works (I've searched a lot for two days and I'm losing hope anything will), I'll resort to doing this. But isn't there a more intuitive way to do this by using UE's existing framework or some service other than steam that doesn't have a region lock ?

avatar image mightyenigma Aug 03 '18 at 07:17 PM

I wish I knew! I've been looking for something more intuitive, myself.

avatar image mightyenigma Aug 03 '18 at 07:18 PM

I you do the IP Address thing, then the host has to configure their internet router (and sometimes provider!) to port-forward on Unreal's ports in order to be able to establish the socket connections between devices, so really LAN and Steam are the simplest ways I've heard of so far.

avatar image hussainAbis Aug 03 '18 at 07:40 PM

Suppose we go through the pains of setting up port forwarding on all the participating systems, would the create, find, and join session nodes in the BPs create and join online servers ? I'm sorry if this is a noobish question, I'm just very confused with all the different things I've been reading.

avatar image mightyenigma Aug 03 '18 at 07:54 PM

I read that you only have to port forward on the host. Client machines dont need special configuration to join by IP address.

I dont know if Session nodes work of joining by IP. I read that joining by IP means you are not using an online subsystem to join so there isnt a concept of Sessions except as you might create for yourself as service outside of Unreal.

The IP address maps to a specific machine so I dont see how sessions would fit in with that idea. I think you just do the command line node and input the string "open 172.0.0.1" or whatever IP address it is.

Sorry I havent tried that yet to tell you how to make t work. Well i tried but the target host machine didnt have port forwarding lol.

avatar image hussainAbis Aug 03 '18 at 08:00 PM

Hmm, makes sense. I'll try the IP method then. Thanks for all the help and for answering my back-and-forth questions. I really appreciate it.

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