.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

View Poll Results: Are you interested?
Yes, I'll help develop a Dominions Roguelike! 9 13.85%
Yes, I'll play a Dominions Roguelike if someone develops one. 39 60.00%
No, I'm not interested. 4 6.15%
What's a Roguelike? 12 18.46%
What's Dominions? 1 1.54%
Voters: 65. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #1  
Old June 28th, 2005, 02:26 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: Gauging interest in a Dominions Roguelike...

Actually, there are multiplayer realtime online roguelikes... google around for MAngband, TomeNet, and Crossfire. But I don't think I'll get that complicated... a regular roguelike is hard enough to write as it is!

Speaking of which, I'm looking for a good way to store game data. I was considering XML, but it's pretty unwieldy unless you have a decent editor, which I'm having trouble finding. I was also considering some sort of relational database, but most of those require some sort of fancy installation procedures; the only one I can think of which doesn't is Access, and that's commercial and only runs on Windows. So unless I can come up with a good XML editor or a free portable DBMS which can be used by a program without the user having to jump through hoops to set it up, I think I'm left with one option (well, two, if you count hardcoding everything ): text files. But text files mean I'd have to do all the parsing and consistency checking myself - not that that's TOO daunting, but I like to make things easy. So any suggestions?
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #2  
Old June 29th, 2005, 12:29 AM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: Gauging interest in a Dominions Roguelike...


If you just format the text files properly, they're actually _very_ easy to parse. Either of two ways will suffice - delimitted fields, where each piece of information is separated by a rare/unused character ( for instance, the pipe symbol '|') or where each field is always a fixed width. Having done a lot of work with both, I suggest the delimitter, and an iostream extraction class that does conversion and error checking on the contents (this is vital in either case).

Either way, place the responsibility for data on the people editting it : if the formatting is wrong, bail out, preferably with an appropriate and useful error message showing the line of data, and the specific field / data that caused the error.

Otherwise, you write thousands of lines of code to compensate for user error, which is an incredible waste of programming time / effort if you aren't going to have tens of thousands of users.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #3  
Old June 29th, 2005, 01:58 AM
lebarjack's Avatar

lebarjack lebarjack is offline
Corporal
 
Join Date: Aug 2004
Location: Lille, France
Posts: 91
Thanks: 0
Thanked 2 Times in 1 Post
lebarjack is on a distinguished road
Default Re: Gauging interest in a Dominions Roguelike...

Maybe SQLite is the solution. It's a small C database library.
I have even found some bindings for C#
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.