How do you save highscores?

Hello!
I would like to know how you are saving highscores in a game, especially on Android.
I am looking for a solution better than a plain text file in order to prevent easy cheating.

Thanks in advance!

Best regards,
Bjoern [import]uid: 115787 topic_id: 31763 reply_id: 331763[/import]

This has been my golden question forever without getting any answers. The dream API… [import]uid: 114389 topic_id: 31763 reply_id: 126798[/import]

I know it’s not possible to do it 100% proof against cheating. However, it should not be possible to do so with just a text editor. :wink: [import]uid: 115787 topic_id: 31763 reply_id: 126800[/import]

I can think of 2 methods…

  1. Ego, which saves values to a text file. (Although you stated you didn’t want to do that). Very easy to use.

  2. GGData (formerly ICE). I prefer this one since it saves to a SQLite database, and you can save complex data items. Also very easy to use. [import]uid: 114363 topic_id: 31763 reply_id: 126806[/import]

SQLite is what I would have suggested. Not sure why Silky had a hard time finding that answer. [import]uid: 147305 topic_id: 31763 reply_id: 126811[/import]

Thanks schizoid2k! I will have a look at CGData and give it a try. [import]uid: 115787 topic_id: 31763 reply_id: 126827[/import]

Lets talk about cheating… If its a single player game and your storing your scores loacally… Who cares? Anyone cheating would be cheating themselves. The skill needed to access the files is pretty high so the average person isn’t going to be able to get to the files anyway. Anyone with the skills isn’t going to bother cheating themselves.

You could store the scores online, but even that’s not foolproof. [import]uid: 19626 topic_id: 31763 reply_id: 126885[/import]

This has been my golden question forever without getting any answers. The dream API… [import]uid: 114389 topic_id: 31763 reply_id: 126798[/import]

I know it’s not possible to do it 100% proof against cheating. However, it should not be possible to do so with just a text editor. :wink: [import]uid: 115787 topic_id: 31763 reply_id: 126800[/import]

I can think of 2 methods…

  1. Ego, which saves values to a text file. (Although you stated you didn’t want to do that). Very easy to use.

  2. GGData (formerly ICE). I prefer this one since it saves to a SQLite database, and you can save complex data items. Also very easy to use. [import]uid: 114363 topic_id: 31763 reply_id: 126806[/import]

SQLite is what I would have suggested. Not sure why Silky had a hard time finding that answer. [import]uid: 147305 topic_id: 31763 reply_id: 126811[/import]

Thanks schizoid2k! I will have a look at CGData and give it a try. [import]uid: 115787 topic_id: 31763 reply_id: 126827[/import]

Lets talk about cheating… If its a single player game and your storing your scores loacally… Who cares? Anyone cheating would be cheating themselves. The skill needed to access the files is pretty high so the average person isn’t going to be able to get to the files anyway. Anyone with the skills isn’t going to bother cheating themselves.

You could store the scores online, but even that’s not foolproof. [import]uid: 19626 topic_id: 31763 reply_id: 126885[/import]