|
I was looking at the datafiles and trying to decide if there is anything that hasn't already been done with the information. While doing so I pulled out the following guesses at their structure. Here is that information in DTD format for the XML files and the delimited fields for the delimited file if it's helpful to anyone.
************************************************************************* ************************** datafile_worldmapl.txt *********************** ************************************************************************* delimited text file with '|' delimiters.
The fields are: GeoID X Y Wood Clay Iron Stone Food TerrainSpecificTypeID TerrainCombatTypeID RegionID
************************************************************************* **************************** datafile_towns.xml ************************* ************************************************************************* <!ELEMENT towns (server, town*)>
<!ELEMENT server (name, servername, servercountrycode, serverlanguagecode, serverlivedate, datagenerationdatetime)> <!ELEMENT name (#CDATA)> <!ELEMENT servername (#CDATA)> <!ELEMENT servercountrycode (#CDATA)> <!ELEMENT serverlanguagecode (#CDATA)> <!ELEMENT serverlivedate (#CDATA)> <!ELEMENT datagenerationdatetime (#CDATA)>
<!ELEMENT town (location, player, towndata)>
<!ELEMENT location (mapx, mapy, terraintype, terrainoveralltype)> <!ELEMENT mapx (#CDATA)> <!ELEMENT mapy (#CDATA)> <!ELEMENT terraintype (#CDATA)> <!ATTLIST terraintype id CDATA #REQUIRED> <!ELEMENT terrainoveralltype (#CDATA)> <!ATTLIST terrainoveralltype id CDATA #REQUIRED>
<!ELEMENT player (playername, playerrace, playeralliance?)> <!ELEMENT playername (#CDATA)> <!ATTLIST playername id CDATA #REQUIRED> <!ELEMENT playerrace (#CDATA)>
<!ELEMENT playeralliance (alliancename, allianceticker, alliancetaxrate)> <!ELEMENT alliancename (#CDATA)> <!ATTLIST alliancename id CDATA #REQUIRED> <!ELEMENT allianceticker (#CDATA)> <!ELEMENT alliancetaxrate (#CDATA)>
<!ELEMENT towndata (townname, foundeddatetime, population, iscapitalcity, isalliancecapitalcity)> <!ELEMENT townname (#CDATA)> <!ATTLIST townname id #CDATA #REQUIRED> <!ELEMENT foundeddatetime (#CDATA)> <!ELEMENT population (#CDATA)> <!ELEMENT iscapitalcity (#CDATA)> <!ELEMENT isalliancecapitalcity (#CDATA)>
************************************************************************* *********************** datafile_alliances.xml ************************** ************************************************************************* <!ELEMENT alliancedata (server, alliances)>
<!ELEMENT server (name, servercountrycode, serverlanguagecode, serverlivedate, datagenerationdatetime)> <!ELEMENT name (#CDATA)> <!ELEMENT servercountrycode (#CDATA)> <!ELEMENT serverlanguagecode (#CDATA)> <!ELEMENT serverlivedate (#CDATA)> <!ELEMENT datagenerationdatetime (#CDATA)>
<!ELEMENT alliances (alliance*)>
<!ELEMENT alliance (alliance, foundedbyplayerid, alliancecapitaltownid, allianceticker, foundeddatetime, alliancecapitallastmoved, alliancetaxrate, alliancetaxratelastchanged, membercount, totalpopulation, roles, relationships)> <!ELEMENT alliance (#CDATA)> <!ATTLIST alliance id #CDATA #REQUIRED> <!--this doesn't seem strict, this 'alliance' element is the child of the previous 'alliance' element, but I don't think they are the same element (I don't think alliances can be inside alliances forever nested). I think it's supposed to be a separate element. This XML will never parse or I don't understand how it's supposed to work and I've written it wrong here--> <!ELEMENT foundedbyplayerid EMPTY> <!ATTLIST foundedbyplayerid id #CDATA #REQUIRED> <!ELEMENT alliancecapitaltownid EMPTY> <!ATTLIST alliancecapitaltownid id #CDATA #REQUIRED> <!ELEMENT allianceticker (#CDATA)> <!ELEMENT foundeddatetime (#CDATA)> <!ELEMENT alliancecapitallastmoved (#CDATA)> <!ELEMENT alliancetaxrate (#CDATA)> <!ELEMENT alliancetaxratelastchanged (#CDATA)> <!ELEMENT membercount (#CDATA)> <!ELEMENT totalpopulation (#CDATA)> <!ELEMENT roles (role*)> <!ELEMENT relationships (relationship*)>
<!ELEMENT role (role, heirarchy)> <!ELEMENT role (#CDATA> <!--same questions as above, this seems to be a different element, with different children, but with the same name--> <!ATTLIST role id #CDATA #REQUIRED> <!ELEMENT heirarchy EMPTY> <!ATTLIST heirarchy id #CDATA #REQUIRED>
<!ELEMENT relationship (proposedbyalliance, acceptedbyalliance, relationshiptype, establishedsince)> <!ELEMENT proposedbyalliance EMPTY> <!ATTLIST proposedbyalliance id #CDATA #REQUIRED> <!ELEMENT acceptedbyalliance EMPTY> <!ATTLIST acceptedbyalliance id #CDATA #REQUIRED> <!ELEMENT relationshiptype (#CDATA)> <!ATTLIST relationshiptype id #CDATA #REQUIRED> <!ELEMENT establishedsince (#CDATA)>
************************************************************************* *************************** datafile_players.xml ************************ ************************************************************************* <!ELEMENT playerdata (server, players)>
<!ELEMENT server (name, servercountrycode, serverlanguagecode, serverlivedate, datagenerationdatetime)> <!ELEMENT name (#CDATA)> <!ELEMENT servercountrycode (#CDATA)> <!ELEMENT serverlanguagecode (#CDATA)> <!ELEMENT serverlivedate (#CDATA)> <!ELEMENT datagenerationdatetime (#CDATA)>
<!ELEMENT players (player*)> <!ELEMENT player (playername, allianceid, allianceroleid, race)> <!ELEMENT playername (#CDATA)> <!ATTLIST playername id #CDATA #REQUIRED> <!ELEMENT allianceid EMPTY> <!ATTLIST allianceid id #CDATA #REQUIRED> <!ELEMENT allianceroleid EMPTY> <!ATTLIST allianceroleid id #CDATA #REQUIRED> <!ELEMENT race EMPTY> <!ATTLIST race id #CDATA #REQUIRED>
************************************************************************* **************************** datafile_terrain.xml *********************** ************************************************************************* <!ELEMENT terraindata (server, terraintypes)>
<!ELEMENT server (name, servercountrycode, serverlanguagecode, serverlivedate, datagenerationdatetime)> <!ELEMENT name (#CDATA)> <!ELEMENT servercountrycode (#CDATA)> <!ELEMENT serverlanguagecode (#CDATA)> <!ELEMENT serverlivedate (#CDATA)> <!ELEMENT datagenerationdatetime (#CDATA)>
<!ELEMENT terraintypes (terrain*)> <!ELEMENT terrain (terrainspecifictype, impassableterrain, npcterrain)> <!ELEMENT teterrainspecifictype rrainspecifictype (#CDATA)> <!ATTLIST race id #CDATA #REQUIRED> <!ELEMENT impassableterrain (#CDATA)> <!ELEMENT npcterrain (#CDATA)> ************************************************************************* ************************** datafile_terrain_combat.xml ****************** ************************************************************************* <!ELEMENT terraincombatdata (server, terraincombattypes)>
<!ELEMENT server (name, servercountrycode, serverlanguagecode, serverlivedate, datagenerationdatetime)> <!ELEMENT name (#CDATA)> <!ELEMENT servercountrycode (#CDATA)> <!ELEMENT serverlanguagecode (#CDATA)> <!ELEMENT serverlivedate (#CDATA)> <!ELEMENT datagenerationdatetime (#CDATA)>
<!ELEMENT terraincombattypes (terraincombat*)> <!ELEMENT terraincombat (terraincombattype)> <!ELEMENT terraincombattype (#CDATA)> <!ATTLIST terraincombattype id #CDATA #REQUIRED>
|