This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Data Storage" Watch "Data Storage" New topic
Author

Data Storage

John Carr
Greenhorn

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: 250
    
    1
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: http://aspose.com/file-tools
 
subject: Data Storage
 
Similar Threads
Maintaining form data across pages
Skinable GUI
Value Object (Bean) Design Issue
what library you advice me to master, for building ajax applications?
Request scope vs. Session scope.