How to connect to another player online
Hi guys, I'm pretty much done with the first pass on my prototype game and I want to test it online with a friend just to make sure all that multiplayer goodness is working.
Anyways, I'm using the ShooterGame example. So I packaged the game as a Development build and sent a copy to my friend, here's what happens:
I'm wondering, do you have to put a port number after the IP? If so, do you type it like this: "184.108.40.206:7777" I can't find good information out there on the topic; a step by step example would be great! I found this wiki entry: Networking but I still can't successfully connect.
Can anyone explain how to connect a MP game and get it up and running?
asked Aug 28 '14 at 02:02 AM in Everything Else
You are using a shared IP address your friend can not join you. You need a static IP so your friend can join you.
answered Jul 07 '15 at 10:38 AM
Nothing stands out for what you are doing. There are a few nuances with networking and error handling in shootergame (that we are currently working out as we speak), so if it's failing it may just not be handling that correctly.
But the reason why it's failing could be a number of things. When running over the cloud, the #1 thing I check first is firewall settings.
Can you try to run two instance of shootergame locally, and connect to the other with "open 127.0.0.1"? If this works, it's most certainly a firewall issue, and you both need to make sure port 7777 is open, and forward all packets on that port from your router to your pc (if you are behind a router).
answered Sep 02 '14 at 09:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here