It is currently 12 Nov 2025, 07:24
   
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 Hanmac » 30 Aug 2016, 10:59

@Thrint: problem should be fixed in trunk with r32041.
the canPlay check needed to be updated because of LastBattlefield/LastGraveyard infomation used with Diregraf Colossus.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 30 Aug 2016, 15:50

r32028

AI controlled Crossroads Consecrator will tap and give +1/+1 bonus to my attacking human. Can't recall if it happens every time when I have an attacking human and AI's Crossroads Consecrator is untapped. However, but for some narrow exceptions (e.g Smite the Monstrous), the AI generally should never want to pump my attacking creature.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 31 Aug 2016, 20:35

:r32050
Queen Marchesa has bug.
She triggered when her controller has the monarch.(ability of create a token)
It's wrong trigger.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby solomonofisle » 01 Sep 2016, 17:32

Snapshot 32049
Lost match during quest in Theros (based of 30 Theros decks from Forums). After match loss, clicked OK to accept my cards and the below error popped up. Now occurs every time I play a duel any world and lose or win. Started on loss 9 (with 19 wins). Since I've hit variations of this after I've played 15-30 matches in quest, I'm going to nuke everything but my card images and reset. Otherwise I would have expected lots of folks to see it. :-)

NullPointerException | Open
Code: Select all
Forge Version:    1.5.56-SNAPSHOT-r32049
Operating System: Windows 10 10.0 x86
Java Version:     1.8.0_101 Oracle Corporation

java.lang.NullPointerException
   at forge.screens.home.quest.PnlEvent.<init>(PnlEvent.java:49)
   at forge.screens.home.quest.CSubmenuChallenges.update(CSubmenuChallenges.java:166)
   at forge.screens.match.QuestWinLose.actionOnQuit(QuestWinLose.java:74)
   at forge.screens.match.ControlWinLose$3.actionPerformed(ControlWinLose.java:54)
   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$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)
solomonofisle
 
Posts: 5
Joined: 23 Aug 2016, 16:09
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby fmartel » 06 Sep 2016, 00:51

Description: [AI3 is casting Merfolk Traders at his M2 phase, 2nd turn]

RuntimeException | Open
Code: Select all
Forge Version:    1.5.56-SNAPSHOT-r32056
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_101 Oracle Corporation

java.lang.RuntimeException: AbilityFactory : getAbility -- no Cost in Jeering Homunculus
   at forge.game.ability.AbilityFactory.parseAbilityCost(AbilityFactory.java:131)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:122)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:109)
   at forge.ai.AiController.checkETBEffects(AiController.java:260)
   at forge.ai.AiController.getPossibleETBCounters(AiController.java:158)
   at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1303)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1247)
   at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:392)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:923)
   at forge.game.GameAction.startGame(GameAction.java:1463)
   at forge.game.Match.startGame(Match.java:95)
   at forge.match.HostedMatch$2.run(HostedMatch.java:220)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 06 Sep 2016, 00:55

New Game, Aether Vial looks like this :
Attachments
Capture3.PNG
code onto card
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 06 Sep 2016, 01:07

game stuck after AI1 kills AI2.
Creepy Doll flip doesn't happen.
Attachments
Capture4.PNG
Creepy Doll no Flip
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 06 Sep 2016, 01:13

Description: [AI1 Droped a forest, then proceed to skip to next turn, Turn 1]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.56-SNAPSHOT-r32056
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_101 Oracle Corporation

java.lang.NullPointerException
   at forge.util.collect.FCollection.<init>(FCollection.java:90)
   at forge.game.card.CardCollection.<init>(CardCollection.java:115)
   at forge.game.ability.AbilityUtils.xCount(AbilityUtils.java:1548)
   at forge.game.ability.AbilityUtils.calculateAmount(AbilityUtils.java:396)
   at forge.ai.ability.CountersPutAi.doTriggerAINoCost(CountersPutAi.java:438)
   at forge.ai.SpellAbilityAi.doTriggerNoCostWithSubs(SpellAbilityAi.java:118)
   at forge.ai.SpellAbilityAi.doTriggerAI(SpellAbilityAi.java:113)
   at forge.ai.AiController.doTrigger(AiController.java:1380)
   at forge.ai.AiController.checkETBEffects(AiController.java:346)
   at forge.ai.AiController.canPlayFromEffectAI(AiController.java:1218)
   at forge.ai.AiController.canPlaySa(AiController.java:780)
   at forge.ai.AiController.canPlayAndPayFor(AiController.java:636)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1333)
   at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1308)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1247)
   at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:392)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:923)
   at forge.game.GameAction.startGame(GameAction.java:1463)
   at forge.game.Match.startGame(Match.java:95)
   at forge.match.HostedMatch$2.run(HostedMatch.java:220)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 06 Sep 2016, 19:33

is it just me or is this snapshot the worst ?
Just now : AI1 was attaking AI3, and game jammed on Dwarven Soldier being blocked
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 06 Sep 2016, 21:53

Trivial correction.
Duel Decks Nissa vs. Ob Nixilis should include 5 types Forests and Swamps.(4 only)
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby dryadson » 07 Sep 2016, 23:14

I use the android Forge build. The card Displace seems to be acting up.
It normally costs one Blue and two generic, but if I try to displace a Manic Scribe, it decides it wants a White mana instead.
This cripples the function of my deck, unfortunately. *laughs*
Attachments
Screenshot_2016-09-07-19-24-14.png
dryadson
 
Posts: 1
Joined: 07 Sep 2016, 23:05
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby fmartel » 09 Sep 2016, 18:43

Description: [in commander, Sacrificing an Eldrazi Spawn to pay cost of attachment of Sword of Feast and Famine]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.56-SNAPSHOT-r32076
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.view.arcane.PlayArea.selectCard(PlayArea.java:577)
   at forge.view.arcane.PlayArea.mouseLeftClicked(PlayArea.java:536)
   at forge.view.arcane.CardPanelContainer$2.mouseReleased(CardPanelContainer.java:165)
   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)
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 10 Sep 2016, 07:58

:r32078
Inventors' Fair has wrong text and ability.
Missing "Sacrifice".
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby matrix4767 » 10 Sep 2016, 08:34

r32078:

Apparently the AI can't handle having a creature with Melee ability on their field during their turn.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.56-SNAPSHOT-r32078
Operating System: Windows 7 6.1 x86
Java Version:     1.8.0_77 Oracle Corporation

java.lang.NullPointerException
   at forge.game.card.Card.getTriggeringObject(Card.java:788)
   at forge.game.card.CardFactoryUtil.xCount(CardFactoryUtil.java:1124)
   at forge.ai.ComputerUtilCombat.predictPowerBonusOfAttacker(ComputerUtilCombat.java:1284)
   at forge.ai.ComputerUtilCombat.damageIfUnblocked(ComputerUtilCombat.java:188)
   at forge.ai.AiAttackController.declareAttackers(AiAttackController.java:778)
   at forge.ai.ComputerUtilCard.doesCreatureAttackAI(ComputerUtilCard.java:412)
   at forge.ai.ComputerUtilCard.shouldPumpCard(ComputerUtilCard.java:1090)
   at forge.ai.ability.PumpAiBase$3.apply(PumpAiBase.java:444)
   at forge.ai.ability.PumpAiBase$3.apply(PumpAiBase.java:441)
   at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
   at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
   at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
   at forge.util.collect.FCollection.<init>(FCollection.java:90)
   at forge.game.card.CardCollection.<init>(CardCollection.java:115)
   at forge.game.card.CardLists.filter(CardLists.java:255)
   at forge.ai.ability.PumpAiBase.getPumpCreatures(PumpAiBase.java:441)
   at forge.ai.ability.PumpAi.pumpTgtAI(PumpAi.java:269)
   at forge.ai.ability.PumpAi.canPlayAI(PumpAi.java:204)
   at forge.ai.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:29)
   at forge.ai.AiController.canPlaySa(AiController.java:649)
   at forge.ai.AiController.canPlayAndPayFor(AiController.java:636)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1333)
   at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1308)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1247)
   at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:392)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:923)
   at forge.game.GameAction.startGame(GameAction.java:1463)
   at forge.game.Match.startGame(Match.java:95)
   at forge.match.HostedMatch$2.run(HostedMatch.java:220)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
You can get Hellbent Mythic achievement if you get another achievement first and the field is cleared after a game is done, it seems.
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 10 Sep 2016, 17:25

Selvala's Stampede has bug.
When all player voted "Free", all of creatures in the library enter the battlefield.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 57 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 57 users online :: 0 registered, 0 hidden and 57 guests (based on users active over the past 10 minutes)
Most users ever online was 9824 on 10 Nov 2025, 04:33

Users browsing this forum: No registered users and 57 guests

Login Form