Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Using plugins to do authoritative game logic

$
0
0
Hi,

I used PUN to prototype my game. It works really well but I am concerned for client cheating. What I want to do is have some sort of validation going on on the server. I am also using PlayFab for player accounts, leaderboards etc. The way I see it, I'd have two options:

1- Switch to UNET, create a server that can handle multiple rooms per instance, deal with client side prediction and host the server in PlayFab as a custom game server.
2- Either use Photon Server self hosted (on something like amazon EC2) or Enterprise cloud, and use plugins.

If I go with option 2 (Photon Server), I got a few questions:

1- I get it that rooms are already implemented, I continue doing the same thing on my client, connecting to the master server who deals with load balancing and matchmaking, right?
2- Are plugins the right tool for validating player positions over time as well as simple trigger collisions in a real time game? If so, how do I intercept position updates in the plugin? Are there any examples?

Thanks!



Viewing all articles
Browse latest Browse all 1557

Trending Articles