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 swordshine » 07 Apr 2014, 04:48
I think it's broken when Max refactored those cost methods.Agetian wrote:Currently using r25356. I have an opponent's creature enchanted with Weight of Conscience. Now I want to use its ability to remove the creature from the game, and it looks like there's no way to activate that ability (I have two untapped creatures that share their type on the battlefield). Clicking on the enchantment card does nothing, nor does clicking on the opponent's creature or on the untapped creatures I would use to pay the cost. Am I missing something or is it a bug with the card?
- Agetian
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by friarsol » 07 Apr 2014, 12:16
Yea a bunch of stuff broke with Max's refactor. For how big a deal he makes when other people come into "his code" he has no problem going into other people's code and not testing commits in the area. I wonder if he's gone for good, or just on a long hiatus.swordshine wrote:I think it's broken when Max refactored those cost methods.
- 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 swordshine » 09 Apr 2014, 15:38
r25384, AI cast Caged Sun
- | Open
- Code: Select all
Game-0 > java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at forge.GuiDesktop.invokeInEdtAndWait(GuiDesktop.java:86)
at forge.FThreads.invokeInEdtAndWait(FThreads.java:53)
at forge.SGuiDialog.message(SGuiDialog.java:67)
at forge.player.PlayerControllerHuman.notifyOfValue(PlayerControllerHuman.java:758)
at forge.game.GameAction.nofityOfValue(GameAction.java:1486)
at forge.game.ability.effects.ChooseColorEffect.resolve(ChooseColorEffect.java:57)
at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:116)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1195)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1177)
at forge.ai.ComputerUtil.playNoStack(ComputerUtil.java:302)
at forge.ai.PlayerControllerAi.playSpellAbilityNoStack(PlayerControllerAi.java:297)
at forge.game.replacement.ReplacementHandler.executeReplacement(ReplacementHandler.java:228)
at forge.game.replacement.ReplacementHandler.run(ReplacementHandler.java:137)
at forge.game.replacement.ReplacementHandler.run(ReplacementHandler.java:73)
at forge.game.GameAction.changeZone(GameAction.java:182)
at forge.game.GameAction.moveTo(GameAction.java:394)
at forge.game.GameAction.moveTo(GameAction.java:375)
at forge.game.GameAction.moveToPlay(GameAction.java:528)
at forge.game.GameAction.moveTo(GameAction.java:663)
at forge.game.GameAction.moveTo(GameAction.java:642)
at forge.game.spellability.SpellPermanent.resolve(SpellPermanent.java:72)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:538)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1011)
at forge.game.GameAction.startGame(GameAction.java:1524)
at forge.game.Match.startGame(Match.java:80)
at forge.control.FControl$4.run(FControl.java:435)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1272)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1247)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
at forge.GuiDesktop.invokeInEdtAndWait(GuiDesktop.java:80)
... 28 more
Caused by: java.lang.NullPointerException: Can't find an image for FSkinProp null
at forge.toolbox.FSkin.getImage(FSkin.java:415)
at forge.GuiDesktop.showOptionDialog(GuiDesktop.java:129)
at forge.SOptionPane.showOptionDialog(SOptionPane.java:59)
at forge.SOptionPane.showMessageDialog(SOptionPane.java:29)
at forge.SGuiDialog$2.run(SGuiDialog.java:70)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by drdev » 10 Apr 2014, 00:23
Fixed in r25388.swordshine wrote:r25384, AI cast Caged Sun
- | Open
- Code: Select all
Game-0 > java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at forge.GuiDesktop.invokeInEdtAndWait(GuiDesktop.java:86)
at forge.FThreads.invokeInEdtAndWait(FThreads.java:53)
at forge.SGuiDialog.message(SGuiDialog.java:67)
at forge.player.PlayerControllerHuman.notifyOfValue(PlayerControllerHuman.java:758)
at forge.game.GameAction.nofityOfValue(GameAction.java:1486)
at forge.game.ability.effects.ChooseColorEffect.resolve(ChooseColorEffect.java:57)
at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:116)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1195)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1177)
at forge.ai.ComputerUtil.playNoStack(ComputerUtil.java:302)
at forge.ai.PlayerControllerAi.playSpellAbilityNoStack(PlayerControllerAi.java:297)
at forge.game.replacement.ReplacementHandler.executeReplacement(ReplacementHandler.java:228)
at forge.game.replacement.ReplacementHandler.run(ReplacementHandler.java:137)
at forge.game.replacement.ReplacementHandler.run(ReplacementHandler.java:73)
at forge.game.GameAction.changeZone(GameAction.java:182)
at forge.game.GameAction.moveTo(GameAction.java:394)
at forge.game.GameAction.moveTo(GameAction.java:375)
at forge.game.GameAction.moveToPlay(GameAction.java:528)
at forge.game.GameAction.moveTo(GameAction.java:663)
at forge.game.GameAction.moveTo(GameAction.java:642)
at forge.game.spellability.SpellPermanent.resolve(SpellPermanent.java:72)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:538)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1011)
at forge.game.GameAction.startGame(GameAction.java:1524)
at forge.game.Match.startGame(Match.java:80)
at forge.control.FControl$4.run(FControl.java:435)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1272)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1247)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
at forge.GuiDesktop.invokeInEdtAndWait(GuiDesktop.java:80)
... 28 more
Caused by: java.lang.NullPointerException: Can't find an image for FSkinProp null
at forge.toolbox.FSkin.getImage(FSkin.java:415)
at forge.GuiDesktop.showOptionDialog(GuiDesktop.java:129)
at forge.SOptionPane.showOptionDialog(SOptionPane.java:59)
at forge.SOptionPane.showMessageDialog(SOptionPane.java:29)
at forge.SGuiDialog$2.run(SGuiDialog.java:70)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Bug Reports (snapshot builds)
by Agetian » 10 Apr 2014, 07:12
r25392: Suffer the Past does not allow the X portion of the cost to be paid, thus always casting uselessly with X=0.
Weight of Conscience is still bugged - does anyone know how to fix this issue (caused by Max's refactoring of cost payment)?
- Agetian
Weight of Conscience is still bugged - does anyone know how to fix this issue (caused by Max's refactoring of cost payment)?
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by swordshine » 10 Apr 2014, 08:37
Fixed Weight of Conscience in r25394. Looks like something in isValid() method is not correct (if the property is "", that method returns false, this might break some effects).Agetian wrote:r25392: Suffer the Past does not allow the X portion of the cost to be paid, thus always casting uselessly with X=0.
Weight of Conscience is still bugged - does anyone know how to fix this issue (caused by Max's refactoring of cost payment)?
- Agetian
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by moomarc » 11 Apr 2014, 10:35
Does anyone have an idea of when the card detail panel stopped being displayed for the Vanguard avatar selection? Its kind of important for knowing what the avatar does.
Edit: Fixed
Edit: Fixed
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Bug Reports (snapshot builds)
by timmermac » 12 Apr 2014, 17:45
r25302: I'm not sure if this is a bug or not. +1/+1 counters on Raging Ravine stay in place after it stops being a creature.
"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 Sloth » 12 Apr 2014, 18:43
That's correct. Otherwise the whole ability would be completely useless.timmermac wrote:r25302: I'm not sure if this is a bug or not. +1/+1 counters on Raging Ravine stay in place after it stops being a creature.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by friarsol » 12 Apr 2014, 19:22
Yep, it even has a note about it "3/1/2010: Any +1/+1 counters put on Raging Ravine remain on it even after it stops being a creature. They'll have no effect until it becomes a creature again."Sloth wrote:That's correct. Otherwise the whole ability would be completely useless.timmermac wrote:r25302: I'm not sure if this is a bug or not. +1/+1 counters on Raging Ravine stay in place after it stops being a creature.
- 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 DeadSpeak » 17 Apr 2014, 07:02
Hi guys,
I've trying some of the new Journey into Nyx cards, from the scripts made. But when I try Godsend, Mana Confluence or Athreos, God of Passage, I keep getting this error message:
[spoiler=NullPointerException][code]
Forge Version: 1.5.16-SNAPSHOT-r25365 (mixed revisions detected; please update from the root directory)
Operating System: Windows 8 6.2 x86
Java Version: 1.7.0_51 Oracle Corporation
I know that it probably doesn't have anything to do with the cards, but if it is the "mixed revisions", how do I get rid of the "mixed revisions"? I have deleted the files in my Forge drive and deleted the libraries with the pictures and decks in the AppData folder and installed the latest snapshot, and it still gives me this error message. (When I added Iroas, God of Victory and Idolon of the Great Revel... no problem)
Any ideas...?
Thanks in advance,
DeadSpeak
I've trying some of the new Journey into Nyx cards, from the scripts made. But when I try Godsend, Mana Confluence or Athreos, God of Passage, I keep getting this error message:
[spoiler=NullPointerException][code]
Forge Version: 1.5.16-SNAPSHOT-r25365 (mixed revisions detected; please update from the root directory)
Operating System: Windows 8 6.2 x86
Java Version: 1.7.0_51 Oracle Corporation
I know that it probably doesn't have anything to do with the cards, but if it is the "mixed revisions", how do I get rid of the "mixed revisions"? I have deleted the files in my Forge drive and deleted the libraries with the pictures and decks in the AppData folder and installed the latest snapshot, and it still gives me this error message. (When I added Iroas, God of Victory and Idolon of the Great Revel... no problem)
Any ideas...?
Thanks in advance,
DeadSpeak
- DeadSpeak
- Posts: 104
- Joined: 25 Dec 2009, 00:14
- Location: Denmark
- Has thanked: 4 times
- Been thanked: 3 times
Re: Bug Reports (snapshot builds)
by friarsol » 17 Apr 2014, 12:16
That error message doesn't actually have the useful information about what is crashing, although that revision is fairly old, so I'd imagine it's not working because code was added after that snapshot release. The mixed revisions is due to a change in file structure, and has been happening for sometime. It's certainly not indicative of anything in particular.
- 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 swordshine » 22 Apr 2014, 05:08
Description: When I try to exchange control of my Holy Armor (Enchantment Aura) and an Enchantment creature an opponent controls
Give ai a creature, and an aura. AI would attach that aura. Add an enchantment to play and cast Daring Thief. Tap and then untap Daring Thief and target your enchantment and that aura.
- NullPointerException | Open
- Code: Select all
Forge Version: SVN
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_51 Oracle Corporation
java.lang.NullPointerException
at forge.view.arcane.PlayArea$CardStack.add(PlayArea.java:719)
at forge.view.arcane.PlayArea$CardStack.add(PlayArea.java:720)
at forge.view.arcane.PlayArea$CardStackRow.addAll(PlayArea.java:674)
at forge.view.arcane.PlayArea$CardStackRow.<init>(PlayArea.java:665)
at forge.view.arcane.PlayArea.doLayout(PlayArea.java:203)
at forge.view.arcane.PlayArea.recalculateCardPanels(PlayArea.java:566)
at forge.view.arcane.PlayArea.setupPlayZone(PlayArea.java:523)
at forge.screens.match.CMatchUI.updateZones(CMatchUI.java:347)
at forge.GuiDesktop.updateZones(GuiDesktop.java:349)
at forge.control.FControlGameEventHandler$3.run(FControlGameEventHandler.java:166)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Give ai a creature, and an aura. AI would attach that aura. Add an enchantment to play and cast Daring Thief. Tap and then untap Daring Thief and target your enchantment and that aura.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by swordshine » 24 Apr 2014, 14:38
Mindbreak Trap is broken. I cannot target any spells on the stack.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by KrazyTheFox » 25 Apr 2014, 22:13
- Code: Select all
Forge Version: SVN
Operating System: Windows 8 6.2 amd64
Java Version: 1.7.0_45 Oracle Corporation
java.lang.NoSuchMethodError: forge.screens.match.controllers.CField.access$000(Lforge/screens/match/controllers/CField;)Lforge/game/player/Player;
at forge.screens.match.controllers.CField$4$1.run(CField.java:110)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Who is online
Users browsing this forum: No registered users and 65 guests