It is currently 25 Aug 2025, 07:20
   
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 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
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Bug Reports (snapshot builds)

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

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

Re: Bug Reports (snapshot builds)

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

Re: Bug Reports (snapshot builds)

Postby RumbleBBU » 11 Dec 2012, 11:21

SVN, trying to save a quest deck, I get:

| 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)
No idea why. (I haven't touched the relevant files.)

Interestingly, it seems that the deck is saved anyway...
Last edited by RumbleBBU on 11 Dec 2012, 15:25, edited 1 time in total.
User avatar
RumbleBBU
 
Posts: 394
Joined: 18 Aug 2012, 04:24
Has thanked: 29 times
Been thanked: 66 times

Re: Bug Reports (snapshot builds)

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

Re: Bug Reports (snapshot builds)

Postby friarsol » 11 Dec 2012, 17:19

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.
This was already fixed, along with some other of this trigger bugs.
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 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
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 11 Dec 2012, 19:17

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

Postby Sloth » 11 Dec 2012, 20:07

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)
Worked for me. :?:

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?
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.
These two cards will no longer appear in AI decks.

Agetian wrote:Hidden Horror didn't give me a chance to discard a card, it just died instantly.
Works for me. Did you have a creature card in your hand?

Agetian wrote:Venomous Breath apparently doesn't work
Fixed! Thanks Agetian.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby moomarc » 11 Dec 2012, 20:37

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)
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.
-Marc
User avatar
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)

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

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.
Oh OK, sorry, sometimes I forget about those cause I subconsciously treat them as "AI bugs" :D I'll post things like that in the AI reports/suggestions thread from now on. ;)

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

Re: Bug Reports (snapshot builds)

Postby RumbleBBU » 12 Dec 2012, 08:28

RumbleBBU wrote:SVN, trying to save a quest deck, I get:

| 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)
No idea why. (I haven't touched the relevant files.)

Interestingly, it seems that the deck is saved anyway...
Found the problem...Deck.java 157 reads:
Code: Select all
        result.schemes.addAll(this.schemes);
Since quest decks contain no schemes, no wonder the editor NPEs trying to iterate over them!

Whoever commits scheme code, please fix this...
User avatar
RumbleBBU
 
Posts: 394
Joined: 18 Aug 2012, 04:24
Has thanked: 29 times
Been thanked: 66 times

Re: Bug Reports (snapshot builds)

Postby Chris H. » 12 Dec 2012, 16:20

RumbleBBU wrote:
RumbleBBU wrote:SVN, trying to save a quest deck, I get:

| 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)
No idea why. (I haven't touched the relevant files.)

Interestingly, it seems that the deck is saved anyway...
Found the problem...Deck.java 157 reads:
Code: Select all
        result.schemes.addAll(this.schemes);
Since quest decks contain no schemes, no wonder the editor NPEs trying to iterate over them!

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. :-k
User avatar
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)

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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 14 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 14 guests

Login Form