It is currently 11 Sep 2025, 20:46
   
Text Size

Commander set info

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Commander set info

Postby 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:

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.
User avatar
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

Postby 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

Postby 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.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Commander set info

Postby 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. :mrgreen:
User avatar
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

Postby 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

Postby 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.
User avatar
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

Postby 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.
User avatar
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

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Commander set info

Postby 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

Postby juzamjedi » 06 Jul 2011, 23:08

CHAOS WARP!!!
Definitely want to add this to cube :D
juzamjedi
Tester
 
Posts: 575
Joined: 13 Nov 2008, 08:35
Has thanked: 6 times
Been thanked: 8 times

Re: Commander set info

Postby slapshot5 » 07 Jul 2011, 03:09

juzamjedi wrote:CHAOS WARP!!!
Definitely want to add this to cube
Should be scriptable for someone who wants to take the time.
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

Postby Sloth » 07 Jul 2011, 10:24

slapshot5 wrote:
juzamjedi wrote:CHAOS WARP!!!
Definitely want to add this to cube
Should be scriptable for someone who wants to take the time.
Nope. There is the problem with Auras again.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Commander set info

Postby slapshot5 » 07 Jul 2011, 22:43

Sloth wrote:Nope. There is the problem with Auras again.
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.

-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

Postby friarsol » 07 Jul 2011, 23:59

slapshot5 wrote:
Sloth wrote:Nope. There is the problem with Auras again.
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.

-slapshot5
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.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 36 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 36 users online :: 0 registered, 0 hidden and 36 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 36 guests

Login Form