Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by 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)
Re: Bug Reports (snapshot builds)
by 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.
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
Re: Bug Reports (snapshot builds)
by 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)
Re: Bug Reports (snapshot builds)
by friarsol » 05 May 2013, 15:41
If you need to sacrifice more permanents than you control, that minimum amount to sacrifice becomes the number you control.BaloErets wrote:Description: AI Declared attackers with Ulamog, the Infinite Gyre and Woodfall Primus
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by friarsol » 05 May 2013, 20:33
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)
by Hanmac » 06 May 2013, 19:07
Bugs:
Dumb AI:
- 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
Re: Bug Reports (snapshot builds)
by 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...
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)
- ChaossssMark
- Posts: 25
- Joined: 04 Feb 2013, 18:24
- Has thanked: 2 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by 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.
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)
Re: Bug Reports (snapshot builds)
by Max mtg » 07 May 2013, 16:55
Thank you for reporting, this is fixed in r21378!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.
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)
by slowe » 07 May 2013, 18:56
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".Max mtg wrote:Thank you for reporting, this is fixed in r21378!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.
Re: Bug Reports (snapshot builds)
by 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.
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)
by Max mtg » 07 May 2013, 20:22
Yes, the previous one only removed the exception. =( I saw that types would be cast wrongly and made some edits.slowe wrote:when there are search restrictions. Essentially, I'm always forced to "fail to find".
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)
by slowe » 07 May 2013, 21:51
You're certainly on top of things. That seems to have fixed it.Max mtg wrote:Will r21386 fix the problems? I've just played Arid Mesa with Aven Mindcensor on opponent's side = worked fine.
Re: Bug Reports (snapshot builds)
by 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)
Who is online
Users browsing this forum: No registered users and 23 guests