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  123 5>
Author
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3926
Direct Link To This Post Topic: Current Towns Data
    Posted: 08 Mar 2010 at 21:49
As with all these datafiles, please make sure you read and understand the terms of use, in the Sticky on this forum, here. Please be aware that these terms of use may change at any time.

But here's the first datafile, in XML format in the format:

http://[servername].illyriad.co.uk/data_downloads/datafile_towns.xml

So, for server UK1, this is available at:

http://uk1.illyriad.co.uk/data_downloads/datafile_towns.xml

It generates once daily, at midnight, and gives you much of the publicly accessible data about player towns ingame currently.  If you schedule a download, please leave sufficient time between midnight and when it should complete generation - as the server grows it will take longer to generate, and so I'd suggest maybe 00:30 is a good time to grab it.

There are some data fields in here from which you can derive other lookup tables for your own use:
  • PlayerID <--> Playername
  • AllianceID <--> AllianceName, Ticker, Tax Rate
  • TownID <--> TownName
We're happy to expand the dataset out to encompass other fields should people want them (I'm thinking maybe maptile IDs and URLs etc), so if you code against this XML doc, please make sure you can handle/ignore fields you don't care about.  We'd rather have a single feed that encompasses everyone's requests rather than multiple feeds.

We hope you find this a useful first stab, and please give us feedback on what else you might like to see in it.

Best wishes,



Edited by GM Stormcrow - 08 Mar 2010 at 21:51
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3926
Direct Link To This Post Posted: 09 Mar 2010 at 10:47
Like it? Hate it?

Anyone care at all...?

Cry
GM Stormcrow | Twitter | Facebook | G+
Back to Top
Wuzzel View Drop Down
Postmaster
Postmaster
Avatar

Joined: 26 Feb 2010
Status: Offline
Points: 605
Direct Link To This Post Posted: 09 Mar 2010 at 11:06
[22:50:34] <recendent> naive just saw this: http://forum.illyriad.co.uk/current-towns-data_topic77.html
[22:51:36] <recendent> Not going to read anymore posts by GM Stormcrow; they give me epilepsy
[22:53:01] <NotiCon> awesome
[22:53:32] <recendent> epilepsy?
[22:53:39] <recendent> :P
[22:54:29] <LauraChristine_> lol wtf
[22:55:14] <Braque> wow concentrating on it makes me nuts!
[22:56:30] <LauraChristine_> ahh i get it now lol
[22:57:37] <Braque> ^^


The above people cared SC :)


Edited by Wuzzel - 09 Mar 2010 at 11:07
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3926
Direct Link To This Post Posted: 09 Mar 2010 at 12:04
Hug
GM Stormcrow | Twitter | Facebook | G+
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: 10 Mar 2010 at 00:52
There's a couple of player names that cause the xml to be parsed incorrectly.
I've found the culplits to be:
Alâkay
Agustín

The accents are causing the parse error, i've just made them their none accented versions for now.
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3926
Direct Link To This Post Posted: 10 Mar 2010 at 11:25
Originally posted by fluffy fluffy wrote:

There's a couple of player names that cause the xml to be parsed incorrectly.
I've found the culplits to be:
Alâkay
Agustín

The accents are causing the parse error, i've just made them their none accented versions for now.

Thanks for the heads up - we need to think about what to do (and whether to allow) non-standard ASCII characters in Player / Alliance / Town / Commander / Army / Division names, and will get back to you on this one.
Back to Top
naive View Drop Down
New Poster
New Poster
Avatar

Joined: 23 Feb 2010
Status: Offline
Points: 30
Direct Link To This Post Posted: 10 Mar 2010 at 13:04
Originally posted by GM Stormcrow GM Stormcrow wrote:

Like it? Hate it?

Anyone care at all...?

Cry


i'm pretty sure that's exactly what we're looking for (at least to start with). now it's just a matter of finding time to play with the data Big smile
Back to Top
GM ThunderCat View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 11 Dec 2009
Location: Everywhere
Status: Offline
Points: 2183
Direct Link To This Post Posted: 10 Mar 2010 at 14:17
Originally posted by GM Stormcrow GM Stormcrow wrote:


Thanks for the heads up - we need to think about what to do (and whether to allow) non-standard ASCII characters in Player / Alliance / Town / Commander / Army / Division names, and will get back to you on this one.


Nose to the gridstone... Will be sorted shortly....
Back to Top
GM ThunderCat View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 11 Dec 2009
Location: Everywhere
Status: Offline
Points: 2183
Direct Link To This Post Posted: 10 Mar 2010 at 18:34
Ok, give that a go...

Hopefully syntax not changed much - but should work correctly now.
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: 10 Mar 2010 at 23:51
Maybe its just me, but i dont think its working still.  can't figure out why though. 
Also, could you maybe add the race of the person to it?
Back to Top
 Post Reply Post Reply Page  123 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.