It is currently 18 Jul 2025, 15:44
   
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 Hellfish » 30 Apr 2013, 06:11

:arrow: Serene Remembrance should be fixed, thanks! :)
Last edited by timmermac on 30 Apr 2013, 12:51, edited 1 time in total.
Reason: enabled full card mouseover
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Bug Reports (snapshot builds)

Postby BaloErets » 30 Apr 2013, 09:13

Description: Conceded a round and got this NPE

NullPointerException | Open
Code: Select all
Forge Version:    1.3.14-SNAPSHOT-r21250
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.card.cardfactory.CardFactoryUtil.getCardListForXCount(CardFactoryUtil.java:1674)
   at forge.card.cardfactory.CardFactoryUtil.xCount(CardFactoryUtil.java:1580)
   at forge.card.ability.AbilityUtils.xCount(AbilityUtils.java:1245)
   at forge.card.ability.AbilityUtils.calculateAmount(AbilityUtils.java:349)
   at forge.card.staticability.StaticAbilityContinuous.applyContinuousAbility(StaticAbilityContinuous.java:110)
   at forge.card.staticability.StaticAbility.applyAbility(StaticAbility.java:243)
   at forge.game.GameAction.checkStaticAbilities(GameAction.java:892)
   at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:190)
   at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:201)
   at forge.game.GameAction.checkStateEffects(GameAction.java:1084)
   at forge.gui.match.controllers.CDock.concede(CDock.java:84)
   at forge.gui.match.controllers.CDock$4.mousePressed(CDock.java:308)
   at java.awt.AWTEventMulticaster.mousePressed(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)
BaloErets
 
Posts: 32
Joined: 20 Apr 2013, 00:51
Has thanked: 19 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Diogenes » 30 Apr 2013, 10:00

When Talus Paladin's ability resolves, the user should receive a prompt to choose between the ability's four modes (lifelink plus counter, one of the two, or neither.) Currently there's a yes/no prompt that grants both or neither.

On a separate note, would it help you guys out to have a thread specifically for likely card script issues? I'm always running the latest daily, but I feel like I'm cluttering this thread with low priority items when I post a bug relating to a single card. It would cut down duplication between the snapshot bug reports and the release thread, and prevent bugs from being 'lost' to the older announcement threads.
Diogenes
 
Posts: 201
Joined: 12 Jul 2012, 00:54
Has thanked: 39 times
Been thanked: 23 times

Re: Bug Reports (snapshot builds)

Postby lsdmaster » 30 Apr 2013, 13:54

In Time Spiral draft and sealed, Time Spiral boosters contain 14 cards (no timeshifted).

General bug report | Open
Code: Select all
Forge Version:    1.3.14-SNAPSHOT-r21266
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_21 Oracle Corporation
lsdmaster
 
Posts: 15
Joined: 23 Apr 2013, 12:23
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby mortimermcmire » 30 Apr 2013, 19:56

Description: Just won a game in quest mode, crashed. Tried with many different parameters, all end in some error or another (unable to get packs).

ArithmeticException | Open
Code: Select all
Forge Version:    1.3.14-SNAPSHOT-r21266
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_06 Oracle Corporation

java.lang.ArithmeticException: / by zero
   at forge.gui.match.QuestWinLose.populateCustomPanel(QuestWinLose.java:212)
   at forge.gui.match.ViewWinLose.<init>(ViewWinLose.java:129)
   at forge.game.MatchController$1.run(MatchController.java:123)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(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)
mortimermcmire
 
Posts: 5
Joined: 30 Apr 2013, 19:53
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Diogenes » 01 May 2013, 04:26

If you pair Geist of Saint Traft 's angel with any Soulbond creature, the creature that gives Soulbond doesn't unpair when the token is exiled.
Diogenes
 
Posts: 201
Joined: 12 Jul 2012, 00:54
Has thanked: 39 times
Been thanked: 23 times

Re: Bug Reports (snapshot builds)

Postby lsdmaster » 01 May 2013, 14:19

Phased Out Manta Ray dealt me damage. Forge updated to last version.
lsdmaster
 
Posts: 15
Joined: 23 Apr 2013, 12:23
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby swordshine » 01 May 2013, 15:10

r21271, when AI's Jugan, the Rising Star dies, AI distributes infinite counters.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 01 May 2013, 15:31

lsdmaster wrote:In Time Spiral draft and sealed, Time Spiral boosters contain 14 cards (no timeshifted).

General bug report | Open
Code: Select all
Forge Version:    1.3.14-SNAPSHOT-r21266
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_21 Oracle Corporation
Whoever has access to svn - change the line in boosterdata.txt related to tsp: add set code TSB for 'TimeShifted' slot, in the same way as it is done for basic lands
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 mark » 01 May 2013, 15:44

The sorcery Drain Life cannot use B mana from the mana pool for X, a Swamp must be tapped for paying X while casting the spell, otherwise X stays 0 or whatever it was.
Other sources like the Liliana of the Dark Realms Emblem or Dark Ritual or previously tapped Swamp cards do not count.
mark
 
Posts: 138
Joined: 28 Dec 2011, 11:32
Has thanked: 6 times
Been thanked: 11 times

Re: Bug Reports (snapshot builds)

Postby Almeida » 02 May 2013, 06:13

hey guys i have a question ...
if i encode a spell in a Delver of Secrets and is transform it loses the encode ?
(Cipher)
User avatar
Almeida
 
Posts: 41
Joined: 24 Dec 2011, 04:48
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby BaloErets » 02 May 2013, 11:26

Description: Exception occurred when AI summoned Ranger of Eos. I was able to continue playing.

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.3.14-SNAPSHOT-r21266
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
   at java.util.Vector.get(Unknown Source)
   at forge.game.zone.MagicStack.peekAbility(MagicStack.java:883)
   at forge.gui.match.views.VStack.updateStack(VStack.java:141)
   at forge.gui.match.controllers.CStack$1.run(CStack.java:43)
   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)
/

Description: Got a similar Exception next turn when AI summoned Preeminent Captain. I have a feeling it has something to do with me having Invoke Prejudice in play.

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.3.14-SNAPSHOT-r21266
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
   at java.util.Vector.get(Unknown Source)
   at forge.game.zone.MagicStack.peekAbility(MagicStack.java:883)
   at forge.gui.match.views.VStack.updateStack(VStack.java:141)
   at forge.gui.match.controllers.CStack$1.run(CStack.java:43)
   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)
BaloErets
 
Posts: 32
Joined: 20 Apr 2013, 00:51
Has thanked: 19 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Diogenes » 02 May 2013, 23:28

Planeswalker emblem images have stopped working. Currently, the first emblem you receieve will use the "null" image (multi-color piping with what looks like sand dunes in the art box,) and will have a name displayed in the text overlay. Each additional token will have no image and no name. (Edit: technically emblems have no name, so no text overlay is actually the proper behavior. :P)

Koth of the Hammer 's +1 ability won't go on the stack if there isn't a mountain to target on the battlefield. Unless I'm very mistaken, you don't need a valid target for loyalty abilities to go on the stack and add a loyalty counter.
Diogenes
 
Posts: 201
Joined: 12 Jul 2012, 00:54
Has thanked: 39 times
Been thanked: 23 times

Re: Bug Reports (snapshot builds)

Postby Pux » 04 May 2013, 09:48

Description: It happened during M2. The AI probably wanted to play Root-Kin Ally.

RuntimeException | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_03 Oracle Corporation

java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Root-Kin Ally
   at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:257)
   at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:289)
   at forge.card.cost.CostPartMana.payAI(CostPartMana.java:161)
   at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:196)
   at forge.game.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:116)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:877)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:825)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Another similar error:
Description: I attacked with two creatures, the AI wanted with Transguild courier and wanted to play Gather courage.

RuntimeException | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_03 Oracle Corporation

java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Gather Courage (3)
   at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:105)
   at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:289)
   at forge.card.cost.CostPartMana.payAI(CostPartMana.java:161)
   at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:196)
   at forge.game.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:116)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:877)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:825)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Convoke seems to be broken somehow.
Pux
 
Posts: 99
Joined: 12 Feb 2013, 13:48
Has thanked: 12 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby lsdmaster » 04 May 2013, 20:21

In draft and sealed Gatecrash boosters have 14 cards.
lsdmaster
 
Posts: 15
Joined: 23 Apr 2013, 12:23
Has thanked: 1 time
Been thanked: 0 time

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 17 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 17 users online :: 0 registered, 0 hidden and 17 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: No registered users and 17 guests

Login Form