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.
#cooperative without a server
1 messages · Page 1 of 1 (latest)
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.
Also #1390346492019212368
Most Relay services have a fairly generous free tier. You likely won't have to pay anything unless your game goes viral.
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
My project contains a couple of advertisements, no more, I don't want to go broke on success
This is what relay services do for you.
Because of the various networking protocols that the message need to go through to get from one device to another.
Think of it as if someone tells you to go find a specific lion somewhere in Africa without even giving you any specific directions.
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.
that's right, browsers have domains for this, if I understand correctly. But you can narrow down the search area, and I'm currently thinking about it
we're dependent on the repeater, and I want to avoid that link somehow
It's not a problem of search. It's a problem of translating addresses. Imagine someone gives you an address where to go, but it's relative to where they live in the first place. And you don't know where that is
it's terrible, I still have a lot to figure out, but thank you anyway
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