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 Chris H. » 06 Feb 2012, 17:41
`ArsenalNut wrote:I think r13841 broke the mana pool. If I revert to r13840, the mana pool works fine. If I update to r13845, I get a NPE in FLabel.java:237. Sometimes the NPE shows up on the first click and sometimes on the second click when I am trying to pay mana.
Providing a crash report for more info:
- Crash Report | Open
- This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version SVN
OS: Mac OS X Version: 10.7.3 Architecture: x86_64
Java Version: 1.6.0_29 Vendor: Apple Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.view.toolbox.FLabel$2.mouseClicked(FLabel.java:237)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6376)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6138)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4735)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4291)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:679)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:652)
at java.awt.EventQueue$2.run(EventQueue.java:650)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Bug Reports (snapshot builds)
by Doublestrike » 07 Feb 2012, 00:28
Haha I guess that's a decrease :/ thanks for that ArsenalNut and Chris. Should be fixed now, added a check is all.ArsenalNut wrote:I think r13841 broke the mana pool. If I revert to r13840, the mana pool works fine. If I update to r13845, I get a NPE in FLabel.java:237. Sometimes the NPE shows up on the first click and sometimes on the second click when I am trying to pay mana.Doublestrike wrote:I've just finished converted FSkin to a singleton static factory (r13845)
I'm interested to know if people notice a(ny) performance increase/decrease in the UI?
(There will be a few more performance fixes soon)
Other than that, no speedup noticed yet, I suppose...
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: Bug Reports (snapshot builds)
by timmermac » 07 Feb 2012, 01:03
I got the snapshot build based on r13824 and I haven't noticed any performance hits on my soon-to-be-dead-of-cracked-heads-on-the-motherboard machine.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Bug Reports (snapshot builds)
by Iran » 07 Feb 2012, 01:31
Ai trying to cast Acidic Slime from its hand paying mana with 2 Forest, 1 Swamp, 1 Dragonskull Summit and 1 Everflowing Chalice (without charges count on it) and I get this Crash Report and the game frozen (I can't continue to play)
I use forge-1.2.4-20120205.122738-2
- "Crash Report" | Open
- This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
ComputerUtil : payManaCost() cost was not paid for Acidic Slime
Version:
Forge version 1.2.4-SNAPSHOT-r13824
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_25 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Acidic Slime
at forge.ComputerUtil.payManaCost(ComputerUtil.java:905)
at forge.ComputerUtil.payManaCost(ComputerUtil.java:602)
at forge.card.cost.CostMana.payAI(CostMana.java:192)
at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:309)
at forge.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:190)
at forge.ComputerUtil.playSpellAbilities(ComputerUtil.java:125)
at forge.ComputerAIGeneral.playCards(ComputerAIGeneral.java:93)
at forge.ComputerAIGeneral.main2(ComputerAIGeneral.java:76)
at forge.ComputerAIInput.think(ComputerAIInput.java:111)
at forge.ComputerAIInput.showMessage(ComputerAIInput.java:71)
at forge.GuiInput.setInput(GuiInput.java:68)
at forge.GuiInput.update(GuiInput.java:54)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:38)
at forge.PhaseHandler.nextPhase(PhaseHandler.java:545)
at forge.control.match.ControlInput$1.actionPerformed(ControlInput.java:57)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)
I use forge-1.2.4-20120205.122738-2
Re: Bug Reports (snapshot builds)
by pwangsta » 07 Feb 2012, 02:21
forge-1.2.4-20120205.122738-2
Phyrexian Metamorph copying a Delver of Secrets doesn't flip when an instant/sorcery is revealed.
Phyrexian Metamorph copying a Delver of Secrets doesn't flip when an instant/sorcery is revealed.
- pwangsta
- Posts: 20
- Joined: 10 Jun 2011, 12:09
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by friarsol » 07 Feb 2012, 02:24
Not a bug. Cloned DFCs don't have a second face.pwangsta wrote:forge-1.2.4-20120205.122738-2
Phyrexian Metamorph copying a Delver of Secrets doesn't flip when an instant/sorcery is revealed.
- 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 pwangsta » 07 Feb 2012, 05:49
Oops. My bad!friarsol wrote:Not a bug. Cloned DFCs don't have a second face.pwangsta wrote:forge-1.2.4-20120205.122738-2
Phyrexian Metamorph copying a Delver of Secrets doesn't flip when an instant/sorcery is revealed.
I'm not sure if this is new or not since I haven't faced one until recently when I swapped out all the quest decks for my own concoctions, but when the AI plays Glint Hawk, the "sac unless you return an artifact to your hand" trigger is put on the stack, but Glint Hawk is never sacrificed even when the AI fails to bounce an artifact.
- pwangsta
- Posts: 20
- Joined: 10 Jun 2011, 12:09
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by jeffwadsworth » 07 Feb 2012, 17:38
I tested this an under Rev. 13881, the AI never cast a Glint Hawk without first having an artifact to bounce.pwangsta wrote:Oops. My bad!friarsol wrote:Not a bug. Cloned DFCs don't have a second face.pwangsta wrote:forge-1.2.4-20120205.122738-2
Phyrexian Metamorph copying a Delver of Secrets doesn't flip when an instant/sorcery is revealed.
I'm not sure if this is new or not since I haven't faced one until recently when I swapped out all the quest decks for my own concoctions, but when the AI plays Glint Hawk, the "sac unless you return an artifact to your hand" trigger is put on the stack, but Glint Hawk is never sacrificed even when the AI fails to bounce an artifact.
- jeffwadsworth
- Super Tester Elite
- Posts: 1171
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 69 times
Re: Bug Reports (snapshot builds)
by squee1968 » 08 Feb 2012, 04:38
Build 13872. Slave of Bolas was cast by the AI for the second time in a game, and chose to target what was targeted the first time it was cast, even though there wasn't one on the battlefield. (In this particular case, Zealot il-Vec, if that matters).
Re: Bug Reports (snapshot builds)
by ArsenalNut » 08 Feb 2012, 05:12
I recently saw something similar with the AI targeting a Birds of Paradise in my graveyard with a Traitorous Blood.squee1968 wrote:Build 13872. Slave of Bolas was cast by the AI for the second time in a game, and chose to target what was targeted the first time it was cast, even though there wasn't one on the battlefield. (In this particular case, Zealot il-Vec, if that matters).
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Bug Reports (snapshot builds)
by Sloth » 08 Feb 2012, 07:29
Should be fixed with r13889. Thanks squee and ArsenalNut.ArsenalNut wrote:I recently saw something similar with the AI targeting a Birds of Paradise in my graveyard with a Traitorous Blood.squee1968 wrote:Build 13872. Slave of Bolas was cast by the AI for the second time in a game, and chose to target what was targeted the first time it was cast, even though there wasn't one on the battlefield. (In this particular case, Zealot il-Vec, if that matters).
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by Iran » 08 Feb 2012, 13:35
1) I have Death's Shadow on battlefield with 6/6 (I have 7 life) then I cast Momentous Fall and sacrifices Death's Shadow, I gain 13 life and draw 13 cards.
2) Ai cast Death's Shadow even when have more than 13 life. Then Death's Shadow goes to graveyard
I use forge-1.2.4-20120207.121903 r13872
2) Ai cast Death's Shadow even when have more than 13 life. Then Death's Shadow goes to graveyard
I use forge-1.2.4-20120207.121903 r13872
Re: Bug Reports (snapshot builds)
by squee1968 » 09 Feb 2012, 00:06
Build 13872. I have Coldsteel Heart untapped and set to green. I try to cast Primeval Titan, clicking the card in my hand first and paying the colorless out of my mana pool, but cannot tap the Coldsteel Heart for the green. But when I cancel the Primeval Titan, I can tap the Coldsteel Heart for green just fine.
Re: Bug Reports (snapshot builds)
by Iran » 09 Feb 2012, 13:42
1) Ai cast Phantasmal Image even when not exists creature(s) on battlefield to copy
I use forge-1.2.4-20120208.120639-5 r.13892
I use forge-1.2.4-20120208.120639-5 r.13892
Re: Bug Reports (snapshot builds)
by ArsenalNut » 10 Feb 2012, 04:09
This situation should be fixed in r13930 so that it won't cause a crash anymore. There's still an issue that the AI will cast Everflowing Chalice without paying any kickers which I assume why it has SVar:RemAIDeck:True in the script.Iran wrote:Ai trying to cast Acidic Slime from its hand paying mana with 2 Forest, 1 Swamp, 1 Dragonskull Summit and 1 Everflowing Chalice (without charges count on it) and I get this Crash Report and the game frozen (I can't continue to play)
- "Crash Report" | Open
- This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
ComputerUtil : payManaCost() cost was not paid for Acidic Slime
Version:
Forge version 1.2.4-SNAPSHOT-r13824
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_25 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Acidic Slime
at forge.ComputerUtil.payManaCost(ComputerUtil.java:905)
at forge.ComputerUtil.payManaCost(ComputerUtil.java:602)
at forge.card.cost.CostMana.payAI(CostMana.java:192)
at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:309)
at forge.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:190)
at forge.ComputerUtil.playSpellAbilities(ComputerUtil.java:125)
at forge.ComputerAIGeneral.playCards(ComputerAIGeneral.java:93)
at forge.ComputerAIGeneral.main2(ComputerAIGeneral.java:76)
at forge.ComputerAIInput.think(ComputerAIInput.java:111)
at forge.ComputerAIInput.showMessage(ComputerAIInput.java:71)
at forge.GuiInput.setInput(GuiInput.java:68)
at forge.GuiInput.update(GuiInput.java:54)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:38)
at forge.PhaseHandler.nextPhase(PhaseHandler.java:545)
at forge.control.match.ControlInput$1.actionPerformed(ControlInput.java:57)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)
I use forge-1.2.4-20120205.122738-2
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Who is online
Users browsing this forum: No registered users and 45 guests