It is currently 07 Sep 2025, 21:45
   
Text Size

Magic Data

General Discussion of the Intricacies

Moderator: CCGHQ Admins

Re: Magic Data

Postby Marek14 » 16 Feb 2013, 13:41

Vanguard cards are missing the hand size/life modifiers
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Magic Data

Postby Arch » 18 Feb 2013, 16:15

Updated text
http://dl.dropbox.com/u/2771470/mtg-data-txt.zip

- Added hand/life modifiers to vanguard cards.
- Added loyalty and brackets around costs for planeswalkers.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby Marek14 » 24 Feb 2013, 22:03

It seems that there are only second halves of split cards, first halves are missing. Second halves appear twice, though.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Magic Data

Postby Arch » 25 Feb 2013, 17:27

Problem is in core data. Fixing.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby Max mtg » 04 Mar 2013, 18:36

Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Magic Data

Postby Arch » 05 Mar 2013, 11:31

No. Not in a proper way anyway. I used to get the data from http://gatherer.wizards.com/Pages/Searc ... hase%22%5d With the rewrite I did recently I'm looking at http://gatherer.wizards.com/Pages/Searc ... hase%22%5d instead. Notice that both links are going to the same page. This works for transform and flip cards since they have all the data on a single page but double cards have a different format. I'm going to have to do some custom work for extracting and matching them.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby friarsol » 08 Mar 2013, 16:21

Arch wrote:No. Not in a proper way anyway. I used to get the data from http://gatherer.wizards.com/Pages/Searc ... hase%22%5d With the rewrite I did recently I'm looking at http://gatherer.wizards.com/Pages/Searc ... hase%22%5d instead. Notice that both links are going to the same page.
They goto different pages for me.

The text spoiler looks like:

text | Open
Name: Assault // Battery (Assault)
Cost: R
Type: Sorcery
Pow/Tgh:
Rules Text: Assault deals 2 damage to target creature or player.
Set/Rarity: Planechase Uncommon, Time Spiral "Timeshifted" Special, Invasion Uncommon, Invasion Uncommon

Name: Assault // Battery (Battery)
Cost: 3G
Type: Sorcery
Pow/Tgh:
Rules Text:
Put a 3/3 green Elephant creature token onto the battlefield.
Set/Rarity: Planechase Uncommon, Time Spiral "Timeshifted" Special, Invasion Uncommon, Invasion Uncommon


The Checklist goes to something that looks like this:

checklist | Open
103 Assault Ben Thompson Red U Planechase
103 Battery Ben Thompson Green U Planechase
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Magic Data

Postby Arch » 10 Mar 2013, 10:37

I was referring to the links on the pages. From the first link you can extract the card data straight up. The "Assault" and "Battery" links however goes to the same page. So from the second page you have to follow the links on the linked page and then figure out which is actually the "main" card.


http://dl.dropbox.com/u/2771470/mtg-data-2013-03-10.zip
http://dl.dropbox.com/u/2771470/mtg-dat ... -03-10.zip

Updates fixes double cards and removes letters from the collectors number.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby Marek14 » 15 Apr 2013, 06:00

Urza's lands have broken type line:

Land - Urza’s Power-Plant
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Magic Data

Postby Arch » 17 Apr 2013, 19:42

Fixed for future releases.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby friarsol » 24 Apr 2013, 03:04

Looks like DGM is up on Gatherer a bit early:

http://gatherer.wizards.com/Pages/Searc ... Maze%22%5D
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Magic Data

Postby Marek14 » 24 Apr 2013, 07:59

Some split cards might still be broken -- just found that there's no Crime and two instances of Punishment.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Magic Data

Postby Arch » 24 Apr 2013, 17:29

friarsol wrote:Looks like DGM is up on Gatherer a bit early:

http://gatherer.wizards.com/Pages/Searc ... Maze%22%5D
Probably not going to get anything up until friday, won't be home much until then.

Marek14 wrote:Some split cards might still be broken -- just found that there's no Crime and two instances of Punishment.
Think that has been corrected with this commit. Haven't verified it yet though.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby Arch » 26 Apr 2013, 17:03

Updated first post with new downloads.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby melvin » 13 May 2013, 05:37

Thanks for the update, Arch. In the 04-26 release, some of the Planeswalker abilities show up as "[null] null" in the mtg-data.txt file. For example,

Code: Select all
Jace, Memory Adept
{3}{U}{U}
Planeswalker - Jace                                                                                                                                                                       
4                                                                                                                                                                           
[+1] Draw a card. Target player puts the top card of his or her library into his or her graveyard.
[null] null
[-7] Any number of target players each draw twenty cards.
M12 M, M13 M
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

PreviousNext

Return to Magic Rules Engine Programming

Who is online

Users browsing this forum: No registered users and 10 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 10 guests

Login Form