It is currently 24 May 2025, 17:52
   
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 tengumai » 21 Apr 2013, 23:09

Thallid

With version 1.3.12-r20962, the AI can (and usually does) use Thallid to summon an unlimited number of saprolings as soon as it gets 3 spore counters on the card. Somehow, the AI can summon saprolings without paying any counter cost.

This bug does not apply to humans - we have to pay the counter cost.

Game State File | Open
You'll need to play 3-4 turns to allow the counters to build up and the AI to decide its time to win.
Code: Select all
AICardsInPlay=Thallid ; Forest ; Forest ; Thallid
AICardsInHand=Forest
HumanCardsInPlay=Plains ; Plains ; Plains ; Wall of Air ; Wall of Air
tengumai
 
Posts: 12
Joined: 27 Aug 2011, 18:16
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby tengumai » 22 Apr 2013, 04:03

Vexing Devil

With version 1.3.12-r20962, the AI (always) chooses to have my Devil sacrificed, but he never receives the 4 damage. So it's kind of good news/bad news: Vexing Devil is broken, but the AI is smart.

Game state file | Open
Code: Select all
AICardsInPlay=Plains
AICardsInHand=Forest
HumanCardsInPlay=Mountain ; Mountain ; Mountain ; Mountain ; Mountain ; Mountain ; Mountain ; Mountain ; Mountain ; Mountain
HumanCardsInHand=Vexing Devil ; Vexing Devil ; Vexing Devil ; Vexing Devil
tengumai
 
Posts: 12
Joined: 27 Aug 2011, 18:16
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby moomarc » 22 Apr 2013, 07:01

tengumai wrote:Thallid

With version 1.3.12-r20962, the AI can (and usually does) use Thallid to summon an unlimited number of saprolings as soon as it gets 3 spore counters on the card. Somehow, the AI can summon saprolings without paying any counter cost.

This bug does not apply to humans - we have to pay the counter cost.

Game State File | Open
You'll need to play 3-4 turns to allow the counters to build up and the AI to decide its time to win.
Code: Select all
AICardsInPlay=Thallid ; Forest ; Forest ; Thallid
AICardsInHand=Forest
HumanCardsInPlay=Plains ; Plains ; Plains ; Wall of Air ; Wall of Air
This was already fixed in r20996 a week ago.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Bug Reports (snapshot builds)

Postby Jak » 22 Apr 2013, 11:54

Version: forge-1.3.13-20130421.120403-9 / 1.3.13-SNAPSHOT-r21109

Problem with the card:
Soul's Fire (Target creature in you control in play deals damage equal to its power to target creature or player)

I casted Soul's Fire, targeting my own Rakeclaw Gargantuan and the AI's Sanctum Gargoyle. I expected that it would deal 5 damage but it only dealt 2 damage. :?
Attachments
fore souls fire.jpg
screenshot of the situation including the log
Jak
 
Posts: 23
Joined: 23 Mar 2011, 07:37
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby moomarc » 22 Apr 2013, 14:53

I was trying to fix this bug with Isochron Scepter and came across a strange issue (the actual reported bug was easy enough to fix by putting in an Unimprint$ True param in the ChangeZone line, but this is another issue). I start a random constructed game then use dev console to add any two valid targets for Isochron Scepter's imprint (eg Path to Exile and Lightning Helix). Then cast Isochron Scepter via dev mode or from hand if you have one - imprint Lightning Helix. Cast Flicker on the IS. When it returns to play select the other card to imprint. IS will still show the original card being imprinted and if activated will copy that first spell. Also, after activating IS once you're no longer able to activate it afterwards. Similarly, if you activate the IS before casting Flicker, you're unable to use the returned IS. :-k :-s
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Bug Reports (snapshot builds)

Postby Symphonic » 22 Apr 2013, 15:35

Somehow I wasn't able to attack or block for the rest of the game with my Highborn Ghoul after flashing it with a Restoration Angel.
(Version r21067)
Symphonic
 
Posts: 146
Joined: 10 Dec 2011, 19:09
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby krevett » 22 Apr 2013, 16:45

Description: Trying to cast Umezawa's Jitte from hand, game state frozen "Waiting for actions..." I did not even had a chance to pay for its mana cost!
It's against one of the quest deck in Jamuraa that plays Force of Will.

Edit: using today's snapshot ;)

NullPointerException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r21131
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at java.util.ArrayList.addAll(Unknown Source)
   at forge.card.cost.PaymentDecision.<init>(PaymentDecision.java:21)
   at forge.card.cost.CostExile.decideAIPayment(CostExile.java:483)
   at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:190)
   at forge.game.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:117)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:878)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:795)
   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)
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 22 Apr 2013, 17:15

@krevett, hope 21136 fixes taht well.
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 Symphonic » 22 Apr 2013, 18:08

I was destroying the Necromancy on the opponent's Inkwell Leviathan with my Banishing Stroke (paying the full six mana) when the game crashed.

RuntimeException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r21067
Operating System: Windows 7 6.1 amd64
Java Version:     1.6.0_24 Sun Microsystems Inc.

java.lang.RuntimeException: AbilityFactory : getAbility -- no API in Necromancy
   at forge.card.ability.AbilityFactory.getAbility(AbilityFactory.java:108)
   at forge.card.trigger.TriggerHandler.runSingleTrigger(TriggerHandler.java:376)
   at forge.card.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:277)
   at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:188)
   at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:202)
   at forge.game.zone.MagicStack.finishResolving(MagicStack.java:734)
   at forge.card.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1065)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1083)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1056)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:615)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:741)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:749)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:77)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:821)
   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(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Symphonic
 
Posts: 146
Joined: 10 Dec 2011, 19:09
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 22 Apr 2013, 20:54

Symphonic wrote:I was destroying the Necromancy on the opponent's Inkwell Leviathan with my Banishing Stroke (paying the full six mana) when the game crashed.

RuntimeException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r21067
Operating System: Windows 7 6.1 amd64
Java Version:     1.6.0_24 Sun Microsystems Inc.

java.lang.RuntimeException: AbilityFactory : getAbility -- no API in Necromancy
   at forge.card.ability.AbilityFactory.getAbility(AbilityFactory.java:108)
   at forge.card.trigger.TriggerHandler.runSingleTrigger(TriggerHandler.java:376)
   at forge.card.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:277)
   at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:188)
   at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:202)
   at forge.game.zone.MagicStack.finishResolving(MagicStack.java:734)
   at forge.card.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1065)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1083)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1056)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:615)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:741)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:749)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:77)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:821)
   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(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Fixed! Thanks Symphonic.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby tengumai » 22 Apr 2013, 22:00

Is this thread the proper place for me to be reporting bugs? Is there an issue tracker that I should be using additionally/instead?
tengumai
 
Posts: 12
Joined: 27 Aug 2011, 18:16
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby friarsol » 22 Apr 2013, 23:02

tengumai wrote:Is this thread the proper place for me to be reporting bugs? Is there an issue tracker that I should be using additionally/instead?
If you have a snapshot release then yes. If you have a beta release then no, post it in the thread that announces that release.
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 lm01 » 23 Apr 2013, 00:00

Game:
1st turn.
AI drops Bayou, passes.
I drop Arid Mesa and break it on Main Phase 1.

ClassCastException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r20997
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.ClassCastException
   at javax.swing.LayoutComparator.compare(Unknown Source)
   at javax.swing.LayoutComparator.compare(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.legacyMergeSort(Unknown Source)
   at java.util.Arrays.sort(Unknown Source)
   at java.util.Collections.sort(Unknown Source)
   at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(Unknown Source)
   at javax.swing.SortingFocusTraversalPolicy.getFocusTraversalCycle(Unknown Source)
   at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(Unknown Source)
   at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(Unknown Source)
   at javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(Unknown Source)
   at java.awt.FocusTraversalPolicy.getInitialComponent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.SequencedEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
I kept playing and fetch a mountain...
lm01
 
Posts: 74
Joined: 21 Feb 2010, 21:24
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby lsdmaster » 23 Apr 2013, 12:29

Playing a draft odyssey deck, game freezes on opponents turn.

NullPointerException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r20997
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.card.spellability.SpellAbility.canTarget(SpellAbility.java:1272)
   at forge.card.ability.ai.DamageAiBase.shouldTgtP(DamageAiBase.java:21)
   at forge.card.ability.ai.DamageDealAi.damageChoosingTargets(DamageDealAi.java:244)
   at forge.card.ability.ai.DamageDealAi.damageTargetAI(DamageDealAi.java:207)
   at forge.card.ability.ai.DamageDealAi.canPlayAI(DamageDealAi.java:95)
   at forge.card.ability.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:16)
   at forge.card.ability.SpellApiBased.canPlayAI(SpellApiBased.java:48)
   at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:475)
   at forge.game.ai.AiController.chooseSpellAbilities(AiController.java:459)
   at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:106)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:867)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:817)
   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)
lsdmaster
 
Posts: 15
Joined: 23 Apr 2013, 12:23
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby lzy » 23 Apr 2013, 16:05

 Lotus Bloom can be cast without suspend if you select the first option in choose window.
It works fine in forge-1.3.13-20130414, no choose window will prompt.
Last edited by Chris H. on 23 Apr 2013, 16:12, edited 1 time in total.
Reason: mouse-over
lzy
 
Posts: 3
Joined: 06 Feb 2013, 15:21
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 36 guests


Who is online

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

Login Form