Wich one p2p or p2s

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi i'm making a 4 player coperative game online and I have some questions, what should I use p2p or p2s? I know p2s its better to avoid cheating and that's why i'm more intereseted on p2s but p2p has other advantages.
    Another question is how should avoid player sends to server fake data like imagine he has 10 bullets and he freezes it cheating (unlimited ammo) how should be the process to avoid this? something like server handle how many bullets has and every time he shots update it to peer?

  • P2S is always better if you can do that. You then have much better control when it comes to cheating and latency for players.
    You can always host the server yourself, but the best thing to do is to make your own master server for listing other servers and then let the players download a dedicated server application that you have made together with the game.
    Having your own dedicated server application means you can more easily control information sent to and from the server.

    In order to avoid cheating you want to let the server deal with most of the stuff.
    For example, everytime someone fires a gun it sends the number of bullets shot to the server (encrypted) and then the server then subtracts the amount of bullet fired from its own varibale for that player.
    Then you want to send back the number of bullets that player has left to that player so that the amount of bullets he has is always being updated by the server so the player cant change that number in memory.

  • p2s with the server storing the players data. If the players save game is being stored locally it would be hard to prevent cheating. Although I guess you could have the server store a CRC of the players saved game and then compare the saved game when they next login if you wanted to allow the player to store the save locally.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!