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 drdev » 27 Aug 2013, 19:29
I can investigate that one since I introduced the scroll buttons.Rob Cashwalker wrote:Also noticed the scroll bar buttons for the home screen show up in the bazaar.spr wrote:I am kind of in this area at the moment so can take a look at some of these problems. I have opened a new issue in the tracker (http://www.cardforge.org/bugz/view.php?id=731).Diogenes wrote:Tabs are not properly cleaned up between games...
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Bug Reports (snapshot builds)
by spr » 27 Aug 2013, 21:31
OK, thanks.drdev wrote:I can investigate that one since I introduced the scroll buttons.
Re: Bug Reports (snapshot builds)
by friarsol » 28 Aug 2013, 01:48
r23038
I have Teferi's Puzzle Box, but when it triggers for my opponent, I get to choose the order the cards go on the bottom.
Edit: The combat panel doesn't reset at the end of a game/beginning of the next game.
I have Teferi's Puzzle Box, but when it triggers for my opponent, I get to choose the order the cards go on the bottom.
Edit: The combat panel doesn't reset at the end of a game/beginning of the next game.
- 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 » 28 Aug 2013, 14:39
Here is a bug affected all cards with Destroy effects and DestroyAll effects (Destroy sth., its controller ...). The controller in the subability is not correct.
I gave AI a creature, cast Control Magic to gain control of it, then cast Afterlife to destroy it. AI got the token instead of me.
I gave AI a creature, cast Control Magic to gain control of it, then cast Afterlife to destroy it. AI got the token instead of me.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Bug found when switching back and forth from editing deck/sb
by Phlyghtt79 » 28 Aug 2013, 18:11
Description: [describe what you were doing when the crash occurred]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.4.6-r22922
Operating System: Windows XP 5.1 x86
Java Version: 1.7.0_25 Oracle Corporation
java.lang.NullPointerException
at forge.card.CardDb$PredicateExistsInSets.apply(CardDb.java:364)
at forge.card.CardDb$PredicateExistsInSets.apply(CardDb.java:354)
at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:343)
at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:343)
at com.google.common.base.Predicates$OrPredicate.apply(Predicates.java:377)
at com.google.common.base.Predicates$CompositionPredicate.apply(Predicates.java:536)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:702)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
at forge.util.Aggregates.uniqueByLast(Aggregates.java:120)
at forge.gui.deckeditor.tables.EditorTableView.updateView(EditorTableView.java:484)
at forge.gui.deckeditor.tables.EditorTableView.setDeckImpl(EditorTableView.java:347)
at forge.gui.deckeditor.tables.EditorTableView.setDeck(EditorTableView.java:319)
at forge.gui.deckeditor.controllers.CEditorConstructed.cycleEditorMode(CEditorConstructed.java:260)
at forge.gui.deckeditor.controllers.CEditorConstructed$2.run(CEditorConstructed.java:322)
at forge.gui.toolbox.FLabel._doMouseAction(FLabel.java:309)
at forge.gui.toolbox.FLabel.access$1300(FLabel.java:51)
at forge.gui.toolbox.FLabel$6.mouseReleased(FLabel.java:355)
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$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)
- Phlyghtt79
- Posts: 6
- Joined: 28 Aug 2013, 18:05
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by swordshine » 29 Aug 2013, 05:44
Cards with BecomesTarget triggers don't work when a spell redirects targets to them.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by xbon » 31 Aug 2013, 15:18
r22055,
Mirror Entity does not cause all the creatures you control to become X/X and Changeling, only itself.
tried it again later and it worked; seems like it doesn't affect artifact creatures though.
Mirror Entity does not cause all the creatures you control to become X/X and Changeling, only itself.
tried it again later and it worked; seems like it doesn't affect artifact creatures though.
Re: Bug Reports (snapshot builds)
by Rob Cashwalker » 01 Sep 2013, 01:53
Playing quest (again)
My Sai of the Shinobi just disappeared after being trigger-attached to a creature that got countered. Creature is in the graveyard, Sai is just gone.
But after playing another creature, the trigger came up. Accept it, and the Sai is now back.
My Sai of the Shinobi just disappeared after being trigger-attached to a creature that got countered. Creature is in the graveyard, Sai is just gone.
But after playing another creature, the trigger came up. Accept it, and the Sai is now back.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Bug Reports (snapshot builds)
by friarsol » 01 Sep 2013, 04:20
That doesn't make sense. If it got countered, it wouldn't have entered the battlefield at all.Rob Cashwalker wrote:Playing quest (again)
My Sai of the Shinobi just disappeared after being trigger-attached to a creature that got countered. Creature is in the graveyard, Sai is just gone.
- 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 Rob Cashwalker » 01 Sep 2013, 13:16
What can I tell ya.. the trigger shows up before the card actually shows up on the battlefield.. Same with Lys Alana Huntmaster (also in play at the time) - trigger to create an elf token shows up before the triggering elf appears on the battlefield. In fact, the elf I wanted the Sai to attach to was the same elf that was triggering the Huntmaster... (edit: OK, the trigger for Huntmaster is the creature being cast, not entering the battlefield, so it makes sense...)That doesn't make sense. If it got countered, it wouldn't have entered the battlefield at all.
I assume that it's just a delay in graphics update, but I really don't know what's going on internally anymore.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Bug Reports (snapshot builds)
by xbon » 03 Sep 2013, 17:59
Description: Used Dimir Machinations to banish 2 cards on top of opp's library, then cancelled on the last to put on top; however, as soon as cancel was pressed, this popped up.
- IndexOutOfBoundsException | Open
- Code: Select all
Forge Version: r23088
Operating System: Windows 8 6.2 x86
Java Version: 1.7.0_25 Oracle Corporation
java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
at java.util.concurrent.CopyOnWriteArrayList.add(Unknown Source)
at forge.game.zone.Zone.add(Zone.java:98)
at forge.game.GameAction.changeZone(GameAction.java:241)
at forge.game.GameAction.moveTo(GameAction.java:418)
at forge.card.ability.effects.DigEffect.resolve(DigEffect.java:281)
at forge.card.ability.SpellApiBased.resolve(SpellApiBased.java:54)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1087)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1069)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:520)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:987)
at forge.game.GameAction.startGame(GameAction.java:1491)
at forge.game.Match$1.run(Match.java:103)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Re: Bug Reports (snapshot builds)
by chahlee » 04 Sep 2013, 01:01
Description: Attempted to use Mayael the Anima to look at top five cards of my library - immediately after tapping the required mana, and the ability was put on the stack, I got the crash.
- IndexOutOfBoundsException | Open
- Code: Select all
Forge Version: 1.4.8-SNAPSHOT-r23088
Operating System: Windows Vista 6.0 x86
Java Version: 1.7.0_25 Oracle Corporation
java.lang.IndexOutOfBoundsException: Index: -1, Size: 11
at java.util.concurrent.CopyOnWriteArrayList.add(Unknown Source)
at forge.game.zone.Zone.add(Zone.java:98)
at forge.game.zone.PlayerZoneBattlefield.add(PlayerZoneBattlefield.java:62)
at forge.game.GameAction.changeZone(GameAction.java:241)
at forge.game.GameAction.moveTo(GameAction.java:418)
at forge.card.ability.effects.DigEffect.resolve(DigEffect.java:281)
at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1087)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1069)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:520)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:987)
at forge.game.GameAction.startGame(GameAction.java:1491)
at forge.game.Match$1.run(Match.java:103)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- chahlee
- Posts: 2
- Joined: 04 Sep 2013, 00:52
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by chahlee » 04 Sep 2013, 01:09
More info re: previous post about Mayael the Anima... I was able to choose a valid card that was among the 5 cards on the top of the library. The card was Worldspine Wurm and as I selected the card and it went on the stack to resolve (to be put on the battlefield) - the pending action was displayed and the "Click OK to resolve" requestor was displayed and then the crash occurred.
- chahlee
- Posts: 2
- Joined: 04 Sep 2013, 00:52
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by friarsol » 04 Sep 2013, 02:26
r23095
Looks like the same issue as reported below. AI casts Mulch, but as it resolves I get this crash:
Edit: This is fixed. Shouldn't be using library position for non-library zones.
Looks like the same issue as reported below. AI casts Mulch, but as it resolves I get this crash:
- Mulch Crash | Open
- Game-0 > java.lang.IndexOutOfBoundsException: Index: -1, Size: 4
at java.util.concurrent.CopyOnWriteArrayList.add(CopyOnWriteArrayList.java:443)
at forge.game.zone.Zone.add(Zone.java:98)
at forge.game.GameAction.changeZone(GameAction.java:241)
at forge.game.GameAction.moveTo(GameAction.java:418)
at forge.card.ability.effects.DigEffect.resolve(DigEffect.java:281)
at forge.card.ability.SpellApiBased.resolve(SpellApiBased.java:54)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1087)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1069)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:520)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:987)
at forge.game.GameAction.startGame(GameAction.java:1491)
at forge.game.Match$1.run(Match.java:103)
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)
Edit: This is fixed. Shouldn't be using library position for non-library zones.
- 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 spr » 04 Sep 2013, 03:43
Selected Variant -> Commander, one opponent. Click Start.
Both Human and Opponent1 tabs contain a deck list with a single entry - "Random".
Steve
Both Human and Opponent1 tabs contain a deck list with a single entry - "Random".
- IllegalArgumentException | Open
- Code: Select all
Forge Version: r23097
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_25 Oracle Corporation
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at forge.gui.home.variant.CSubmenuCommander.startGame(CSubmenuCommander.java:91)
at forge.gui.home.variant.CSubmenuCommander.access$3(CSubmenuCommander.java:80)
at forge.gui.home.variant.CSubmenuCommander$2.actionPerformed(CSubmenuCommander.java:62)
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$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)
Steve
Who is online
Users browsing this forum: MercyNupe and 64 guests