It is currently 19 May 2025, 10:49
   
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 drdev » 16 Oct 2014, 20:10

ZappaZ wrote:r27978

I really like the new Flashback/Graveyard card art thing, awesome!

Here is a problem I just had:
http://imgur.com/lj0rfq3

As you can see my graveyard counter shows 2 but when I click on it I get 14 cards. These cards are from last game when I checked my graveyard, the only time I did during that game.

EDIT:
Seems to update flawlessly during the first game.
Fixed this bug in r27982.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Fizanko » 16 Oct 2014, 20:17

I don't know if it can be fixed, as the bug has been in since all the time i remember playing Forge, but in case with all those refactor it can :
The money you have when entering the Bazaar is not correct in comparison to what you currently have (it only display the money you had the last time you entered and did something in the Bazaar), until you actually click on one of the Bazaar sub-menu buttons that refresh then the money to display the correct amount.
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 mastroego » 16 Oct 2014, 21:37

This time I didn't skip the message.
r27984
Still the issue with milling and getting stuck at "waiting for the opponent..."


IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.IndexOutOfBoundsException: Index: 5, Size: 4
   at java.util.LinkedList.checkElementIndex(Unknown Source)
   at java.util.LinkedList.get(Unknown Source)
   at forge.util.FCollection.get(FCollection.java:185)
   at forge.game.player.Player.mill(Player.java:1335)
   at forge.game.ability.effects.MillEffect.resolve(MillEffect.java:41)
   at forge.game.ability.SpellApiBased.resolve(SpellApiBased.java:50)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1225)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1207)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:466)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:940)
   at forge.game.GameAction.startGame(GameAction.java:1358)
   at forge.game.Match.startGame(Match.java:71)
   at forge.match.MatchUtil$2.run(MatchUtil.java:200)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
mastroego
 
Posts: 236
Joined: 22 Sep 2013, 14:04
Has thanked: 28 times
Been thanked: 16 times

Re: Bug Reports (snapshot builds)

Postby ZappaZ » 16 Oct 2014, 21:43

r27984

AI is casting Bant Charm on my Nyx Weaver, only I don't have one. The AI cast Bant Charm on it the Turn before so now it's targeting a nonexistant creature?

http://imgur.com/4O75vRb

The Log entry after this says: Bant Charm (90) - Put on the bottom of its owner's library.
ZappaZ
 
Posts: 92
Joined: 26 Jul 2014, 05:37
Has thanked: 26 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby ZappaZ » 16 Oct 2014, 21:57

r27984

More of the above behavior from the AI, here it cast 2 Selesnya Charm to banish my Splinterfright, one after the other, the second after the first already had exiled it.

http://imgur.com/rBgmcDL
ZappaZ
 
Posts: 92
Joined: 26 Jul 2014, 05:37
Has thanked: 26 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby nefigah » 16 Oct 2014, 22:31

r27984

Creatures with enter-the-battlefield replacement effects are broken.

Tested with both Clone and Phyrexian Metamorph—reproducible every time. Just cast one, accept the prompt, and target another creature on the battlefield. The Clone/Metamorph will instantly die to a state-based action, since the game thinks they have 0 toughness.

As a further related bug, if you then look in your graveyard, the card art shown will be that of the cloned card, instead of the original (incorrect because the card should cease to be a copy in zones other than the battlefield).
nefigah
 
Posts: 42
Joined: 16 Mar 2014, 15:49
Has thanked: 10 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby drdev » 17 Oct 2014, 01:04

mastroego wrote:This time I didn't skip the message.
r27984
Still the issue with milling and getting stuck at "waiting for the opponent..."


IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.IndexOutOfBoundsException: Index: 5, Size: 4
   at java.util.LinkedList.checkElementIndex(Unknown Source)
   at java.util.LinkedList.get(Unknown Source)
   at forge.util.FCollection.get(FCollection.java:185)
   at forge.game.player.Player.mill(Player.java:1335)
   at forge.game.ability.effects.MillEffect.resolve(MillEffect.java:41)
   at forge.game.ability.SpellApiBased.resolve(SpellApiBased.java:50)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1225)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1207)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:466)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:940)
   at forge.game.GameAction.startGame(GameAction.java:1358)
   at forge.game.Match.startGame(Match.java:71)
   at forge.match.MatchUtil$2.run(MatchUtil.java:200)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Fixed in r27985.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby drdev » 17 Oct 2014, 01:12

ZappaZ wrote:r27984

More of the above behavior from the AI, here it cast 2 Selesnya Charm to banish my Splinterfright, one after the other, the second after the first already had exiled it.

http://imgur.com/rBgmcDL
I'm unable to reproduce either of the scenarios you provided. Could you maybe provide a game state file that's able to reproduce it?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby mastroego » 17 Oct 2014, 07:32

Probably known issue:
Snapcaster Mage still doesn't seem to work (flashback card does not appear)

Sweet new panel though :)
mastroego
 
Posts: 236
Joined: 22 Sep 2013, 14:04
Has thanked: 28 times
Been thanked: 16 times

Re: Bug Reports (snapshot builds)

Postby matrix4767 » 17 Oct 2014, 08:16

I got this error when opponent copied Myr Enforcer with Kiki-Jiki, Mirror Breaker and proceeded to end phase:

StringIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r27934 (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_45 Oracle Corporation

java.lang.StringIndexOutOfBoundsException: String index out of range: 0
   at java.lang.String.charAt(Unknown Source)
   at forge.card.CardType.hasStringType(CardType.java:202)
   at forge.game.card.Card.isValid(Card.java:3356)
   at forge.game.GameObject.isValid(GameObject.java:26)
   at forge.game.card.CardPredicates$13.apply(CardPredicates.java:151)
   at forge.game.card.CardPredicates$13.apply(CardPredicates.java:148)
   at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
   at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
   at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
   at forge.util.FCollection.<init>(FCollection.java:28)
   at forge.game.card.CardCollection.<init>(CardCollection.java:61)
   at forge.game.card.CardLists.filter(CardLists.java:223)
   at forge.game.card.CardLists.getValidCards(CardLists.java:170)
   at forge.ai.ability.SacrificeAllAi.canPlayAI(SacrificeAllAi.java:40)
   at forge.ai.SpellAbilityAi.doTriggerAINoCost(SpellAbilityAi.java:50)
   at forge.ai.SpellAbilityAi.doTriggerNoCostWithSubs(SpellAbilityAi.java:42)
   at forge.ai.SpellAbilityAi.doTriggerAI(SpellAbilityAi.java:37)
   at forge.ai.AiController.doTrigger(AiController.java:1309)
   at forge.ai.PlayerControllerAi.prepareSingleSa(PlayerControllerAi.java:683)
   at forge.ai.PlayerControllerAi.orderAndPlaySimultaneousSa(PlayerControllerAi.java:672)
   at forge.game.zone.MagicStack.chooseOrderOfSimultaneousStackEntry(MagicStack.java:725)
   at forge.game.zone.MagicStack.addAllTriggeredAbilitiesToStack(MagicStack.java:691)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:875)
   at forge.game.GameAction.startGame(GameAction.java:1343)
   at forge.game.Match.startGame(Match.java:71)
   at forge.match.MatchUtil$2.run(MatchUtil.java:197)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
This is from 1.5.29 171159-4.
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Fizanko » 17 Oct 2014, 08:28

r27978
Not a biggie as the panel can still be closed manually, but testing the Tibalt deck from Sorin vs Tibalt, i noticed when playing the flashback of some cards that the Flashback panel does not close automatically anymore after playing a card from it :
Image

There i played Hellspark Elemental from Flashback, and the panel is still open as seen.
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 Fizanko » 17 Oct 2014, 08:36

r27978

I played Corpse Connoisseur and selected from my library an Hellspark Elemental to be put in the graveyard (my goal was to play it in flashback)

As shown in the screenshot, the game show my that i have 1 flashback playable card, but if i click on it, the Flashback panel is empty

Image

To actually play the flashback Hellspark Elemental i have to click on my graveyard, and click on Hellspark Elemental from there to be able to play it in Flashback (but it will still not appear in the Flashback panel)
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 Marek14 » 17 Oct 2014, 12:04

r27987 - the ability granted by Singing Bell Strike can be activated, but doesn't show in the Card Detail panel.
Marek14
Tester
 
Posts: 2771
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 302 times

Re: Bug Reports (snapshot builds)

Postby drdev » 17 Oct 2014, 12:27

Fizanko wrote:r27978
Not a biggie as the panel can still be closed manually, but testing the Tibalt deck from Sorin vs Tibalt, i noticed when playing the flashback of some cards that the Flashback panel does not close automatically anymore after playing a card from it :
Image

There i played Hellspark Elemental from Flashback, and the panel is still open as seen.
I didn't design those modeless panels to auto-close, as they can be left open and moved around while playing. That said, would people prefer that the flashback panel specifically auto-close after casting the last card in it?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Fizanko » 17 Oct 2014, 15:36

Thinking more about it, it's dependant on how much mana you can have, if you have the mana to only cast 1 card from Flashback, the interest of having it open after casting is 0
But now, if you have enough mana to cast more than 1 card, letting it open is a good thing.

So i guess, as long as you can close it manually, current behaviour is acceptable finally.
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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 26 guests


Who is online

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

Login Form