It is currently 15 Aug 2025, 13:01
   
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 lovinthegame » 20 Feb 2011, 21:40

r6635
Just updated to a newer version of java and downloaded the latest revision and received this error

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:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com


7


Version:
Forge -- official beta: $Date: 2011-01-06 10:34:48 -0600 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: 7
at forge.quest.data.pet.QuestPetAbstract.getUpgradedStats(Unknown Source)
at forge.quest.data.pet.QuestPetAbstract.getPurchaseDescription(Unknown Source)
at forge.quest.gui.bazaar.QuestBazaarItem.getItemPanel(Unknown Source)
at forge.quest.gui.bazaar.QuestBazaarStall.populateInventory(Unknown Source)
at forge.quest.gui.bazaar.QuestBazaarStall.initUI(Unknown Source)
at forge.quest.gui.bazaar.QuestBazaarStall.<init>(Unknown Source)
at forge.quest.gui.bazaar.QuestBazaarPanel.<init>(Unknown Source)
at forge.quest.gui.QuestFrame.<init>(Unknown Source)
at forge.Gui_QuestOptions.continueQuestButton_actionPerformed(Unknown Source)
at forge.Gui_QuestOptions$2.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 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)
lovinthegame
 
Posts: 20
Joined: 09 Mar 2010, 17:35
Location: Bartlesville, OK
Has thanked: 0 time
Been thanked: 0 time

Re: SVN Bug Reports

Postby lazylockie » 20 Feb 2011, 23:40

r6625

Umezawa's Jitte currently isn't triggering on combat damage to creatures:

Code: Select all
Name:Umezawa's Jitte
ManaCost:2
Types:Legendary Artifact Equipment
Text:no text
T:Mode$ DamageDone | ValidSource$ Creature.AttachedBy | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals combat damage, put two charge counters on CARDNAME.
A:AB$Pump | Cost$ SubCounter<1/CHARGE> | Defined$ Equipped | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ Equipped creature gets +2/+2 until end of turn.
A:AB$Pump | Cost$ SubCounter<1/CHARGE> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn.
A:AB$GainLife | Cost$ SubCounter<1/CHARGE> | LifeAmount$ 2 | SpellDescription$ You gain 2 life.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ 2
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/umezawas_jitte.jpg
SetInfo:BOK|Rare|http://magiccards.info/scans/en/bok/163.jpg
End
and should be:

Code: Select all
Name:Umezawa's Jitte
ManaCost:2
Types:Legendary Artifact Equipment
Text:no text
T:Mode$ DamageDone | ValidSource$ Creature.AttachedBy | ValidTarget$ Creature,Player,Planeswalker | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals combat damage, put two charge counters on CARDNAME.
A:AB$Pump | Cost$ SubCounter<1/CHARGE> | Defined$ Equipped | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ Equipped creature gets +2/+2 until end of turn.
A:AB$Pump | Cost$ SubCounter<1/CHARGE> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn.
A:AB$GainLife | Cost$ SubCounter<1/CHARGE> | LifeAmount$ 2 | SpellDescription$ You gain 2 life.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ 2
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/umezawas_jitte.jpg
SetInfo:BOK|Rare|http://magiccards.info/scans/en/bok/163.jpg
End
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: SVN Bug Reports

Postby Chris H. » 21 Feb 2011, 00:05

I was play testing a deck containing Obelisk of Undoing. I clicked on Obelisk of Undoing and received a prompt, I clicked on every card on my side of the battlefield and none of them were accepted. I am wondering if there may be a problem with ValidCards?

Obelisk of Undoing | Open
Name:Obelisk of Undoing
ManaCost:1
Types:Artifact
Text:no text
A:AB$ChangeZone | Cost$ 6 T | ValidTgts$ Permanet.YouCtrl+YouOwn | TgtPrompt$ Select target permanent you both own and control | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return target permanent you both own and control to your hand.
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/obelisk_of_undoing.jpg
SetInfo:5ED|Rare|http://magiccards.info/scans/en/5e/392.jpg
SetInfo:ATQ|Rare|http://magiccards.info/scans/en/aq/23.jpg
End


EDIT:

Ah, it seems that "Permanent" is miss-spelled. #-o
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 Hellfish » 21 Feb 2011, 00:11

Well, the ValidTgts parameter there misspelled Permanent. That'll do it :) Fixed it.

EDIT:Haha, never mind :)
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: SVN Bug Reports

Postby Chris H. » 21 Feb 2011, 00:22

Hellfish wrote:Well, the ValidTgts parameter there misspelled Permanent. That'll do it :) Fixed it.

EDIT:Haha, never mind :)
`
Thank you. :lol:
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 » 21 Feb 2011, 02:50

r6625

when I attempted to upgrade my plant pet, I got this error (and doesn't allow me to continue the quest):

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


7


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.ArrayIndexOutOfBoundsException: 7
   at forge.quest.data.pet.QuestPetAbstract.getUpgradedStats(Unknown Source)
   at forge.quest.data.pet.QuestPetAbstract.getPurchaseDescription(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarItem.getItemPanel(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarStall.populateInventory(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarStall.initUI(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarStall.<init>(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarPanel.<init>(Unknown Source)
   at forge.quest.gui.QuestFrame.<init>(Unknown Source)
   at forge.Gui_QuestOptions.continueQuestButton_actionPerformed(Unknown Source)
   at forge.Gui_QuestOptions$2.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 Fnoed » 21 Feb 2011, 04:12

lazylockie wrote:r6625

when I attempted to upgrade my plant pet, I got this error (and doesn't allow me to continue the quest):

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


7


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.ArrayIndexOutOfBoundsException: 7
   at forge.quest.data.pet.QuestPetAbstract.getUpgradedStats(Unknown Source)
   at forge.quest.data.pet.QuestPetAbstract.getPurchaseDescription(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarItem.getItemPanel(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarStall.populateInventory(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarStall.initUI(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarStall.<init>(Unknown Source)
   at forge.quest.gui.bazaar.QuestBazaarPanel.<init>(Unknown Source)
   at forge.quest.gui.QuestFrame.<init>(Unknown Source)
   at forge.Gui_QuestOptions.continueQuestButton_actionPerformed(Unknown Source)
   at forge.Gui_QuestOptions$2.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)
Fixed in r6652.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: SVN Bug Reports

Postby friarsol » 21 Feb 2011, 17:45

AI just returned two Absorbs with a single Mnemonic Wall. etbReturnTgt must be buggy, we should convert the 15 or so cards over to Triggers.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Jaedayr » 21 Feb 2011, 18:55

r6669

Quest mode Summon pet checkbox does not retain it's state during a quest session. I checked it, played a match and when I came came back to the quest screen it was unchecked.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Jaedayr » 21 Feb 2011, 19:14

r6669

Clicking the Quests button in quest mode does nothing except change the button to say Battles. No quests are displayed.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Fnoed » 21 Feb 2011, 19:45

Both fixed in r6672.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: SVN Bug Reports

Postby Replika » 21 Feb 2011, 21:26

r6662

The Ravnica bounce lands (at least Dimir Aqueducts and Azorius Chancery) still target the bounced land instead of using the Kor Skyfisher style.

Enclave Cryptologist can loot (draw/discard) on level 3+. It should only be able to draw a card.

My 6/6 Bonehoard Germ token blocked a Primeval Titan and survived as a 7/7. It should have died at the same time as the Titan.

Deep Analysis doesn't draw cards when flashbacked and just exiles itself.

Mulldrifter doesn't let me choose in which order the sacrifice trigger and the draw trigger go on the stack. This is pretty relevant if one wants to draw the cards before responding to the sacrifice trigger (with a freshly drawn bounce spell for example).
Replika
 
Posts: 115
Joined: 30 Jan 2011, 21:15
Has thanked: 2 times
Been thanked: 3 times

Re: SVN Bug Reports

Postby Hellfish » 21 Feb 2011, 22:25

Fixed Enclave Cryptologist. We can probably convert all the bounce lands to trigger based on Kor Skyfisher. If nobody's done that by the time I get all loopy from digging throught AF_Countermagic (Damnit, Mystic Snake!! >_>), I'm on it.
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: SVN Bug Reports

Postby Chris H. » 21 Feb 2011, 22:42

Replika wrote:r6662

Deep Analysis doesn't draw cards when flashbacked and just exiles itself.
`
I believe that this one is my fault. #-o

I will take care of the 18 cards that share the same problem.
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 » 21 Feb 2011, 23:33

Replika wrote:r6662
Mulldrifter doesn't let me choose in which order the sacrifice trigger and the draw trigger go on the stack. This is pretty relevant if one wants to draw the cards before responding to the sacrifice trigger (with a freshly drawn bounce spell for example).
Forge doesn't have stack reordering yet, so some cards like Smokestack and Tangle Wire become much less efficient
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 15 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form