Jump to content
  • Advertisement
Sign in to follow this  
Davi Doro

Store player statistics locally

This topic is 826 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello friends,

 

Here's the scenario: I'm currently developing a 1v1 turn based strategy game. Players can play online using the match-making server. Can I store player statistics locally (on the player's machine), such as number of victories and his rank according to his performance, in a way that the player cannot exploit (cannot = very very hard to)? I want to match players according to their rankings, but I don't want to make a player authentication system and store their scores on my server, it's just too much work.

 

My first thought was to cryptography their statistics, does that do the job? What are my options?

 

Thanks!

Edited by Tukimitzu

Share this post


Link to post
Share on other sites
Advertisement

Can I store player statistics locally (on the player's machine), such as number of victories and his rank according to his performance, in a way that the player cannot exploit (cannot = very very hard to)?


No. for example: A disk cloner can restore whatever the data was before, after someone has a loss they don't want recorded.

What are my options?


Calculating/storing statistics online, or accepting cheating about ranks.

Share this post


Link to post
Share on other sites

If you have a match-making server already, storing a few statistics should be trivial by comparison, so I don't understand why you think it's a problem.

 

I was going to say that you could encrypt or sign data to prove it hasn't been tampered with, before hplus0603 proved me wrong with an obvious exploit. A hypothetical workaround for that would be something like Bitcoin's blockchain - you store everybody's statistics on every player's computer (or some compact representation thereof), so that nobody can tamper with them. But that is wildly impractical, especially for a case like this where you don't really need that at all.

Share this post


Link to post
Share on other sites

Also, there's no reason to write any of this from scratch. There are plenty of online platforms that offer authentiction, statistics, leaderboards, match making, etc. and are very affordable or even free. For instance, PlayFab is pretty complete and has a free tier (not sure on the specifics as I've not used it specifically; I've used similar platforms though).

Share this post


Link to post
Share on other sites

I don't trust my current base knowledge to properly handle people's password nor the budget to pay for this service. At the same time, not having a ranked match-making would take away much of the fun.

 

Follow up questions: If my game happens to be greenlit and is on Steam exclusively, can I store these statistics on Steam servers? Then the player wouldn't have to create an account for my game, right? What should I know about Steam API regarding to this that I'm asking?

 

Thanks for the help!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!