File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Game Development and the fly likes Data Storage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "Data Storage" Watch "Data Storage" New topic

Data Storage

John Carr

Joined: Jan 16, 2010
Posts: 17
I am writing an MMO, and have gotten to the point where I'm trying to design the way in which data should be stored.

I am trying to figure out the best way to store experience for each skill, and each action for each skill.

I was thinking of putting it in a database, but I don't really want the numbers being changed, seeing it took me ages to figure out all the correct amounts of experience to award for each action. Then, I thought about storing each skill in a gzipped xml file.

What do you guys think is the best way to store this type of data?
Mich Robinson
Ranch Hand

Joined: Jun 28, 2009
Posts: 260
John Carr wrote:What do you guys think is the best way to store this type of data?

In a database.

John Carr wrote:What do you guys think ... ?

OK you didn't quite ask this but I'm still going to answer: Surely it's better from a learning perspective and from a personal satisfaction perspective to write something more achievable. An MMO is a Massively Multiplayer Online game and these only come into their own when they have 1000's of users. To attract those users your game will have to be state of the art in graphics, game play and originality. One developer (even a very talented one) is sadly not going to produce this. Perhaps you really do expect 1000's of users to flock to your new game but the sad reality is more likely to be none.

I just wonder about the wisdom of trying to produce a system that can only be successfull if it has 1000's of users. Isn't it better to produce an application that one person, namely yourself, can enjoy even if the application isn't quite perfect. It just seems like a lot of effort for something which is almost certain to produce frustration in the end.

Arcade : Alien Swarm
Board : Chess - Checkers - Connect 4 - Othello
I agree. Here's the link:
subject: Data Storage
It's not a secret anymore!