Magic Data
General Discussion of the Intricacies
Moderator: CCGHQ Admins
Re: Magic Data
by Marek14 » 23 Apr 2012, 17:52
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.
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
by Arch » 25 Apr 2012, 16:28
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.
The other problems reported should also be fixed in time for the pre-release.
Re: Magic Data
by friarsol » 27 Apr 2012, 03:58
Looks like Gatherer was updated a few hours ago. Thanks again for hooking up mtgdata files, Arch
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Magic Data
by friarsol » 08 May 2012, 03:11
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.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Magic Data
by Arch » 08 May 2012, 10:24
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.
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
by friarsol » 12 May 2012, 13:19
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: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.
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.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.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Magic Data
by Marek14 » 28 May 2012, 06:14
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.

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
by Arch » 01 Jun 2012, 05:03
And it's out. Haha, beat you to it!
Will have a look at it tonight. Stairs to Infinity is in gatherer.
Will have a look at it tonight. Stairs to Infinity is in gatherer.
Re: Magic Data
by PilotPirx » 03 Jun 2012, 11:36
nice!
There is a difference between the old and new plane cards. The old ones say {C} and the new ones say Chaos...
There is a difference between the old and new plane cards. The old ones say {C} and the new ones say Chaos...
e^iπ + 1 = 0
Re: Magic Data
by Arch » 03 Jun 2012, 17:57
Updated again.
Sometimes I wonder if their internal data is as inconsistent or if they're intentionally obfuscating it when adding to gatherer...
Sometimes I wonder if their internal data is as inconsistent or if they're intentionally obfuscating it when adding to gatherer...
Re: Magic Data
by silly freak » 04 Jun 2012, 21:49
I fear it's the first, although I wonder how such thing can happen, considering that Wizards probably employs a load of nerds...
___
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
- silly freak
- DEVELOPER
- Posts: 598
- Joined: 26 Mar 2009, 07:18
- Location: Vienna, Austria
- Has thanked: 93 times
- Been thanked: 25 times
Re: Magic Data
by Marek14 » 05 Jun 2012, 08:14
"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
by randian » 05 Jun 2012, 17:36
Selesnya Sanctuary is missing metadata for PC2. Here's the info:
{
"artist" => "John Avon",
"number" => 125,
"rarity" => "C",
"series" => "PC2",
},
{
"artist" => "John Avon",
"number" => 125,
"rarity" => "C",
"series" => "PC2",
},
- randian
- Posts: 15
- Joined: 05 Jun 2012, 17:30
- Has thanked: 0 time
- Been thanked: 0 time
Return to Magic Rules Engine Programming
Who is online
Users browsing this forum: No registered users and 8 guests