#cooperative without a server

1 messages · Page 1 of 1 (latest)

split goblet
#

Hi everyone. I want to create a co-op in my game host client for mobile devices, but the play market and appstore platforms don't provide joining tunnels like steam. I also don't want to set up my own server or rent one. Are there any ways to implement such a co-op? I've come up with the idea of creating my own server or tunnel on the host's phone, and I'm wondering if it makes sense or if it's even possible.

barren hemlock
# split goblet Hi everyone. I want to create a co-op in my game host client for mobile devices,...

You usually need a proper server on the network to act as a relay. Otherwise it's hard to establish a connection(or even find whoever you want to connect to). With pcs you could at least configure a router and provide an ip to the person that needs to connect to you, though it can be impossible depending on the provider. And mobile devices make it a whole more complicated.
Your best bet is paying some third party service, like the unity relay service.

dense oriole
#

Most Relay services have a fairly generous free tier. You likely won't have to pay anything unless your game goes viral.

split goblet
# barren hemlock You usually need a proper server on the network to act as a relay. Otherwise it'...

And this is exactly what is not clear, why if the Internet access I can not create something like a server on the device (we can turn on the access point on the phone but adding the Internet to this chain there are problems), which will not store a lot of task, purely a tunnel from one device to another and which opens when starting and closes when leaving. Perhaps I still have too little knowledge and it is possible to do this, but I do not know how

split goblet
dense oriole
barren hemlock
#

At every point on the internet your message goes through, it needs to be directed in the right direction. Normally, these points have no idea what this direction is, unless that device has a global static ip address.

split goblet
split goblet
barren hemlock
split goblet
dense oriole
#

webpages have to be hosted on a server somewhere. The same is for your game. Either through a Relay server or your self hosted server. On mobile, your completely free relay service options are limited to Epic Online Services