Play Now Login Create Account
illyriad
  New Posts New Posts RSS Feed - Current Towns Data
  FAQ FAQ  Forum Search   Register Register  Login Login

Topic ClosedCurrent Towns Data

 Post Reply Post Reply Page  <1234 5>
Author
GM ThunderCat View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 11 Dec 2009
Location: Everywhere
Status: Offline
Points: 2157
Direct Link To This Post 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?
Back to Top
fluffy View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 02 Mar 2010
Status: Offline
Points: 335
Direct Link To This Post 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
Back to Top
GM ThunderCat View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 11 Dec 2009
Location: Everywhere
Status: Offline
Points: 2157
Direct Link To This Post Posted: 11 Mar 2010 at 00:45
Excellent! :-)
Back to Top
ajdub View Drop Down
New Poster
New Poster
Avatar

Joined: 07 Mar 2010
Status: Offline
Points: 1
Direct Link To This Post Posted: 15 Mar 2010 at 19:41
score?
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
Direct Link To This Post Posted: 15 Mar 2010 at 20:38
Originally posted by ajdub ajdub wrote:

score?

2-Nil to the Dev team.

<rimshot>

Next! Tongue

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 | Twitter | Facebook | G+
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
Direct Link To This Post 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
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
Direct Link To This Post 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.
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
Direct Link To This Post 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.
Back to Top
HonoredMule View Drop Down
Postmaster General
Postmaster General
Avatar

Joined: 05 Mar 2010
Location: Canada
Status: Offline
Points: 1650
Direct Link To This Post 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.
Back to Top
Larry View Drop Down
Wordsmith
Wordsmith


Joined: 10 Mar 2010
Status: Offline
Points: 114
Direct Link To This Post 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
Back to Top
 Post Reply Post Reply Page  <1234 5>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.