Question about policy and BootCampDemo
In this example(BootCampDemoPhoton),if i understand correctly,all messages sending between clients(and logic is canculated on clientside),but this is a big problem for policy of my game(player can simply send any position(for example) that he want).How i can prevent such attempts?
For example:
P.S
//
...
Profit!
//
For example:
P.S
//
if (playerOfEvent.playerRemote != null) playerOfEvent.playerRemote.SetPosition((Hashtable)eventData[(byte)ParameterCode.Data]);I can simply replace this lint
(Hashtable)eventData[(byte)ParameterCode.Data]on something that i want
...
Profit!
//
0
Comments
-
Hi windy31,
I'm not quite sure if I understand correctly what it is you want to achieve.if i understand correctly,all messages sending between clients(and logic is canculated on clientside),but this is a big problem for policy of my game
You want the server to decide, which messages are sent?
Could you please provide some more information on your plans and server configuration (i.e. do you own a server, are you using the cloud, etc.)
Tim0