Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by friarsol » 31 Jan 2016, 13:56
On Windows, it's something like: C:\users\fiend123\AppData\Roaming\Forge\quest\savesfiend123 wrote:Thanks for the tip, however, as Forge crashes on start-up, I am unable to access the game settings. Is there any default locations I can manually search?
- 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 hervebronnimann » 31 Jan 2016, 15:56
Description: I think there is a loop in the AI. The game froze while the opponent was in DB phase, and it wouldn't do anything - I couldn't advance to the next phase, couldn't concede (the error below - no opponent left for Paula - is after I conceded, but that still didn't unblock the game). All it says is "Select creatures to block Territorial Baloth" (which I had) and press OK, pressing OK didn't do anything. I did a thread dump and this looked suspicious - like an infinite loop or something:
- SuspiciousThreadDump | Open
- Code: Select all
"Game-0" prio=5 tid=0x00007fd953c6e000 nid=0xf40b runnable [0x00007000018ec000]
java.lang.Thread.State: RUNNABLE
at java.util.TreeMap.getEntry(TreeMap.java:353)
at java.util.TreeMap.containsKey(TreeMap.java:227)
at forge.game.card.CardState.hasSVar(CardState.java:331)
at forge.game.card.Card.hasSVar(Card.java:1063)
at forge.ai.ComputerUtilCombat.getDamageToKill(ComputerUtilCombat.java:2126)
at forge.ai.ComputerUtilCombat.canDestroyBlockerBeforeFirstStrike(ComputerUtilCombat.java:1783)
at forge.ai.ComputerUtilCombat.canDestroyBlocker(ComputerUtilCombat.java:1852)
at forge.ai.ComputerUtilCombat.blockerWouldBeDestroyed(ComputerUtilCombat.java:1748)
at forge.ai.ComputerUtilCombat.combatantWouldBeDestroyed(ComputerUtilCombat.java:664)
at forge.ai.ComputerUtilCard.shouldPumpCard(ComputerUtilCard.java:1136)
at forge.ai.ComputerUtilCard.shouldPumpCard(ComputerUtilCard.java:1012)
at forge.ai.ability.CountersPutAi.canPlayAI(CountersPutAi.java:265)
at forge.ai.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:21)
at forge.ai.AiController.canPlaySa(AiController.java:648)
at forge.ai.AiController.canPlayAndPayFor(AiController.java:635)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1292)
at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1269)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1208)
at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:397)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:948)
at forge.game.GameAction.startGame(GameAction.java:1479)
at forge.game.Match.startGame(Match.java:96)
at forge.match.HostedMatch$2.run(HostedMatch.java:220)
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)
- IllegalStateException | Open
- Code: Select all
Forge Version: SVN
Operating System: Mac OS X 10.11.2 x86_64
Java Version: 1.7.0_17 Oracle Corporation
java.lang.IllegalStateException: No opponents left ingame for Paula
at forge.game.player.Player.getOpponent(Player.java:244)
at forge.ai.ComputerUtilCard.shouldPumpCard(ComputerUtilCard.java:1063)
at forge.ai.ComputerUtilCard.shouldPumpCard(ComputerUtilCard.java:1012)
at forge.ai.ability.CountersPutAi.canPlayAI(CountersPutAi.java:265)
at forge.ai.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:21)
at forge.ai.AiController.canPlaySa(AiController.java:648)
at forge.ai.AiController.canPlayAndPayFor(AiController.java:635)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1292)
at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1269)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1208)
at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:397)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:948)
at forge.game.GameAction.startGame(GameAction.java:1479)
at forge.game.Match.startGame(Match.java:96)
at forge.match.HostedMatch$2.run(HostedMatch.java:220)
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)
- hervebronnimann
- Posts: 20
- Joined: 29 Nov 2014, 22:34
- Has thanked: 1 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by tjtillman » 01 Feb 2016, 06:37
r30776
Not sure if Support is bulletproof. Most of the time it works as it should, but I ran into a situation where I had one creature (a snapping gnarlid) on the battlefield (and was the only creature on the battlefield). I played a Saddleback Lagac and it targeted the creature to be supported without an option to choose. Generally I would want to choose my creature to be "supported" but in the event that I didn't it wasn't avoidable.
Not sure if Support is bulletproof. Most of the time it works as it should, but I ran into a situation where I had one creature (a snapping gnarlid) on the battlefield (and was the only creature on the battlefield). I played a Saddleback Lagac and it targeted the creature to be supported without an option to choose. Generally I would want to choose my creature to be "supported" but in the event that I didn't it wasn't avoidable.
Re: Bug Reports (snapshot builds)
by Agetian » 01 Feb 2016, 10:29
I think I fixed it (r30782).tjtillman wrote:r30776
Not sure if Support is bulletproof. Most of the time it works as it should, but I ran into a situation where I had one creature (a snapping gnarlid) on the battlefield (and was the only creature on the battlefield). I played a Saddleback Lagac and it targeted the creature to be supported without an option to choose. Generally I would want to choose my creature to be "supported" but in the event that I didn't it wasn't avoidable.
- Agetian
- Agetian
- Programmer
- Posts: 3490
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by Agetian » 01 Feb 2016, 13:54
r30784: The AI uses Tamiyo, the Moon Sage in a really weird way. It constantly goes for its -2 ability ("draw a card for each tapped creature target player controls"), but either it always fails to target the player, or it always targets the wrong player or something, but it ends up gaining 0 life (at least in my playtesting).
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3490
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by FiiSKiiS » 02 Feb 2016, 03:16
Noticed the card Make a Stand is not giving creatures indestructible.
- FiiSKiiS
- Posts: 3
- Joined: 02 Feb 2016, 03:09
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by tjtillman » 02 Feb 2016, 03:45
r30787
This one might be tricky, but in the deckbuilder mode for sealed I came across a weird behavior when filtering by color with regards to "colorless only" spells in the mana cost.
Let's say Spatial Distortion is in the pool. If I filter to show only Green and Colorless cards, Spatial Distortion will show up. If I add other colors, it will still show up. But if I filter for colorless, some other color, AND multicolor Spatial Distortion (and any other "colorless only" spells) will no longer show up.
If I ONLY filter colorless and multicolor, it will still show up. But if I filter for colorless, multicolor, and some color, the colorless only spells are not shown.
This one might be tricky, but in the deckbuilder mode for sealed I came across a weird behavior when filtering by color with regards to "colorless only" spells in the mana cost.
Let's say Spatial Distortion is in the pool. If I filter to show only Green and Colorless cards, Spatial Distortion will show up. If I add other colors, it will still show up. But if I filter for colorless, some other color, AND multicolor Spatial Distortion (and any other "colorless only" spells) will no longer show up.
If I ONLY filter colorless and multicolor, it will still show up. But if I filter for colorless, multicolor, and some color, the colorless only spells are not shown.
Re: Bug Reports (snapshot builds)
by tjtillman » 02 Feb 2016, 04:49
r30787
AI had an Eldrazi Mimic with a P1P1 counter on the board. AI then played Deceiver of Form and chose to have the Mimic take the 8/8 power and toughness, making a 9/9 with the counter. At beginning of combat the opponent revealed Affa Protector and chose to have his other creatures become a copy of Affa Protector. Other creatures correctly became a 1/4 (or correctly 2/5 for the ones that had counters) but the Eldrazi Mimic then became an Affa Protector with P/T of 9/9 (due to the counter).
If my rules understanding is mistaken here, please correct me, but once all the creatures became a copy of Affa Protector, does their Power and Toughness not get re-written as well?
AI had an Eldrazi Mimic with a P1P1 counter on the board. AI then played Deceiver of Form and chose to have the Mimic take the 8/8 power and toughness, making a 9/9 with the counter. At beginning of combat the opponent revealed Affa Protector and chose to have his other creatures become a copy of Affa Protector. Other creatures correctly became a 1/4 (or correctly 2/5 for the ones that had counters) but the Eldrazi Mimic then became an Affa Protector with P/T of 9/9 (due to the counter).
If my rules understanding is mistaken here, please correct me, but once all the creatures became a copy of Affa Protector, does their Power and Toughness not get re-written as well?
Re: Bug Reports (snapshot builds)
by Agetian » 02 Feb 2016, 05:16
Fixed (r30789).FiiSKiiS wrote:Noticed the card Make a Stand is not giving creatures indestructible.
- Agetian
- Agetian
- Programmer
- Posts: 3490
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by Midori » 02 Feb 2016, 07:24
I think this is actually correct.tjtillman wrote:r30787
AI had an Eldrazi Mimic with a P1P1 counter on the board. AI then played Deceiver of Form and chose to have the Mimic take the 8/8 power and toughness, making a 9/9 with the counter. At beginning of combat the opponent revealed Affa Protector and chose to have his other creatures become a copy of Affa Protector. Other creatures correctly became a 1/4 (or correctly 2/5 for the ones that had counters) but the Eldrazi Mimic then became an Affa Protector with P/T of 9/9 (due to the counter).
If my rules understanding is mistaken here, please correct me, but once all the creatures became a copy of Affa Protector, does their Power and Toughness not get re-written as well?
Rule 613.1 regulates how the values of an object are determined. All applicable continuous effects are applied in a series of layers in numerical and alphabetical order.
Your Eldrazi Mimic is currently subject of the following effects. Its own P/T setting effect (layer 7b), the +1/+1 counter (layer 7d), and the copy effect of Deceiver of Forms (layer 1).
This means:
Basic -> Eldrazi Mimic 2/1
layer 1 -> the copy effect turns Eldrazi Mimic 2/1 to Affa Protector 1/4
(...)
layer 7b -> P/T setting effect changes Affa Protector (Eldrazi Mimic) 1/4 to 8/8
layer 7d -> the +1/+1 counter on Affa Protector (Eldrazi Mimic) increases its P/T to 9/9
Re: Bug Reports (snapshot builds)
by Marek14 » 02 Feb 2016, 08:38
Three recent changes in creature types are not yet implemented:
Golgari Grave-Troll: Skeleton Troll -> Troll Skeleton (nonfunctional, cosmetic only)
Marjhan: Leviathan -> Serpent
Shadow Rider: Zombie Knight -> Knight
Golgari Grave-Troll: Skeleton Troll -> Troll Skeleton (nonfunctional, cosmetic only)
Marjhan: Leviathan -> Serpent
Shadow Rider: Zombie Knight -> Knight
Re: Bug Reports (snapshot builds)
by Agetian » 02 Feb 2016, 09:13
Now they areMarek14 wrote:Three recent changes in creature types are not yet implemented:
Golgari Grave-Troll: Skeleton Troll -> Troll Skeleton (nonfunctional, cosmetic only)
Marjhan: Leviathan -> Serpent
Shadow Rider: Zombie Knight -> Knight
- Agetian
- Agetian
- Programmer
- Posts: 3490
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by tjtillman » 02 Feb 2016, 20:15
Thanks, my mistake.Midori wrote:I think this is actually correct.
Rule 613.1 regulates how the values of an object are determined. All applicable continuous effects are applied in a series of layers in numerical and alphabetical order.
Re: Bug Reports (snapshot builds)
by Fizanko » 03 Feb 2016, 23:09
Hello, using snapshot 30799
i was testing the Surge of Resistance OGW intro decks, in the 2nd round of the duel with the AI, when i played Blighted Gorge, in the description, there was an added line
"Svar:Picture:..." that probably should be there as i didn't see it on the other cards description.

The card works during the game and no error message is displayed, so it's probably a harmless thing.
The oddity is that if i click on the "View Decklist" icon, in the description part of Blighted Gorge the "Svar:..." line does not appear.
i was testing the Surge of Resistance OGW intro decks, in the 2nd round of the duel with the AI, when i played Blighted Gorge, in the description, there was an added line
"Svar:Picture:..." that probably should be there as i didn't see it on the other cards description.

The card works during the game and no error message is displayed, so it's probably a harmless thing.
The oddity is that if i click on the "View Decklist" icon, in the description part of Blighted Gorge the "Svar:..." line does not appear.
probably outdated by now so you should avoid : Innistrad world for Forge (updated 17/11/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Re: Bug Reports (snapshot builds)
by ndlarsen » 04 Feb 2016, 14:17
Using 1.5.49-SNAPSHOT-30804
Playing commander 1 vs. 1.
Narset, Enlightened Master as commander.
Casting cards exiled by Narset's attack trigger from exile behaves in an odd manner.
Clone Legion, while opponent selected as target, clones both players' creatures.
Flame Wave didn't prompt to select a target and nuked my creatures.
These might not be bugs as such:
Omen Machine: Is there a way to preview the card exiled with Omen Machine while it's on the stack? If yes, please direct me to how and if no, any chance this could be implemented?
Dream Cache: Currently the player is prompted to choose location prior to selecting, thus not being able to hover/preview the cards before choosing location. Intuitively and/or optimally, shouldn't viewing and selecting come first? Would probably make more sense in relation to the card text as well.
Playing commander 1 vs. 1.
Narset, Enlightened Master as commander.
Casting cards exiled by Narset's attack trigger from exile behaves in an odd manner.
Clone Legion, while opponent selected as target, clones both players' creatures.
Flame Wave didn't prompt to select a target and nuked my creatures.
These might not be bugs as such:
Omen Machine: Is there a way to preview the card exiled with Omen Machine while it's on the stack? If yes, please direct me to how and if no, any chance this could be implemented?
Dream Cache: Currently the player is prompted to choose location prior to selecting, thus not being able to hover/preview the cards before choosing location. Intuitively and/or optimally, shouldn't viewing and selecting come first? Would probably make more sense in relation to the card text as well.
Who is online
Users browsing this forum: Timothysow and 30 guests