It is currently 15 Aug 2025, 10:03
   
Text Size

SVN Bug Reports

Post MTG Forge Related Programming Questions Here

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

Re: SVN Bug Reports

Postby lazylockie » 12 Feb 2011, 01:23

this is getting weirder and weirder. I've tested them both and they were working fine here. Now everytime I try to start a game I get:

Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


CardFactory : getCard() invalid card name - Mountain


Version:
Forge -- official beta: $Date: 2011-01-06 14:34:48 -0200 (qui, 06 jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_23 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.RuntimeException: CardFactory : getCard() invalid card name - Mountain
   at forge.CardFactory.getCard2(Unknown Source)
   at forge.CardFactory.getCard(Unknown Source)
   at forge.GenerateConstructedDeck.addLand(Unknown Source)
   at forge.GenerateConstructedDeck.generateDeck(Unknown Source)
   at forge.Gui_NewGame.generateConstructedDeck(Unknown Source)
   at forge.Gui_NewGame.genDecks(Unknown Source)
   at forge.Gui_NewGame.startButton_actionPerformed(Unknown Source)
   at forge.Gui_NewGame$11.actionPerformed(Unknown Source)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:111)
   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.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)

lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: SVN Bug Reports

Postby Chris H. » 12 Feb 2011, 01:29

Solar Blast is also causing an error exception. Removed from the SVN until soneone can fix it.

Solar Blast | Open
Name:Solar Blast
ManaCost:3 R
Types:Instant
Text:no text
K:Cycling:1 R R
A:SP$DealDamage | Cost$ 3 R | Tgt$ TgtCP | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature or player.
T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigDamage | Optional$ True | TriggerDescription$ When you cycle CARDNAME, you may have it deal 1 damage to target creature or player.
SVar:TrigDamage | Cost$ 0 | Tgt$ TgtCP | NumDmg$ 1
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/solar_blast.jpg
SetInfo:ONS|Common|http://magiccards.info/scans/en/on/234.jpg
End

`
Attachments
solar_blast.txt.zip
(532 Bytes) Downloaded 235 times
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: SVN Bug Reports

Postby jeffwadsworth » 12 Feb 2011, 02:14

Well, this should fix it, but it doesn't.


Code: Select all
Name:Solar Blast
ManaCost:3 R
Types:Instant
Text:no text
K:Cycling:1 R R
A:SP$DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature or player.
T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigDamage | Optional$ True | TriggerDescription$ When you cycle CARDNAME, you may have it deal 1 damage to target creature or player.
SVar:TrigDamage:SP$DealDamage | Cost$ 0 | ValidTgts$ Creature,Player | NumDmg$ 1
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/solar_blast.jpg
SetInfo:ONS|Common|http://magiccards.info/scans/en/on/234.jpg
End
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: SVN Bug Reports

Postby Chris H. » 12 Feb 2011, 02:18

I was able to fix and test Resounding Thunder. It is on the SVN.

Resounding Thunder | Open
Name:Resounding Thunder
ManaCost:2 R
Types:Instant
Text:no text
K:Cycling:5 R B G
A:SP$DealDamage | Cost$ 2 R | Tgt$ TgtCP | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature or player.
T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When you cycle CARDNAME, it deals 6 damage to target creature or player.
SVar:TrigDamage:SP$DealDamage | Cost$ 0 | Tgt$ TgtCP | NumDmg$ 6
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/resounding_thunder.jpg
SetInfo:ALA|Common|http://magiccards.info/scans/en/ala/110.jpg
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: SVN Bug Reports

Postby friarsol » 12 Feb 2011, 02:33

jeffwadsworth wrote:Well, this should fix it, but it doesn't.

SVar:TrigDamage:SP$DealDamage | Cost$ 0 | ValidTgts$ Creature,Player | NumDmg$ 1
It doesn't because of your SVar. You are telling it to be a Spell, when it needs to be an Ability.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby gofishus » 12 Feb 2011, 04:41

Sharding Sphinx is triggering upon damage even if it isn't in play.
gofishus
 
Posts: 34
Joined: 09 Oct 2010, 04:57
Has thanked: 0 time
Been thanked: 0 time

Re: SVN Bug Reports

Postby slapshot5 » 12 Feb 2011, 05:03

Can we right justify the Deck Analysis button in the Deck Editor? I keep hitting it by mistake when I want to remove. It's not logically associated with the Add/Remove buttons anyway.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: SVN Bug Reports

Postby slapshot5 » 12 Feb 2011, 05:12

Chris H. wrote:Solar Blast is also causing an error exception. Removed from the SVN until soneone can fix it.
Solar Blast is now fixed.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: SVN Bug Reports

Postby Chris H. » 12 Feb 2011, 12:36

slapshot5 wrote:Solar Blast is now fixed.
`
Thank you Slapshot. I fixed the first of the three and then ran out of steam. Figured I would get a good night sleep and go back to it the following morning. Wake up and see that my friends have been busy overnight. :)
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: SVN Bug Reports

Postby lazylockie » 12 Feb 2011, 13:29

gofishus wrote:Sharding Sphinx is triggering upon damage even if it isn't in play.
Code: Select all
Name:Sharding Sphinx
ManaCost:4 U U
Types:Artifact Creature Sphinx
Text:no text
PT:4/4
K:Flying
T:Mode$ DamageDone | ValidSource$ Creature.Artifact+YouCtrl | ValidTarget$ Opponent | CombatDamage$ True | Optional$ True | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever an artifact creature you control deals combat damage to a player, you may put a 1/1 blue Thopter artifact creature token with flying onto the battlefield.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Thopter | TokenTypes$ Artifact,Creature,Thopter | TokenOwner$ Controller | TokenColors$ Blue | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/sharding_sphinx.jpg
SetInfo:ALA|Rare|http://magiccards.info/scans/en/ala/55.jpg
End
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: SVN Bug Reports

Postby Corwin72 » 12 Feb 2011, 18:29

build 6334
Here is something that I think should work but I could be wrong
Inkmoth Nexus is in play. I activate it to turn it into an artifact.
I then cast Phylactery Lich and put the phylactery counter on the Inkmoth Nexus. At the end of the turn State Based Effects turn the Inkmoth Nexus back into a land the phylactery counter is still showing on the land but the Phylactery Lich goes to the graveyard.
User avatar
Corwin72
 
Posts: 793
Joined: 15 Sep 2009, 13:26
Location: Grayson, Ga
Has thanked: 25 times
Been thanked: 9 times

Re: SVN Bug Reports

Postby friarsol » 12 Feb 2011, 18:45

That looks like it should work. All the Lich cares about is if you have a Permanent with a Counter on it. Not an Artifact.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby SoulStorm » 13 Feb 2011, 00:30

Old Kiki-Jiki, Mirror Breaker problems are new again.

Archon of Justice tokens no longer exile a permanent when they go to the graveyard and Meadowboon Tokens create an error and no longer add counters when they go to the graveyard.

Strangely, other tokens created by Kiki-Jiki, Mirror Breaker, such as Primeval Titan, Roc Egg, and Academy Rector all work fine.

I tested Archon of Justice as a non-token and it works fine, though I didn't test Meadowboon.

Also, Doubling Season is creating more tokens than it should be. For example, creating a soldier token with Elspeth, Knight-Errant and one Doubling Season in play creates 3 soldier tokens instead of two.

Weirdness all around...

I haven't tested my Kiki-Jiki, Mirror Breaker deck in well over a month, so I have no idea when things got broken, but everything used to work correctly.
SoulStorm
 
Posts: 423
Joined: 24 Jun 2010, 22:48
Has thanked: 16 times
Been thanked: 11 times

Re: SVN Bug Reports

Postby timmermac » 13 Feb 2011, 01:42

r6214: I don't know if this is a bug or if it's just evil... Is the Guilty Conscience + Stuffy Doll combo supposed to be infinite?
"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: SVN Bug Reports

Postby lazylockie » 13 Feb 2011, 01:44

timmermac wrote:r6214: I don't know if this is a bug or if it's just evil... Is the Guilty Conscience + Stuffy Doll combo supposed to be infinite?
It's a known combo (both on Forge and on real magic)
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 13 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 13 guests

Login Form