It is currently 06 Nov 2025, 03:16
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

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

Re: Bug Reports (snapshot builds)

Postby drdev » 13 Nov 2014, 00:13

Adol wrote:Ability of Mother of Runes can target only a creture "you control".
Fixed in r28188.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby drdev » 13 Nov 2014, 00:16

Adol wrote:I can't use Frenetic Efreet and Chance Encounter Combo.
For example, I activate Frenetic Efreet ability 100 times at once, Chance Encounter counts only first coin flip win.
This combo is working for me in the latest build. I get a counter on every won flip even if the Efreet is no longer in play.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby drdev » 13 Nov 2014, 00:18

Adol wrote:The name of Ob Nixilis of the Black Oath emblem is mistaken as "D"Ob Nixilis of the Black Oath emblem.
Fixed in r28189.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby drdev » 13 Nov 2014, 00:36

Adol wrote:Achievements of "Gideon Jura", "Vraska the Unseen" and "Tezzeret, Agent of Bolas" can't be obtained.
Fixed in r28191-r28192. Note that the trophy image for Vraska the Unseen has an improper "," in its file name, which needs to be removed for the image to appear for that trophy.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby drdev » 13 Nov 2014, 01:08

Adol wrote:When Feldon of the Third Path made a token of Hornet Queen, Hornet Queen's avility trigger 2 times and put 8 insect tokens.
I've investigated this bug and determined the cause of this issue is that the token is also triggering the Enter the battlefield effect of the card its copied in addition to its own Enter the battlefield effect. I'm not sure what the best fix here is, so I'll let someone more familiar with the trigger code take it from here.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 13 Nov 2014, 02:11

drdev wrote:I've investigated this bug and determined the cause of this issue is that the token is also triggering the Enter the battlefield effect of the card its copied in addition to its own Enter the battlefield effect. I'm not sure what the best fix here is, so I'll let someone more familiar with the trigger code take it from here.
Odd. I'll take a look.
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 Grim Rowe » 13 Nov 2014, 06:31

Description: AI used Truth or Tale. Appears when I was able to choose which pile I decided to return

NullPointerException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.card.CardDetailUtil.composeCardText(CardDetailUtil.java:243)
   at forge.gui.CardDetailPanel.setCard(CardDetailPanel.java:258)
   at forge.screens.match.controllers.CDetail.showCard(CDetail.java:53)
   at forge.screens.match.CMatchUI.setCard(CMatchUI.java:238)
   at forge.screens.match.CMatchUI.setCard(CMatchUI.java:233)
   at forge.gui.GuiChoose$1$1.valueChanged(GuiChoose.java:218)
   at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
   at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
   at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
   at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
   at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
   at javax.swing.JList.setSelectedIndex(Unknown Source)
   at javax.swing.JList.setSelectedValue(Unknown Source)
   at forge.gui.ListChooser$3.run(ListChooser.java:171)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(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.pumpEventsForFilter(Unknown Source)
   at java.awt.WaitDispatchSupport$2.run(Unknown Source)
   at java.awt.WaitDispatchSupport$4.run(Unknown Source)
   at java.awt.WaitDispatchSupport$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.WaitDispatchSupport.enter(Unknown Source)
   at java.awt.Dialog.show(Unknown Source)
   at java.awt.Component.show(Unknown Source)
   at java.awt.Component.setVisible(Unknown Source)
   at java.awt.Window.setVisible(Unknown Source)
   at java.awt.Dialog.setVisible(Unknown Source)
   at forge.view.FDialog.setVisible(FDialog.java:176)
   at forge.toolbox.FOptionPane.setVisible(FOptionPane.java:272)
   at forge.gui.ListChooser.show(ListChooser.java:178)
   at forge.gui.ListChooser.show(ListChooser.java:152)
   at forge.gui.GuiChoose$1.call(GuiChoose.java:233)
   at forge.gui.GuiChoose$1.call(GuiChoose.java:198)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(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)
Grim Rowe
 
Posts: 27
Joined: 17 Mar 2013, 15:52
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Megabiquette » 13 Nov 2014, 13:45

Description: Game ends as I win againt U/B control/reanimator deck in Shandalar.
ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.30-SNAPSHOT-r28167 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version:     1.8.0_25 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextNode(Unknown Source)
   at java.util.HashMap$EntryIterator.next(Unknown Source)
   at java.util.HashMap$EntryIterator.next(Unknown Source)
   at forge.game.combat.CombatView.getAttackingBandsOf(CombatView.java:132)
   at forge.screens.match.controllers.CCombat.getCombatDescription(CCombat.java:74)
   at forge.screens.match.controllers.CCombat.getCombatDescription(CCombat.java:66)
   at forge.screens.match.controllers.CCombat.update(CCombat.java:52)
   at forge.screens.match.CMatchUI.showCombat(CMatchUI.java:273)
   at forge.control.FControlGameEventHandler$1.run(FControlGameEventHandler.java:120)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(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)
Megabiquette
 
Posts: 20
Joined: 09 Nov 2014, 22:34
Has thanked: 4 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby matrix4767 » 13 Nov 2014, 16:43

Angelic Field Marshal's Lieutenant gives all my creatures 2/2 as well as herself, when it's only supposed to give vigilance.

-r28167
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby AlexFolland » 14 Nov 2014, 00:29

I stole the opponent's Melira, Sylvok Outcast using Gilded Drake which exchanged control of them. Then, on the next turn, the opponent used Time of Need to find another Melira, Sylvok Outcast and played it. There is no Mirror Gallery in play, and the game continued with both copies of Melira, Sylvok Outcast on the battlefield simultaneously for multiple steps.

I experienced this while running snapshot revision 28080.

Edit: Ignore this. I just discovered Wizards changed the legend rule in 2013. Weird. :/

Edit: In case you were curious, I won that game. It wasn't much of a problem since I could just bounce my Gilded Drake with Jace, the Mind Sculptor and steal every Melira, Silvok Outcast he played. Actually, technically, he got the infinite combo out, but the AI was merciful and only used it a few times and stopped.
AlexFolland
 
Posts: 41
Joined: 28 Aug 2012, 15:38
Has thanked: 4 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Megabiquette » 14 Nov 2014, 14:56

Not a bug, but when Fluxcharger's power and toughness are switched, they stay the same on the card. It's a bit awkward.
Megabiquette
 
Posts: 20
Joined: 09 Nov 2014, 22:34
Has thanked: 4 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby matrix4767 » 15 Nov 2014, 18:03

AI sacrifices Wooded Foothills and the game crashes:

Description: [describe what you were doing when the crash occurred]

IllegalArgumentException | Open
Code: Select all
Forge Version:    1.5.30-SNAPSHOT-r28167 (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_45 Oracle Corporation

java.lang.IllegalArgumentException: AI confirmAction does not know what to decide about null mode (api is null).
   at forge.ai.AiController.confirmAction(AiController.java:1016)
   at forge.ai.PlayerControllerAi.confirmAction(PlayerControllerAi.java:161)
   at forge.game.ability.effects.ChangeZoneEffect.changeZonePlayerInvariant(ChangeZoneEffect.java:720)
   at forge.game.ability.effects.ChangeZoneEffect.changeHiddenOriginResolve(ChangeZoneEffect.java:594)
   at forge.game.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:350)
   at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:60)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1232)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1214)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:466)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:964)
   at forge.game.GameAction.startGame(GameAction.java:1352)
   at forge.game.Match.startGame(Match.java:71)
   at forge.match.MatchUtil$2.run(MatchUtil.java:200)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Spelltwine also gave a nullpointer exception when one of the cards copied was Treasure Hunt.
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby pfirpfel » 17 Nov 2014, 20:53

The last ability of Riftmarked Knight does not trigger:
When the last time counter is removed from Riftmarked Knight while it's exiled, put a 2/2 black Knight creature token with flanking, protection from white, and haste onto the battlefield.
Was able to reproduce it every time with v1.5.29-r28053.

Steps:
1. Suspend Riftmarked Knight
2. Wait 3 turns and remove last time counter from it

Expected result:
Getting a knight token.

Actual result:
Ability does not trigger and therefore I'm not getting a Knight token.
pfirpfel
 
Posts: 8
Joined: 10 Nov 2014, 14:05
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby friarsol » 18 Nov 2014, 02:12

pfirpfel wrote:The last ability of Riftmarked Knight does not trigger:
When the last time counter is removed from Riftmarked Knight while it's exiled, put a 2/2 black Knight creature token with flanking, protection from white, and haste onto the battlefield.
Was able to reproduce it every time with v1.5.29-r28053.
I wasn't able to reproduce this on r28214. You seem to be on an old version. We recently released 1.5.30 which was based on 28200 or so. We recommend all users upgrade to the latest releases.
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 HarlequinCasts » 18 Nov 2014, 04:48

Sorry if this has been covered already. I am seeing the game crash pretty frequently at the resolution of a match between 2 AI during a quest mode tournament. it gives the following null pointer exception:

NullPointerException | Open
Code: Select all
Forge Version:    1.5.30-SNAPSHOT-r28167 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_45 Oracle Corporation

java.lang.NullPointerException
   at forge.screens.match.views.VLog.getNewGameLogEntries(VLog.java:179)
   at forge.screens.match.views.VLog.displayNewGameLogEntries(VLog.java:170)
   at forge.screens.match.views.VLog.updateConsole(VLog.java:132)
   at forge.screens.match.controllers.CLog$1.run(CLog.java:39)
   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)
Currently using 1.5.30 snapshot r28167
User avatar
HarlequinCasts
 
Posts: 922
Joined: 07 May 2013, 14:33
Has thanked: 68 times
Been thanked: 30 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 73 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 73 users online :: 0 registered, 0 hidden and 73 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 73 guests

Login Form