It is currently 15 Aug 2025, 15:13
   
Text Size

SVN Bug Reports

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: SVN Bug Reports

Postby Jaedayr » 07 Mar 2011, 21:08

r7256

I started a new quest, built a deck and went into Bazaar. The Plant Wall had a price of 300 gold. I bought it and it turned out to be the 0/1 level 1 wall. Did the price of the wall go up recently?
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Jaedayr » 07 Mar 2011, 21:09

r7256

Started a quest game, conceded and got the following while trying to concede.

Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


null


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NullPointerException
   at forge.CardList.getColor(CardList.java:49)
   at forge.quest.data.QuestBoosterPack.getCardName(QuestBoosterPack.java:95)
   at forge.quest.data.QuestBoosterPack.generateCards(QuestBoosterPack.java:76)
   at forge.quest.data.QuestBoosterPack.generateCards(QuestBoosterPack.java:91)
   at forge.quest.data.QuestData.addCards(QuestData.java:274)
   at forge.Gui_WinLose.quitButton_actionPerformed(Gui_WinLose.java:417)
   at forge.Gui_WinLose$3.actionPerformed(Gui_WinLose.java:187)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$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)
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby slapshot5 » 08 Mar 2011, 20:12

The EndCombat step is skipped if there is no combat this turn. It should not. Only Declare Blockers and Combat Damage steps should be skipped.

This prevents EndOfCombat triggers from being fired. They build up until there actually is a combat, then they go off at the end of that combat.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: SVN Bug Reports

Postby Replika » 08 Mar 2011, 20:40

r7290

Some things I mentioned earlier in this thread still aren't fixed. A short list:

See Beyond does not work correctly. It just puts one card from your hand on top of your library, but doesn't shuffle it away.
(I thought of a workaround: Put the card on top, SubAbility: Put bottom card of library to the bottom | Shuffle$ True, SubAbility: Put top card of library to the top | Shuffle$ True
That should be a complete randomisation of the library _after_ putting the card from your hand on its top.)

Vampire Lacerator needs to be converted to triggers - its ability does not use the stack and can't be responded to, which is especially important because it only checks whether you lose life or not when the ability resolves, and triggers even if your opponent has 10 or less life.

Flayer Husk sometimes does not get a Germ token when being bounced and recast. I have no idea about this one.

Squadron Hawk didn't let you look at your library and shuffle if there was no Hawk to find in there. I converted it to triggers and tested it:

Code: Select all
Name:Squadron Hawk
ManaCost:1 W
Types:Creature Hawk
Text:no text
PT:1/1
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | TriggerZones$ Battlefield | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for up to three cards named CARDNAME, reveal them, and put them into your hand. If you do, shuffle your library.
SVar:TrigChange:AB$ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Hand | ChangeType$ Card.namedSquadron Hawk | ChangeNum$ 3
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/squadron_hawk.jpg
SetInfo:M11|Common|http://magiccards.info/scans/en/m11/33.jpg
End
Replika
 
Posts: 115
Joined: 30 Jan 2011, 21:15
Has thanked: 2 times
Been thanked: 3 times

Re: SVN Bug Reports

Postby Chris H. » 08 Mar 2011, 22:43

Replika wrote:Squadron Hawk didn't let you look at your library and shuffle if there was no Hawk to find in there. I converted it to triggers and tested it:

Code: Select all
Name:Squadron Hawk
ManaCost:1 W
Types:Creature Hawk
Text:no text
PT:1/1
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | TriggerZones$ Battlefield | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for up to three cards named CARDNAME, reveal them, and put them into your hand. If you do, shuffle your library.
SVar:TrigChange:AB$ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Hand | ChangeType$ Card.namedSquadron Hawk | ChangeNum$ 3
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/squadron_hawk.jpg
SetInfo:M11|Common|http://magiccards.info/scans/en/m11/33.jpg
End
`
Converted Howling Wolf, Nesting Wurm, Skyshroud Sentinel and Squadron Hawk to trigger + AF. Thank you.
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: SVN Bug Reports

Postby UnderFlow » 08 Mar 2011, 23:59

Revision 7307:
UnderFlow
 
Posts: 51
Joined: 17 Feb 2011, 17:49
Has thanked: 0 time
Been thanked: 1 time

Re: SVN Bug Reports

Postby Sloth » 09 Mar 2011, 01:40

UnderFlow wrote:Revision 7307:
These are fixed! Thanks UnderFlow.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: SVN Bug Reports

Postby friarsol » 09 Mar 2011, 03:56

slapshot5 wrote:The EndCombat step is skipped if there is no combat this turn. It should not. Only Declare Blockers and Combat Damage steps should be skipped.

This prevents EndOfCombat triggers from being fired. They build up until there actually is a combat, then they go off at the end of that combat.
I'll try to do this tomorrow.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Corwin72 » 09 Mar 2011, 15:52

r7328
Mortarpod does not create a germ when coming in to play.

Edit:
All living weapons are creating germs that die to state based effects before the equipment can be attached.
Last edited by Corwin72 on 09 Mar 2011, 20:38, edited 1 time in total.
User avatar
Corwin72
 
Posts: 793
Joined: 15 Sep 2009, 13:26
Location: Grayson, Ga
Has thanked: 25 times
Been thanked: 9 times

Re: SVN Bug Reports

Postby UnderFlow » 09 Mar 2011, 20:26

R 7338:
  • I attacked with a Primeval Titan with a power of -1. The AI blocked. I was asked to divide my -1 damage, and it let me assign as much negative damage as I wanted.
  • Sylvan Messenger and the other cards from this cycle only let me see the names of the revealed cards, but I should get to see the entire cards. The same is true for the Auntie's Hovel cycle.

Update - R 7350:
  • One if the semi-random AI decks played Æther Flash against me. Afterwards, whenever a creature came into play, I got an exception. (something about that the Computer cannot play this, I cannot recall the precise message, sorry)
  • If the game throws an exception while something is on the stack, you cannot just start a new match, as it shows unresolved objects on the stack in the new game. One has to restart Forge to continue playing. Could the responsible methods be updated to handle this issue, or is this not possible atm?
UnderFlow
 
Posts: 51
Joined: 17 Feb 2011, 17:49
Has thanked: 0 time
Been thanked: 1 time

Re: SVN Bug Reports

Postby jeffwadsworth » 10 Mar 2011, 07:05

R. 7347

Animal Boneyard and others like it do not appear to work anymore. They do not require you to target their enchanted target type.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: SVN Bug Reports

Postby Sloth » 10 Mar 2011, 09:35

UnderFlow wrote:R 7338:
[list]
[*]I attacked with a Primeval Titan with a power of -1. The AI blocked. I was asked to divide my -1 damage, and it let me assign as much negative damage as I wanted.
This is fixed now. Thanks UnderFlow.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: SVN Bug Reports

Postby Replika » 10 Mar 2011, 20:53

r7380

The AI played a MP1 Sejiri Steppe granting its untapped Birds of Paradise protection from black. Then Forge froze after I passed priority in the Begin Combat Step, just when the AI should have declared its attackers. There was no error message or something like that, Forge just didn't proceed.
The Birds of Paradise was the only creature the AI had.
Replika
 
Posts: 115
Joined: 30 Jan 2011, 21:15
Has thanked: 2 times
Been thanked: 3 times

Re: SVN Bug Reports

Postby timmermac » 10 Mar 2011, 21:39

Replika wrote:r7380

The AI played a MP1 Sejiri Steppe granting its untapped Birds of Paradise protection from black. Then Forge froze after I passed priority in the Begin Combat Step, just when the AI should have declared its attackers. There was no error message or something like that, Forge just didn't proceed.
The Birds of Paradise was the only creature the AI had.
I have things like that happen periodically on my system at a variety of places, and I've found that if I just let the game sit for a few minutes, it resolves itself and you can move on.

System Specs:

Intel P4 3.06 GHz single core
1 GB RAM
Intel 915G Video adapter
160 GB Internal HD
500 GB External HD
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: SVN Bug Reports

Postby Chris H. » 10 Mar 2011, 21:47

Replika wrote:r7380

The AI played a MP1 Sejiri Steppe granting its untapped Birds of Paradise protection from black. Then Forge froze after I passed priority in the Begin Combat Step, just when the AI should have declared its attackers. There was no error message or something like that, Forge just didn't proceed.
The Birds of Paradise was the only creature the AI had.
`
I too have experienced the same type of freeze over the last several days. My processor pegs at 100% + usage. There are no error exceptions generated. The only way that I can quit forge is to do a forced quit.
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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 9 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form