Magic Data
General Discussion of the Intricacies
Moderator: CCGHQ Admins
Re: Magic Data
by Arch » 28 Nov 2010, 18:43
Sure, can do that.Marek14 wrote:I think you should post the link in both the first post and the last one. First post for people new to this thread, last post for people like me who check it regularly.
Will fix for next release.Marek14 wrote:EDIT: Basalt Monolith is missing a line break.
Re: Magic Data
by Arch » 29 Nov 2010, 16:49
A miss from when I rewrote the program. Fixed for next release.
Re: Magic Data
by Marek14 » 10 Jan 2011, 16:43
There is a new Archenemy promo (http://forums.mtgsalvation.com/attachme ... 1294675539)
Imprison This Insolent Wretch
Ongoing Scheme
When you set this scheme in motion, choose an opponent.
Permanents the chosen player controls don't untap during his or her untap step.
When the chosen player is attacked or becomes the target of a spell or ability, abandon this scheme.
Imprison This Insolent Wretch
Ongoing Scheme
When you set this scheme in motion, choose an opponent.
Permanents the chosen player controls don't untap during his or her untap step.
When the chosen player is attacked or becomes the target of a spell or ability, abandon this scheme.
Re: Magic Data
by friarsol » 28 Jan 2011, 19:48
Looks like the MBS spoilers are up on Gatherer and magiccards.info. Keep up the good work.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Magic Data
by Arch » 28 Jan 2011, 20:22
Thanks for the heads up. Download is here. See first post for changelog.friarsol wrote:Looks like the MBS spoilers are up on Gatherer and magiccards.info. Keep up the good work.
Re: Magic Data
by applecorc » 08 Feb 2011, 12:14
I'm trying to make my own program and am making my own mysql database of the cards. I used http://dl.dropbox.com/u/2771470/mtg-data-2011-01-28.zip to flush out most of the data, but I was wondering, is there a card listing that includes the flavor on cards?
- applecorc
- Posts: 1
- Joined: 08 Feb 2011, 12:08
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Data
by Arch » 08 Feb 2011, 14:27
Don't really keep that much track of other programs but I think that this gets flavor text as well.applecorc wrote:I'm trying to make my own program and am making my own mysql database of the cards. I used http://dl.dropbox.com/u/2771470/mtg-data-2011-01-28.zip to flush out most of the data, but I was wondering, is there a card listing that includes the flavor on cards?
Re: Magic Data
by snappahedz » 23 Feb 2011, 21:28
th
Last edited by snappahedz on 23 Feb 2011, 21:32, edited 1 time in total.
- snappahedz
- Posts: 2
- Joined: 23 Feb 2011, 21:23
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Data
by snappahedz » 23 Feb 2011, 21:32
Hello,
The Magic data is excellent!
Is there any way to include the flavor text in the output. I'm happy to help modify your parsing code if you make that available too.
Thanks!
The Magic data is excellent!
Is there any way to include the flavor text in the output. I'm happy to help modify your parsing code if you make that available too.
Thanks!
- snappahedz
- Posts: 2
- Joined: 23 Feb 2011, 21:23
- Has thanked: 0 time
- Been thanked: 0 time
Re: Magic Data
by Ark » 23 Feb 2011, 22:00
viewtopic.php?f=15&t=3371 does indeed fetch the flavor text and all other information for any card/language you want. Exports to XML, CSV, C++, PHP, JSON files directly.
Re: Magic Data
by Arch » 24 Feb 2011, 11:48
Thanks. I kind of like it myself.snappahedz wrote:The Magic data is excellent!
The repo address is: https://github.com/karmag/loasnappahedz wrote:Is there any way to include the flavor text in the output. I'm happy to help modify your parsing code if you make that available too.
The language is Clojure (lisp) so I don't actually think that that many people are familiar with it. You're free to modify it however and I'll accept any pull requests that are improvements.
At the same time I'm not currently doing anything else so I can probably have a look at including flavor-text this weekend.
Re: Magic Data
by Arch » 26 Feb 2011, 21:07
Updated with flavor-text: http://dl.dropbox.com/u/2771470/mtg-data-2011-02-26.zip
See first post for changelog.
See first post for changelog.
Re: Magic Data
by Ark » 26 Feb 2011, 22:17
Just a thought: XML isn't technically considered valid unless you include the mandatory header line at the top, which is at a minimum:
<?xml version="1.0">
Although, a BOM and charset marker would he helpful to many people's XML software:
\xEF\xBB\xBF<?xml version="1.0" encoding="utf-8"?>
(The 3 hex bytes would show up as an invisible nothing in any text editor)
<?xml version="1.0">
Although, a BOM and charset marker would he helpful to many people's XML software:
\xEF\xBB\xBF<?xml version="1.0" encoding="utf-8"?>
(The 3 hex bytes would show up as an invisible nothing in any text editor)
Return to Magic Rules Engine Programming
Who is online
Users browsing this forum: No registered users and 18 guests