It is currently 01 Nov 2025, 15:23
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby Nordos » 01 Dec 2014, 18:34

Description: auto-paying mana with Skittering Invasion (first snapshot build)

RuntimeException | Open
Code: Select all
Forge Version:    1.5.32-SNAPSHOT-r28326 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: Cannot remove input InputPayManaOfCostPayment because it's not on top of stack. Stack = []
   at forge.match.input.InputQueue.removeInput(InputQueue.java:59)
   at forge.match.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:49)
   at forge.match.input.InputPayMana.onStateChanged(InputPayMana.java:421)
   at forge.match.input.InputPayMana$3.run(InputPayMana.java:372)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Nordos
 
Posts: 558
Joined: 23 May 2011, 14:06
Has thanked: 6 times
Been thanked: 18 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 02 Dec 2014, 19:16

As of r28358, I don't get the background music playing anywhere in Forge. The sound effects work fine. As a side note, looks like both the latest (mentioned) desktop SVN build and the latest posted mobile version are affected. Tried it on Linux Mint (Desktop) and on Android (Mobile), double checked that music is enabled, but got no music playing anywhere in the game.

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby goonjamin » 03 Dec 2014, 00:09

I am also seeing this on a windows 7 (32bit) machine with the same revision as Agetian. I am using the latest version of Java 7 in case that makes any difference.

Edit: R28326 was the last version I had installed and the background music works as expected in this revision.

Agetian wrote:As of r28358, I don't get the background music playing anywhere in Forge. The sound effects work fine. As a side note, looks like both the latest (mentioned) desktop SVN build and the latest posted mobile version are affected. Tried it on Linux Mint (Desktop) and on Android (Mobile), double checked that music is enabled, but got no music playing anywhere in the game.

- Agetian
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 03 Dec 2014, 04:54

goonjamin wrote:I am also seeing this on a windows 7 (32bit) machine with the same revision as Agetian. I am using the latest version of Java 7 in case that makes any difference.

Edit: R28326 was the last version I had installed and the background music works as expected in this revision.

Agetian wrote:As of r28358, I don't get the background music playing anywhere in Forge. The sound effects work fine. As a side note, looks like both the latest (mentioned) desktop SVN build and the latest posted mobile version are affected. Tried it on Linux Mint (Desktop) and on Android (Mobile), double checked that music is enabled, but got no music playing anywhere in the game.

- Agetian
Ok, I fixed it in r28363, seems like the file filter did not work the way it was intended to work.

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 03 Dec 2014, 16:29

Auto-paying for Pentad Prism using Blood Crypt and Blackcleave Cliffs does not use the opportunity to pay using two different colors, instead opting to make Pentad Prism enter the battlefield enter with 1 counter (while it could be 2). I think the AI may suffer from this issue because I recall auto payment and AI being closely coupled.

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby Adol » 04 Dec 2014, 14:46

Bug report:

forge-gui-desktop-1.5.32-20141202.211408-2

When a player control Chandra, Pyromaster and Rest in Peace,and activate Chandra's 0 ability,
the exiled card can play many times over.
Adol
 
Posts: 4
Joined: 12 Nov 2014, 17:00
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby HarlequinCasts » 04 Dec 2014, 16:40

I've been seeing this crash frequently while casting Fire // Ice
At first I thought it was related to flashing back Fire // Ice with cards like Snapcaster Mage since that seemed to produce the crash. However, I have also experienced the crash simply casting it on the opponent's turn.

It was always while using the Fire half of the card.

Description: [describe what you were doing when the crash occurred]

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.30-SNAPSHOT-r28167 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_45 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
   at java.util.ArrayList$Itr.next(Unknown Source)
   at forge.game.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:271)
   at forge.game.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:249)
   at forge.game.GameAction.checkStateEffects(GameAction.java:742)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:893)
   at forge.game.GameAction.startGame(GameAction.java:1352)
   at forge.game.Match.startGame(Match.java:71)
   at forge.match.MatchUtil$2.run(MatchUtil.java:200)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
User avatar
HarlequinCasts
 
Posts: 922
Joined: 07 May 2013, 14:33
Has thanked: 68 times
Been thanked: 30 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 04 Dec 2014, 19:15

r28367: It's impossible to look at the card exiled with Windbrisk Heights (it's exiled face down but I think the player who exiled it should be able to see what it is, right?). Windbrisk Heights itself shows "Remembered: Face Down" and if you click your exile and look there you only see a face down card as well.

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby elcnesh » 04 Dec 2014, 23:15

Agetian wrote:r28367: It's impossible to look at the card exiled with Windbrisk Heights (it's exiled face down but I think the player who exiled it should be able to see what it is, right?). Windbrisk Heights itself shows "Remembered: Face Down" and if you click your exile and look there you only see a face down card as well.

- Agetian
I've recently made some changes to those cards, maybe I broke something there. I'll have a look :wink:
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 05 Dec 2014, 04:32

r28367

Accidentally clicked on a booster in Quest Spell Shop


NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 8 6.2 amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.match.MatchUtil.canCardBeFlipped(MatchUtil.java:300)
   at forge.screens.match.controllers.CPicture.flipCard(CPicture.java:179)
   at forge.screens.match.controllers.CPicture$1.onLeftClick(CPicture.java:132)
   at forge.toolbox.FMouseAdapter.mouseReleased(FMouseAdapter.java:245)
   at java.awt.Component.processMouseEvent(Component.java:6505)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   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)
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 Agetian » 05 Dec 2014, 05:06

friarsol wrote:r28367

Accidentally clicked on a booster in Quest Spell Shop


NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 8 6.2 amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.match.MatchUtil.canCardBeFlipped(MatchUtil.java:300)
   at forge.screens.match.controllers.CPicture.flipCard(CPicture.java:179)
   at forge.screens.match.controllers.CPicture$1.onLeftClick(CPicture.java:132)
   at forge.toolbox.FMouseAdapter.mouseReleased(FMouseAdapter.java:245)
   at java.awt.Component.processMouseEvent(Component.java:6505)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   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)
Fixed this in r28368.

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 05 Dec 2014, 05:10

elcnesh wrote:
Agetian wrote:r28367: It's impossible to look at the card exiled with Windbrisk Heights (it's exiled face down but I think the player who exiled it should be able to see what it is, right?). Windbrisk Heights itself shows "Remembered: Face Down" and if you click your exile and look there you only see a face down card as well.
I've recently made some changes to those cards, maybe I broke something there. I'll have a look :wink:
Ok, thanks and good luck! Hope it won't be too difficult of a fix :) I tried looking at it but I'm not sure what exactly is causing it so I'm sort of afraid that I'll break more things if I attempt to fix it.

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby Snowstorm » 06 Dec 2014, 10:52

r28358

I noticed this bug has been lingering since around 1.5.28 or 29ish but in multiplayer all AI have the same icons as the 2nd player AI. (Tested in EDH multiplayer but I would think it would be the same everywhere)
Last edited by Snowstorm on 06 Dec 2014, 18:29, edited 1 time in total.
User avatar
Snowstorm
 
Posts: 50
Joined: 16 Mar 2014, 20:37
Has thanked: 4 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby elcnesh » 06 Dec 2014, 11:19

Agetian wrote:r28367: It's impossible to look at the card exiled with Windbrisk Heights (it's exiled face down but I think the player who exiled it should be able to see what it is, right?). Windbrisk Heights itself shows "Remembered: Face Down" and if you click your exile and look there you only see a face down card as well.
Ah, I found the problem... It's a big one. I changed face-down exiled cards so that the owner can't always see it anymore, since that's basically true unless something specifies that it can be seen. However, a lot of card scripts naturally assume that you can always see your own face-down exiled cards. I'll see how many cards are affected and if it's easy to fix.

In the case of the hideaway lands, check out this text from the CR:
Comprehensive Rules wrote:The exiled card gains ‘Any player who has controlled the permanent that exiled this card may look at this card in the exile zone.’
Which was of course not implemented, since it doesn't appear in the reminder text and wasn't necessary until now.
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Bug Reports (snapshot builds)

Postby KrazyTheFox » 08 Dec 2014, 03:57

forge.game.mana.ManaCostBeingPaidTest is failing on line 20 about half the time for my CI server (which is preventing builds from getting released).

My server is running the latest version of JDK 1.7.

Code: Select all
junit.framework.ComparisonFailure: expected:<1{[G}{W]}> but was:<{1}{[W}{G]}>
    at junit.framework.Assert.assertEquals(Assert.java:85)
    at junit.framework.Assert.assertEquals(Assert.java:91)
    at forge.game.mana.ManaCostBeingPaidTest.runConvokeTest(ManaCostBeingPaidTest.java:20)
    at forge.game.mana.ManaCostBeingPaidTest.testPayManaViaConvoke(ManaCostBeingPaidTest.java:14)
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 10 guests

cron

Main Menu

User Menu

Our Partners


Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 10 guests

Login Form