| Author |
Topic Search Topic Options
|
GM ThunderCat
Moderator Group
GM
Joined: 11 Dec 2009
Location: Everywhere
Status: Offline
Points: 2157
|
Posted: 11 Mar 2010 at 00:10 |
Should work this time - decided to rewrite the file IO as well  Added playerrace as a bonus... Its turning out to be quite a lightwieght peice so am considering if a faster refresh cycle. Would that be of any use?
|
 |
fluffy
Forum Warrior
Joined: 02 Mar 2010
Status: Offline
Points: 335
|
Posted: 11 Mar 2010 at 00:41 |
|
well as of right now, the only thing thats changing almost constantly would be the population if im not mistaken. well and alliances I guess too.
Seems to be working now as well :D thanks
|
 |
GM ThunderCat
Moderator Group
GM
Joined: 11 Dec 2009
Location: Everywhere
Status: Offline
Points: 2157
|
Posted: 11 Mar 2010 at 00:45 |
|
Excellent! :-)
|
 |
ajdub
New Poster
Joined: 07 Mar 2010
Status: Offline
Points: 1
|
Posted: 15 Mar 2010 at 19:41 |
|
score?
|
 |
GM Stormcrow
Moderator Group
GM
Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
|
Posted: 15 Mar 2010 at 20:38 |
ajdub wrote:
score?
|
2-Nil to the Dev team. <rimshot> Next!  Srsly tho, this is a good one. Attached to the Towns data, in the player record? Or separate? Though I'd want the "Ranking" changes we discussed a while back in Wuzzel's thread to be in place prior to this.
|
|
|
 |
GM Stormcrow
Moderator Group
GM
Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
|
Posted: 07 Jul 2010 at 19:16 |
|
Hi all,
Just a heads up during preparations for sovereignty.
Please be aware that we are changing some of the names of the Terrain Type descriptions shortly.
If you have lookups tables generated from these values, you may wish to regenerate the Lookup tables.
For example, with...
<terraintype id="4">Light woods</terraintype> <terrainoveralltype id="6">Small Forest</terrainoveralltype>
... TerrainTypeID 4 may be renamed "Small Copse" in the future.
The TerrainTypeID number will remain the same, the TerrainOverallTypeID remains the same and the TerrainOverallType description remains the same, it's just the description of TerrainTypeID that might change.
Best wishes,
GM Stormcrow
|
 |
GM Stormcrow
Moderator Group
GM
Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
|
Posted: 07 Jul 2010 at 19:17 |
|
Oh, and we'll post in here when we've changed the descriptions.
It's likely to be tomorrow sometime.
Apologies for the short notice.
|
 |
GM Stormcrow
Moderator Group
GM
Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
|
Posted: 08 Jul 2010 at 16:04 |
|
Terrain Names have been updated.
Basically, any second-word non-capitalisation has been fixed, plus some "Plains" and "Clay" tiles have been renamed.
TerrainTypeID 10 is now "Turned Clay" TerrainTypeID 11 is now "Heavy Clay Seam" TerrainTypeID 30 is now "Scrubland" TerrainTypeID 31 is now "Clearing" TerrainTypeID 32 is now "Tundra" TerrainTypeID 33 is now "Open Plains" TerrainTypeID 34 is now "Moor"
Again, apologies for the short notice. Was suddenly required for Sovereignty update.
|
 |
HonoredMule
Postmaster General
Joined: 05 Mar 2010
Location: Canada
Status: Offline
Points: 1650
|
Posted: 08 Jul 2010 at 17:13 |
|
Sweet, I always wanted to build a city on a moor. Ferns and moss for every dinner table.
|
 |
Larry
Wordsmith
Joined: 10 Mar 2010
Status: Offline
Points: 114
|
Posted: 08 Jul 2010 at 19:57 |
I feel rather strongly that the format the xml file ought to be restructured. As it is there is an immense amount of duplication of data, particularly among players with multiple towns. Each and every one of their towns duplicates not only all of the player data but also (as a consequence) all of the alliance data. The downsides to this are rather obvious from both a resource usage and parsing speed perspective.
Instead you could break it up into 3 sections, Alliances, Players, and Towns. Players are tied to the given alliance by adding a <alliancegameid>18</alliancegameid> tag inside of a given <player> that corrosponds with the id found in <alliancename id="18">Council Of Illyriad</alliancename>. Same with towns. Pastebin example below
I should also note that JSON would be superior to xml for all sorts of reasons (file size, parsing speed / ease) (yes I know its less human readable, but who's actually reading these files vs. parsing them?)
Edited by Larry - 08 Jul 2010 at 22:36
|
 |