Commander set info
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
14 posts
• Page 1 of 1
Commander set info
by Chris H. » 04 Jul 2011, 13:19
We have 19 cards that are new to the Commander set. Set info script is adding the correct data to these card files. For example, Animar, Soul of Elements has the following:
I added the following line to the setdata.txt file:
and these 19 new Commander cards display the set data in the deck editor. I can also sort by the Commander set but I only get the 19 new Commander cards. We have a number of pre-existing cards in forge that are also in Commander, but set info script is not adding in the Commander set info for the pre-existing cards.
`SetInfo:COM|Mythic|http://magiccards.info/scans/en/cmd/181.jpg
I added the following line to the setdata.txt file:
- Code: Select all
Index:76|Code2:COM|Code3:COM|Name:Commander
and these 19 new Commander cards display the set data in the deck editor. I can also sort by the Commander set but I only get the 19 new Commander cards. We have a number of pre-existing cards in forge that are also in Commander, but set info script is not adding in the Commander set info for the pre-existing cards.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Commander set info
by friarsol » 04 Jul 2011, 13:45
Yep, this is what the reprintSetInfo.py script is for. I'll run it and commit the existing cards.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Commander set info
by friarsol » 04 Jul 2011, 14:18
Apparently this was never done for NPH either, so that will be combined in my checkin to come.
Note to all: This script isn't very forgiving as it completely wipes out the existing SetInfo and then the SetInfo script is reran. This wipes away the multiple image data that exists for some older cards and Basic Lands. At some point I'll try to grab the info about multiple images in the SetInfoScript so we don't have to worry about losing information in the purge.
Note to all: This script isn't very forgiving as it completely wipes out the existing SetInfo and then the SetInfo script is reran. This wipes away the multiple image data that exists for some older cards and Basic Lands. At some point I'll try to grab the info about multiple images in the SetInfoScript so we don't have to worry about losing information in the purge.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Commander set info
by Chris H. » 04 Jul 2011, 14:36
Thank you Sol.
I will add in the line to the setdata.txt file once my update completes.
I will add in the line to the setdata.txt file once my update completes.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Commander set info
by friarsol » 04 Jul 2011, 14:51
Also, I'm not sure if the Commander pics are up on the server yet. I'm not sure how Rob handles that.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Commander set info
by Chris H. » 04 Jul 2011, 14:53
`friarsol wrote:Also, I'm not sure if the Commander pics are up on the server yet. I'm not sure how Rob handles that.
There was a message elsewhere on the CCGH forums stating that the HQ Commander pics are being worked on at this time. We may not have to wait too long.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Commander set info
by Rob Cashwalker » 04 Jul 2011, 16:29
The setcode "COM" may not work well for Windows users.. suggest "CMD". I'll keep checking the pictures section for commander images, when it's ready I'll upload it.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Commander set info
by timmermac » 04 Jul 2011, 19:49
Gatherer has card pictures up for Commander.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Commander set info
by friarsol » 06 Jul 2011, 21:10
Looks like HQ pics are out: viewtopic.php?p=64447#p64447
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Commander set info
by juzamjedi » 06 Jul 2011, 23:08
CHAOS WARP!!!
Definitely want to add this to cube
Definitely want to add this to cube

Re: Commander set info
by slapshot5 » 07 Jul 2011, 03:09
Should be scriptable for someone who wants to take the time.juzamjedi wrote:CHAOS WARP!!!
Definitely want to add this to cube
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Commander set info
by Sloth » 07 Jul 2011, 10:24
Nope. There is the problem with Auras again.slapshot5 wrote:Should be scriptable for someone who wants to take the time.juzamjedi wrote:CHAOS WARP!!!
Definitely want to add this to cube
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Commander set info
by slapshot5 » 07 Jul 2011, 22:43
Bah! So there is. I think there's some code for Lost Auramancers that could be integrated into AF_ChangeZone with small changes to support this.Sloth wrote:Nope. There is the problem with Auras again.
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Commander set info
by friarsol » 07 Jul 2011, 23:59
Ideally, Attach should be the location of this (and reuse what's existing). An Aura ETB that wasn't cast with a target would just call one of these functions as it ETB to choose. Although we kinda have to get everything converted over to Attach before that makes sense.slapshot5 wrote:Bah! So there is. I think there's some code for Lost Auramancers that could be integrated into AF_ChangeZone with small changes to support this.Sloth wrote:Nope. There is the problem with Auras again.
-slapshot5
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
14 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 36 guests