Sign In Register

How can we help you today?

Start a new topic
Answered

Offline currency and security

My game has many offline components and game types that award currency to the player. I am investigating adding online game modes to the game using Game Sparks, and would like to manage the currency and In App Purchases with Game Sparks systems.


However, I don't want to force a mobile player to be online at all times. What is the best way to securely track offline currency changes and then sync/validate with the GameSparks server when they are back online?


Best Answer
Hi Paul

If you are using Unity SetDurable can be used to store your request in a queue to be sent to GameSparks when you are offline. SetDurable will work if you are offline, have the game minimized or put the game in the background but it does not support caching data between sessions. For this data you would need a save file to store the data locally.

Thanks
Katie

 


Answer
Hi Paul

If you are using Unity SetDurable can be used to store your request in a queue to be sent to GameSparks when you are offline. SetDurable will work if you are offline, have the game minimized or put the game in the background but it does not support caching data between sessions. For this data you would need a save file to store the data locally.

Thanks
Katie

 


1 person likes this
Thanks for your answer.

So I could store and maintain my currency value locally, and use durable requests for all currency changes on the server. Then the server value can still be considered authoritative when the player comes back online. Very nice!

 

Login to post a comment