Page 17 of 31

Re: Magic Data

PostPosted: 23 Apr 2012, 17:52
by Marek14
Baneslayer Angel has wrong capitalization in its text ("protection from demons and from dragons" instead of "protection from Demons and from Dragons").

EDIT: Seems there are more cards with capitalization problems, I just noticed reminder text for Bubbling Muck.

EDIT2: Noticed two spaces in text of Heretic's Punishment.

Re: Magic Data

PostPosted: 25 Apr 2012, 16:28
by Arch
All of the above problems are present in several cards, will fix it.

The other problems reported should also be fixed in time for the pre-release.

Re: Magic Data

PostPosted: 27 Apr 2012, 03:58
by friarsol
Looks like Gatherer was updated a few hours ago. Thanks again for hooking up mtgdata files, Arch

Re: Magic Data

PostPosted: 27 Apr 2012, 17:28
by Arch
No problem.

First post updated with new release.

Re: Magic Data

PostPosted: 08 May 2012, 03:11
by friarsol
Is there any reason the latest version of mtg-data.txt changed all of the set codes to no longer be 3 characters? We have a few utilities that use mtg-data for parsing, but they seem to all be broken/less functional due to this change.

Re: Magic Data

PostPosted: 08 May 2012, 10:24
by Arch
Yes, setcodes are now read from gatherer, which is as close to an official version of the set-codes you can get.

Is the problem that the set-codes are short or that they have changed. (Quite a lot of them changed this time since it was done in bulk.) If the first one; update your code. If the second one; I've got some bad news.

Set-codes are actually not a good identifier for a set. (Guess that's how you're using them.) They have changed multiple times and will quite possibly change again in the future. The set-name would be a better identifier.

If you point me to the tools/source maybe I can give some more concrete advice.

Re: Magic Data

PostPosted: 12 May 2012, 13:19
by friarsol
Arch wrote:Is the problem that the set-codes are short or that they have changed. (Quite a lot of them changed this time since it was done in bulk.) If the first one; update your code. If the second one; I've got some bad news.
I didn't write this particular piece of code, but for some reason Astral cards are being lumped into the Alliances set for tracking purposes. It seems like since we were looking for a three character code "AL " was being recorded as the Alliances set code, which "ASTRAL " is being found in.

Arch wrote:Set-codes are actually not a good identifier for a set. (Guess that's how you're using them.) They have changed multiple times and will quite possibly change again in the future. The set-name would be a better identifier.
We are actually grabbing the set codes from the Set Name in the file, but on the set line in mtg-data.txt they are only referenced by their code. No worries, it should be fixable, I just wasn't expecting broken code after this release.

Re: Magic Data

PostPosted: 28 May 2012, 06:14
by Marek14
Planechase 2 decks shown today -- we might get Gatherer update soon :)

There's also the promo Stairs to Infinity -- not sure if it will appear in the Gatherer with the rest of the set.

Re: Magic Data

PostPosted: 01 Jun 2012, 05:03
by Arch
And it's out. Haha, beat you to it!

Will have a look at it tonight. Stairs to Infinity is in gatherer.

Re: Magic Data

PostPosted: 01 Jun 2012, 18:11
by Arch
Updated first post with new zip.

Re: Magic Data

PostPosted: 03 Jun 2012, 11:36
by PilotPirx
nice!

There is a difference between the old and new plane cards. The old ones say {C} and the new ones say Chaos...

Re: Magic Data

PostPosted: 03 Jun 2012, 17:57
by Arch
Updated again.

Sometimes I wonder if their internal data is as inconsistent or if they're intentionally obfuscating it when adding to gatherer...

Re: Magic Data

PostPosted: 04 Jun 2012, 21:49
by silly freak
I fear it's the first, although I wonder how such thing can happen, considering that Wizards probably employs a load of nerds...

Re: Magic Data

PostPosted: 05 Jun 2012, 08:14
by Marek14
"Load" is the operative word. As in "not every nerd does things exactly the same way". This list has better consistency since it's overseed by a single person.

Re: Magic Data

PostPosted: 05 Jun 2012, 17:36
by randian
Selesnya Sanctuary is missing metadata for PC2. Here's the info:
{
"artist" => "John Avon",
"number" => 125,
"rarity" => "C",
"series" => "PC2",
},