It is currently 19 Apr 2024, 11:45
   
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 Seravy » 03 May 2017, 10:48

Not sure if related but might be so just a reminder, I had problems when Pulse of Llanowar was in play (in 1.5.60) - I was asked to pick a color more times than necessary and next turn (AI's) the game went into an infinite loop of asking for colors without even tapping a land for mana.
Seravy
 
Posts: 363
Joined: 26 Oct 2016, 21:23
Has thanked: 5 times
Been thanked: 27 times

Re: Bug Reports (snapshot builds)

Postby Jobexi » 03 May 2017, 16:34

As of Snapshot r33918, the AI no longer removes cards marked with SVar:RemAIDeck:True

I Obviously haven't tested every card, but all of the cards I've encountered that haven't been removed from AI decks, that ought to be, happen to be lands that can produce multiple types/amounts of mana.
Jobexi
 
Posts: 13
Joined: 03 May 2017, 16:31
Has thanked: 3 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 03 May 2017, 16:57

Jobexi wrote:As of Snapshot r33918, the AI no longer removes cards marked with SVar:RemAIDeck:True

I Obviously haven't tested every card, but all of the cards I've encountered that haven't been removed from AI decks, that ought to be, happen to be lands that can produce multiple types/amounts of mana.
In what cases are you talking about? Deck generation?
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 Jobexi » 03 May 2017, 17:08

I've played about 15 Constructed games, with my opponent using Random Color Decks: Random 1, Random 2, Random 3. Every single game had at least one land as described previously.
Jobexi
 
Posts: 13
Joined: 03 May 2017, 16:31
Has thanked: 3 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 03 May 2017, 18:12

Jobexi wrote:I've played about 15 Constructed games, with my opponent using Random Color Decks: Random 1, Random 2, Random 3. Every single game had at least one land as described previously.
I think I patched it up upstream (r33921, please take a look).

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby Jobexi » 03 May 2017, 18:18

Great work! the new patch fixes the issue. Thanks for taking the time, friarsol and Agetian!
Jobexi
 
Posts: 13
Joined: 03 May 2017, 16:31
Has thanked: 3 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 04 May 2017, 02:47

Description: [At AI upkeep, it turned, face up, Maelstrom Djinn]

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.5.62-SNAPSHOT-r-1
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_101 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: 1
   at forge.game.card.CardFactoryUtil.addReplacementEffect(CardFactoryUtil.java:3423)
   at forge.game.keyword.KeywordsChange.addKeywordsToCard(KeywordsChange.java:104)
   at forge.game.card.Card.addChangedCardKeywords(Card.java:3192)
   at forge.game.card.Card.addChangedCardKeywords(Card.java:3170)
   at forge.game.ability.effects.PumpEffect.applyPump(PumpEffect.java:53)
   at forge.game.ability.effects.PumpEffect.resolve(PumpEffect.java:321)
   at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:119)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1290)
   at forge.game.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1283)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1297)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1271)
   at forge.ai.ComputerUtil.playNoStack(ComputerUtil.java:303)
   at forge.ai.PlayerControllerAi.playSpellAbilityNoStack(PlayerControllerAi.java:322)
   at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:470)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1290)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1271)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:514)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:999)
   at forge.game.GameAction.startGame(GameAction.java:1497)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 04 May 2017, 05:41

r33924

Dual taplands 279-287 are being generated in Amonkhet sealed pools
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby AtogMaster » 04 May 2017, 17:01

Using r33930:
I can't tell if Oracle's Vault is bugged or if I'm doing something wrong. After I use the first ability, I am unable to play the exiled card. I've tried clicking on the card in exile, and I've tried clicking on the Vault token in my command zone. Is there something about the interface that I'm just not getting?

edit: Sorry about deviating from standard Subject format. Changed it.
AtogMaster
 
Posts: 21
Joined: 16 Sep 2015, 17:52
Has thanked: 2 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 05 May 2017, 09:17

AtogMaster wrote:Using r33930:
I can't tell if Oracle's Vault is bugged or if I'm doing something wrong. After I use the first ability, I am unable to play the exiled card. I've tried clicking on the card in exile, and I've tried clicking on the Vault token in my command zone. Is there something about the interface that I'm just not getting?

edit: Sorry about deviating from standard Subject format. Changed it.
Just tried it and it worked fine for me (I clicked on the card in exile). What exactly are you trying to play from under Oracle's Vault? And are you sure you're doing it within the same turn as you exiled it? (it only works for one turn)

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby AtogMaster » 05 May 2017, 16:30

Agetian wrote:
Just tried it and it worked fine for me (I clicked on the card in exile). What exactly are you trying to play from under Oracle's Vault? And are you sure you're doing it within the same turn as you exiled it? (it only works for one turn)

- Agetian
I'm pretty sure it was an appropriate card (for the phase). I'll try it out some more and see if I can replicate the problem again. One of the times it happened with a land, but I might have spaced out playing another land that turn.
AtogMaster
 
Posts: 21
Joined: 16 Sep 2015, 17:52
Has thanked: 2 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby AtogMaster » 05 May 2017, 18:34

I just remembered the card, it was Insult || Injury. Still trying to replicate the bug otherwise. And yes, it was during the same turn as the Oracle's Vault activation.
AtogMaster
 
Posts: 21
Joined: 16 Sep 2015, 17:52
Has thanked: 2 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby AtogMaster » 05 May 2017, 19:49

Well, Oracle's Vault seems functional even with the split cards. I'm not sure what problem I was having before. However, in testing it I ran into something else. It looks like if you start to play a card exiled with Oracle's Vault, then cancel out of it, Forge forgets the remembered card. That prevents you from playing the card. Also, it looks like Forge would allow you to play the second half of a Amonkhet split card with the vault, which I don't think is correct.
AtogMaster
 
Posts: 21
Joined: 16 Sep 2015, 17:52
Has thanked: 2 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby stormcat » 07 May 2017, 01:13

:r33945

In Commander Game, I have controlled Necrotic Ooze, and Metalworker is put in opponent graveyard.
I activated Metalworker's ability by Necrotic Ooze, then I revealed 2 artifacts.
But my mana pool was still empty.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 07 May 2017, 03:49

Forge 1.5.62-SNAPSHOT-r33941, In commander, game froze at my EOT while Westvale Cult Leader was dropping its token. I just killed an opponent in the same turn.
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 64 guests


Who is online

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

Login Form