It is currently 12 Sep 2025, 12:01
   
Text Size

Mulitstate cards test drive

Post MTG Forge Related Programming Questions Here

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

Re: Mulitstate cards test drive

Postby Chris H. » 26 Oct 2011, 19:36

Hellfish wrote:That was the one I modded. So it didn't work?
`

I built a local copy of rev 11441 using Maven. I only have the non-set card pics in this copy of forge. I downloaded the new available card pics this morning after I ran the daily build script.

I run rev 11441 and find that Nezumi Shortfang has an error so I remove the card, OK. Try again. :)

I select "Download Card LQ Pictures". It says that there are 51 pics to download. I get a list of "Error - Possibly missing URL for" many of the new cards.

I check the pics folder for the new cards that were successfully downloade and find pics for:

howlpack_alpha.jpg
wildblood_pack.jpg
gatstaf_howler.jpg


Here is the log from the terminal:

log from the terminal | Open
Error - possibly missing URL for: dokai_weaver_of_life.jpg
0/51 - 27179
Error - possibly missing URL for: dokai_weaver_of_life.jpg
1/51 - 14077
Error - possibly missing URL for: ichiga_who_topples_oaks.jpg
2/51 - 9535
Error - possibly missing URL for: ichiga_who_topples_oaks.jpg
3/51 - 7327
Error - possibly missing URL for: kenzo_the_hardhearted.jpg
4/51 - 6059
Error - possibly missing URL for: kenzo_the_hardhearted.jpg
5/51 - 5230
Error - possibly missing URL for: jaraku_the_interloper.jpg
6/51 - 4556
Error - possibly missing URL for: jaraku_the_interloper.jpg
7/51 - 4089
Error - possibly missing URL for: unholy_fiend.jpg
8/51 - 3732
Error - possibly missing URL for: unholy_fiend.jpg
9/51 - 3431
Error - possibly missing URL for: azamuki_treachery_incarnate.jpg
10/51 - 814
Error - possibly missing URL for: azamuki_treachery_incarnate.jpg
11/51 - 773
Error - possibly missing URL for: nightfall_predator.jpg
12/51 - 776
Error - possibly missing URL for: nightfall_predator.jpg
13/51 - 780
Error - possibly missing URL for: erayos_essence.jpg
14/51 - 794
Error - possibly missing URL for: erayos_essence.jpg
15/51 - 749
Error - possibly missing URL for: kaiso_memory_of_loyalty.jpg
16/51 - 763
Error - possibly missing URL for: kaiso_memory_of_loyalty.jpg
17/51 - 770
Error - possibly missing URL for: garruk_the_veil_cursed.jpg
18/51 - 794
Error - possibly missing URL for: garruk_the_veil_cursed.jpg
19/51 - 836
20/51 - 814
21/51 - 945
Error - possibly missing URL for: krallenhorde_wantons.jpg
22/51 - 1022
Error - possibly missing URL for: krallenhorde_wantons.jpg
23/51 - 1010
Error - possibly missing URL for: bane_of_hanweir.jpg
24/51 - 987
Error - possibly missing URL for: bane_of_hanweir.jpg
25/51 - 981
Error - possibly missing URL for: scarmaker.jpg
26/51 - 971
Error - possibly missing URL for: scarmaker.jpg
27/51 - 982
Error - possibly missing URL for: homuras_essence.jpg
28/51 - 981
Error - possibly missing URL for: homuras_essence.jpg
29/51 - 973
Error - possibly missing URL for: goka_the_unjust.jpg
30/51 - 965
Error - possibly missing URL for: goka_the_unjust.jpg
31/51 - 852
32/51 - 820
33/51 - 945
Error - possibly missing URL for: tomoya_the_revealer.jpg
34/51 - 949
Error - possibly missing URL for: tomoya_the_revealer.jpg
35/51 - 984
36/51 - 1044
37/51 - 1059
Error - possibly missing URL for: moonmist.jpg
38/51 - 1041
Error - possibly missing URL for: nighteyes_the_desecrator.jpg
39/51 - 1045
Error - possibly missing URL for: nighteyes_the_desecrator.jpg
40/51 - 1067
Error - possibly missing URL for: merciless_predator.jpg
41/51 - 1086
Error - possibly missing URL for: merciless_predator.jpg
42/51 - 1070
Error - possibly missing URL for: stalking_vampire.jpg
43/51 - 928
Error - possibly missing URL for: stalking_vampire.jpg
44/51 - 945
Error - possibly missing URL for: thraben_militia.jpg
45/51 - 946
Error - possibly missing URL for: thraben_militia.jpg
46/51 - 908
Error - possibly missing URL for: rampaging_werewolf.jpg
47/51 - 867
Error - possibly missing URL for: rampaging_werewolf.jpg
48/51 - 844
Error - possibly missing URL for: howlpack_of_estwald.jpg
49/51 - 837
Error - possibly missing URL for: howlpack_of_estwald.jpg
50/51 - 843
51/51 - 841
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: Mulitstate cards test drive

Postby Sloth » 26 Oct 2011, 19:56

Chris H. wrote:
Hellfish wrote:That was the one I modded. So it didn't work?
`

I built a local copy of rev 11441 using Maven. I only have the non-set card pics in this copy of forge. I downloaded the new available card pics this morning after I ran the daily build script.

I run rev 11441 and find that Nezumi Shortfang has an error so I remove the card, OK. Try again. :)

I select "Download Card LQ Pictures". It says that there are 51 pics to download. I get a list of "Error - Possibly missing URL for" many of the new cards.

I check the pics folder for the new cards that were successfully downloade and find pics for:

howlpack_alpha.jpg
wildblood_pack.jpg
gatstaf_howler.jpg


Here is the log from the terminal:

log from the terminal | Open
Error - possibly missing URL for: dokai_weaver_of_life.jpg
0/51 - 27179
Error - possibly missing URL for: dokai_weaver_of_life.jpg
1/51 - 14077
Error - possibly missing URL for: ichiga_who_topples_oaks.jpg
2/51 - 9535
Error - possibly missing URL for: ichiga_who_topples_oaks.jpg
3/51 - 7327
Error - possibly missing URL for: kenzo_the_hardhearted.jpg
4/51 - 6059
Error - possibly missing URL for: kenzo_the_hardhearted.jpg
5/51 - 5230
Error - possibly missing URL for: jaraku_the_interloper.jpg
6/51 - 4556
Error - possibly missing URL for: jaraku_the_interloper.jpg
7/51 - 4089
Error - possibly missing URL for: unholy_fiend.jpg
8/51 - 3732
Error - possibly missing URL for: unholy_fiend.jpg
9/51 - 3431
Error - possibly missing URL for: azamuki_treachery_incarnate.jpg
10/51 - 814
Error - possibly missing URL for: azamuki_treachery_incarnate.jpg
11/51 - 773
Error - possibly missing URL for: nightfall_predator.jpg
12/51 - 776
Error - possibly missing URL for: nightfall_predator.jpg
13/51 - 780
Error - possibly missing URL for: erayos_essence.jpg
14/51 - 794
Error - possibly missing URL for: erayos_essence.jpg
15/51 - 749
Error - possibly missing URL for: kaiso_memory_of_loyalty.jpg
16/51 - 763
Error - possibly missing URL for: kaiso_memory_of_loyalty.jpg
17/51 - 770
Error - possibly missing URL for: garruk_the_veil_cursed.jpg
18/51 - 794
Error - possibly missing URL for: garruk_the_veil_cursed.jpg
19/51 - 836
20/51 - 814
21/51 - 945
Error - possibly missing URL for: krallenhorde_wantons.jpg
22/51 - 1022
Error - possibly missing URL for: krallenhorde_wantons.jpg
23/51 - 1010
Error - possibly missing URL for: bane_of_hanweir.jpg
24/51 - 987
Error - possibly missing URL for: bane_of_hanweir.jpg
25/51 - 981
Error - possibly missing URL for: scarmaker.jpg
26/51 - 971
Error - possibly missing URL for: scarmaker.jpg
27/51 - 982
Error - possibly missing URL for: homuras_essence.jpg
28/51 - 981
Error - possibly missing URL for: homuras_essence.jpg
29/51 - 973
Error - possibly missing URL for: goka_the_unjust.jpg
30/51 - 965
Error - possibly missing URL for: goka_the_unjust.jpg
31/51 - 852
32/51 - 820
33/51 - 945
Error - possibly missing URL for: tomoya_the_revealer.jpg
34/51 - 949
Error - possibly missing URL for: tomoya_the_revealer.jpg
35/51 - 984
36/51 - 1044
37/51 - 1059
Error - possibly missing URL for: moonmist.jpg
38/51 - 1041
Error - possibly missing URL for: nighteyes_the_desecrator.jpg
39/51 - 1045
Error - possibly missing URL for: nighteyes_the_desecrator.jpg
40/51 - 1067
Error - possibly missing URL for: merciless_predator.jpg
41/51 - 1086
Error - possibly missing URL for: merciless_predator.jpg
42/51 - 1070
Error - possibly missing URL for: stalking_vampire.jpg
43/51 - 928
Error - possibly missing URL for: stalking_vampire.jpg
44/51 - 945
Error - possibly missing URL for: thraben_militia.jpg
45/51 - 946
Error - possibly missing URL for: thraben_militia.jpg
46/51 - 908
Error - possibly missing URL for: rampaging_werewolf.jpg
47/51 - 867
Error - possibly missing URL for: rampaging_werewolf.jpg
48/51 - 844
Error - possibly missing URL for: howlpack_of_estwald.jpg
49/51 - 837
Error - possibly missing URL for: howlpack_of_estwald.jpg
50/51 - 843
51/51 - 841
This is not a problem in the code. The card text files are simply missing the Picture SVar.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Mulitstate cards test drive

Postby Chris H. » 26 Oct 2011, 20:06

Sloth wrote:This is not a problem in the code. The card text files are simply missing the Picture SVar.
`
I suspected the same thing until I noticed that the Gatstaf Shepherd / Gatstaf Howler card appears to have both pic URLs and yet it only downloading one of the two pics.

Gatstaf Shepherd / Gatstaf Howler card | Open
Name:Gatstaf Shepherd
ManaCost:1 G
Types:Creature Human Werewolf
Text:no text
PT:2/2
T:Mode$Phase | Phase$ Upkeep | WerewolfTransformCondition$ True | TriggerZones$ Battlefield | Execute$ TrigTransform | TriggerDescription$ At the beginning of each upkeep, if no spells were cast last turn, transform CARDNAME.
SVar:TrigTransform:AB$ChangeState | Cost$ 0 | Defined$ Self
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/gatstaf_shepherd.jpg
AlternateMode:DoubleFaced
SetInfo:ISD|Uncommon|http://magiccards.info/scans/en/isd/182a.jpg
Oracle:At the beginning of each upkeep, if no spells were cast last turn, transform Gatstaf Shepherd.

ALTERNATE

Name:Gatstaf Howler
ManaCost:no cost
Colors:green
Types:Creature Werewolf
Text:no text
PT:3/3
K:Intimidate
T:Mode$Phase | Phase$ Upkeep | WerewolfUntransformCondition$ True | TriggerZones$ Battlefield | Execute$ TrigTransform | TriggerDescription$ At the beginning of each upkeep, if a player cast two or more spells last turn, transform CARDNAME.
SVar:TrigTransform:AB$ChangeState | Cost$ 0 | Defined$ Self
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/gatstaf_howler.jpg
SetInfo:ISD|Uncommon|http://magiccards.info/scans/en/isd/182b.jpg
Oracle:Intimidate (This creature can't be blocked except by artifact creatures and/or creatures that share a color with it.)\nAt the beginning of each upkeep, if a player cast two or more spells last turn, transform Gatstaf Howler.
End
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: Mulitstate cards test drive

Postby ArsenalNut » 26 Oct 2011, 22:02

Hellfish wrote:That was the one I modded. So it didn't work?
At r11464 the behavior has changed, Forge now downloaded only the alternate card image instead of only the primary card image like r11434 did. Chis H. is seeing the same problem.
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Mulitstate cards test drive

Postby Chris H. » 26 Oct 2011, 22:49

Some of these new cards were missing their LQ pic URLs. I added them to as many of the cards as I could.

I attempted to verify that both URLs would lead to the appropriate card pics. Unfortunately, some of the cards only have one of the pics available rather than both of them. :(

Does anybody have any ideas on how we should handle this?
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: Mulitstate cards test drive

Postby goonjamin » 27 Oct 2011, 00:04

Could you just put the cardforge pic url on the missing ones?
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: Mulitstate cards test drive

Postby goonjamin » 27 Oct 2011, 00:37

I made a deck with some double sided cards to test out the awesome new functionality. I beat a the AI a few times with random decks and thought it would be fun to see how it played this deck. It seems to work fine but when the cards flip mine show the backside image but the AI's just show up blank?

Attached is an image of what I am seeing and this is on svn rev 11474.
Attachments
aimultinoimage.jpg
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: Mulitstate cards test drive

Postby friarsol » 27 Oct 2011, 03:29

Hellfish wrote:
friarsol wrote:Jaedayr reported this, but it's similar to the error I received above. http://cardforge.org/bugz/view.php?id=496

Looks like he received the back side of a double faced card as reward. These cards should not be part of the reward pool/card shop.
Fixed it. Thanks!
I just created a few new Quests in a row to see how many double faced guys I can build a deck around and just ended up with Krallenhorde Wantons in my starting pool which gave me a similar crash as above.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Mulitstate cards test drive

Postby Hellfish » 27 Oct 2011, 08:01

@Chris, ArsenalNut: Fixed. I had forgotten to move a member from Card to CardCharacteristics.

@Sol: Fixed, alternate states are now filtered out from the starting pool.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Mulitstate cards test drive

Postby Hellfish » 27 Oct 2011, 16:11

goonjamin wrote:I made a deck with some double sided cards to test out the awesome new functionality. I beat a the AI a few times with random decks and thought it would be fun to see how it played this deck. It seems to work fine but when the cards flip mine show the backside image but the AI's just show up blank?

Attached is an image of what I am seeing and this is on svn rev 11474.
Could you please check r11492 (or really, anything newer than r11479)? I'm not seeing this particular bug here.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Mulitstate cards test drive

Postby moomarc » 27 Oct 2011, 17:20

Hellfish wrote:
goonjamin wrote:I made a deck with some double sided cards to test out the awesome new functionality. I beat a the AI a few times with random decks and thought it would be fun to see how it played this deck. It seems to work fine but when the cards flip mine show the backside image but the AI's just show up blank?
Could you please check r11492 (or really, anything newer than r11479)? I'm not seeing this particular bug here.
Just played with r11493 and I have the same issue. :(
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Mulitstate cards test drive

Postby Hellfish » 27 Oct 2011, 19:05

Welp, turns out you need to actually commit the fix after you make it. I really need a *doi* smilie >_>

Try r11495.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Mulitstate cards test drive

Postby moomarc » 27 Oct 2011, 19:35

Hellfish wrote:Welp, turns out you need to actually commit the fix after you make it. I really need a *doi* smilie >_>

Try r11495.
:rolleyes: Thanks! I'll test in the morning.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Mulitstate cards test drive

Postby slowe » 28 Oct 2011, 01:02

Hellfish wrote:
friarsol wrote:Jaedayr reported this, but it's similar to the error I received above. http://cardforge.org/bugz/view.php?id=496

Looks like he received the back side of a double faced card as reward. These cards should not be part of the reward pool/card shop.
Fixed it. Thanks!
A Garruk, the Veil-Cursed just (rev 11504) turned up in the Card Shop for me. :( I would have commented on the Mantis issue, but its fixed status prevents that.
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: Mulitstate cards test drive

Postby goonjamin » 28 Oct 2011, 01:49

Hellfish wrote:Welp, turns out you need to actually commit the fix after you make it. I really need a *doi* smilie >_>

Try r11495.
Fix works great for me :D
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 60 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form