It is currently 05 May 2024, 04:12
   
Text Size

Pictures and Rarity as SVars and Conversion Scripts

Post MTG Forge Related Programming Questions Here

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

Re: Pictures and Rarity as SVars and Conversion Scripts

Postby Chris H. » 17 Aug 2010, 15:19

Chris H. wrote:I might be able to set the computer up to download LQ pics over night while I sleep. The HQ pics are a different matter.
`
I had an idea for a quick test. I removed the jpg pics for the 13 planeswalkers and then had forge download all 13 pics. It worked. The newCard appears not to cause problems with downloading pics via the SVar.
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: Pictures and Rarity as SVars and Conversion Scripts

Postby juzamjedi » 19 Aug 2010, 13:49

Hi,

I just wanted to throw my hat into the ring and ask what I could do to help maintain draft rarities. I've already been working to update the draft cube anyway for some things that didn't work out like I had hoped. I really don't want to go back to drafting all cards in Forge when I draft so if there is a way to support this please let me know what you need from me.
juzamjedi
Tester
 
Posts: 575
Joined: 13 Nov 2008, 08:35
Has thanked: 6 times
Been thanked: 8 times

Re: Pictures and Rarity as SVars and Conversion Scripts

Postby Chris H. » 19 Aug 2010, 17:20

I was considering releasing another beta this weekend. It would be nice if someone could run the migratedCardsScript.py script as this would update the pic urls and the rarities.

I think that Sol was going on vacation for a few weeks. Does anyone have python on their computer. I do, but my slow speed modem dial up connection is not up to the task.
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: Pictures and Rarity as SVars and Conversion Scripts

Postby friarsol » 19 Aug 2010, 17:28

I can run it right now, but won't be able to do it after that. Committing now. Someone will need to find a picture for Dark Offering
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Pictures and Rarity as SVars and Conversion Scripts

Postby Chris H. » 19 Aug 2010, 18:52

friarisol wrote:I can run it right now, but won't be able to do it after that. Committing now. Someone will need to find a picture for Dark Offering
`
Thank you. I noticed the Dark Offering situation, I think that this is a portal card and as such is not available using the standard wotc url. I will see if I can add in a magic card market url by hand.
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: Pictures and Rarity as SVars and Conversion Scripts

Postby Rob Cashwalker » 20 Aug 2010, 14:06

Juzam - For the time-being, I will revert the draft booster pack code to use the rarity.txt files, so that Chris can release the beta without losing that part of the functionality. Meanwhile, sealed, random deck and quest mode will use the rarity coming from cards.txt.

Originally, I was thinking of adding an SVar for DraftRarity, but it may (probably) become difficult to maintain. At some point I think the solution will be to provide a preferences option that would "import" draft rarities from a single external file.

Just post your updated draft data.
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: Pictures and Rarity as SVars and Conversion Scripts

Postby Chris H. » 20 Aug 2010, 16:06

Rob Cashwalker wrote:Juzam - For the time-being, I will revert the draft booster pack code to use the rarity.txt files, so that Chris can release the beta without losing that part of the functionality. Meanwhile, sealed, random deck and quest mode will use the rarity coming from cards.txt.

Originally, I was thinking of adding an SVar for DraftRarity, but it may (probably) become difficult to maintain. At some point I think the solution will be to provide a preferences option that would "import" draft rarities from a single external file.

Just post your updated draft data.
`
#-o :mrgreen:

I will try to upload a revised jar file for the 08-20-2010 beta release later today or tomorrow.

The best laid plans of mice and men
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: Pictures and Rarity as SVars and Conversion Scripts

Postby Rob Cashwalker » 20 Aug 2010, 16:43

If I had logged in last night instead of going to sleep... this wouldn't have happened... oh well.
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

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 38 guests


Who is online

In total there are 38 users online :: 0 registered, 0 hidden and 38 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 38 guests

Login Form