Hi there,
i am developing a multiplayer game, where the players will have an inventory.
For prevent cheaing, like changing the amount of items in the inventory or changing the level or exp, i need to store the data secure.
I was thinking about creating a json or xml file on the server and let the game read the file when the player starts the game, afterwards store the data inside of an object and upload the data to the server when the game will be closed.
There is a problem about that, because of the big memory-usage. I guess in such an object should be stored some integer and string values, but the bigger the amount of items in the inventory will become, the bigger the object will be.
So first question is: How could i know how much data i can store in the inventory and not to worry about the memory usage?
To reduce the memory usage i could do something like store the data on the server again and let the game download the file, which will be encrypted, save the file on the players computer and only read this file if needed.
I found an encryption manual around the internet: http://support.microsoft.com/kb/307010/en
But i have also red about that code can be reverse engeneered pritty easy.
So the second question is: Is that stuff, Microsoft is writing about data encryption, really save?
ps. It will be a Windows standalone game.
Greetings, Michael