It is currently 26 Aug 2025, 20:34
   
Text Size

Magic Data

General Discussion of the Intricacies

Moderator: CCGHQ Admins

Re: Magic Data

Postby Arch » 28 Nov 2010, 18:43

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.
Sure, can do that.

Marek14 wrote:EDIT: Basalt Monolith is missing a line break.
Will fix for next release.
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 » 29 Nov 2010, 09:25

"AE" cards now have lowercase "e".
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Magic Data

Postby Arch » 29 Nov 2010, 16:49

A miss from when I rewrote the program. Fixed for next release.
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 » 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.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Magic Data

Postby Arch » 10 Jan 2011, 18:18

Added.
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 » 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

Postby Arch » 28 Jan 2011, 20:22

friarsol wrote:Looks like the MBS spoilers are up on Gatherer and magiccards.info. Keep up the good work.
Thanks for the heads up. Download is here. See first post for changelog.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby 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

Postby Arch » 08 Feb 2011, 14:27

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?
Don't really keep that much track of other programs but I think that this gets flavor text as well.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby 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

Postby 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!
snappahedz
 
Posts: 2
Joined: 23 Feb 2011, 21:23
Has thanked: 0 time
Been thanked: 0 time

Re: Magic Data

Postby 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.
User avatar
Ark
Programmer
 
Posts: 350
Joined: 16 Jul 2008, 04:29
Has thanked: 10 times
Been thanked: 103 times

Re: Magic Data

Postby Arch » 24 Feb 2011, 11:48

snappahedz wrote:The Magic data is excellent!
Thanks. I kind of like it myself.

snappahedz 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 repo address is: https://github.com/karmag/loa
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.
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 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.
User avatar
Arch
Programmer
 
Posts: 206
Joined: 04 Jul 2009, 09:35
Has thanked: 0 time
Been thanked: 15 times

Re: Magic Data

Postby 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)
User avatar
Ark
Programmer
 
Posts: 350
Joined: 16 Jul 2008, 04:29
Has thanked: 10 times
Been thanked: 103 times

PreviousNext

Return to Magic Rules Engine Programming

Who is online

Users browsing this forum: No registered users and 18 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 18 users online :: 0 registered, 0 hidden and 18 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 18 guests

Login Form