Jump to content
  • Advertisement
Sign in to follow this  

Keep per-client data updated at any PC

This topic is 2442 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

Someone playing at PC 1 make some changes to the interface and other personalization aspects like placing skills in a given skillbar, etc.. When going to PC2 he may find all these changes updated as well. Where would you store all this? :S Maybe into a DB? a kind of file versioning and updating?
On the other hand, if we speak about items collected (let's say thousands of them) where clearly you store all of them into a DB, would you store also its location per player? The given pack and the location at that pack, etc..

Thanks.

Share this post


Link to post
Share on other sites
Advertisement

Someone playing at PC 1 make some changes to the interface and other personalization aspects like placing skills in a given skillbar, etc.. When going to PC2 he may find all these changes updated as well. Where would you store all this? :S Maybe into a DB? a kind of file versioning and updating?
[/quote]
A database sounds find for this, presuming you are offering some kind of remote server which will handle this. Using raw files will likely be as much if not more work, won't scale well and will have ACID problems. Trying to overcome these problems will eventually requiring writing something that approaches a database.

The other advantage is that you can run interesting queries easily on a database. For example, you might be able to see which skills are popular based on the position in the skillbar, and use that to tune your game, or to pick better defaults for new players.

On the other hand, if we speak about items collected (let's say thousands of them) where clearly you store all of them into a DB, would you store also its location per player? The given pack and the location at that pack, etc..
[/quote]
Your question here is a little unclear. Is a pack a set of items? Can the player leave a pack somewhere and expect to find it again? Or can they only leave it at certain "safe havens"?

If all items are associated with a player or a pack, then you only need to store the location of the player/pack. You may want to treat the player as having a pack at their current location if this simplifies things.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!