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

This Month's Specials

The Falklands War: 1982- 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, 01:02 PM

Psycho Psycho is offline
Captain
 
Join Date: Jan 2008
Posts: 913
Thanks: 21
Thanked 53 Times in 33 Posts
Psycho is on a distinguished road
Default Re: New HoF brain storm

I tried writing a parser in Ruby some time ago to parse the thread and get the HoF statistics, but it proved to be not so easy. The problem is that you don't have a standard format for posts. Also some player names are written in two or three different variants - with and without capital letters, with and without spaces, etc. You'll probably have to enter a lot of data manually.

And if you're doing it, well then XML is probably the best way. You can easily write an XSLT to transform it to a human readable html file for example.
Reply With Quote
  #2  
Old March 11th, 2010, 01:28 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

Some old posts are missing almost all information so it's mandatory to extract that info from the game thread.

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.
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 07:51 PM.


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