It is currently 22 Aug 2025, 13:07
   
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 Diogenes » 07 Nov 2012, 08:13

friarsol wrote:Don't do anything, we have an automated script that does that.
Hey Sol, sorry for the delayed reply. It didn't dawn on me until I read your response that the cards which do appear in PC2 are the cards which have seen print in M13 and RTR (and therefore have had the script run on them since PC2's release.) I had already taken out the references to PC2 to cards like Cancel (which only took about a minute,) so I'm attaching that in case you want to go minimalist. I hadn't finished adding the picture data to the missing cards, but I'll throw up the list of them in case anyone wants to process them and get them showing up. I haven't checked which (if any) of these feature new art, if that's a consideration.

Cards missing from PC2 | Open
Arc Trail
Armillary Sphere
Armored Griffin
Assassinate
Augury Owl
Aura Gnarlid
Auramancer
Auratouched Mage
Awakening Zone
Beast Within
Bituminous Blast
Bloodbraid Elf
Boar Umbra
Cadaver Imp
Cage of Hands
Celestial Ancient
Concentrate
Cultivate
Dark Hatchling
Deny Reality
Dimir Aqueduct
Dimir Infiltrator
Dowsing Shaman
Enigma Sphinx
Enlisted Wurm
Erratic Explosion
Exotic Orchard
Farsight Mask
Fiery Conclusion
Fiery Fall
Fires of Yavimaya
Flayer Husk
Fling
Fusion Elemental
Ghostly Prison
Glen Elendra Liege
Gluttonous Slime
Graypelt Refuge
Gruul Turf
Guard Gomazoa
Hellion Eruption
Higure, the Still Wind
Hissing Iguanar
Hyena Umbra
Ink-Eyes, Servant of Oni
Inkfathom Witch
Jwar Isle Refuge
Kathari Remnant
Kazandu Refuge
Kor Spiritdancer
Krosan Verge
Last Stand
Liliana's Specter
Lumberknot
Mammoth Umbra
Mistblade Shinobi
Mitotic Slime
Mudbutton Torchrunner
Mycoloth
Nest Invader
Ninja of the Deep Hours
Noggle Ransacker
Nullmage Advocate
Okiba-Gang Shinobi
Ondu Giant
Overrun
Penumbra Spider
Peregrine Drake
Pollenbright Wings
Predatory Urge
Primal Plasma
Quietus Spike
Rupture Spire
See Beyond
Selesnya Sanctuary
Shimmering Grotto
Sigil of the Empty Throne
Silhana Ledgewalker
Skarrg, the Rage Pits
Skullsnatcher
Snake Umbra
Spirit Mantle
Sunken Hope
Tainted Isle
Terramorphic Expanse
Thorn-Thrash Viashino
Thran Golem
Throat Slitter
Thunder-Thrash Elder
Tukatongue Thallid
Vitu-Ghazi, the City-Tree
Vivid Creek
Walker of Secret Ways
Wall of Blossoms
Wall of Frost
Warstorm Surge
Whirlpool Warrior
Whispersilk Cloak


edit: I'm getting an error message that tells me "the board attachment quota has been reached." I've deleted my own previous attachments, but it hasn't enabled me to attach anything yet. I'll post the relevent txts in a spoiler if anyone asks for them.

edit 2: I might as well throw this here, since it's mostly a cosmetic issue. For some reason, the deck editor treats uppercase letters as coming before lowercase letters. For instance, Search Warrant comes before Search for Tomorrow and Search the City. This does not affect pop-up boxes, such as "name a card".
Last edited by Diogenes on 07 Nov 2012, 16:16, edited 1 time in total.
Diogenes
 
Posts: 201
Joined: 12 Jul 2012, 00:54
Has thanked: 39 times
Been thanked: 23 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 07 Nov 2012, 13:36

Diogenes wrote:Hey Sol, sorry for the delayed reply. It didn't dawn on me until I read your response that the cards which do appear in PC2 are the cards which have seen print in M13 and RTR (and therefore have had the script run on them since PC2's release.) I had already taken out the references to PC2 to cards like Cancel (which only took about a minute,) so I'm attaching that in case you want to go minimalist. I hadn't finished adding the picture data to the missing cards, but I'll throw up the list of them in case anyone wants to process them and get them showing up. I haven't checked which (if any) of these feature new art, if that's a consideration.
Heh, thanks Diogenes. Just so you know we have two python scripts to handle this, the first of which that nukes all of the SetInfo data for cards in a particular set, and the normal setInfo script that's run afterwards to restore all SetInfo. It makes it much easier than hunting down all of the cards that don't show up, and then manually editing files.
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 Diogenes » 07 Nov 2012, 15:25

Well, that makes sense.

It's not that I like gruntwork, I just figured that tackling some mindless repetitive tasks would a) make for a romantic evening and b) expose me to the scripting used to generate a bunch of cards while doing something marginally useful. I read that the process was automated in the card contribution thread, but I don't have many ways to contribute yet and my free time is very erratic right now.

Anyway, if there is a non-time-sensitive Sisyphean task to be handed off to a newb, I guess I'm looking for something to do. :)
Diogenes
 
Posts: 201
Joined: 12 Jul 2012, 00:54
Has thanked: 39 times
Been thanked: 23 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 07 Nov 2012, 15:47

Diogenes wrote:Anyway, if there is a non-time-sensitive Sisyphean task to be handed off to a newb, I guess I'm looking for something to do. :)
Hehehe.. Here's a list of cards we think might be scriptable http://www.slightlymagic.net/wiki/Forge ... able_Cards (its probably not up-to-date, feel free to remove the ones already added). Feel free to choose your favorites and try them out, and post in the Card Contribution Questions forum if you think you are close and need some push over the top.
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 Diogenes » 07 Nov 2012, 16:13

Ok, I'll give it a go. Probably won't have a block of time until the weekend though. Thanks. :)
Diogenes
 
Posts: 201
Joined: 12 Jul 2012, 00:54
Has thanked: 39 times
Been thanked: 23 times

Re: Bug Reports (snapshot builds)

Postby Bundy » 07 Nov 2012, 17:13

forge-1.3.1-20121107.114557-10

Don't know why, but i got this crash report.
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.

forge.card.spellability.AbilityManaPart cannot be cast to forge.card.spellability.SpellAbility


Version:
Forge version 1.3.1-SNAPSHOT

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.7.0_09 Vendor: Oracle Corporation

Detailed error trace:
java.lang.ClassCastException: forge.card.spellability.AbilityManaPart cannot be cast to forge.card.spellability.SpellAbility
   at forge.card.trigger.TriggerHandler.runSingleTrigger(TriggerHandler.java:449)
   at forge.card.trigger.TriggerHandler.runTrigger(TriggerHandler.java:360)
   at forge.card.spellability.AbilityManaPart.produceMana(AbilityManaPart.java:164)
   at forge.card.abilityfactory.effects.ManaEffect.resolve(ManaEffect.java:183)
   at forge.card.abilityfactory.CommonAbility.resolve(CommonAbility.java:59)
   at forge.game.player.ComputerUtil.payManaCost(ComputerUtil.java:730)
   at forge.game.player.ComputerUtil.payManaCost(ComputerUtil.java:578)
   at forge.card.cost.CostMana.payAI(CostMana.java:204)
   at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:305)
   at forge.game.player.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:161)
   at forge.game.player.ComputerUtil.playSpellAbilities(ComputerUtil.java:114)
   at forge.game.player.ComputerAIGeneral.playSpellAbilitiesStackEmpty(ComputerAIGeneral.java:87)
   at forge.game.player.ComputerAIGeneral.main(ComputerAIGeneral.java:72)
   at forge.game.player.ComputerAIInput.think(ComputerAIInput.java:114)
   at forge.game.player.ComputerAIInput.showMessage(ComputerAIInput.java:77)
   at forge.gui.GuiInput.setInput(GuiInput.java:71)
   at forge.gui.GuiInput.update(GuiInput.java:54)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.control.input.InputControl.getActualInput(InputControl.java:242)
   at forge.gui.GuiInput.update(GuiInput.java:50)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:140)
   at forge.control.input.InputControl.resetInput(InputControl.java:136)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:717)
   at forge.game.player.ComputerAIGeneral.playSpellAbilitiesStackEmpty(ComputerAIGeneral.java:90)
   at forge.game.player.ComputerAIGeneral.playSpellAbilities(ComputerAIGeneral.java:338)
   at forge.game.player.ComputerAIInput.think(ComputerAIInput.java:117)
   at forge.game.player.ComputerAIInput.showMessage(ComputerAIInput.java:77)
   at forge.gui.GuiInput.setInput(GuiInput.java:71)
   at forge.gui.GuiInput.update(GuiInput.java:54)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:140)
   at forge.control.input.InputControl.resetInput(InputControl.java:136)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:717)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:140)
   at forge.control.input.InputControl.resetInput(InputControl.java:136)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:717)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:140)
   at forge.control.input.InputControl.resetInput(InputControl.java:136)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:717)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:140)
   at forge.control.input.InputControl.resetInput(InputControl.java:136)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:717)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:140)
   at forge.control.input.InputControl.resetInput(InputControl.java:136)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:717)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.gui.GuiInput.update(GuiInput.java:57)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:140)
   at forge.control.input.InputControl.resetInput(InputControl.java:136)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:717)
   at forge.game.player.ComputerAIInput.think(ComputerAIInput.java:110)
   at forge.game.player.ComputerAIInput.showMessage(ComputerAIInput.java:77)
   at forge.gui.GuiInput.setInput(GuiInput.java:71)
   at forge.gui.GuiInput.update(GuiInput.java:54)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.control.input.InputControl.getActualInput(InputControl.java:242)
   at forge.gui.GuiInput.update(GuiInput.java:50)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.control.input.InputControl.resetInput(InputControl.java:140)
   at forge.control.input.InputControl.resetInput(InputControl.java:136)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:717)
   at forge.game.player.ComputerAIGeneral.playSpellAbilitiesStackEmpty(ComputerAIGeneral.java:90)
   at forge.game.player.ComputerAIGeneral.playSpellAbilities(ComputerAIGeneral.java:338)
   at forge.game.player.ComputerAIInput.think(ComputerAIInput.java:117)
   at forge.game.player.ComputerAIInput.showMessage(ComputerAIInput.java:77)
   at forge.gui.GuiInput.setInput(GuiInput.java:71)
   at forge.gui.GuiInput.update(GuiInput.java:54)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.util.MyObservable.updateObservers(MyObservable.java:38)
   at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:491)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:709)
   at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:75)
   at forge.gui.GuiInput.selectButtonOK(GuiInput.java:80)
   at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:51)
   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.AbstractButton.doClick(Unknown Source)
   at javax.swing.AbstractButton.doClick(Unknown Source)
   at forge.gui.toolbox.FButton$1.keyPressed(FButton.java:91)
   at java.awt.Component.processKeyEvent(Unknown Source)
   at javax.swing.JComponent.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
Bundy
 
Posts: 348
Joined: 17 Dec 2010, 17:32
Location: The netherlands
Has thanked: 23 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 07 Nov 2012, 17:22

17897 fixes it.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 07 Nov 2012, 23:09

r17903
SAs on the stack no longer list their Targets in the StackDescription.
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 Gargroyal » 08 Nov 2012, 03:37

When Treacherous Pit-Dweller enters the battlefield from the graveyard, I target the opponent, but they don't gain control of the creature.
Also, I'm not sure if it's a bug or just how the ai works, but the opponent always chooses the 4 damage option when I play Vexing Devil. EDIT: scratch that, the opponent won't choose the damage option if they're at low life (about 6)
Gargroyal
 
Posts: 6
Joined: 04 Oct 2012, 22:06
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Max mtg » 08 Nov 2012, 05:11

friarsol wrote:r17903
SAs on the stack no longer list their Targets in the StackDescription.
Is it general or only a specific api is affected?

Known problem: mana abilities of artifacts could not be activated... probably I should check canPlay() of abilityActivated
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 08 Nov 2012, 13:14

Max mtg wrote:
friarsol wrote:r17903
SAs on the stack no longer list their Targets in the StackDescription.
Is it general or only a specific api is affected?
I think it might be everything.
Tested Giant Growth: No Targeting info
Tested Shock: No Targeting info
Tested Disenchant: No Targeting info
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 » 08 Nov 2012, 16:02

friarsol wrote:
Max mtg wrote:
friarsol wrote:r17903
SAs on the stack no longer list their Targets in the StackDescription.
Is it general or only a specific api is affected?
I think it might be everything.
Tested Giant Growth: No Targeting info
Tested Shock: No Targeting info
Tested Disenchant: No Targeting info
Fixed! The AF's never really used their stack description functions.
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 FabioFLX » 08 Nov 2012, 17:16

I noticed that in the latest snap (1.3.1/122459-11) exiled cards never return to the battlefield, so Oblivion Ring, Restoration Angel, etc. leave exiled cards into exile permanently.
User avatar
FabioFLX
 
Posts: 78
Joined: 27 Sep 2011, 13:08
Has thanked: 4 times
Been thanked: 7 times

Re: Bug Reports (snapshot builds)

Postby slowe » 08 Nov 2012, 19:53

Max mtg wrote:17897 fixes it.
There still seems to be a bug with ManaParts and SAs ... I assume it's related. ManaPart objects don't seem to be generated for SAs generated by Dark Ritual, Manamorphose, Mana Drain's delayed trigger, etc:
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 7 Version: 6.1 Architecture: amd64

Java Version: 1.7.0_07 Vendor: Oracle Corporation

Detailed error trace:
java.lang.NullPointerException
   at forge.card.abilityfactory.effects.ManaEffect.generatedMana(ManaEffect.java:227)
   at forge.card.abilityfactory.effects.ManaEffect.getStackDescription(ManaEffect.java:309)
   at forge.card.abilityfactory.SpellEffect.getStackDescriptionWithSubs(SpellEffect.java:67)
   at forge.card.abilityfactory.CommonSpell.getStackDescription(CommonSpell.java:30)
   at forge.card.spellability.SpellAbilityRequirements.addAbilityToStack(SpellAbilityRequirements.java:220)
   at forge.card.spellability.SpellAbilityRequirements.finishPaying(SpellAbilityRequirements.java:191)
   at forge.card.cost.CostPayment.payCost(CostPayment.java:226)
   at forge.card.cost.CostPayment.paidCost(CostPayment.java:189)
   at forge.control.input.InputPayManaCost2.done(InputPayManaCost2.java:87)
   at forge.control.input.InputPayManaCost2.selectCard(InputPayManaCost2.java:59)
   at forge.gui.match.nonsingleton.CField.cardclickAction(CField.java:472)
   at forge.gui.match.nonsingleton.CField.access$7(CField.java:418)
   at forge.gui.match.nonsingleton.CField$8.mousePressed(CField.java:101)
   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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
Mana abilities of permanents (lands, moxen, Birds of Paradise, Koth, etc.) work, with the exception of Metalworker, which throws the same exception before you're prompted to reveal cards. I think that's because its mana ability is a subability, but maybe there's more to it.
Anyway, I have no idea how to fix this, but hopefully it's helpful.
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 08 Nov 2012, 20:54

mana cost rollback is back,

crash eliminated as well = at least dark ritual and manamorphose work as intended
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 32 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form