Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by PowerClaws » 19 Jun 2013, 14:00
Latest Sanpshot, i attack with a Reckless Brute, the AI blocks with 2 creatures, a Guardians of Akrasa and a Wall Of Faith, damage prompt pops up, listing one damage dealt to the Guardian as lethal, no prior damage has been dealt...
- PowerClaws
- Posts: 131
- Joined: 30 Jan 2012, 11:33
- Has thanked: 28 times
- Been thanked: 8 times
Re: Bug Reports (snapshot builds)
by PowerClaws » 19 Jun 2013, 14:07
If it helps, the next attack caused this crash, reckless brute was blocked by a Wall of Faith and Soulbound GuardiansPowerClaws wrote:Latest Sanpshot, i attack with a Reckless Brute, the AI blocks with 2 creatures, a Guardians of Akrasa and a Wall Of Faith, damage prompt pops up, listing one damage dealt to the Guardian as lethal, no prior damage has been dealt...
Description: [describe what you were doing when the crash occurred]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.4.2-SNAPSHOT-r22118
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_11 Oracle Corporation
java.lang.NullPointerException
at forge.game.phase.Combat.getBlockers(Combat.java:430)
at forge.game.phase.Combat.getBlockers(Combat.java:421)
at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:239)
at forge.gui.match.TargetingOverlay.access$2(TargetingOverlay.java:80)
at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:342)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at java.awt.Window.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$700(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$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)
- PowerClaws
- Posts: 131
- Joined: 30 Jan 2012, 11:33
- Has thanked: 28 times
- Been thanked: 8 times
1.3.16-r21506: Crash before Leviathan attacks
by dexter » 19 Jun 2013, 16:11
Priority: Probably low, since after the crash report was closed, the game continued correctly. However, it *does* mean something is wrong and I'm afraid a different situation could actually be worse. I'll try to find a simple way to reproduce, but no promises.
Description: I unblocked Leviathan during my upkeep by sacrificing 2 islands. I set it to attack (after also telling Wu Light Cavalry and Dodecapod to attack), but accidentaly closed in stead of sacrificing more islands. Next turn, I attacked w/ the same 3 creatures as above, but this time I remembered to sacrifice the islands and crash! Actually, I think I first tapped the islands (which would've caused U U to be in my mana pool), but I can't remember and I don't see any mana in my mana pool after the crash report. I also have a Spire Serpent in play, but it can't attack yet (I only have 2 artifacts on the battlefield). Weirdly enough, after I've closed the crash report, I was able to click on OK and successfully finished the game w/ everything working as expected (even Leviathan attacked and I got to choosing how much damage it does to the creature that blocked it and how much to the player). Here's the crash report:
Description: I unblocked Leviathan during my upkeep by sacrificing 2 islands. I set it to attack (after also telling Wu Light Cavalry and Dodecapod to attack), but accidentaly closed in stead of sacrificing more islands. Next turn, I attacked w/ the same 3 creatures as above, but this time I remembered to sacrifice the islands and crash! Actually, I think I first tapped the islands (which would've caused U U to be in my mana pool), but I can't remember and I don't see any mana in my mana pool after the crash report. I also have a Spire Serpent in play, but it can't attack yet (I only have 2 artifacts on the battlefield). Weirdly enough, after I've closed the crash report, I was able to click on OK and successfully finished the game w/ everything working as expected (even Leviathan attacked and I got to choosing how much damage it does to the creature that blocked it and how much to the player). Here's the crash report:
- NullPointerException | Open
- Code: Select all
Forge Version: 1.3.16-r21506
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_21 Oracle Corporation
java.lang.NullPointerException
at forge.card.cost.CostSacrifice.doPayment(CostSacrifice.java:178)
at forge.card.cost.CostPartWithList.executePayment(CostPartWithList.java:97)
at forge.game.player.HumanPlay.payCostPart(HumanPlay.java:481)
at forge.game.player.HumanPlay.payCostDuringAbilityResolve(HumanPlay.java:415)
at forge.game.phase.CombatUtil.checkPropagandaEffects(CombatUtil.java:1081)
at forge.game.phase.PhaseUtil.handleDeclareAttackers(PhaseUtil.java:151)
at forge.game.phase.PhaseHandler.handleBeginPhase(PhaseHandler.java:297)
at forge.gui.InputProxy$1.run(InputProxy.java:69)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
- dexter
- Posts: 2
- Joined: 19 Jun 2013, 15:40
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by Agetian » 19 Jun 2013, 16:32
r22157: not sure whether to consider it a bug or not, but I think that it might be (judging by the description of how the quest mode is supposed to work): I'm playing a quest mode game and I started with a preconstructed deck (Sliver Shivers) which is a LGN/ONS deck. The prize card pool was set to the same as the deck, so it was LGN/ONS as well. When I got to 20 wins I got the "Unlock Set" feature activated for me, and judging by its description it should have provided options for unlocking sets that are historically close to the sets that are already active. However, to my big surprise, the two sets I got as options for unlocking (for 4000 credits each) were MMA (Modern Masters) and DGM (Dragon's Maze), historically I'd say the farthest from both Legions and Onslaught (since MMA and DGM are the most modern sets to date :\ ). Is this a bug or a feature?
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by Sloth » 19 Jun 2013, 17:04
Fixed! Thanks xbon.xbon wrote:Also, Frenzy Sliver isn't working properly, from what I see, Neither my Metallic Sliver, nor my opponents Frenzy Sliver had Frenzy.
Fixed! Thanks dexter.dexter wrote:Priority: Probably low, since after the crash report was closed, the game continued correctly. However, it *does* mean something is wrong and I'm afraid a different situation could actually be worse. I'll try to find a simple way to reproduce, but no promises.
Description: I unblocked Leviathan during my upkeep by sacrificing 2 islands. I set it to attack (after also telling Wu Light Cavalry and Dodecapod to attack), but accidentaly closed in stead of sacrificing more islands. Next turn, I attacked w/ the same 3 creatures as above, but this time I remembered to sacrifice the islands and crash! Actually, I think I first tapped the islands (which would've caused U U to be in my mana pool), but I can't remember and I don't see any mana in my mana pool after the crash report. I also have a Spire Serpent in play, but it can't attack yet (I only have 2 artifacts on the battlefield). Weirdly enough, after I've closed the crash report, I was able to click on OK and successfully finished the game w/ everything working as expected (even Leviathan attacked and I got to choosing how much damage it does to the creature that blocked it and how much to the player). Here's the crash report:
- NullPointerException | Open
- Code: Select all
Forge Version: 1.3.16-r21506
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_21 Oracle Corporation
java.lang.NullPointerException
at forge.card.cost.CostSacrifice.doPayment(CostSacrifice.java:178)
at forge.card.cost.CostPartWithList.executePayment(CostPartWithList.java:97)
at forge.game.player.HumanPlay.payCostPart(HumanPlay.java:481)
at forge.game.player.HumanPlay.payCostDuringAbilityResolve(HumanPlay.java:415)
at forge.game.phase.CombatUtil.checkPropagandaEffects(CombatUtil.java:1081)
at forge.game.phase.PhaseUtil.handleDeclareAttackers(PhaseUtil.java:151)
at forge.game.phase.PhaseHandler.handleBeginPhase(PhaseHandler.java:297)
at forge.gui.InputProxy$1.run(InputProxy.java:69)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by xbon » 19 Jun 2013, 17:36
The effect of Ophidian prompt activates (and resolves) when it is blocked.
Edit: Crash report
Description: Start Match button.
Edit: Crash report
Description: Start Match button.
- RuntimeException | Open
- Code: Select all
Forge Version: 1.4.2-SNAPSHOT-r22118
Operating System: Windows 8 6.2 amd64
Java Version: 1.7.0_25 Oracle Corporation
java.lang.RuntimeException: Generate2ColorDeck : get2ColorDeck -- looped too much -- Cr12
at forge.deck.generate.GenerateColoredDeckBase.addSome(GenerateColoredDeckBase.java:112)
at forge.deck.generate.GenerateColoredDeckBase.addCmcAdjusted(GenerateColoredDeckBase.java:228)
at forge.deck.generate.GenerateColoredDeckBase.addCreaturesAndSpells(GenerateColoredDeckBase.java:92)
at forge.deck.generate.Generate2ColorDeck.getDeck(Generate2ColorDeck.java:91)
at forge.deck.DeckgenUtil.buildColorDeck(DeckgenUtil.java:78)
at forge.gui.toolbox.FDeckChooser.getDeck(FDeckChooser.java:284)
at forge.gui.home.sanctioned.CSubmenuConstructed.startGame(CSubmenuConstructed.java:100)
at forge.gui.home.sanctioned.CSubmenuConstructed.access$3(CSubmenuConstructed.java:99)
at forge.gui.home.sanctioned.CSubmenuConstructed$2.actionPerformed(CSubmenuConstructed.java:58)
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$Actions.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$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)
Re: Bug Reports (snapshot builds)
by friarsol » 19 Jun 2013, 17:42
This is the same bug (that Sloth fixed) that you reported with Frenzy Sliver. Blocked/unblocked checks were inverted.xbon wrote:The effect of Ophidian prompt activates (and resolves) when it is blocked.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by swordshine » 20 Jun 2013, 00:47
I got an infinite IllegalArgumentException when a Soul Seizer with auras attached to it would transform to a aura.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by friarsol » 20 Jun 2013, 03:14
r22162
Attacked with my 1/1 Wolf Pet. AI blocked with a 2/2. Cast Giant Growth on the Pet, but either the target didn't seem to lock in, or it didn't do anything when it resolved. I'm sure it's related to the Targeting changes.
Similarly, AIs Kami of the Hunt doesn't gain +1/+1 when it's trigger resolves. No targeting involved here, so I'm not sure how this is broken?
Attacked with my 1/1 Wolf Pet. AI blocked with a 2/2. Cast Giant Growth on the Pet, but either the target didn't seem to lock in, or it didn't do anything when it resolved. I'm sure it's related to the Targeting changes.
Similarly, AIs Kami of the Hunt doesn't gain +1/+1 when it's trigger resolves. No targeting involved here, so I'm not sure how this is broken?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by friarsol » 20 Jun 2013, 03:49
r22162
I cast a Flametongue Kavu, targeting an AIs 5/4 creature. Trigger resolves killing the creature, but the trigger doesn't actually leave the stack.
I cast a Flametongue Kavu, targeting an AIs 5/4 creature. Trigger resolves killing the creature, but the trigger doesn't actually leave the stack.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by swordshine » 20 Jun 2013, 04:44
I activated Umezawa's Jitte, targeting AI's 1/1 creature, but that creature didn't die.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by swordshine » 20 Jun 2013, 04:57
CounterSpell effect is broken:
java.lang.StackOverflowError
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
...
java.lang.StackOverflowError
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
at forge.card.spellability.SpellAbility.canBeTargetedBy(SpellAbility.java:1309)
...
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by Max mtg » 20 Jun 2013, 06:04
PumpEffect targeted/defined cards reading fixed. Thanks, Sol!
Endless loop changed into what was meant to be. Thanks, Swordshine!
Endless loop changed into what was meant to be. Thanks, Swordshine!
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)
by swordshine » 20 Jun 2013, 06:18
The game hangs when my Murderous Redcap enters the battlefield and targets AI.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by Sloth » 20 Jun 2013, 06:31
The problem is getInstanceFromSpellAbility does no longer work for targeted triggers. The changes to targets broke compareToSpellAbility equality.friarsol wrote:r22162
I cast a Flametongue Kavu, targeting an AIs 5/4 creature. Trigger resolves killing the creature, but the trigger doesn't actually leave the stack.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Who is online
Users browsing this forum: No registered users and 16 guests