It is currently 24 May 2025, 20:59
   
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 Max mtg » 25 May 2013, 20:23

RedDeckWins wrote:There is definitely something up with bottomless vault.

The keep tapped popup doesn't block the game from going into the upkeep phase. This seems like bad behavior.
Could reproduce a deadlock on opponent's end of turn - so I removed lockUI from pass priority in 21678, now it seems to behave correctly.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby lsdmaster » 25 May 2013, 22:46

Spitting Slug (from The Dark) rules text is repeated twice.
lsdmaster
 
Posts: 15
Joined: 23 Apr 2013, 12:23
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby BaloErets » 26 May 2013, 05:15

Got two crash reports pop up during AI's upkeep;

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

RuntimeException | Open
Code: Select all
Forge Version:    1.3.17-SNAPSHOT-r21633
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Feral Hydra. Didn't find what to pay for 1
   at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:178)
   at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:55)
   at forge.card.cost.CostPartMana.payAI(CostPartMana.java:160)
   at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:190)
   at forge.game.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:119)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:899)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:847)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:73)
   at forge.control.input.InputQueue$1.run(InputQueue.java:222)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Description: [describe what you were doing when the crash occurred]

RuntimeException | Open
Code: Select all
Forge Version:    1.3.17-SNAPSHOT-r21633
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Feral Hydra. Didn't find what to pay for 1
   at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:178)
   at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:55)
   at forge.card.cost.CostPartMana.payAI(CostPartMana.java:160)
   at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:190)
   at forge.game.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:119)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:899)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:847)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:73)
   at forge.control.input.InputQueue$1.run(InputQueue.java:222)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Game stayed stuck during "waiting for action"
BaloErets
 
Posts: 32
Joined: 20 Apr 2013, 00:51
Has thanked: 19 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 26 May 2013, 15:10

r21702: I got a strange purplish border around the bottom left button panel during the match that definitely wasn't there in the morning SVN builds (not sure about the number of the build it did not happen in, but probably around r21681). :\

- Agetian
Attachments
strange-border.png
Last edited by Agetian on 26 May 2013, 15:19, edited 1 time in total.
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 26 May 2013, 15:18

r21702: Got this crash:

Description: Tried to cast Aven Flock from hand.

RuntimeException | Open
Code: Select all
Forge Version:    1.3.17-SNAPSHOT-r21702
Operating System: Linux 3.7.0-7-generic amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: Inputs adding/removal into stack is imbalanced! Check your code again!
   at forge.control.input.InputQueue.removeInput(InputQueue.java:115)
   at forge.control.input.InputSyncronizedBase$1.run(InputSyncronizedBase.java:35)
   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:722)
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 26 May 2013, 15:23

r21702: Activating Whipgrass Entangler adds a purple border around the card that can't attack or block which does not go away when the ability goes away.

- Agetian
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby RedDeckWins » 26 May 2013, 16:13

Generate mana dev button is throwing an exception.
User avatar
RedDeckWins
 
Posts: 35
Joined: 20 Apr 2013, 16:45
Has thanked: 8 times
Been thanked: 10 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 26 May 2013, 17:00

deleted
Last edited by Max mtg on 26 May 2013, 19:22, edited 1 time in total.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby Bundy » 26 May 2013, 18:39

Description: I have Winter Orb in play and pick a land to untap, then i get this error. I untapped lands before in the same match without any problems ...

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.3.17-SNAPSHOT-r21659
Operating System: Windows 8 6.2 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.ArrayList.fastRemove(Unknown Source)
   at java.util.ArrayList.remove(Unknown Source)
   at forge.Card.removeSpellAbility(Card.java:2534)
   at forge.game.GameActionUtil.grantBasicLandsManaAbilities(GameActionUtil.java:684)
   at forge.game.GameAction.checkStaticAbilities(GameAction.java:897)
   at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:180)
   at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:207)
   at forge.game.phase.PhaseHandler.handleBeginPhase(PhaseHandler.java:410)
   at forge.gui.InputProxy$1.run(InputProxy.java:67)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Bundy
 
Posts: 348
Joined: 17 Dec 2010, 17:32
Location: The netherlands
Has thanked: 23 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 26 May 2013, 19:22

@BaloErets, everything is fixed.
@Agetian, mig layout debug frames switched off, purple border cleand up, Aven Flock can't reproduce.
@RedDeckWins, fixed in 21704
@Bundy, can't reproduce. Today's daily differs a lot from current SVN version in part of phase handling.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 27 May 2013, 04:16

@ Max Mtg: The Aven Flock bug definitely isn't just related to Aven Flock, I got the same exception casting several other cards already (in that same mentioned build), but I'll try updating to the very latest SVN shortly and will see if it's still an issue or not. If it is, I'll see if I can deduce a pattern behind it.

- Agetian
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 27 May 2013, 05:50

r21719, I cannot cast a card under AI's control in dev mode.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 27 May 2013, 11:56

r21734: Got these two exceptions related to threading in succession when trying to cast Scathe Zombies (don't think it's related to the card as such, it's likely to be something else):

RuntimeException | Open
Code: Select all
Forge Version:    1.3.17-SNAPSHOT-r21734
Operating System: Linux 3.7.0-7-generic amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: Trying to unlock input which is not locked! Do check when your threads terminate!
   at forge.control.input.InputQueue.unlock(InputQueue.java:183)
   at forge.control.input.InputQueue$1.run(InputQueue.java:203)
   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:722)
RuntimeException | Open
Code: Select all
Forge Version:    1.3.17-SNAPSHOT-r21734
Operating System: Linux 3.7.0-7-generic amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: Inputs adding/removal into stack is imbalanced! Check your code again!
   at forge.control.input.InputQueue.removeInput(InputQueue.java:92)
   at forge.control.input.InputSyncronizedBase$1.run(InputSyncronizedBase.java:36)
   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:722)
After these two exceptions, the game hanged so good that I had to forcibly turn it off by killing the java process.

- Agetian
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby lsdmaster » 27 May 2013, 13:31

On AI upkeep, I activated Nettling Imp ability, forcing AI to attack with a creature, then Nettling Imp's ability triggered on my turn, destroying AI controlled creature.

P.S.: this version (may 27) seems bugged. I'm getting random crashes: game goes on, or it hangs without a reason.
lsdmaster
 
Posts: 15
Joined: 23 Apr 2013, 12:23
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby friarsol » 27 May 2013, 13:50

lsdmaster wrote:
P.S.: this version (may 27) seems bugged. I'm getting random crashes: game goes on, or it hangs without a reason.
The reason Nightlies are Nightly is because we're in the middle of adding code and making things better. Your average Nightly Build is less stable than your Release.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 28 guests


Who is online

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

Login Form