Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by fmartel » 26 May 2015, 23:48
Hello, this happened
Description: [The game was sitting open for an hour]
Description: [The game was sitting open for an hour]
- ArrayIndexOutOfBoundsException | Open
- Code: Select all
Forge Version: 1.5.40-SNAPSHOT-r-1
Operating System: Windows 7 6.1 x86
Java Version: 1.8.0_45 Oracle Corporation
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at forge.quest.data.QuestAchievements.getCurrentDraft(QuestAchievements.java:287)
at forge.screens.match.QuestDraftWinLose.populateCustomPanel(QuestDraftWinLose.java:73)
at forge.screens.match.ViewWinLose.<init>(ViewWinLose.java:151)
at forge.screens.match.CMatchUI.finishGame(CMatchUI.java:620)
at forge.control.FControlGameEventHandler$1.run(FControlGameEventHandler.java:144)
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$1.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)
- 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)
by Ryujii Kami » 27 May 2015, 01:47
Playing UW pillowfort vs Boros 2013 AI
i had 2 ghostly prisons, a propaganda, and a moat out, and opponent attacked my elspeth with a flyer without paying the 6 colorless mana required by my ghostly prisons and propaganda
*attempts to upload screenshot but forum wont let me*
i had 2 ghostly prisons, a propaganda, and a moat out, and opponent attacked my elspeth with a flyer without paying the 6 colorless mana required by my ghostly prisons and propaganda
*attempts to upload screenshot but forum wont let me*
- Ryujii Kami
- Posts: 6
- Joined: 16 Apr 2015, 19:30
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by Agetian » 27 May 2015, 05:01
r29491: Exiling the cards face down (e.g. with Three Wishes) makes them show the Morph 2/2 image (morph.jpg) instead of the standard card back (hidden.jpg) in the exile zone.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3488
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by Agetian » 27 May 2015, 05:11
I believe this is actually correct, these cards explicitly say "...can't attack you", so this shouldn't apply when your planeswalker is attacked.Ryujii Kami wrote:Playing UW pillowfort vs Boros 2013 AI
i had 2 ghostly prisons, a propaganda, and a moat out, and opponent attacked my elspeth with a flyer without paying the 6 colorless mana required by my ghostly prisons and propaganda
*attempts to upload screenshot but forum wont let me*
- Agetian
- Agetian
- Programmer
- Posts: 3488
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by mastroego » 27 May 2015, 07:40
1.5.40 r29477
By my own "real bugs only" report policy, I wasn't sure whether to post this or not.
Yet something seems very, very wrong with the random generator and/or card counter.
I'm trying to complete the M15 set in a quest.
I've bought literally tens and tens of Fat Packs and Booster Boxes.
I've got 4 copies of every card multiple times (including the Mythic Rares!). The only card that still missing is Nightmare (only 1 copy ever found), which is "just" a rare.
Now before observing that true randomness allows for weird cluster results (true), consider this: I'm now starting to collect multiple copies of foil Mythic Rares, and still no second copy of a "puny" rare.
Also the completion level seems to be stuck at 94%, which is weird with only 3 copies of a rare missing.
Maybe there's some typos in the M15 definition files or something like that.
By my own "real bugs only" report policy, I wasn't sure whether to post this or not.
Yet something seems very, very wrong with the random generator and/or card counter.
I'm trying to complete the M15 set in a quest.
I've bought literally tens and tens of Fat Packs and Booster Boxes.
I've got 4 copies of every card multiple times (including the Mythic Rares!). The only card that still missing is Nightmare (only 1 copy ever found), which is "just" a rare.
Now before observing that true randomness allows for weird cluster results (true), consider this: I'm now starting to collect multiple copies of foil Mythic Rares, and still no second copy of a "puny" rare.
Also the completion level seems to be stuck at 94%, which is weird with only 3 copies of a rare missing.
Maybe there's some typos in the M15 definition files or something like that.
Re: Bug Reports (snapshot builds)
by Galopoulamemanestra » 27 May 2015, 11:54
Hello guys.
I want to report not a bug but more like a miss-coding of a rule.
I have Platinum Angel on the battlefield with both me and my opponent with 4 life, when I cast Hurricane for 4 dmg, both we loose the game. But that's not the case. Whoever has the Angel, wins the game. I don't know if it's the right place to report this.
Using r29491
I want to report not a bug but more like a miss-coding of a rule.
I have Platinum Angel on the battlefield with both me and my opponent with 4 life, when I cast Hurricane for 4 dmg, both we loose the game. But that's not the case. Whoever has the Angel, wins the game. I don't know if it's the right place to report this.
Using r29491
- Galopoulamemanestra
- Posts: 2
- Joined: 27 May 2015, 09:34
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by KrazyTheFox » 27 May 2015, 12:53
I'm not at home and can't confirm, but it looks like Hurricane is killing your Platinum Angel, which causes you to lose once it dies.Galopoulamemanestra wrote:Hello guys.
I want to report not a bug but more like a miss-coding of a rule.
I have Platinum Angel on the battlefield with both me and my opponent with 4 life, when I cast Hurricane for 4 dmg, both we loose the game. But that's not the case. Whoever has the Angel, wins the game. I don't know if it's the right place to report this.
Using r29491
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Bug Reports (snapshot builds)
by Galopoulamemanestra » 27 May 2015, 13:03
When the Hurricane resolves and before anyone gets priority, the state-base actions "triggers" (me having 0 life, opponent having 0 life and angel having 4 dmg on her) and because all of this happens simultaneously I pass the check couse the angel is still in play. My opponent looses and angel goes to the graveyard so the game ends immediately with me winning the match.
I think rule 704 describes the state-base actions (or phases).
I think that's the case. Of course when you are able check it. I am not 100% sure.
I think rule 704 describes the state-base actions (or phases).
I think that's the case. Of course when you are able check it. I am not 100% sure.
- Galopoulamemanestra
- Posts: 2
- Joined: 27 May 2015, 09:34
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by KrazyTheFox » 27 May 2015, 13:19
My apologies, I misread your post. You're correct that you should have won the game.Galopoulamemanestra wrote:When the Hurricane resolves and before anyone gets priority, the state-base actions "triggers" (me having 0 life, opponent having 0 life and angel having 4 dmg on her) and because all of this happens simultaneously I pass the check couse the angel is still in play. My opponent looses and angel goes to the graveyard so the game ends immediately with me winning the match.
I think rule 704 describes the state-base actions (or phases).
I think that's the case. Of course when you are able check it. I am not 100% sure.
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Bug Reports (snapshot builds)
by Agetian » 27 May 2015, 15:34
Umm in M15 it's not "just a rare" - it's actually one of the several cards in the set that do not appear in booster packs at all and can only be obtained from sample decks (Nightmare is in the black sample deck). Details here: http://archive.wizards.com/Magic/magazi ... rcana/1515mastroego wrote:1.5.40 r29477
I've got 4 copies of every card multiple times (including the Mythic Rares!). The only card that still missing is Nightmare (only 1 copy ever found), which is "just" a rare.
I don't know if these decks are implemented as possible to purchase in Forge (I don't think so tbh), and if not, then the only way to obtain these cards appears to be to win them as a random rare or something? I think it's easy enough to add those sample decks to Forge if necessary though.
- Agetian
- Agetian
- Programmer
- Posts: 3488
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by Agetian » 27 May 2015, 16:36
Fix attempted in r29493, it's somewhat experimental though so feedback is welcome.Galopoulamemanestra wrote:When the Hurricane resolves and before anyone gets priority, the state-base actions "triggers" (me having 0 life, opponent having 0 life and angel having 4 dmg on her) and because all of this happens simultaneously I pass the check couse the angel is still in play. My opponent looses and angel goes to the graveyard so the game ends immediately with me winning the match.
I think rule 704 describes the state-base actions (or phases).
I think that's the case. Of course when you are able check it. I am not 100% sure.
- Agetian
- Agetian
- Programmer
- Posts: 3488
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by friarsol » 27 May 2015, 20:49
I'm pretty sure M15 is setup correctly:Agetian wrote:Details here: http://archive.wizards.com/Magic/magazi ... rcana/1515
I don't know if these decks are implemented as possible to purchase in Forge (I don't think so tbh), and if not, then the only way to obtain these cards appears to be to win them as a random rare or something? I think it's easy enough to add those sample decks to Forge if necessary though.
Booster=10 Common:!fromSheet("M15 Sample Cards"), 3 Uncommon:!fromSheet("M15 Sample Cards"), 1 RareMythic:!fromSheet("M15 Sample Cards"), 1 BasicLand
- 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 mastroego » 27 May 2015, 21:53
Oh well, everything adds up then.
Even the 94% completion threshold!
Thanks for the explanation.
Uhm, maybe those extra-M15 cards shouldn't count towards set completion score?
Pretty unlikely to grab them all in 4 copies. A LOT harder than foils, and those aren't considered to that score, in fact.
Even the 94% completion threshold!
Thanks for the explanation.
Uhm, maybe those extra-M15 cards shouldn't count towards set completion score?
Pretty unlikely to grab them all in 4 copies. A LOT harder than foils, and those aren't considered to that score, in fact.
Re: Bug Reports (snapshot builds)
by Bog Wraith » 29 May 2015, 00:56
r29494
While playing in a Modern Masters 2015 draft game, the AI cast Kozilek's Predator but the two 0/1 Eldrazi Spawn creature tokens did not enter the battlefield with it. I took the screenshot after my turn started to see if the tokens would be generated at the end of the AI's turn, but they were not.
When I manually added Kozilek's Predator to either my side of the battlefield or the AI's using the Developers Mode interface, the Spawn tokens did appear.
While playing in a Modern Masters 2015 draft game, the AI cast Kozilek's Predator but the two 0/1 Eldrazi Spawn creature tokens did not enter the battlefield with it. I took the screenshot after my turn started to see if the tokens would be generated at the end of the AI's turn, but they were not.
When I manually added Kozilek's Predator to either my side of the battlefield or the AI's using the Developers Mode interface, the Spawn tokens did appear.

'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
-
Bog Wraith - Global Mod 1 (Ret)
- Posts: 1108
- Joined: 28 May 2008, 22:40
- Location: Shandalar
- Has thanked: 425 times
- Been thanked: 153 times
Re: Bug Reports (snapshot builds)
by friarsol » 29 May 2015, 10:09
It actually looks like he immediately sacrificed them to cast Frogmite.Bog Wraith wrote:r29494
While playing in a Modern Masters 2015 draft game, the AI cast Kozilek's Predator but the two 0/1 Eldrazi Spawn creature tokens did not enter the battlefield with it. I took the screenshot after my turn started to see if the tokens would be generated at the end of the AI's turn, but they were not.
When I manually added Kozilek's Predator to either my side of the battlefield or the AI's using the Developers Mode interface, the Spawn tokens did appear.
6 mana - 4 = Predator + 2 Spawn mana - 4 = Frogmite.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Who is online
Users browsing this forum: No registered users and 64 guests