It is currently 24 May 2025, 21:57
   
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 Arclight » 05 May 2013, 01:03

Description: [Playing draft mode. Coldsnap Block. Got the bug error after the AI casted a Rune Snag on my Drelnoch on my turn. ]

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Mac OS X 10.7 x86_64
Java Version:     1.6.0_37 Apple Inc.

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
   at java.util.Vector.get(Vector.java:694)
   at forge.game.zone.MagicStack.peekAbility(MagicStack.java:884)
   at forge.gui.match.views.VStack.updateStack(VStack.java:141)
   at forge.gui.match.controllers.CStack$1.run(CStack.java:43)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:663)
   at java.awt.EventQueue$2.run(EventQueue.java:661)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Arclight
 
Posts: 13
Joined: 03 May 2013, 22:45
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby ozks » 05 May 2013, 01:36

Description: Last Rites -
when you cast it only let you discard 1 card, this card used to work well.

General bug report | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_13 Oracle Corporation
User avatar
ozks
 
Posts: 279
Joined: 24 May 2012, 22:49
Has thanked: 107 times
Been thanked: 23 times

Re: Bug Reports (snapshot builds)

Postby BaloErets » 05 May 2013, 13:34

Description: AI Declared attackers with Ulamog, the Infinite Gyre and Woodfall Primus
IllegalArgumentException | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.IllegalArgumentException: Min must not be greater than Max
   at forge.control.input.InputSelectManyBase.<init>(InputSelectManyBase.java:30)
   at forge.control.input.InputSelectCards.<init>(InputSelectCards.java:10)
   at forge.control.input.InputSelectCardsFromList.<init>(InputSelectCardsFromList.java:13)
   at forge.game.player.PlayerControllerHuman.choosePermanentsToSacrifice(PlayerControllerHuman.java:252)
   at forge.game.phase.CombatUtil$3.resolve(CombatUtil.java:1132)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:617)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:743)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:751)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:83)
   at forge.control.input.InputBase$1.run(InputBase.java:78)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
BaloErets
 
Posts: 32
Joined: 20 Apr 2013, 00:51
Has thanked: 19 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 05 May 2013, 15:41

BaloErets wrote:Description: AI Declared attackers with Ulamog, the Infinite Gyre and Woodfall Primus
If you need to sacrifice more permanents than you control, that minimum amount to sacrifice becomes the number you control.
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 slowe » 05 May 2013, 18:06

AI's The Abyss triggers on my upkeep and I Unsummon my only creature. I am unable to proceed past the prompt to choose a target for The Abyss's ability.
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 05 May 2013, 20:33

slowe wrote:AI's The Abyss triggers on my upkeep and I Unsummon my only creature. I am unable to proceed past the prompt to choose a target for The Abyss's ability.
Wow, The Abyss is completely incorrect. It never seems to actually target, since we don't have a "Target of that player's choice" right now. Stupid hardcoded cards.
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 Hanmac » 06 May 2013, 19:07

Bugs:
  • Scion of Vitu-Ghazi
    Forge says that the card has Flying, but only the Token generated with this card has.
  • Renegade Krasis
    When its Evolves it adds an Counter and then later an counter on all other creature with +1/+1 counter, but in Forge it adds to an Counter to itself too.
  • *-Signet
    it can happen that when you press cancel you can gain the Mana of the Signet without paying the cost
    I tested it with Simic Signet with summoning Experiment Kraj

Dumb AI:
  • Tavern Swindler
    the AI wants to pay 3Live points when it only has 3, its possible but the AI should avoid that
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby ChaossssMark » 07 May 2013, 03:23

Um....

Description: I'm not sure what just happened. The error report mentions "Charm", so I'm guessing that it is possible that the AI tried to cast Dimir Charm and made this...

NullPointerException | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Windows Vista 6.0 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.card.ability.effects.CharmEffect.chainAbilities(CharmEffect.java:106)
   at forge.card.ability.effects.CharmEffect.makeChoices(CharmEffect.java:97)
   at forge.game.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:105)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:877)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:825)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Just happened again. Could somebody investigate as to whether Dimir Charm is broken for the AI?
ChaossssMark
 
Posts: 25
Joined: 04 Feb 2013, 18:24
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby slowe » 07 May 2013, 16:50

r21375 - Searching libraries is broken. Could be related to the Aven Mindcensor changes.
When I search while resolving a fetchland activation (or anything else with restrictions on what can be found), I'm presented with an accurate list of valid selections, but the OK button is greyed out and when I press cancel, I get the exception below. For Demonic Tutor and friends, the OK button is normal, but pressing it or cancel lead to the same exception.

Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_10 Oracle Corporation

java.lang.ClassCastException: forge.gui.ListChooser$2 cannot be cast to forge.Card
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolveHuman(ChangeZoneEffect.java:759)
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolve(ChangeZoneEffect.java:601)
   at forge.card.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:355)
   at forge.card.ability.SpellApiBased.resolve(SpellApiBased.java:55)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1060)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1039)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:618)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:743)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:751)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:82)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:831)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 07 May 2013, 16:55

slowe wrote:r21375 - Searching libraries is broken. Could be related to the Aven Mindcensor changes.
When I search while resolving a fetchland activation (or anything else with restrictions on what can be found), I'm presented with an accurate list of valid selections, but the OK button is greyed out and when I press cancel, I get the exception below. For Demonic Tutor and friends, the OK button is normal, but pressing it or cancel lead to the same exception.
Thank you for reporting, this is fixed in r21378!
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 slowe » 07 May 2013, 18:56

Max mtg wrote:
slowe wrote:r21375 - Searching libraries is broken. Could be related to the Aven Mindcensor changes.
When I search while resolving a fetchland activation (or anything else with restrictions on what can be found), I'm presented with an accurate list of valid selections, but the OK button is greyed out and when I press cancel, I get the exception below. For Demonic Tutor and friends, the OK button is normal, but pressing it or cancel lead to the same exception.
Thank you for reporting, this is fixed in r21378!
Thanks for fixing, but it seems there were two separate problems. The OK button is still greyed out when there are search restrictions. Essentially, I'm always forced to "fail to find".
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 07 May 2013, 20:11

I've commited changes to CardColor class and removed forge.Color class.
Until next beta, whenever anything related to colors ceases working, you may have Max fix that issue.
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 Max mtg » 07 May 2013, 20:22

slowe wrote:when there are search restrictions. Essentially, I'm always forced to "fail to find".
Yes, the previous one only removed the exception. =( I saw that types would be cast wrongly and made some edits.

Will r21386 fix the problems? I've just played Arid Mesa with Aven Mindcensor on opponent's side = worked fine.
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 slowe » 07 May 2013, 21:51

Max mtg wrote:Will r21386 fix the problems? I've just played Arid Mesa with Aven Mindcensor on opponent's side = worked fine.
You're certainly on top of things. That seems to have fixed it.
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: Bug Reports (snapshot builds)

Postby Arclight » 08 May 2013, 00:02

Description: [Sigil of Sleep was in my graveyard. I played an Iridescent Drake (which has the effect of automatically attaching an aura from your graveyard to it), when prompted of which aura to attach, I select Sigil of Sleep and then received the bug error.]

NullPointerException | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Mac OS X 10.7 x86_64
Java Version:     1.6.0_37 Apple Inc.

java.lang.NullPointerException
   at forge.card.spellability.Target.hasCandidates(Target.java:663)
   at forge.card.ability.effects.ChangeZoneEffect.changeKnownOriginResolve(ChangeZoneEffect.java:509)
   at forge.card.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:357)
   at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1060)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1039)
   at forge.card.spellability.HumanPlaySpellAbility.fillRequirements(HumanPlaySpellAbility.java:107)
   at forge.game.player.HumanPlayer.playSpellAbilityNoStack(HumanPlayer.java:172)
   at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:368)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1060)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1039)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:615)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:743)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:751)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:83)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:829)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:680)
Arclight
 
Posts: 13
Joined: 03 May 2013, 22:45
Has thanked: 1 time
Been thanked: 0 time

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 23 guests


Who is online

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

Login Form