Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by Hanmac » 30 Aug 2015, 04:50
Clone wants to enter the Battlefield from exile because he did clone a Epochrasite
- java.lang.NullPointerException | Open
- Code: Select all
Game-8 > java.lang.NullPointerException
at forge.game.spellability.SpellAbilityRestriction.checkZoneRestrictions(SpellAbilityRestriction.java:213)
at forge.game.spellability.SpellAbilityRestriction.canPlay(SpellAbilityRestriction.java:460)
at forge.game.spellability.Spell.canPlay(Spell.java:88)
at forge.game.spellability.SpellAbilityView.updateCanPlay(SpellAbilityView.java:57)
at forge.game.spellability.SpellAbility.setActivatingPlayer(SpellAbility.java:271)
at forge.ai.ComputerUtilAbility.getOriginalAndAltCostAbilities(ComputerUtilAbility.java:50)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1199)
at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1183)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1122)
at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:397)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:917)
at forge.game.GameAction.startGame(GameAction.java:1440)
at forge.game.Match.startGame(Match.java:96)
at forge.match.HostedMatch$2.run(HostedMatch.java:220)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
- java.lang.NullPointerException | Open
- Code: Select all
Game-0 > java.lang.NullPointerException
at forge.ai.ability.PumpAiBase$1.apply(PumpAiBase.java:95)
at forge.ai.ability.PumpAiBase$1.apply(PumpAiBase.java:88)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
at forge.util.collect.FCollection.<init>(FCollection.java:90)
at forge.game.card.CardCollection.<init>(CardCollection.java:115)
at forge.game.card.CardLists.filter(CardLists.java:229)
at forge.ai.ability.PumpAiBase.isUsefulCurseKeyword(PumpAiBase.java:88)
at forge.ai.ability.PumpAiBase.containsUsefulKeyword(PumpAiBase.java:36)
at forge.ai.ability.PumpAiBase$6.apply(PumpAiBase.java:526)
at forge.ai.ability.PumpAiBase$6.apply(PumpAiBase.java:523)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
at forge.util.collect.FCollection.<init>(FCollection.java:90)
at forge.game.card.CardCollection.<init>(CardCollection.java:115)
at forge.game.card.CardLists.filter(CardLists.java:229)
at forge.ai.ability.PumpAiBase.getCurseCreatures(PumpAiBase.java:523)
at forge.ai.ability.PumpAi.pumpTgtAI(PumpAi.java:309)
at forge.ai.ability.PumpAi.canPlayAI(PumpAi.java:190)
at forge.ai.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:21)
at forge.ai.AiController.canPlaySa(AiController.java:612)
at forge.ai.AiController.canPlayAndPayFor(AiController.java:599)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1206)
at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1183)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1122)
at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:397)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:917)
at forge.game.GameAction.startGame(GameAction.java:1440)
at forge.game.Match.startGame(Match.java:96)
at forge.match.HostedMatch$2.run(HostedMatch.java:220)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Re: Bug Reports (snapshot builds)
by friarsol » 30 Aug 2015, 12:28
Hanmac, please make sure you are posting the revision number you are on.
- friarsol
- Global Moderator
- Posts: 7575
- Joined: 15 May 2010, 04:20
- Has thanked: 242 times
- Been thanked: 956 times
Re: Bug Reports (snapshot builds)
by Jayburner » 30 Aug 2015, 16:46
I have a problem with Necropotence, when i use it the game crashes (usually the following turn or 2). Also using necropotence seems to disable protections on the board like ghostly prison or pariashield. Deck works find no problems without necropotence, it's only when i use it's ability that the game develops problems.
- Jayburner
- Posts: 5
- Joined: 28 Jun 2015, 16:41
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by onderzeeboot » 31 Aug 2015, 20:20
Description: I was playing Zendikar drafts. It looks like the application crashes every time the AI plays a Smoldering Spires (it was the last card played on multiple occasions).
If I had to hazard a guess, it's a bug in line 7 of Smoldering Spire's card file. It says "SVar:TrigPump:AB$ Pump", that should be "SVar:TrigPump:AB$Pump", without the space, right? Though Goblin Shortcutter, from the same block, starts with "SVar:TrigCanNotBlock:AB$Pump", which is another SVar entirely...
If I had to hazard a guess, it's a bug in line 7 of Smoldering Spire's card file. It says "SVar:TrigPump:AB$ Pump", that should be "SVar:TrigPump:AB$Pump", without the space, right? Though Goblin Shortcutter, from the same block, starts with "SVar:TrigCanNotBlock:AB$Pump", which is another SVar entirely...
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.43-r-1
Operating System: Windows 7 6.1 x86
Java Version: 1.8.0_51 Oracle Corporation
java.lang.NullPointerException
at forge.ai.ability.PumpAiBase$2.apply(PumpAiBase.java:115)
at forge.ai.ability.PumpAiBase$2.apply(PumpAiBase.java:108)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
at forge.util.collect.FCollection.<init>(FCollection.java:90)
at forge.game.card.CardCollection.<init>(CardCollection.java:115)
at forge.game.card.CardLists.filter(CardLists.java:229)
at forge.ai.ability.PumpAiBase.isUsefulCurseKeyword(PumpAiBase.java:108)
at forge.ai.ability.PumpAiBase.containsUsefulKeyword(PumpAiBase.java:36)
at forge.ai.ability.PumpAiBase$6.apply(PumpAiBase.java:526)
at forge.ai.ability.PumpAiBase$6.apply(PumpAiBase.java:523)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
at forge.util.collect.FCollection.<init>(FCollection.java:90)
at forge.game.card.CardCollection.<init>(CardCollection.java:115)
at forge.game.card.CardLists.filter(CardLists.java:229)
at forge.ai.ability.PumpAiBase.getCurseCreatures(PumpAiBase.java:523)
at forge.ai.ability.PumpAi.pumpTgtAI(PumpAi.java:309)
at forge.ai.ability.PumpAi.doTriggerAINoCost(PumpAi.java:492)
at forge.ai.SpellAbilityAi.doTriggerNoCostWithSubs(SpellAbilityAi.java:40)
at forge.ai.SpellAbilityAi.doTriggerAI(SpellAbilityAi.java:35)
at forge.ai.AiController.doTrigger(AiController.java:1253)
at forge.ai.PlayerControllerAi.prepareSingleSa(PlayerControllerAi.java:700)
at forge.ai.PlayerControllerAi.orderAndPlaySimultaneousSa(PlayerControllerAi.java:689)
at forge.game.zone.MagicStack.chooseOrderOfSimultaneousStackEntry(MagicStack.java:778)
at forge.game.zone.MagicStack.addAllTriggeredAbilitiesToStack(MagicStack.java:744)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:903)
at forge.game.GameAction.startGame(GameAction.java:1447)
at forge.game.Match.startGame(Match.java:96)
at forge.match.HostedMatch$2.run(HostedMatch.java:220)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Last edited by onderzeeboot on 31 Aug 2015, 20:29, edited 1 time in total.
- onderzeeboot
- Posts: 31
- Joined: 29 Nov 2014, 19:37
- Has thanked: 5 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by friarsol » 31 Aug 2015, 20:28
You appear to be on an old version, .44 was already released.onderzeeboot wrote:Description: I was playing Zendikar drafts. It looks like the application crashes every time the AI plays a Smoldering Spires (it was the last card played on multiple occasions).
Forge Version: 1.5.43-r-1
- friarsol
- Global Moderator
- Posts: 7575
- Joined: 15 May 2010, 04:20
- Has thanked: 242 times
- Been thanked: 956 times
Re: Bug Reports (snapshot builds)
by onderzeeboot » 31 Aug 2015, 20:33
Ah, I followed the link on the Wiki, which isn't updated yet.friarsol wrote:You appear to be on an old version, .44 was already released.onderzeeboot wrote:Description: I was playing Zendikar drafts. It looks like the application crashes every time the AI plays a Smoldering Spires (it was the last card played on multiple occasions).
Forge Version: 1.5.43-r-1
I don't think this bug was fixed though, looking at the release notes.
- onderzeeboot
- Posts: 31
- Joined: 29 Nov 2014, 19:37
- Has thanked: 5 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by friarsol » 31 Aug 2015, 21:07
Release notes don't cover every bugfix. If it's still happening, feel free to update. Also, if you are just using a beta, please read the link in my signature for how we request users post bug reports.onderzeeboot wrote:I don't think this bug was fixed though, looking at the release notes.
- friarsol
- Global Moderator
- Posts: 7575
- Joined: 15 May 2010, 04:20
- Has thanked: 242 times
- Been thanked: 956 times
Re: Bug Reports (snapshot builds)
by Hanmac » 01 Sep 2015, 05:30
i say it did happen with forge-gui-desktop-1.5.45-SNAPSHOT-r29918, but i might need to test that again ..friarsol wrote:Hanmac, please make sure you are posting the revision number you are on.
(i try to always use the newest version from http://www.krazyweb.net/forge/ )
Re: Bug Reports (snapshot builds)
by onderzeeboot » 01 Sep 2015, 06:19
Ah, check. Sorry for that! The more you knowfriarsol wrote:Release notes don't cover every bugfix. If it's still happening, feel free to update. Also, if you are just using a beta, please read the link in my signature for how we request users post bug reports.onderzeeboot wrote:I don't think this bug was fixed though, looking at the release notes.
I downloaded the latest snapshot and haven't been able to reproduce the bug. I saw both Smoldering Spires and Goblin Shortcutter being played without crashing the game in version forge-gui-desktop-1.5.45-SNAPSHOT-r29918. Sorry for the confusion!
PS. I love that the new mulligan rule is already implemented in this version!
- onderzeeboot
- Posts: 31
- Joined: 29 Nov 2014, 19:37
- Has thanked: 5 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by fagioutd » 01 Sep 2015, 12:07
Description: during one attack step the game crash..now it results impossible opening the game again!
Forge Version: 1.5.45-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 x86
Java Version: 1.8.0_45 Oracle Corporation
Forge Version: 1.5.45-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 x86
Java Version: 1.8.0_45 Oracle Corporation
- fagioutd
- Posts: 3
- Joined: 03 Apr 2014, 13:25
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by PowerClaws » 03 Sep 2015, 02:37
It looks like Spelltwine is missing the code that allows you to cast the opponents spell, instead, the opponent is casting the copy, my own copy works correctly.
Looking at the code, it looks like a subability is missing (emphasised in the card text)
Looking at the code, it looks like a subability is missing (emphasised in the card text)
- Spelltwine | Open
- Name:Spelltwine
ManaCost:5 U
Types:Sorcery
A:SP$ ChangeZone | Cost$ 5 U | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose target instant or sorcery card in your graveyard | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | RememberChanged$ True | SubAbility$ TgtOpp | SpellDescription$ Exile target instant or sorcery card from your graveyard and target instant or sorcery from your opponent's graveyard. Copy those cards. Cast the copies if able without paying their mana cost.
SVar:TgtOpp:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose target instant or sorcery card in your opponent's graveyard | ValidTgts$ Instant.OppOwn,Sorcery.OppOwn | RememberChanged$ True | SubAbility$ CopyYou
SVar:CopyYou:DB$ CopySpellAbility | Defined$ Remembered | SubAbility$ CopyOpp | CopyMultipleSpells$ 2 | SubAbility$ ExileSelf
SVar:ExileSelf:DB$ ChangeZone | Origin$ Stack | Destination$ Exile | Defined$ Self | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/spelltwine.jpg
Oracle:Exile target instant or sorcery card from your graveyard and target instant or sorcery card from an opponent's graveyard. Copy those cards. Cast the copies if able without paying their mana costs. Exile Spelltwine.
- PowerClaws
- Posts: 131
- Joined: 30 Jan 2012, 11:33
- Has thanked: 28 times
- Been thanked: 8 times
Re: Bug Reports (snapshot builds)
by matrix4767 » 03 Sep 2015, 12:21
r29921:
Not sure if a bug or a ruling, but Mastery of the Unseen can't manifest Kytheon, Hero of Akros and the mana spent is wasted.
Not sure if a bug or a ruling, but Mastery of the Unseen can't manifest Kytheon, Hero of Akros and the mana spent is wasted.
- matrix4767
- Posts: 125
- Joined: 09 Sep 2014, 08:10
- Has thanked: 5 times
- Been thanked: 3 times
Re: Bug Reports (snapshot builds)
by friarsol » 03 Sep 2015, 13:09
That's a bug. DFC should have three sides. "Day" Normal face up, "night" face down, and morph face down.matrix4767 wrote:r29921:
Not sure if a bug or a ruling, but Mastery of the Unseen can't manifest Kytheon, Hero of Akros and the mana spent is wasted.
- friarsol
- Global Moderator
- Posts: 7575
- Joined: 15 May 2010, 04:20
- Has thanked: 242 times
- Been thanked: 956 times
Re: Bug Reports (snapshot builds)
by friarsol » 03 Sep 2015, 13:14
That part of the script is actually useless, the SubAbility gets overwritten later in the same line. The problem is that the copied SA isn't being controlled by you in this case.PowerClaws wrote:It looks like Spelltwine is missing the code that allows you to cast the opponents spell, instead, the opponent is casting the copy, my own copy works correctly.
Looking at the code, it looks like a subability is missing (emphasised in the card text)
- friarsol
- Global Moderator
- Posts: 7575
- Joined: 15 May 2010, 04:20
- Has thanked: 242 times
- Been thanked: 956 times
Who is online
Users browsing this forum: No registered users and 8 guests
