It is currently 19 Apr 2024, 02:49
   
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 Marek14 » 11 Apr 2017, 10:25

I cast Crime//Punishment, reanimating opponent's Kodama of the North Tree. After it died, I couldn't target it with another Crime//Punishment on my next turn, only the turn after.
Marek14
Tester
 
Posts: 2759
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 296 times

Re: Bug Reports (snapshot builds)

Postby AuranReign » 11 Apr 2017, 10:51

Mana Reflection isn't doubling mana production for nonland permanents, like Sol Ring and Rosheen Meanderer.
AuranReign
 
Posts: 16
Joined: 08 Apr 2017, 23:39
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Marek14 » 13 Apr 2017, 08:31

OK, here's a weird bug:

Whenever I pay mana and the last mana ability I activate involves removing counters (like Tendo Ice Bridge, Vivid lands, etc.), the game hangs. The only thing I can do is to click Cancel on the "remove a counter?" dialogue, and even that does nothing. I have to restart Forge.
Marek14
Tester
 
Posts: 2759
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 296 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 13 Apr 2017, 16:57

Marek14 wrote:OK, here's a weird bug:

Whenever I pay mana and the last mana ability I activate involves removing counters (like Tendo Ice Bridge, Vivid lands, etc.), the game hangs. The only thing I can do is to click Cancel on the "remove a counter?" dialogue, and even that does nothing. I have to restart Forge.
What version are you on?

I recently removed an exception that got thrown here, but it shouldn't cause Forge to hang I don't think...
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 AuranReign » 14 Apr 2017, 03:01

AI is activating Wicked Akuba prior to damaging me with it, and it is causing me to lose life.
Attachments
Screenshot_2017-04-13-19-58-29.png
AuranReign
 
Posts: 16
Joined: 08 Apr 2017, 23:39
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby AuranReign » 14 Apr 2017, 04:12

Conspiracy is not changing the creature type of my commander (Sidisi, Blood Tyrant) into the chosen creature type (Zombie) while in the command zone. I should have able to cast her for free with Rooftop Storm, but wasn't.

Also, the Vengeful Pharoah in my graveyard was unable to target Teysa, Envoy of Ghosts. She should have protection from creature permanents, not creature cards.
AuranReign
 
Posts: 16
Joined: 08 Apr 2017, 23:39
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Marek14 » 14 Apr 2017, 07:16

friarsol wrote:
Marek14 wrote:OK, here's a weird bug:

Whenever I pay mana and the last mana ability I activate involves removing counters (like Tendo Ice Bridge, Vivid lands, etc.), the game hangs. The only thing I can do is to click Cancel on the "remove a counter?" dialogue, and even that does nothing. I have to restart Forge.
What version are you on?

I recently removed an exception that got thrown here, but it shouldn't cause Forge to hang I don't think...
33741
Marek14
Tester
 
Posts: 2759
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 296 times

Re: Bug Reports (snapshot builds)

Postby Midori » 15 Apr 2017, 17:55

I just checked some of the new embalm cards in 1.5.61-SNAPSHOT-r33742.
Anointer Priest's ability didn't trigger when tokens entered the battlefield under my control, regardless whether they were created by spells, due to populate, or embalm.
Tested with both, Anointer Priest and embalmed Anointer Priest token.

I checked the card's .txt file but there doesn't seem to be anything wrong with it.
Midori
 
Posts: 55
Joined: 20 Apr 2014, 12:43
Has thanked: 1 time
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby Zirbert » 17 Apr 2017, 02:46

.By Force doesn't work in 1.5.61, r33747. The prompt says to select snow-covered lands as targets, then artifacts can't be selected, because the script says "ValidTgts$ Artifacts" (note the S at the end). Here's a fixed version:

Code: Select all
Name:By Force
ManaCost:X R
Types:Sorcery
A:SP$ Destroy | Cost$ X R | TargetMin$ 0 | TargetMax$ MaxTgts | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | References$ X,MaxTgts | SpellDescription$ Destroy X target artifacts.
# It may seem wrong to not use X in the target, but since the Targets are what defines X, it's redundant (and not supported by the code)
SVar:X:Targeted$Amount
SVar:MaxTgts:Count$Valid Artifact
SVar:Picture:http://www.wizards.com/global/images/magic/general/by_force.jpg
Oracle:Destroy X target artifacts.
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Bug Reports (snapshot builds)

Postby Zirbert » 17 Apr 2017, 03:13

1.5.61, r33747 - the return-to-hand ability of the Amonkhet Trials (e.g., Trial of Zeal: "When a Cartouche enters the battlefield under your control, return Trial of Zeal to its owner's hand.") trigger from the library when a Cartouche enters the battlefield. Nothing happens, because they aren't in play to return to your hand, but the triggers go onto the stack.
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Bug Reports (snapshot builds)

Postby Bog Wraith » 17 Apr 2017, 04:31

Forge_1.5.61-r33749:

Scrolling down card list with AKH set filter, in Editor, using keyboard. When you select Glorious End, the crash is generated. When you try and select the card with the mouse, it doesn't select the card and shows no card image or detail. It's as if the card is not in the DB, only a name place for it.

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

java.lang.ClassCastException: forge.game.ability.AbilityApiBased cannot be cast to forge.game.spellability.AbilitySub
   at forge.game.ability.AbilityFactory.getSubAbility(AbilityFactory.java:403)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:235)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:144)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:127)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:139)
   at forge.game.ability.AbilityFactory.getSubAbility(AbilityFactory.java:403)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:227)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:144)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:127)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:110)
   at forge.game.card.CardFactoryUtil.addAbilityFactoryAbilities(CardFactoryUtil.java:1932)
   at forge.game.card.CardFactory.readCardFace(CardFactory.java:468)
   at forge.game.card.CardFactory.readCard(CardFactory.java:396)
   at forge.game.card.CardFactory.getCard(CardFactory.java:255)
   at forge.game.card.CardFactory.getCard(CardFactory.java:250)
   at forge.game.card.Card.fromPaperCard(Card.java:6926)
   at forge.game.card.Card.getCardForUi(Card.java:6934)
   at forge.game.card.CardView.getCardForUi(CardView.java:40)
   at forge.screens.match.controllers.CDetailPicture.showItem(CDetailPicture.java:58)
   at forge.screens.deckeditor.CDeckEditorUI.setCard(CDeckEditorUI.java:83)
   at forge.screens.deckeditor.CDeckEditorUI$7.valueChanged(CDeckEditorUI.java:253)
   at forge.itemmanager.views.ItemView.onSelectionChange(ItemView.java:278)
   at forge.itemmanager.views.ItemListView$ItemTableModel$1.valueChanged(ItemListView.java:620)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
   at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
   at javax.swing.JTable.changeSelectionModel(JTable.java:2389)
   at javax.swing.JTable.changeSelection(JTable.java:2458)
   at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(BasicTableUI.java:559)
   at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
   at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
   at javax.swing.JTable.processKeyBinding(JTable.java:5259)
   at javax.swing.JComponent.processKeyBindings(JComponent.java:2943)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
   at java.awt.Component.processEvent(Component.java:6310)
   at java.awt.Container.processEvent(Container.java:2236)
   at java.awt.Component.dispatchEventImpl(Component.java:4889)
   at java.awt.Container.dispatchEventImpl(Container.java:2294)
   at java.awt.Component.dispatchEvent(Component.java:4711)
   at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
   at java.awt.Component.dispatchEventImpl(Component.java:4760)
   at java.awt.Container.dispatchEventImpl(Container.java:2294)
   at java.awt.Window.dispatchEventImpl(Window.java:2746)
   at java.awt.Component.dispatchEvent(Component.java:4711)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
   at java.awt.EventQueue$4.run(EventQueue.java:731)
   at java.awt.EventQueue$4.run(EventQueue.java:729)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
   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)
Edit

Same crash occurs for these cards as well:

Neheb, the Worthy

Plague Belcher

Reduce//Rubble


Also, split card's name should be Spring//Mind not Start//Mind in the db.
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: Bug Reports (snapshot builds)

Postby matrix4767 » 17 Apr 2017, 06:04

r33749:
If you have multiple creatures with Exert and attack with them, you can only choose one creature to exert a turn.
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Bog Wraith » 17 Apr 2017, 14:49

Bog Wraith wrote:Forge_1.5.61-r33749:

Scrolling down card list with AKH set filter, in Editor, using keyboard. When you select Glorious End, the crash is generated. When you try and select the card with the mouse, it doesn't select the card and shows no card image or detail. It's as if the card is not in the DB, only a name place for it.

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

java.lang.ClassCastException: forge.game.ability.AbilityApiBased cannot be cast to forge.game.spellability.AbilitySub
   at forge.game.ability.AbilityFactory.getSubAbility(AbilityFactory.java:403)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:235)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:144)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:127)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:139)
   at forge.game.ability.AbilityFactory.getSubAbility(AbilityFactory.java:403)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:227)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:144)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:127)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:110)
   at forge.game.card.CardFactoryUtil.addAbilityFactoryAbilities(CardFactoryUtil.java:1932)
   at forge.game.card.CardFactory.readCardFace(CardFactory.java:468)
   at forge.game.card.CardFactory.readCard(CardFactory.java:396)
   at forge.game.card.CardFactory.getCard(CardFactory.java:255)
   at forge.game.card.CardFactory.getCard(CardFactory.java:250)
   at forge.game.card.Card.fromPaperCard(Card.java:6926)
   at forge.game.card.Card.getCardForUi(Card.java:6934)
   at forge.game.card.CardView.getCardForUi(CardView.java:40)
   at forge.screens.match.controllers.CDetailPicture.showItem(CDetailPicture.java:58)
   at forge.screens.deckeditor.CDeckEditorUI.setCard(CDeckEditorUI.java:83)
   at forge.screens.deckeditor.CDeckEditorUI$7.valueChanged(CDeckEditorUI.java:253)
   at forge.itemmanager.views.ItemView.onSelectionChange(ItemView.java:278)
   at forge.itemmanager.views.ItemListView$ItemTableModel$1.valueChanged(ItemListView.java:620)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
   at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
   at javax.swing.JTable.changeSelectionModel(JTable.java:2389)
   at javax.swing.JTable.changeSelection(JTable.java:2458)
   at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(BasicTableUI.java:559)
   at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
   at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
   at javax.swing.JTable.processKeyBinding(JTable.java:5259)
   at javax.swing.JComponent.processKeyBindings(JComponent.java:2943)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
   at java.awt.Component.processEvent(Component.java:6310)
   at java.awt.Container.processEvent(Container.java:2236)
   at java.awt.Component.dispatchEventImpl(Component.java:4889)
   at java.awt.Container.dispatchEventImpl(Container.java:2294)
   at java.awt.Component.dispatchEvent(Component.java:4711)
   at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
   at java.awt.Component.dispatchEventImpl(Component.java:4760)
   at java.awt.Container.dispatchEventImpl(Container.java:2294)
   at java.awt.Window.dispatchEventImpl(Window.java:2746)
   at java.awt.Component.dispatchEvent(Component.java:4711)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
   at java.awt.EventQueue$4.run(EventQueue.java:731)
   at java.awt.EventQueue$4.run(EventQueue.java:729)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
   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)
Edit

Same crash occurs for these cards as well:

Neheb, the Worthy

Plague Belcher

Reduce//Rubble


Also, split card's name should be Spring//Mind not Start//Mind in the db.
r33753

Glorious End & Reduce//Rubble are still crashing Forge outright. The other two cards I listed above have been fixed.

Again, the split card Spring//Mind is still incorrectly named Start/Mind in the db.
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 18 Apr 2017, 00:11

matrix4767 wrote:r33749:
If you have multiple creatures with Exert and attack with them, you can only choose one creature to exert a turn.
Its a multi-select box.
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 Bog Wraith » 18 Apr 2017, 04:42

r33761

Unless I missed something, it appears that all the basic lands from AKH are not in the db. :o

I finished editing the files that allowed me to Draft & build Sealed decks but there were the 1 basic lands missing from each pack, thus I had only 84 cards for Sealed and 42 for my Draft pool.
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 65 guests


Who is online

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

Login Form