Search Unity

photon network input and variables on server

Discussion in 'Connected Games' started by Ruslank100, Oct 18, 2018.

  1. Ruslank100

    Ruslank100

    Joined:
    Apr 11, 2018
    Posts:
    13
    Hello everyone, I am slowly developing a multiplayer game. I used the photon cloud, but everything(including a few of variables like - health, damage, rate of fire) are on the client, so cheaters and hackers will modify these variables,and ruin the game for everyone(when I will release the game). so I switched to the self hosted option(still using photon). Now I am searching for the way how I can send the player input, and store the variables on a server and after the server verifies that everything is ok, send the updates to players. Thanks a lot!
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    2,299
unityunity