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 ArsenalNut » 10 Dec 2012, 02:50
Forge (r18663) has been locking up on me during combat after declaring defenders. I believe its related to Hellrider's attack trigger because it has only happened when the AI attacks me with a Hellrider and some other creatures.
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Bug Reports (snapshot builds)
by friarsol » 10 Dec 2012, 02:57
Hmm.. I may have to revert some of those triggerHandler stuff that fixed the timing for Valakut, since it seems like there's some other timing issues that popped up with it. Hopefully, we'll be able to figure out a long term solution.
- 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 Agetian » 10 Dec 2012, 15:33
An AI bug: he blocked my 5/4 with a Granite Gargoyle; he had 2 untapped mountains. Even though that is clearly not enough mana to bring its toughness to 6, he still spent the red mana to raise its toughness to 4.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by Agetian » 11 Dec 2012, 10:46
Several bugs to report:
Funeral March appears not to work (I put it on an opponent's creature and killed said creature, and the opponent didn't sacrifice his other creature)
My opponent cast Primal Clay and it instantly went to the graveyard - probably it's not properly getting it's power/toughness changed when the AI plays it?
- Agetian
Funeral March appears not to work (I put it on an opponent's creature and killed said creature, and the opponent didn't sacrifice his other creature)
My opponent cast Primal Clay and it instantly went to the graveyard - probably it's not properly getting it's power/toughness changed when the AI plays it?
- Agetian
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by RumbleBBU » 11 Dec 2012, 11:21
SVN, trying to save a quest deck, I get:
Interestingly, it seems that the deck is saved anyway...
- | Open
- Code: Select all
This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version SVN
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_21 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.item.ItemPool.addAll(ItemPool.java:175)
at forge.deck.Deck.cloneFieldsTo(Deck.java:157)
at forge.deck.DeckBase.copyTo(DeckBase.java:132)
at forge.gui.deckeditor.tables.DeckController.save(DeckController.java:187)
at forge.gui.deckeditor.SEditorIO.saveDeck(SEditorIO.java:138)
at forge.gui.deckeditor.SEditorIO.saveDeck(SEditorIO.java:104)
at forge.gui.deckeditor.SEditorIO.confirmSaveChanges(SEditorIO.java:173)
at forge.gui.deckeditor.controllers.CEditorQuest.exit(CEditorQuest.java:239)
at forge.control.FControl$4.windowClosing(FControl.java:138)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)
Interestingly, it seems that the deck is saved anyway...
Last edited by RumbleBBU on 11 Dec 2012, 15:25, edited 1 time in total.
Re: Bug Reports (snapshot builds)
by Agetian » 11 Dec 2012, 15:20
One more Dance of the Dead bug - I used it on a creature in my opponent's graveyard, and it came into play under his control instead of mine.
Hidden Horror didn't give me a chance to discard a card, it just died instantly.
Venomous Breath apparently doesn't work
- Agetian
Hidden Horror didn't give me a chance to discard a card, it just died instantly.
Venomous Breath apparently doesn't work
- Agetian
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by friarsol » 11 Dec 2012, 17:19
This was already fixed, along with some other of this trigger bugs.Agetian wrote:One more Dance of the Dead bug - I used it on a creature in my opponent's graveyard, and it came into play under his control instead of mine.
- 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 Agetian » 11 Dec 2012, 18:23
Oh OK, probably forgot to pull in the latest changes... :\
The AI played Akroma's Blessing with no creatures in play (played, not cycled) - this also happened before I updated to the very latest snapshot, so not sure if it isn't fixed already.
The AI played Sunfire Balm on his creature when 4 damage prevention was not enough to save it.
- Agetian
The AI played Akroma's Blessing with no creatures in play (played, not cycled) - this also happened before I updated to the very latest snapshot, so not sure if it isn't fixed already.
The AI played Sunfire Balm on his creature when 4 damage prevention was not enough to save it.
- Agetian
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by friarsol » 11 Dec 2012, 19:17
Hey Agetian,Agetian wrote:Oh OK, probably forgot to pull in the latest changes... :\
The AI played Akroma's Blessing with no creatures in play (played, not cycled) - this also happened before I updated to the very latest snapshot, so not sure if it isn't fixed already.
The AI played Sunfire Balm on his creature when 4 damage prevention was not enough to save it.
- Agetian
Try to keep the bug report threads to actual bugs/illegal plays, and put Dumb AI play in one of the appropriate AI threads.
- 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 Sloth » 11 Dec 2012, 20:07
Worked for me.Agetian wrote:Funeral March appears not to work (I put it on an opponent's creature and killed said creature, and the opponent didn't sacrifice his other creature)

Agetian wrote:My opponent cast Primal Clay and it instantly went to the graveyard - probably it's not properly getting it's power/toughness changed when the AI plays it?
These two cards will no longer appear in AI decks.Agetian wrote:The AI played Akroma's Blessing with no creatures in play (played, not cycled) - this also happened before I updated to the very latest snapshot, so not sure if it isn't fixed already.
Works for me. Did you have a creature card in your hand?Agetian wrote:Hidden Horror didn't give me a chance to discard a card, it just died instantly.
Fixed! Thanks Agetian.Agetian wrote:Venomous Breath apparently doesn't work
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by moomarc » 11 Dec 2012, 20:37
Were you playing against one or multiple opponents? Reason being that it seems that certain triggers that require an input will be delayed or sometimes cause the game to freeze if the triggering player is an opponent other than opponent one.Agetian wrote:Funeral March appears not to work (I put it on an opponent's creature and killed said creature, and the opponent didn't sacrifice his other creature)
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Bug Reports (snapshot builds)
by Agetian » 12 Dec 2012, 03:51
Re: Funeral March and Hidden Horror - yep, I'm pretty sure the plays were valid, but it looks like at the time of reporting, I had a SVN outdated by a couple days (forgot to hit the update button in the morning it seems), so it might have been fixed already. For Funeral March, I was playing a draft tournament but I was playing against one opponent only, not multiple opponents at the same time.
I'll post things like that in the AI reports/suggestions thread from now on. 
- Agetian
Oh OK, sorry, sometimes I forget about those cause I subconsciously treat them as "AI bugs"friarsol wrote:Try to keep the bug report threads to actual bugs/illegal plays, and put Dumb AI play in one of the appropriate AI threads.


- Agetian
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by RumbleBBU » 12 Dec 2012, 08:28
Found the problem...Deck.java 157 reads:RumbleBBU wrote:SVN, trying to save a quest deck, I get:No idea why. (I haven't touched the relevant files.)
- | Open
- Code: Select all
This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version SVN
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_21 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.item.ItemPool.addAll(ItemPool.java:175)
at forge.deck.Deck.cloneFieldsTo(Deck.java:157)
at forge.deck.DeckBase.copyTo(DeckBase.java:132)
at forge.gui.deckeditor.tables.DeckController.save(DeckController.java:187)
at forge.gui.deckeditor.SEditorIO.saveDeck(SEditorIO.java:138)
at forge.gui.deckeditor.SEditorIO.saveDeck(SEditorIO.java:104)
at forge.gui.deckeditor.SEditorIO.confirmSaveChanges(SEditorIO.java:173)
at forge.gui.deckeditor.controllers.CEditorQuest.exit(CEditorQuest.java:239)
at forge.control.FControl$4.windowClosing(FControl.java:138)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)
Interestingly, it seems that the deck is saved anyway...
- Code: Select all
result.schemes.addAll(this.schemes);
Whoever commits scheme code, please fix this...
Re: Bug Reports (snapshot builds)
by Chris H. » 12 Dec 2012, 16:20
RumbleBBU wrote:Found the problem...Deck.java 157 reads:RumbleBBU wrote:SVN, trying to save a quest deck, I get:No idea why. (I haven't touched the relevant files.)
- | Open
- Code: Select all
This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version SVN
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_21 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.item.ItemPool.addAll(ItemPool.java:175)
at forge.deck.Deck.cloneFieldsTo(Deck.java:157)
at forge.deck.DeckBase.copyTo(DeckBase.java:132)
at forge.gui.deckeditor.tables.DeckController.save(DeckController.java:187)
at forge.gui.deckeditor.SEditorIO.saveDeck(SEditorIO.java:138)
at forge.gui.deckeditor.SEditorIO.saveDeck(SEditorIO.java:104)
at forge.gui.deckeditor.SEditorIO.confirmSaveChanges(SEditorIO.java:173)
at forge.gui.deckeditor.controllers.CEditorQuest.exit(CEditorQuest.java:239)
at forge.control.FControl$4.windowClosing(FControl.java:138)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)
Interestingly, it seems that the deck is saved anyway...Since quest decks contain no schemes, no wonder the editor NPEs trying to iterate over them!
- Code: Select all
result.schemes.addAll(this.schemes);
Whoever commits scheme code, please fix this...
I think we may want to hold off of the next beta release until this issue can be addressed.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Bug Reports (snapshot builds)
by Agetian » 12 Dec 2012, 16:28
Skirk Alarmist appears to have an error in it - when you use it on a morphed creature, the card that goes to graveyard at the end of turn is Skirk Alarmist itself, not the morphed creature (tried on morphed Aphetto Alchemist).
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Who is online
Users browsing this forum: No registered users and 12 guests