It is currently 10 Sep 2025, 23:20
   
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 Sloth » 25 Oct 2011, 21:02

The limited testing I have done today (with werewolves) has been positive. Thanks again for this great piece of work Hellfish. =D>

I think we can get ISD to 90% easily now.
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 friarsol » 25 Oct 2011, 23:44

I just got this error:


CardFactory : getCard() invalid card name - Stalking Vampire


Version:
Forge version SVN

OS: Windows 7 Version: 6.1 Architecture: amd64

Java Version: 1.6.0_23 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.RuntimeException: CardFactory : getCard() invalid card name - Stalking Vampire
at forge.card.cardFactory.AbstractCardFactory.getCard2(AbstractCardFactory.java:456)
at forge.card.cardFactory.AbstractCardFactory.getCard(AbstractCardFactory.java:370)
at forge.item.CardPrinted.toForgeCard(CardPrinted.java:117)
at forge.gui.deckeditor.CardPanelLite.showCard(CardPanelLite.java:62)
at forge.gui.deckeditor.TableModel.showSelectedCard(TableModel.java:214)

because Stalking Vampire showed up as a choice in my Quest Mode Card Shop.
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 goonjamin » 26 Oct 2011, 01:51

svn r11411

I tried to use Garruk Relentless 1st ability targeting a Marsh Threader and received the error below.

Code: Select all
0: Garruk Relentless deals damage equal to its power to target creature. That creature deals damage equal to its power to Garruk Relentless.
Code: Select all
This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
   http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.

For input string: "Y"


Version:
Forge version 1.1.7-SNAPSHOT-r0000

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NumberFormatException: For input string: "Y"
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at forge.card.abilityFactory.AbilityFactory.calculateAmount(AbilityFactory.java:1438)
   at forge.card.abilityFactory.AbilityFactory_DealDamage.getNumDamage(AbilityFactory_DealDamage.java:212)
   at forge.card.abilityFactory.AbilityFactory_DealDamage.damageStackDescription(AbilityFactory_DealDamage.java:151)
   at forge.card.abilityFactory.AbilityFactory_DealDamage.access$200(AbilityFactory_DealDamage.java:20)
   at forge.card.abilityFactory.AbilityFactory_DealDamage$3.getStackDescription(AbilityFactory_DealDamage.java:122)
   at forge.card.abilityFactory.AbilityFactory_DealDamage.damageStackDescription(AbilityFactory_DealDamage.java:199)
   at forge.card.abilityFactory.AbilityFactory_DealDamage.access$200(AbilityFactory_DealDamage.java:20)
   at forge.card.abilityFactory.AbilityFactory_DealDamage$1.getStackDescription(AbilityFactory_DealDamage.java:58)
   at forge.card.spellability.SpellAbility_Requirements.addAbilityToStack(SpellAbility_Requirements.java:170)
   at forge.card.spellability.SpellAbility_Requirements.finishPaying(SpellAbility_Requirements.java:143)
   at forge.card.cost.Cost_Payment.payCost(Cost_Payment.java:165)
   at forge.card.spellability.SpellAbility_Requirements.startPaying(SpellAbility_Requirements.java:132)
   at forge.card.spellability.SpellAbility_Requirements.needPayment(SpellAbility_Requirements.java:121)
   at forge.card.spellability.SpellAbility_Requirements.finishedTargeting(SpellAbility_Requirements.java:112)
   at forge.card.spellability.Target_Selection.chooseTargets(Target_Selection.java:147)
   at forge.card.spellability.Target_Selection.chooseTargets(Target_Selection.java:154)
   at forge.card.spellability.Target_Selection$1.done(Target_Selection.java:300)
   at forge.card.spellability.Target_Selection$1.selectCard(Target_Selection.java:280)
   at forge.GuiInput.selectCard(GuiInput.java:83)
   at forge.GuiDisplay4$20.mousePressed(GuiDisplay4.java:610)
   at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: Mulitstate cards test drive

Postby friarsol » 26 Oct 2011, 02:11

goonjamin wrote:svn r11411

I tried to use Garruk Relentless 1st ability targeting a Marsh Threader and received the error below.

Code: Select all
0: Garruk Relentless deals damage equal to its power to target creature. That creature deals damage equal to its power to Garruk Relentless.
Fixed the typo and the spell description.
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 friarsol » 26 Oct 2011, 02:20

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.
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 goonjamin » 26 Oct 2011, 03:15

Garruk, the Veil-Cursed:
The 1st ability to put a 1/1 wolf on the battlefield does not appear to be working 100%. I got the loyalty counter but the stack description shows the wolf as 1/0 and it never makes it to the battlefield (or it does and dies before it displays?
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: Mulitstate cards test drive

Postby Sloth » 26 Oct 2011, 05:27

goonjamin wrote:Garruk, the Veil-Cursed:
The 1st ability to put a 1/1 wolf on the battlefield does not appear to be working 100%. I got the loyalty counter but the stack description shows the wolf as 1/0 and it never makes it to the battlefield (or it does and dies before it displays?
Fixed! Thanks goonjamin.
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 ArsenalNut » 26 Oct 2011, 06:12

Garruk, the Veil-Cursed:
Used 2nd ability with 6 Loyalty counters, Garruk got sent to graveyard

I seem to be getting double triggers also e.g. Garruk's transform goes on the stack twice. I was using this Green-White token deck in this article
http://www.wizards.com/Magic/Magazine/Article.aspx?x=mtg/daily/td/165
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 Hellfish » 26 Oct 2011, 07:03

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!

Looking into the double triggers thing right now.
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 ArsenalNut » 26 Oct 2011, 13:38

Just added Mayor of Avabuck/HowlPack Alpha.

Couple minor things that aren't effecting game play:

1) Picture download only gets the first picture for double sided card e.g. Forge downloaded the Gatstaf Shepherd jpg but not the Gatstaf Howler jpg after I added the Picture SVar to this card

2) setInfoScript.py only adds info for first face and adds it at the end of card script
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, 13:41

Hellfish wrote:I committed what I had for now, maybe someone more graphically inclined can tweak the deck editors, which at least work in higher resolutions.
`
I finally figured out what was causing the problem in the deck editors and submitted a fix. 8)
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 Hellfish » 26 Oct 2011, 14:45

Chris H. wrote:
Hellfish wrote:I committed what I had for now, maybe someone more graphically inclined can tweak the deck editors, which at least work in higher resolutions.
`
I finally figured out what was causing the problem in the deck editors and submitted a fix. 8)
Thanks,Chris. Now as for why anyone would want to run it at that low a resolution I'll never understand ;)

ArsenalNut wrote:Just added Mayor of Avabuck/HowlPack Alpha.

Couple minor things that aren't effecting game play:

1) Picture download only gets the first picture for double sided card e.g. Forge downloaded the Gatstaf Shepherd jpg but not the Gatstaf Howler jpg after I added the Picture SVar to this card

2) setInfoScript.py only adds info for first face and adds it at the end of card script
Thanks for the add!
1)I'll mod Gui_DownloadPictures_LQ. Gimme a little while to fix. :)
2)oracleScript.py also does this. Gimme a slightly longer while to fix. :P

EDIT: Could you try picture download again in r11435? I don't want to tax the server unnecessarily seeing as I already have all Set pics downloaded.
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 ArsenalNut » 26 Oct 2011, 15:10

Hellfish wrote:Thanks for the add!
1)I'll mod Gui_DownloadPictures_LQ. Gimme a little while to fix. :)
2)oracleScript.py also does this. Gimme a slightly longer while to fix. :P

EDIT: Could you try picture download again in r11435? I don't want to tax the server unnecessarily seeing as I already have all Set pics downloaded.
I'll have try to the picture download later tonight.

Also added Instigator Gang//Wildblood Pack.
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, 16:07

Hellfish wrote:1)I'll mod Gui_DownloadPictures_LQ. Gimme a little while to fix. :)

EDIT: Could you try picture download again in r11435? I don't want to tax the server unnecessarily seeing as I already have all Set pics downloaded.
`
If you get the chance can you do the same mod to the non-set LQ pic downloader?
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 Hellfish » 26 Oct 2011, 16:10

That was the one I modded. So it didn't work?
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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 53 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form