SVN Bug Reports
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: SVN Bug Reports
by Jaedayr » 23 Feb 2011, 19:01
r6758
Started a new quest, went to the Pet Shop to buy a Hound. It took my gold but the display did not update to say I owned a pet. However I was able to check the summon pet box and the pet appeared in game. After the game I went back to the Pet Shop and paid for an upgrade. The pet did not get the upgrade and it still says I do not own a pet.
Started a new quest, went to the Pet Shop to buy a Hound. It took my gold but the display did not update to say I owned a pet. However I was able to check the summon pet box and the pet appeared in game. After the game I went back to the Pet Shop and paid for an upgrade. The pet did not get the upgrade and it still says I do not own a pet.
Re: SVN Bug Reports
by Corwin72 » 23 Feb 2011, 19:21
build 6750
Kemba, Kha Regent is not putting cats into play if equipped during the player upkeep.
I take it back.
It triggers but no 2/2 Cat is put in play or if they are they are 0/0 and die instantly.
Kemba, Kha Regent is not putting cats into play if equipped during the player upkeep.
I take it back.
It triggers but no 2/2 Cat is put in play or if they are they are 0/0 and die instantly.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: SVN Bug Reports
by Fnoed » 23 Feb 2011, 19:35
I cannot reproduce this. Can you retry?Jaedayr wrote:r6758
Started a new quest, went to the Pet Shop to buy a Hound. It took my gold but the display did not update to say I owned a pet. However I was able to check the summon pet box and the pet appeared in game. After the game I went back to the Pet Shop and paid for an upgrade. The pet did not get the upgrade and it still says I do not own a pet.
Re: SVN Bug Reports
by Replika » 23 Feb 2011, 20:22
r6753
Blood Celebrant has a "T" as a cost instead of "B".
Cabal Ritual produces "R" instead of "B".
Casting Reaping the Graves (mainphase, storm count at 3, a well-filled graveyard) caused a NullPointerException:
Detailed error trace:
java.lang.NullPointerException
at forge.HumanPlayer.isPlayer(Unknown Source)
at forge.Card.hasProperty(Unknown Source)
at forge.Card.isValid(Unknown Source)
at forge.Card.isValidCard(Unknown Source)
at forge.CardList$13.addCard(Unknown Source)
at forge.CardList.filter(Unknown Source)
at forge.CardList.getValidCards(Unknown Source)
at forge.Target_Selection$1.showMessage(Unknown Source)
at forge.GuiInput.setInput(Unknown Source)
at forge.GuiInput.update(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(Unknown Source)
at forge.InputControl.setInput(Unknown Source)
at forge.Target_Selection.chooseTargets(Unknown Source)
at forge.SpellAbility_Requirements.fillRequirements(Unknown Source)
at forge.SpellAbility_Requirements.fillRequirements(Unknown Source)
at forge.GameAction.playSpellAbilityForFree(Unknown Source)
at forge.CardFactory.copySpellontoStack(Unknown Source)
at forge.GameActionUtil.playCard_Storm(Unknown Source)
at forge.GameActionUtil.executePlayCardEffects(Unknown Source)
at forge.MagicStack.push(Unknown Source)
at forge.MagicStack.add(Unknown Source)
at forge.MagicStack.addAndUnfreeze(Unknown Source)
at forge.SpellAbility_Requirements.addAbilityToStack(Unknown Source)
at forge.SpellAbility_Requirements.finishPaying(Unknown Source)
at forge.Cost_Payment.payCost(Unknown Source)
at forge.Cost_Payment$2.done(Unknown Source)
at forge.Cost_Payment$2.selectCard(Unknown Source)
at forge.GuiInput.selectCard(Unknown Source)
at forge.GuiDisplay4$10.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(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.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)
Blood Celebrant has a "T" as a cost instead of "B".
Cabal Ritual produces "R" instead of "B".
Casting Reaping the Graves (mainphase, storm count at 3, a well-filled graveyard) caused a NullPointerException:
Detailed error trace:
java.lang.NullPointerException
at forge.HumanPlayer.isPlayer(Unknown Source)
at forge.Card.hasProperty(Unknown Source)
at forge.Card.isValid(Unknown Source)
at forge.Card.isValidCard(Unknown Source)
at forge.CardList$13.addCard(Unknown Source)
at forge.CardList.filter(Unknown Source)
at forge.CardList.getValidCards(Unknown Source)
at forge.Target_Selection$1.showMessage(Unknown Source)
at forge.GuiInput.setInput(Unknown Source)
at forge.GuiInput.update(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(Unknown Source)
at forge.InputControl.setInput(Unknown Source)
at forge.Target_Selection.chooseTargets(Unknown Source)
at forge.SpellAbility_Requirements.fillRequirements(Unknown Source)
at forge.SpellAbility_Requirements.fillRequirements(Unknown Source)
at forge.GameAction.playSpellAbilityForFree(Unknown Source)
at forge.CardFactory.copySpellontoStack(Unknown Source)
at forge.GameActionUtil.playCard_Storm(Unknown Source)
at forge.GameActionUtil.executePlayCardEffects(Unknown Source)
at forge.MagicStack.push(Unknown Source)
at forge.MagicStack.add(Unknown Source)
at forge.MagicStack.addAndUnfreeze(Unknown Source)
at forge.SpellAbility_Requirements.addAbilityToStack(Unknown Source)
at forge.SpellAbility_Requirements.finishPaying(Unknown Source)
at forge.Cost_Payment.payCost(Unknown Source)
at forge.Cost_Payment$2.done(Unknown Source)
at forge.Cost_Payment$2.selectCard(Unknown Source)
at forge.GuiInput.selectCard(Unknown Source)
at forge.GuiDisplay4$10.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(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.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)
Re: SVN Bug Reports
by Chris H. » 23 Feb 2011, 21:05
`Corwin72 wrote:build 6750
Kemba, Kha Regent is not putting cats into play if equipped during the player upkeep.
I take it back.
It triggers but no 2/2 Cat is put in play or if they are they are 0/0 and die instantly.
Fixed.
No tokens were being created. It had "Equipment.attached" and turns out it should have been "Equipment.Attached". Case matters.

-
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
by slapshot5 » 23 Feb 2011, 21:57
These two are fixed. Don't know about the NPE yet.Replika wrote:r6753
Blood Celebrant has a "T" as a cost instead of "B".
Cabal Ritual produces "R" instead of "B".
-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
by Jaedayr » 24 Feb 2011, 20:35
I fixed it but I really don't understand why. I reproduced the problem with r6804 and remembered that I had changed quest.preferences so I went back and edited them out. Everything worked as expected. So I put my changes back in, and everything worked as expected. Here are the changes I made but I have no idea how this is related to the screen not updating. But it works!Fnoed wrote:I cannot reproduce this. Can you retry?
Original
- Code: Select all
winsForRankIncrease=3,4,5,6
winsForMediumAI=10,9,8,7
winsForHardAI=20,18,16,14
- Code: Select all
winsForRankIncrease=30,4,5,6
winsForMediumAI=100,9,8,7
winsForHardAI=200,18,16,14
Re: SVN Bug Reports
by Fnoed » 24 Feb 2011, 21:06
One thing that I can think of is that I made some tweaks to the save file format since the last beta and there may have been an issue converting. But this should not have happened if you started a new game.
I also cannot see why the preferences file would make a difference.
I also cannot see why the preferences file would make a difference.
Re: SVN Bug Reports
by jeffwadsworth » 25 Feb 2011, 16:20
Painter's Servant entered the battlefield and was immediately dealt 4 damage by a triggered effect, sending it to the graveyard. The following error occured upon its stacked ability trying to resolve:
- 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
CardUtil : getShortColor() invalid argument - null
Version:
Forge -- official beta: $Date: 2011-01-06 10:34:48 -0600 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_23 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.RuntimeException: CardUtil : getShortColor() invalid argument - null
at forge.CardUtil.getShortColor(CardUtil.java:86)
at forge.CardFactory_Creatures$106.resolve(CardFactory_Creatures.java:2913)
at forge.MagicStack.resolveStack(MagicStack.java:666)
at forge.Phase.passPriority(Phase.java:526)
at forge.Input_PassPriority.selectButtonOK(Input_PassPriority.java:35)
at forge.GuiInput.selectButtonOK(GuiInput.java:35)
at forge.GuiDisplay4.okButtonActionPerformed(GuiDisplay4.java:948)
at forge.GuiDisplay4.access$3(GuiDisplay4.java:947)
at forge.GuiDisplay4$25.actionPerformed(GuiDisplay4.java:735)
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.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)
- 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
by Jaedayr » 25 Feb 2011, 18:07
r6829
More quest oddness. I started a new quest, built a deck, sold a few cards and went to the Bazaar. According to the Pet Shop I already own a 1/1 hound with haste and the cost to upgrade is 450 gold. However the option to summon pet is greyed out. I upgraded it and the display did not change, similar to the problem I reported earlier, but the summon pet box is enabled. When I got into a game, the hound is 1/1 without haste. I also checked and I own the 0/1 plant wall even though the checkbox to summon it is greyed out.
The only thing I have done since yesterday is sync to the latest rev, no changes to any files on my system.
More quest oddness. I started a new quest, built a deck, sold a few cards and went to the Bazaar. According to the Pet Shop I already own a 1/1 hound with haste and the cost to upgrade is 450 gold. However the option to summon pet is greyed out. I upgraded it and the display did not change, similar to the problem I reported earlier, but the summon pet box is enabled. When I got into a game, the hound is 1/1 without haste. I also checked and I own the 0/1 plant wall even though the checkbox to summon it is greyed out.
The only thing I have done since yesterday is sync to the latest rev, no changes to any files on my system.
Re: SVN Bug Reports
by Jaedayr » 25 Feb 2011, 18:46
Fnoed wrote:Can you attach the res/quest/questdata.dat file?
- Attachments
-
questData.zip
- (3.58 KiB) Downloaded 285 times
Re: SVN Bug Reports
by Jaedayr » 25 Feb 2011, 18:51
r6829
I made two dck files in the res/decks folder using Notepad++ and named them Test.dck and TestG.dck. When I tried to select the deck from the main menu, this was the pulldown menu.
I made two dck files in the res/decks folder using Notepad++ and named them Test.dck and TestG.dck. When I tried to select the deck from the main menu, this was the pulldown menu.
- Code: Select all
Generate Deck
Random
Test
Test
- Code: Select all
Generate Deck
Random
Test
Test
Test
- Code: Select all
Generate Deck
Random
Test
Test
Test
Test
Re: SVN Bug Reports
by friarsol » 25 Feb 2011, 18:58
The name of the deck isn't taken from the filename it's taken from the name of the deck inside the file. Soo.. this is expected behavior?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: SVN Bug Reports
by Chris H. » 25 Feb 2011, 19:23
Like Sol said, the name for a deck is currently stored on the first line of the deck file. An example deck file:
The name of this deck as it is displayed in-game will be "test". You can use your OS to change the file name to:
{anything allowed by your OS}.deck
`
and the deck will still have the in-game name as displayed on the first line.
- Code: Select all
test
[general]
constructed
[main]
1 Island
[sideboard]
The name of this deck as it is displayed in-game will be "test". You can use your OS to change the file name to:
{anything allowed by your OS}.deck
`
and the deck will still have the in-game name as displayed on the first line.

-
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
Who is online
Users browsing this forum: No registered users and 13 guests