Restrict Which Clients Receive Object States
Options
Reznok
✭
in Photon Bolt
I'm working on a game with an authoritative server that clients connect to. It's a simple 2d spaceship fly-around game. Each player has a radius around them where they can see other players, and this is all handled fine client side by simply not drawing players outside the range. However, to prevent cheating (ESP), I want to completely prevent any state information about players outside the vision radius from being sent to a player.
Is there a straight forward way to whitelist which connections are retrieving information about which entities?
Is there a straight forward way to whitelist which connections are retrieving information about which entities?
0
Comments
-
After some google-fu and finding the right words, I discovered:
https://doc.photonengine.com/en-US/bolt/current/in-depth/freeze-idle-setscope
It looks like this should do what I'm looking for!0
This discussion has been closed.