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 Hellfish » 30 Apr 2013, 06:11
Last edited by timmermac on 30 Apr 2013, 12:51, edited 1 time in total.
Reason: enabled full card mouseover
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
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
-
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)
by 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)
Re: Bug Reports (snapshot builds)
by 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.
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.
Re: Bug Reports (snapshot builds)
by 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
Re: Bug Reports (snapshot builds)
by 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)
by 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.
Re: Bug Reports (snapshot builds)
by lsdmaster » 01 May 2013, 14:19
Phased Out Manta Ray dealt me damage. Forge updated to last version.
Re: Bug Reports (snapshot builds)
by 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)
by Max mtg » 01 May 2013, 15:31
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 landslsdmaster 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
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 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.
Other sources like the Liliana of the Dark Realms Emblem or Dark Ritual or previously tapped Swamp cards do not count.
Re: Bug Reports (snapshot builds)
by 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)
if i encode a spell in a Delver of Secrets and is transform it loses the encode ?
(Cipher)
-
Almeida - Posts: 41
- Joined: 24 Dec 2011, 04:48
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by BaloErets » 02 May 2013, 11:26
Description: Exception occurred when AI summoned Ranger of Eos. I was able to continue playing.
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)
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)
Re: Bug Reports (snapshot builds)
by 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.
)
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.

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.
Re: Bug Reports (snapshot builds)
by Pux » 04 May 2013, 09:48
Description: It happened during M2. The AI probably wanted to play Root-Kin Ally.
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 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)
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)
Re: Bug Reports (snapshot builds)
by lsdmaster » 04 May 2013, 20:21
In draft and sealed Gatecrash boosters have 14 cards.
Who is online
Users browsing this forum: No registered users and 18 guests