It is currently 14 Nov 2025, 20:58
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby friarsol » 31 Jan 2016, 13:56

fiend123 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?
On Windows, it's something like: C:\users\fiend123\AppData\Roaming\Forge\quest\saves
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 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)
The actual error it reported is after all this, and I'm still going to have to kill Forge because pressing "Continue" didn't unblock the situation:
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)
I forgot to add, this is running forge updated to revision 30712. I have updated now to 30766 and will restart the program. If it reoccurs, I will post a followup.
hervebronnimann
 
Posts: 20
Joined: 29 Nov 2014, 22:34
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby 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.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 01 Feb 2016, 10:29

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.
I think I fixed it (r30782).

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby 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
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby 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)

Postby 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.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby 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?
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 02 Feb 2016, 05:16

FiiSKiiS wrote:Noticed the card Make a Stand is not giving creatures indestructible.
Fixed (r30789).

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby Midori » 02 Feb 2016, 07:24

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?
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.
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
Midori
 
Posts: 55
Joined: 20 Apr 2014, 12:43
Has thanked: 1 time
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby 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
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 02 Feb 2016, 09:13

Marek14 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
Now they are :) (r30792)

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 02 Feb 2016, 20:15

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.
Thanks, my mistake.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby 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.

Image

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)
User avatar
Fizanko
Tester
 
Posts: 780
Joined: 07 Feb 2014, 11:24
Has thanked: 155 times
Been thanked: 94 times

Re: Bug Reports (snapshot builds)

Postby 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.
ndlarsen
 
Posts: 23
Joined: 12 Sep 2013, 12:43
Has thanked: 4 times
Been thanked: 0 time

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: Timothysow and 30 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 31 users online :: 1 registered, 0 hidden and 30 guests (based on users active over the past 10 minutes)
Most users ever online was 9824 on 10 Nov 2025, 04:33

Users browsing this forum: Timothysow and 30 guests

Login Form