It is currently 24 Apr 2024, 16:05
   
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 Jobexi » 07 May 2017, 04:34

This is a bug that's wider than just the most recent snapshot builds, so I hope this is in the right place.

When the Quest mode attempts to unlock Starter 1999, it fails, crashing the game. There is no line in the editions file to tell the game how packs are constructed.

I'm not sure what sets fit in the "Starters" category. If Portal is part of "starters" I recommend moving Starter 1999 to "Other", or something similar. (I've solved the issue in my current setup by doing just that - It now doesn't offer to unlock Starter 1999)
Jobexi
 
Posts: 13
Joined: 03 May 2017, 16:31
Has thanked: 3 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 07 May 2017, 12:43

Jobexi wrote:This is a bug that's wider than just the most recent snapshot builds, so I hope this is in the right place.
FYI, it's not the width we're looking for in bug reports. It's recency. If you have a recent snapshot build, post here. If you're using the releases, post in that thread. (I have a link in my signature for more information)
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby Mrs Non-Gorilla » 07 May 2017, 15:28

I get a crash on launching Forge, in the middle of trying to draw the main window. This error message comes from r33945, but essentially the same thing happens in the beta:

ClassCastException | Open
Code: Select all
Forge Version:    1.5.62-SNAPSHOT-r-1
Operating System: Mac OS X 10.10.5 x86_64
Java Version:     1.8.0_31 Oracle Corporation

java.lang.ClassCastException: forge.deck.ColorDeckGenerator cannot be cast to forge.item.IPaperCard
   at forge.itemmanager.views.ImageView$CardViewDisplay.drawItemImage(ImageView.java:1107)
   at forge.itemmanager.views.ImageView$CardViewDisplay.paintComponent(ImageView.java:1078)
   at javax.swing.JComponent.paint(JComponent.java:1054)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JViewport.paint(JViewport.java:728)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at forge.toolbox.FScrollPane.paint(FScrollPane.java:96)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JViewport.paint(JViewport.java:728)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5229)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1572)
   at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1495)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1265)
   at javax.swing.JComponent.paint(JComponent.java:1040)
   at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
   at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79)
   at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116)
   at java.awt.Container.paint(Container.java:1973)
   at java.awt.Window.paint(Window.java:3901)
   at forge.toolbox.FSkin$SkinnedFrame.paint(FSkin.java:1802)
   at javax.swing.RepaintManager$4.run(RepaintManager.java:835)
   at javax.swing.RepaintManager$4.run(RepaintManager.java:807)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:807)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:782)
   at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:731)
   at javax.swing.RepaintManager.access$1300(RepaintManager.java:64)
   at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1720)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:702)
   at java.awt.EventQueue$3.run(EventQueue.java:696)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Mrs Non-Gorilla
 
Posts: 74
Joined: 18 Nov 2014, 20:32
Has thanked: 3 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby Mrs Non-Gorilla » 08 May 2017, 20:48

r33967-33968: Attempting to create a new quick gauntlet causes a crash. A typical error message (from r33968):

NullPointerException | Open
Code: Select all
Forge Version:    1.5.63-SNAPSHOT-r-1
Operating System: Mac OS X 10.10.5 x86_64
Java Version:     1.8.0_31 Oracle Corporation

java.lang.NullPointerException
   at forge.game.player.RegisteredPlayer.restoreDeck(RegisteredPlayer.java:178)
   at forge.game.player.RegisteredPlayer.<init>(RegisteredPlayer.java:40)
   at forge.screens.home.gauntlet.CSubmenuGauntletQuick.startGame(CSubmenuGauntletQuick.java:83)
   at forge.screens.home.gauntlet.CSubmenuGauntletQuick.access$000(CSubmenuGauntletQuick.java:25)
   at forge.screens.home.gauntlet.CSubmenuGauntletQuick$1.actionPerformed(CSubmenuGauntletQuick.java:31)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
   at java.awt.Component.processMouseEvent(Component.java:6525)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3322)
   at java.awt.Component.processEvent(Component.java:6290)
   at java.awt.Container.processEvent(Container.java:2234)
   at java.awt.Component.dispatchEventImpl(Component.java:4881)
   at java.awt.Container.dispatchEventImpl(Container.java:2292)
   at java.awt.Component.dispatchEvent(Component.java:4703)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
   at java.awt.Container.dispatchEventImpl(Container.java:2278)
   at java.awt.Window.dispatchEventImpl(Window.java:2739)
   at java.awt.Component.dispatchEvent(Component.java:4703)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:702)
   at java.awt.EventQueue$3.run(EventQueue.java:696)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
   at java.awt.EventQueue$4.run(EventQueue.java:724)
   at java.awt.EventQueue$4.run(EventQueue.java:722)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
This seems to happen whatever deck I'm trying to play with; let me know if you want more specifics.
Mrs Non-Gorilla
 
Posts: 74
Joined: 18 Nov 2014, 20:32
Has thanked: 3 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 08 May 2017, 21:49

r33962

Djeru's Resolve seems to not prevent damage to the creature (though the creature does get untapped).

Also, whenever the AI plays Watchers of the Dead it always IMMEDIATELY exiles it to do its ability.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 08 May 2017, 22:17

:r33968
When I controlled Mikaeus, the Unhallowed, Triskelion and Dimir House Guard,
I have activated Triskelion's ability used all counters on it, then sacrificed by Dimir House Gurad's ability.(All ability is still on stack)
But Triskelion's Undying is not triggered in spite of Triskelion has no counters.
Please refer to attachment.
Attachments
capture_001_09052017_071418.jpg
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 10 May 2017, 16:22

Forge V1.5.63-SNAPSHOT-r33984, In commander, after I killed an opponent (AI), at the end of his turn, an effect of the monarch makes everybody draw a card. but since he's dead, Forge froze...
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 Hanmac » 10 May 2017, 19:30

stormcat wrote::r33968
When I controlled Mikaeus, the Unhallowed, Triskelion and Dimir House Guard,
I have activated Triskelion's ability used all counters on it, then sacrificed by Dimir House Gurad's ability.(All ability is still on stack)
But Triskelion's Undying is not triggered in spite of Triskelion has no counters.
Please refer to attachment.
i could not reproduce it yet.
Probably it has something to do with when the card does has the latest state of the Triskelion.

when i did test it, and debug it, Game#getLastStateBattlefield always says it doesn't have Triskelion anymore and it is already in Game#getLastStateGraveyard. and always use the current object (which should be the state before sacrifice)
i will set the other debuggers to check that out too.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 10 May 2017, 23:09

Description: [In commander, at AI's M1 turn, he casted Benefactor's Draught]

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

java.lang.RuntimeException: TriggerFactory : registerTrigger -- trigParse too short
   at forge.game.trigger.TriggerHandler.parseParams(TriggerHandler.java:172)
   at forge.game.trigger.TriggerHandler.parseTrigger(TriggerHandler.java:145)
   at forge.game.ability.effects.EffectEffect.resolve(EffectEffect.java:159)
   at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:119)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1290)
   at forge.game.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1283)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1297)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1271)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:514)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:999)
   at forge.game.GameAction.startGame(GameAction.java:1497)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   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 stormcat » 11 May 2017, 01:29

:r33984
Puzzle of Possibility Storm #2,

1, Cast Tezzeret's Touch targeting Etherium Cell
2, Activated Tezzeret the Schemer's ultimate
3, Begin combat, triggered emblem targeting Electrostatic Pummeler
4, Cast Savage Alliance choosing mode 1 and 3
5, Attack with all creatures

For some reason, AI didn't block.(After this, I activated Electrostatic Pummeler's ability and I win)

And Log is wrong information of Electrostatic Pummeler's ability.
It show +10/+10 in spite of *5/+5.
Attachments
capture_001_11052017_100410.jpg
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 11 May 2017, 01:48

r33984

Shed Weakness's remove -1/-1 counter effect is a "may" ability, but I was not given the option
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 11 May 2017, 07:47

r33984

Countered an Aftermath card as it was cast, and it went back into the opponent's graveyard, but should be exiled after leaving the stack.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 14 May 2017, 23:13

r34016

Not sure how easy this would be to fix (an AI thing) but when a creature has had its damage prevented by Gideon of the Trials, CPU still attacks with it as if it could do damage.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 16 May 2017, 09:11

r34017

When a creature's embalm ability is activated from the graveyard, it triggers Harsh Mentor, when it should not since it's not on the battlefield.

Edit: This happened when I controlled a Harsh Mentor on the battlefield and CPU embalmed Aven Wind Guide. Strangely, this did not happen when the CPU embalmed a Tah-Crop Skirmisher
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 16 May 2017, 14:36

tjtillman wrote:r34017

When a creature's embalm ability is activated from the graveyard, it triggers Harsh Mentor, when it should not since it's not on the battlefield.

Edit: This happened when I controlled a Harsh Mentor on the battlefield and CPU embalmed Aven Wind Guide. Strangely, this did not happen when the CPU embalmed a Tah-Crop Skirmisher
I can't reproduce this yet... There's probably more to this than just the creature which is embalmed and the fact of controlling Harsh Mentor :/ Can you please post a battlefield screenshot and the log if this happens to you again?

- Agetian
Agetian
Programmer
 
Posts: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 37 guests


Who is online

In total there are 37 users online :: 0 registered, 0 hidden and 37 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 37 guests

Login Form