It is currently 17 Aug 2025, 13:02
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

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

Re: Bug Reports (snapshot builds)

Postby krevett » 27 Feb 2012, 08:39

Hi, I report a new bug (v1.2.4 r14398) concerning Orim's Chant, if it gets imprinted on an Isochron Scepter you can play it kicked without paying the additional W.
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby krevett » 27 Feb 2012, 15:44

New bug report v1.2.4 r14419
This time it's regarding Snapcaster Mage and flashbacking cards with an alternate cost (such as Force of Will, Daze, etc..) when playing the card it still lets you pay the alternaste cost!
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby krevett » 27 Feb 2012, 16:07

Yet another bug (sorry for these multiple posts I'm currently playing and post as I notice :) ) still using today's snapshot: A flashbacked spell that is countered by a spell or ability isn't exiled as it should per the rules.
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby jeffwadsworth » 27 Feb 2012, 16:20

krevett wrote:New bug report v1.2.4 r14419
This time it's regarding Snapcaster Mage and flashbacking cards with an alternate cost (such as Force of Will, Daze, etc..) when playing the card it still lets you pay the alternaste cost!
The AB CopySpell is a bit old. The new AB Play takes things like that into account.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 27 Feb 2012, 16:25

jeffwadsworth wrote:
krevett wrote:New bug report v1.2.4 r14419
This time it's regarding Snapcaster Mage and flashbacking cards with an alternate cost (such as Force of Will, Daze, etc..) when playing the card it still lets you pay the alternaste cost!
The AB CopySpell is a bit old. The new AB Play takes things like that into account.
This has more to do with the underlying Casting of Spells, which is also pretty old.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby jeffwadsworth » 27 Feb 2012, 16:38

friarsol wrote:
jeffwadsworth wrote:
krevett wrote:New bug report v1.2.4 r14419
This time it's regarding Snapcaster Mage and flashbacking cards with an alternate cost (such as Force of Will, Daze, etc..) when playing the card it still lets you pay the alternaste cost!
The AB CopySpell is a bit old. The new AB Play takes things like that into account.
This has more to do with the underlying Casting of Spells, which is also pretty old.
Would something like "NonBasic$" help in these cases?
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 27 Feb 2012, 17:11

jeffwadsworth wrote:Would something like "NonBasic$" help in these cases?
It would be more like AlternativeCost$. Since you can only pay for one Alternative Cost when Casting a Spell. Force of Will's Cost would be fine if you had an active Yawgmoth's Will. But is not fine for Flashback (since the Alternative Cost is granting both the play from graveyard, and possible ManaCost replacement effect). I've been trying to think of a way to synchronize this in a Cost object, but I'm not sure how that would play nicely with Flashback.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby timmermac » 28 Feb 2012, 01:25

2/26/12 snapshot: Booster packs that used to contain a basic land now do not, which leaves those packs a card short.
"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: Bug Reports (snapshot builds)

Postby Max mtg » 28 Feb 2012, 04:48

timmermac wrote:2/26/12 snapshot: Booster packs that used to contain a basic land now do not, which leaves those packs a card short.
where? (draft, quest mode shop, fp?) which editions are missing a land?
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby timmermac » 28 Feb 2012, 05:24

Quest mode shop, single booster packs in expansions ALA-DKA.
"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: Bug Reports (snapshot builds)

Postby Max mtg » 28 Feb 2012, 05:35

SVN build 14431
Code: Select all
null


Version:
Forge version SVN

OS: Windows 7 Version: 6.1 Architecture: amd64

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NullPointerException
   at java.util.TreeMap.getEntry(Unknown Source)
   at java.util.TreeMap.containsKey(Unknown Source)
   at forge.Card.getSVar(Card.java:1783)
   at forge.CombatUtil.checkDestroyAttackerTrigger(CombatUtil.java:2047)
   at forge.CombatUtil.canDestroyAttacker(CombatUtil.java:2112)
   at forge.ComputerUtilAttack.shouldAttack(ComputerUtilAttack.java:786)
   at forge.ComputerUtilAttack.getAttackers(ComputerUtilAttack.java:699)
   at forge.ComputerUtil.getAttackers(ComputerUtil.java:1686)
   at forge.card.cardfactory.CardFactoryUtil.doesCreatureAttackAI(CardFactoryUtil.java:363)
   at forge.card.abilityfactory.AbilityFactoryPump.pumpPlayAI(AbilityFactoryPump.java:508)
   at forge.card.abilityfactory.AbilityFactoryPump.access$0(AbilityFactoryPump.java:401)
   at forge.card.abilityfactory.AbilityFactoryPump$2.canPlayAI(AbilityFactoryPump.java:161)
   at forge.ComputerUtil.canBePlayedAndPayedByAI(ComputerUtil.java:483)
   at forge.ComputerUtil.playSpellAbilities(ComputerUtil.java:123)
   at forge.ComputerUtil.playSpellAbilities(ComputerUtil.java:148)
   at forge.ComputerAIGeneral.stackResponse(ComputerAIGeneral.java:541)
   at forge.ComputerAIGeneral.stackNotEmpty(ComputerAIGeneral.java:525)
   at forge.control.input.InputControl.updateInput(InputControl.java:259)
   at forge.GuiInput.update(GuiInput.java:52)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:145)
   at forge.PhaseHandler.passPriority(PhaseHandler.java:876)
   at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:72)
   at forge.GuiInput.selectButtonOK(GuiInput.java:86)
   at forge.control.match.ControlMessage.btnOKActionPerformed(ControlMessage.java:108)
   at forge.control.match.ControlMessage.access$0(ControlMessage.java:107)
   at forge.control.match.ControlMessage$1.actionPerformed(ControlMessage.java:53)
   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.AWTEventMulticaster.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)
Attachments
forge.jpg
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby krevett » 28 Feb 2012, 08:32

Hello! New report v1.2.4 r14419
If you "sword" a morphed creature with Swords to Plowshares its controller get life equal to the real creature power and not 2 as the morphed creature power.
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 28 Feb 2012, 13:11

krevett wrote:Hello! New report v1.2.4 r14419
If you "sword" a morphed creature with Swords to Plowshares its controller get life equal to the real creature power and not 2 as the morphed creature power.
I believe the terminology you are looking for is "Plow" not "Sword" since you are turning a Warrior into a Farmer.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 28 Feb 2012, 13:13

krevett wrote:New bug report v1.2.4 r14419
This time it's regarding Snapcaster Mage and flashbacking cards with an alternate cost (such as Force of Will, Daze, etc..) when playing the card it still lets you pay the alternaste cost!
This is fixed now (but a lot of similar cases are not). Thanks krevett.

Max mtg wrote:SVN build 14431
| Open
Code: Select all
null


Version:
Forge version SVN

OS: Windows 7 Version: 6.1 Architecture: amd64

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NullPointerException
   at java.util.TreeMap.getEntry(Unknown Source)
   at java.util.TreeMap.containsKey(Unknown Source)
   at forge.Card.getSVar(Card.java:1783)
   at forge.CombatUtil.checkDestroyAttackerTrigger(CombatUtil.java:2047)
   at forge.CombatUtil.canDestroyAttacker(CombatUtil.java:2112)
   at forge.ComputerUtilAttack.shouldAttack(ComputerUtilAttack.java:786)
   at forge.ComputerUtilAttack.getAttackers(ComputerUtilAttack.java:699)
   at forge.ComputerUtil.getAttackers(ComputerUtil.java:1686)
   at forge.card.cardfactory.CardFactoryUtil.doesCreatureAttackAI(CardFactoryUtil.java:363)
   at forge.card.abilityfactory.AbilityFactoryPump.pumpPlayAI(AbilityFactoryPump.java:508)
   at forge.card.abilityfactory.AbilityFactoryPump.access$0(AbilityFactoryPump.java:401)
   at forge.card.abilityfactory.AbilityFactoryPump$2.canPlayAI(AbilityFactoryPump.java:161)
   at forge.ComputerUtil.canBePlayedAndPayedByAI(ComputerUtil.java:483)
   at forge.ComputerUtil.playSpellAbilities(ComputerUtil.java:123)
   at forge.ComputerUtil.playSpellAbilities(ComputerUtil.java:148)
   at forge.ComputerAIGeneral.stackResponse(ComputerAIGeneral.java:541)
   at forge.ComputerAIGeneral.stackNotEmpty(ComputerAIGeneral.java:525)
   at forge.control.input.InputControl.updateInput(InputControl.java:259)
   at forge.GuiInput.update(GuiInput.java:52)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:145)
   at forge.PhaseHandler.passPriority(PhaseHandler.java:876)
   at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:72)
   at forge.GuiInput.selectButtonOK(GuiInput.java:86)
   at forge.control.match.ControlMessage.btnOKActionPerformed(ControlMessage.java:108)
   at forge.control.match.ControlMessage.access$0(ControlMessage.java:107)
   at forge.control.match.ControlMessage$1.actionPerformed(ControlMessage.java:53)
   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.AWTEventMulticaster.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)
This should be fixed now! Thanks Max.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby krevett » 28 Feb 2012, 14:09

friarsol wrote:
krevett wrote:Hello! New report v1.2.4 r14419
If you "sword" a morphed creature with Swords to Plowshares its controller get life equal to the real creature power and not 2 as the morphed creature power.
I believe the terminology you are looking for is "Plow" not "Sword" since you are turning a Warrior into a Farmer.
Of course, but I'm french you know and here in France we say "sworder" as a verb (because "plower" doesn't sound good). It's a magic expression we have in casual play :)
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: Baidu [Spider] and 13 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 14 users online :: 1 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: Baidu [Spider] and 13 guests

Login Form