Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Trying to achieve an Authorative Server-like setup

$
0
0
Heya, I'm trying to create a Windows build that starts a PUN Room as Masterclient, WebGL builds will then connect to that Room as normal Clients. The Masterclient will process and handle all the messages like an (authorative) server would so that the Clients won't have to process that much data. How would you try to accomplish this?

I've done some work already and it seems to work as I intended it work but it feels like I'm approaching the issue the wrong way.

One of the problems I noticed is that when the Masterclient gets shutdown the application keeps working because of the automated switch of Masterclients, while I intend to kick all the Clients and make them wait for the Masterclient to be back online, like a normal Server-Client setup would. Is there a way to achieve this? Like disabling Masterclient migrations?

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>