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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Multiplayer and AARs

Reply
 
Thread Tools Display Modes
  #1  
Old March 11th, 2010, 12:46 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: New HoF brain storm

I don't want full blown DB.
I want a human readable, none XML, text file. I'll implement data access and logic myself.
Reply With Quote
The Following User Says Thank You to WraithLord For This Useful Post:
  #2  
Old March 11th, 2010, 12:54 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: New HoF brain storm

That's the format, ex:
[
Winner: Jazzepi
Game: Epiphany
Game Link: http://www.shrapnelcommunity.com/thr...b=5&o=&fpart=1
Players: 11
Nation: LA T'ien Ch'i
Mods: Well guarded neutral Emor citadels as VPs
Era: Late
]

[
Winner: Calmon
Game: the Quick and the Dead
Game Link: unknown
Players: unknown
Nation: LA Ermor
Mods: unknown
Era: unknown
]

The parser is almost ready. It doesn't care much for white spaces and it's flexible so I can adapt it quickly to changes.
I'm using Python btw, Perl would've got the job done faster but I wanted a tidy OO program and not a quick and dirty perl voodoo.
Reply With Quote
  #3  
Old March 11th, 2010, 03:50 PM
Hadrian_II's Avatar

Hadrian_II Hadrian_II is offline
Major
 
Join Date: Oct 2006
Location: Bern, Switzerland
Posts: 1,109
Thanks: 14
Thanked 17 Times in 14 Posts
Hadrian_II is on a distinguished road
Default Re: New HoF brain storm

Quote:
Originally Posted by WraithLord View Post
I don't want full blown DB.
I want a human readable, none XML, text file. I'll implement data access and logic myself.
whats wrong with XML? i think there are free XML libs out for every programming language. If you use XML you dont have to write a custom parser for a custom format (what in my opinion just sounds like unnecessary work).

Quote:
Originally Posted by WraithLord View Post
However you see it there's just no way to avoid manually building the DB. If I get help in this it will cut the time to completion by half. Otherwise my plan is to complete the report gen. engine and then get to manually feeding the DB. It's not that bad, mind you, most of the posts are compatible with my parser (just add [ and ] lines with simple awk/sed script or by hand), so it's down to copy/paste.
Why not create a simple web form, and fill the db with the input. I suppose it is not harder for players to report victory to a webpage, than to a forum post.
Reply With Quote
  #4  
Old March 11th, 2010, 04:16 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: New HoF brain storm

KISS.

I don't want XML. I personally don't care much for it. It has it's uses of course but IMO it's useful for higher caliber projects, like defining protocols or modeling etc. For simple game report DB it's a bit more than what's required.

Of course both your ideas can work. They'll require a bit more work than what I had in mind that's all. If anyone wants to bring to the table an end product that does the DB/report generation magic then I'm all for that. Go for it

For now I'll stick with my plan. It's simple to fill (no change to current report). Simple to copy to DB. Simple to export. yata yata.

I appreciate and respect the advice given but I'm not convinced. It's a very small use case and I don't see any need to go overboard.

I want to bring to discussion another aspect. Not technical.
I don't think the current ranking system makes much sense in the way it factors wins against magnitude.
Ex:
player A won 3 games of 6 players each.
player B won 2 games of 20 players each.
The current system would put A above B. I don't think it makes sense. Player B has won much bigger games, defeated more opponents and invested much more time. Am I missing something here?
Reply With Quote
Reply

Bookmarks


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 08:39 AM.


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