It is currently 25 Apr 2024, 12:13
   
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 Dracontes » 02 Jul 2017, 19:47

For r34317 again:

- The AI played Ice Over on Cobbled Wings for no discernible benefit as, off the top of my head, I'm not aware of any equipment that is itself affected by tapping.

- Shouldn't Muse Vessel allow one to play land cards exiled with its other ability? (I did have a land play slot available.)

- Trying to set up a random 4-color Modern deck resulted in the situation shown below.
Snap 2017-06-30 at 18.58.05.jpg

Unfortunately clicking on the usual places only makes the fadeout and dialog box flicker, making it impossible to correct the situation. As usual killing the program's process on the Task Manager was the most expedite solution to get things going. Forge crashed on the next start up (see appended report).
2017-06-30-00.txt
(3.65 KiB) Downloaded 174 times

As reported before using Shift to select all the colors for the recommended 5-color deck has Forge hang. I tried for the 5-color deck selecting with Ctrl + Click but as soon as I click on the 4th color this error shows up. Curiously, there was no crash at the next start up after this later attempt and subsequent drastic resolution.

- Scorching Lava doesn't work as I'd expect it to: the exile action is associated with the kicker so the board situation depicted below wouldn't allow it to be paid and still Viscera Seer was exiled as shown on the log, and there's the "can't be regenerated" effect on my opponent's command zone.
Snap 2017-07-01 at 07.46.26.jpg


- Not sure how the AI managed to cast a Myr Superion by placing two -0/-1 counters on a single Wall of Roots but there you go:
Snap 2017-07-01 at 09.05.48.jpg

Did it again with a Chord of Calling:
Snap 2017-07-01 at 09.10.27.jpg


- After a long enough bout on Constructed's "Modern Card-themed Decks" (was on "Aether Hub" when this happened) the AI started lagging more and more when given priority. There was a point where it did so for a long enough time I decided to screenshoot the board situation for reference.
Snap 2017-07-01 at 12.42.59.jpg

Just following that action, Forge went from a frozen image to a white pane and afterwards the program icon on the taskbar started flickering. As usual I killed the process on the Task Manager. The crash report of the next start up is appended:
2017-07-01-00.txt
(1.32 KiB) Downloaded 169 times


- Apparently declining the life cost of Horizon Canopy's mana ability still has the cost of the pertinent spell reduced accordingly, though no life loss happens and Horizon Canopy is untapped.
User avatar
Dracontes
 
Posts: 44
Joined: 29 Nov 2010, 17:51
Has thanked: 2 times
Been thanked: 7 times

Re: Bug Reports (snapshot builds)

Postby Chakan » 02 Jul 2017, 19:58

Description: Opened Forge after closing it out, just finished buying a bunch of stuff from the shop in quest mode. Tried to delete everything but my save game but it definitely had something to do with my quest save game.

NullPointerException | Open
Code: Select all
Forge Version:    1.6.0-SNAPSHOT-r-1
Operating System: Windows 10 10.0 x86
Java Version:     1.8.0_91 Oracle Corporation

java.lang.NullPointerException
   at forge.quest.QuestEventDraft.getAvailableFormats(QuestEventDraft.java:823)
   at forge.quest.QuestEventDraft.getRandomDraftOrNull(QuestEventDraft.java:857)
   at forge.quest.data.QuestAchievements.generateDrafts(QuestAchievements.java:258)
   at forge.quest.QuestTournamentController.update(QuestTournamentController.java:205)
   at forge.screens.home.quest.CSubmenuQuestDraft.update(CSubmenuQuestDraft.java:80)
   at forge.screens.home.quest.CSubmenuQuestData.changeQuest(CSubmenuQuestData.java:321)
   at forge.screens.home.quest.CSubmenuQuestData.access$000(CSubmenuQuestData.java:33)
   at forge.screens.home.quest.CSubmenuQuestData$1.run(CSubmenuQuestData.java:44)
   at forge.screens.home.quest.QuestFileLister.selectHandler(QuestFileLister.java:336)
   at forge.screens.home.quest.QuestFileLister.access$1100(QuestFileLister.java:27)
   at forge.screens.home.quest.QuestFileLister$RowPanel$1.onLeftMouseDown(QuestFileLister.java:259)
   at forge.toolbox.FMouseAdapter.mousePressed(FMouseAdapter.java:105)
   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$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)
User avatar
Chakan
 
Posts: 166
Joined: 07 Jun 2014, 23:08
Has thanked: 11 times
Been thanked: 10 times

Re: Bug Reports (snapshot builds)

Postby Almeida » 02 Jul 2017, 22:12

Description eternal ammit -1/-1 counter hability

RuntimeException | Open
Code: Select all
Forge Version:    1.5.65.003
Operating System: Linux 3.10.84-gb9596e1 armv7l
Java Version:     0 The Android Project

java.lang.RuntimeException: AbilityFactory : getAbility -- Ammit Eternal has no SVar: TrigPutCounter
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:139)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:133)
   at forge.game.trigger.TriggerHandler.runSingleTrigger(TriggerHandler.java:553)
   at forge.game.trigger.TriggerHandler.runNonStaticTriggersForPlayer(TriggerHandler.java:416)
   at forge.game.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:362)
   at forge.game.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:307)
   at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:162)
   at forge.game.zone.MagicStack.addAndUnfreeze(MagicStack.java:150)
   at forge.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:132)
   at forge.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:95)
   at forge.ai.PlayerControllerAi.playChosenSpellAbility(PlayerControllerAi.java:404)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:950)
   at forge.game.GameAction.startGame(GameAction.java:1517)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
   at java.lang.Thread.run(Thread.java:761)
User avatar
Almeida
 
Posts: 41
Joined: 24 Dec 2011, 04:48
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Thrint » 03 Jul 2017, 00:20

Agetian wrote:
Thrint wrote:Description: Getting the following when entering the "Commanderberg" Spell Shop - a custom world that sells cards from Commander decks and FtVs.

IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.6.0-SNAPSHOT-r-1
Operating System: Windows 8 6.2 amd64
Java Version:     1.8.0_131 Oracle Corporation

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at forge.quest.QuestUtilCards.generateSinglesInShop(QuestUtilCards.java:587)
   at forge.quest.QuestUtilCards.generateCardsInShop(QuestUtilCards.java:776)
   at forge.quest.QuestUtilCards.getShopList(QuestUtilCards.java:807)
   at forge.screens.deckeditor.controllers.CEditorQuestCardShop.update(CEditorQuestCardShop.java:251)
   at forge.screens.deckeditor.CDeckEditorUI.setCurrentEditorController(CDeckEditorUI.java:269)
   at forge.screens.deckeditor.CDeckEditorUI.setEditorController(CDeckEditorUI.java:124)
   at forge.GuiDesktop.showSpellShop(GuiDesktop.java:258)
   at forge.quest.QuestUtil.showSpellShop(QuestUtil.java:483)
   at forge.screens.home.quest.CSubmenuDuels$1.run(CSubmenuDuels.java:41)
   at forge.toolbox.FLabel._doMouseAction(FLabel.java:314)
   at forge.toolbox.FLabel.access$1300(FLabel.java:55)
   at forge.toolbox.FLabel$6.onLeftClick(FLabel.java:352)
   at forge.toolbox.FMouseAdapter.mouseReleased(FMouseAdapter.java:246)
   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$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)
Would be nice to have your quest save + this custom world you're using in order to be able to identify the exact cause of this issue you're having.

- Agetian
Here's the worlds.txt file; where is the file for the quest?
Attachments
worlds.txt
(1.65 KiB) Downloaded 178 times
Thrint
 
Posts: 27
Joined: 06 May 2015, 18:43
Has thanked: 8 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 03 Jul 2017, 02:54

Umm I'd also need the world deck folder itself (it should be in the same place as worlds.txt IIRC), and the saved game file is in your profile folder under "quest/saves".

- Agetian
Agetian
Programmer
 
Posts: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 03 Jul 2017, 06:09

r34568

Ruin Rat's trigger should only happen when it dies, but it triggered upon Ruin Rat leaving the battlefield.

Unquenchable Thirst should only cost 1U, not 1UU

Dunes of the Dead should have Desert type
Last edited by tjtillman on 03 Jul 2017, 08:27, edited 2 times in total.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 03 Jul 2017, 06:26

r34568

CPU played Ammit Eternal on its turn, I played a creature and Forge crashed. Forgot to copy the crash message, but maybe its easily repeatable?
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 03 Jul 2017, 12:34

I noticed a problem with Dominate.

Right now, Dominate has X-dependent targeting similar to, say, Repeal. The problem is that Dominate doesn't target creatures with CMC X -- it targets creatures with CMC X or less.

Normally, that's not much of a problem, since you generally don't want to pay as little as possible. There's one small issue with retargeting effects (opponent should be able to retarget your Dominate to a smaller creature).

But I have just seen a deck built to abuse this quirk:

Code: Select all
[metadata]
Name=Reggie Sauls's Ink-Treader
[general]
Constructed
[main]
4 Donate
3 Dominate
4 Ink-Treader Nephilim
4 Silkwing Scout
4 Cerulean Wisps
4 Arcane Denial
3 Myr Turbine
2 Comet Storm
4 Vanish into Memory
4 Exotic Orchard
4 Char
5 Forest
3 Plains
7 Island
5 Mountain
[sideboard]
Basically, this deck can cast a hi-powered Dominate on Ink-Treader Nephilim to steal all opponent's'creatures at once.
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Bug Reports (snapshot builds)

Postby Thrint » 03 Jul 2017, 15:56

Agetian wrote:Umm I'd also need the world deck folder itself (it should be in the same place as worlds.txt IIRC), and the saved game file is in your profile folder under "quest/saves".

- Agetian
OK, the world deck folder is identical to the "Ravnica" folder. I have a quasi-busted version of Windows 8, so I don't necessarily have a profile folder - any one have an idea where this might be?
Thrint
 
Posts: 27
Joined: 06 May 2015, 18:43
Has thanked: 8 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Thrint » 03 Jul 2017, 16:15

Description: In a AKH/HOU draft tournament, trying to cast Pride Sovereign. This popped up when the spell resolved.

RuntimeException | Open
Code: Select all
Forge Version:    1.6.0-SNAPSHOT-r-1
Operating System: Windows 8 6.2 amd64
Java Version:     1.8.0_131 Oracle Corporation

java.lang.RuntimeException: AbilityFactory : getAbility -- Sunscourge Champion has no SVar: TrigGainLife
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:139)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:133)
   at forge.ai.AiController.checkETBEffects(AiController.java:268)
   at forge.ai.AiController.getPossibleETBCounters(AiController.java:169)
   at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1092)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1077)
   at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:395)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:941)
   at forge.game.GameAction.startGame(GameAction.java:1517)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Thrint
 
Posts: 27
Joined: 06 May 2015, 18:43
Has thanked: 8 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Seravy » 03 Jul 2017, 19:19

By the way, an old but still existing bug : In the shop if you doubleclick on something to sell/buy, that works...but only once. Next time you try to sell or buy nothing happens until you leave the tab and return.
Seravy
 
Posts: 363
Joined: 26 Oct 2016, 21:23
Has thanked: 5 times
Been thanked: 27 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 03 Jul 2017, 22:28

r34574

CPU played Crypt of the Eternals and got the following crash:

Code: Select all
Description: [describe what you were doing when the crash occurred]

[spoiler=RuntimeException][code]
Forge Version:    1.6.0-SNAPSHOT-r-1
Operating System: Windows 7 6.1 x86
Java Version:     1.8.0_121 Oracle Corporation

java.lang.RuntimeException: AbilityFactory : getAbility -- Crypt of the Eternals has no SVar: DBGainLife
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:139)
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:133)
   at forge.game.trigger.TriggerHandler.runSingleTrigger(TriggerHandler.java:553)
   at forge.game.trigger.TriggerHandler.runNonStaticTriggersForPlayer(TriggerHandler.java:416)
   at forge.game.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:358)
   at forge.game.trigger.TriggerHandler.runTrigger(TriggerHandler.java:280)
   at forge.game.GameAction.changeZone(GameAction.java:367)
   at forge.game.GameAction.moveTo(GameAction.java:519)
   at forge.game.GameAction.moveTo(GameAction.java:508)
   at forge.game.player.Player.playLand(Player.java:1641)
   at forge.ai.PlayerControllerAi.playChosenSpellAbility(PlayerControllerAi.java:402)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:950)
   at forge.game.GameAction.startGame(GameAction.java:1517)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[/code][/spoiler]
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 04 Jul 2017, 03:31

Thrint wrote:
Agetian wrote:Umm I'd also need the world deck folder itself (it should be in the same place as worlds.txt IIRC), and the saved game file is in your profile folder under "quest/saves".

- Agetian
OK, the world deck folder is identical to the "Ravnica" folder. I have a quasi-busted version of Windows 8, so I don't necessarily have a profile folder - any one have an idea where this might be?
You can find it by navigating to the Forge preferences and clicking the relevant button (something along the lines of "Open user folder" or "Open profile folder", for memory).

- Agetian
Agetian
Programmer
 
Posts: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby Seravy » 04 Jul 2017, 13:51

AI no longer seems to be able to use the activated ability on Torture. I'm pretty sure it was able to use that card before but now it's not activating it even if it has absolutely nothing else to spend mana on, or if the enchanted creature is about to win the game by attacking the AI. As it was able to use it before, I have to assume this is a bug?
Seravy
 
Posts: 363
Joined: 26 Oct 2016, 21:23
Has thanked: 5 times
Been thanked: 27 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 04 Jul 2017, 18:28

r34590

Sidewinder Naga is getting the +1/+0 and trample bonus even when I don't control a Desert or have one in the graveyard.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: KeithOvart and 79 guests


Who is online

In total there are 80 users online :: 1 registered, 0 hidden and 79 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: KeithOvart and 79 guests

Login Form