It is currently 26 Aug 2025, 13:39
   
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 gamerfreak12345 » 23 May 2016, 14:27

Hi,

Jace, Telepath Unbound's -3 ability that grants flashback currently lets you also cast the card from exile. This lets you cast the chosen card as many times as you want (as long as you have mana).

Thank you,
gamerfreak12345
 
Posts: 10
Joined: 11 May 2016, 22:07
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Hanmac » 23 May 2016, 16:14

Hm forge currently has a tiny problem with linked abilities.

For they alone they are ok with Remember, but if
Myr Welder does exile Synod Sanctum, the two linked pairs shouldn't interfere with each other.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby VileTouch » 24 May 2016, 00:38

Description: Ajani, Mentor of Heroes trying to place +1 counters on Siege Rhino Enchanted with Herald of Torment.

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.52-SNAPSHOT-r31142
Operating System: Windows 10 10.0 amd64
Java Version:     1.8.0_91 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextNode(Unknown Source)
   at java.util.HashMap$EntryIterator.next(Unknown Source)
   at java.util.HashMap$EntryIterator.next(Unknown Source)
   at java.util.AbstractCollection.toArray(Unknown Source)
   at java.util.ArrayList.<init>(Unknown Source)
   at com.google.common.collect.Lists.newArrayList(Lists.java:129)
   at forge.game.combat.CombatView.getAttackersOf(CombatView.java:139)
   at forge.screens.match.TargetingOverlay.addArcsForCard(TargetingOverlay.java:276)
   at forge.screens.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:160)
   at forge.screens.match.TargetingOverlay.access$700(TargetingOverlay.java:57)
   at forge.screens.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:389)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintToOffscreen(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
   at javax.swing.RepaintManager.paint(Unknown Source)
   at javax.swing.JComponent._paintImmediately(Unknown Source)
   at javax.swing.JComponent.paintImmediately(Unknown Source)
   at javax.swing.RepaintManager$4.run(Unknown Source)
   at javax.swing.RepaintManager$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.access$1200(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.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)
again Ajani,Mentor of Heroes in a different situation, No other enchants involved.
Code: Select all
java.lang.NullPointerException
    at forge.game.spellability.TargetRestrictions.getDividedValue(TargetRestrictions.java:765)
    at forge.game.ability.effects.CountersPutEffect.resolve(CountersPutEffect.java:113)
    at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:60)
    at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1236)
    at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1218)
    at forge.game.zone.MagicStack.resolveStack(MagicStack.java:504)
    at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1004)
    at forge.game.GameAction.startGame(GameAction.java:1480)
    at forge.game.Match.startGame(Match.java:95)
    at forge.match.HostedMatch$2.run(HostedMatch.java:220)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
and here's a bonus error
Code: Select all
may 19, 2016 6:11:08 PM com.google.common.eventbus.EventBus$LoggingSubscriberExceptionHandler handleException
GRAVE: Could not dispatch event: forge.match.HostedMatch$MatchUiEventVisitor@38d1a674 to public void forge.match.HostedMatch$MatchUiEventVisitor.receiveEvent(forge.events.UiEvent)
may 19, 2016 6:11:10 PM com.google.common.eventbus.EventBus$LoggingSubscriberExceptionHandler handleException
GRAVE: Could not dispatch event: forge.match.HostedMatch$MatchUiEventVisitor@38d1a674 to public void forge.match.HostedMatch$MatchUiEventVisitor.receiveEvent(forge.events.UiEvent)
apparently when you exit a match
"He traded sand for skins, skins for gold, gold for life. In the end, he traded life for sand." - Afari, Tales
User avatar
VileTouch
 
Posts: 33
Joined: 04 Apr 2016, 10:39
Has thanked: 10 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 24 May 2016, 14:39

AI has Psychogenic Probe out and shuffles three cards from my graveyard to library with Gaea's Blessing. Psychogenic Probe triggers three times and deals 6 damage to me.

Gaea's Blessing should trigger Psychogenic Probe once, regardless on whether there are no targets or three.

Celestial Flare doesn't mention "attacking or blocking creature" in its description, just "creature".
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 24 May 2016, 15:32

r31233:
In Commander Game, AI played "Sasaya, Orochi Ascendant" deck.
AI cast Sasaya, then reveal hands.
fail in flip, reveal hands,... infinite loop.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 24 May 2016, 17:35

@stormcat: i added restriction and condition checks into the Ai for Spell Abilities. i hope i did not break something.

it should work for r31236.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 26 May 2016, 08:25

Spellskite should use CARDNAME in its ability description.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 26 May 2016, 15:25

r31233

Sacrificing Explosive Apparatus to deal 2 damage to the player never gave me the option to redirect the damage to a planeswalker.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 26 May 2016, 16:44

tjtillman wrote:r31233

Sacrificing Explosive Apparatus to deal 2 damage to the player never gave me the option to redirect the damage to a planeswalker.
did you do it right? you need to target the player and then it does ask you to deal damage to the planeswalker.

i try it and it did work for me, where something else on the battlefield that did interfere with it?
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 27 May 2016, 03:40

Hanmac wrote:
tjtillman wrote:r31233

Sacrificing Explosive Apparatus to deal 2 damage to the player never gave me the option to redirect the damage to a planeswalker.
did you do it right? you need to target the player and then it does ask you to deal damage to the planeswalker.

i try it and it did work for me, where something else on the battlefield that did interfere with it?
I tried it again and it still didn't work. Thing is, I then also tried a Fiery Temper, and it also didn't work.

I targeted the player and got no prompt asking me to redirect the damage to the Arlinn Kord in both cases, it just did the damage to the player.

Considering neither of these cards worked, it makes me think there might be something wrong with Arlinn Kord? I don't remember her state the first time it happened, but in this case she was flipped. Maybe the game doesn't recognize her as a planeswalker for the purposes of redirecting damage once she's flipped?

Edit: Just tried it again on a non-flipped Arlinn Kord and it still didn't work. In Dev Mode I then added a Sorin, Grim Nemesis in play for the computer (so they have both an Arlinn Kord and a Sorin), Lightning Bolted the player and it DID prompt to ask me if I wanted to redirect, and then it asked me which planeswalker to redirect to and I was able to choose Arlin. So something fishy is going on with Arlinn Kord
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 27 May 2016, 08:29

tjtillman: the Problem was about the night side of DFC Planeswalker.
the problem was with the Transformed Face of Arlinn Kord, the Spark Planeswalker and probably the night side on the DFC Garruk too.

it should be fixed with r31241. (i tested it so far that i can damage Arlinn in both States)
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 28 May 2016, 21:00

Seems that AI can cast a spell from hand using Lion's Eye Diamond.

When casting Unified Front, Forge didn't let me select color of mana to get from Smoldering Marsh.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 29 May 2016, 15:36

@Marek14: i fixed Gaea's Blessing and other cards with Psychogenic Probe.
they should only trigger once now.
fixed in r31245.

Celestial Flare fixed in r31246.

the problem with Unified Front seems funky ... specially because it does work with Auto-Payment :/
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 29 May 2016, 16:50

:r31246
Edition file of Eternal Masters, it seems character code is different.
Garbled text occurs in japanese environment.
Some cards is not loaded.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 29 May 2016, 17:20

stormcat wrote::r31246
Edition file of Eternal Masters, it seems character code is different.
Garbled text occurs in japanese environment.
Some cards is not loaded.
ah i found what was wrong, it had the wrong "’" to "'"
i copied the names from magic article itself :/

also the Encoding setting in my Eclipse was wrong somehow.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 41 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 41 users online :: 0 registered, 0 hidden and 41 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 41 guests

Login Form