It is currently 18 Sep 2025, 20:36
   
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 ZappaZ » 13 May 2015, 07:57

r29388

Ash Zealot triggers from spells cast from hand too.
ZappaZ
 
Posts: 92
Joined: 26 Jul 2014, 05:37
Has thanked: 26 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 13 May 2015, 12:13

ZappaZ wrote:r29388

Ash Zealot triggers from spells cast from hand too.
Oh I fixed that last night, but apparently never committed it.
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 Ryujii Kami » 14 May 2015, 01:40

Deleted all forge files and redownloaded, attempted to launch, and got this
(have to put a screenshot cuz my post would be too spammy)
Attachments
forge launch crash 2.png
Ryujii Kami
 
Posts: 6
Joined: 16 Apr 2015, 19:30
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby KrazyTheFox » 14 May 2015, 02:00

Ryujii Kami wrote:Deleted all forge files and redownloaded, attempted to launch, and got this
(have to put a screenshot cuz my post would be too spammy)
Your quest file has been corrupted for some reason. There's backups of your quests available in your "C:\Users\YourName\AppData\Roaming\Forge\quest\saves" folder. Delete the corrupt .dat file for your quest and copy and paste the .dat.bak file, renaming it to have just .dat at the end. You may need to show hidden files and folders in Windows to get to AppData.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 14 May 2015, 07:12

Epochrasite doesn't get any counters when cast from suspend. Also, the effect that grants it suspend should end when Epochrasite leaves exile -- currently, it has "suspend" listed twice when it dies again.

EDIT: And after second casting from suspend, it DID get the counters.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 14 May 2015, 07:26

r29390: It looks like there's something wrong with the code that registers blockers (which manifests itself in targeting arrows failing to appear and in the declared blockers not being listed in the Combat panel). It doesn't always happen to me, but it seems to happen after several games. Here's an example (my mouse is hovering over the blocking creature - there is no targeting arrow, and if you look in the top left corner of the screen, the blocker is not listed in the Combat panel).

Forge-NoTargetingArrowsAndBlockDeclaration.png


- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 14 May 2015, 09:16

Creature equipped with Mortarpod and soulbond to Nightshade Peddler got sacrificed by the effect of Mortarpod.

The damage should be deadly because of Deathtouch but its not.
---
might be related to my problem with Savra, Queen of the Golgari
and sacrificing a non-green/non-black creature while controlling Painter's Servant
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 14 May 2015, 21:00

Wormfang Drake entered the battlefield and I had no other creatures. When game asked me if I want to search my battlefield, I said "No". Wormfang Drake remained on the battlefield.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Bug Reports (snapshot builds)

Postby Ryujii Kami » 15 May 2015, 01:17

Hanmac that is how the effect works on paper, since the sacrifice is part of the cost of the effect, it happens before damage occurs. Since the creature is dead and no longer soulbonded, it does not have deathtouch
Ryujii Kami
 
Posts: 6
Joined: 16 Apr 2015, 19:30
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Ryujii Kami » 15 May 2015, 01:21

I started a new world with all cards, unrestricted, and made my decks. Random Dueled in Main World after selling all cards not in a deck, got this crash
Attachments
forge crash.png
Ryujii Kami
 
Posts: 6
Joined: 16 Apr 2015, 19:30
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby sharkus » 15 May 2015, 03:58

Not sure if this is the right spot for this sort of thing...

Here's a potential patch to fix the targeting arrows not working after the first game. Looks like it was caused by a recent commit for cleaning up memory leaks.

Code: Select all
### Eclipse Workspace Patch 1.0
#P forge-gui-desktop
Index: src/main/java/forge/screens/match/CMatchUI.java
===================================================================
--- src/main/java/forge/screens/match/CMatchUI.java   (revision 29390)
+++ src/main/java/forge/screens/match/CMatchUI.java   (working copy)
@@ -140,8 +140,6 @@
     public CMatchUI() {
         this.view = new VMatchUI(this);
         this.screen = FScreen.getMatchScreen(this, view);
-        Singletons.getView().getLpnDocument().add(targetingOverlay.getPanel(), FView.TARGETING_LAYER);
-        targetingOverlay.getPanel().setSize(Singletons.getControl().getDisplaySize());
         this.myDocs = new EnumMap<EDocID, IVDoc<? extends ICDoc>>(EDocID.class);
         this.myDocs.put(EDocID.CARD_PICTURE, cDetailPicture.getCPicture().getView());
         this.myDocs.put(EDocID.CARD_DETAIL, cDetailPicture.getCDetail().getView());
@@ -253,6 +251,9 @@
 
         final List<VField> fields = new ArrayList<VField>();
 
+        Singletons.getView().getLpnDocument().add(targetingOverlay.getPanel(), FView.TARGETING_LAYER);
+        targetingOverlay.getPanel().setSize(Singletons.getControl().getDisplaySize());
+       
         int i = 0;
         for (final PlayerView p : sortedPlayers) {
             final boolean mirror = !isLocalPlayer(p);
sharkus
 
Posts: 14
Joined: 19 Sep 2014, 18:18
Has thanked: 0 time
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 15 May 2015, 04:33

Ryujii Kami wrote:Hanmac that is how the effect works on paper, since the sacrifice is part of the cost of the effect, it happens before damage occurs. Since the creature is dead and no longer soulbonded, it does not have deathtouch
wrong, it should check what it had before it was send to the graveyard (checking the last known status)


happens for Ashmouth Hound with Basilisk Collar too.
I attack, enemy blocks but before the damage effect resolves Ashmouth Hound is send to hand, but it had deathtouch while it was on the field
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 15 May 2015, 11:48

Minor bug: I had Aven Riftwatcher with one time counter. In my upkeep, in reaction to its vanishing ability, I used Momentary Blink. When the "remove a counter" ability resolved, it triggered the "sacrifice when last counter is removed" ability, even though the Aven Riftwatcher object that triggered it left the battlefield, and so no counter could be removed from it.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Bug Reports (snapshot builds)

Postby Bog Wraith » 15 May 2015, 23:07

Description: AI casts Brimaz, King of Oreskos. Bug happens again after I had cast Nevinyrral's Disk as was the card that caused my last bug report.

RuntimeException | Open
Code: Select all
Forge Version:    1.5.40-SNAPSHOT-r-1u
Operating System: Mac OS X 10.10.3 x86_64
Java Version:     1.7.0_75 Oracle Corporation

java.lang.RuntimeException: AbilityFactory : getAbility -- no API in :
   at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:106)
   at forge.game.replacement.ReplacementHandler.executeReplacement(ReplacementHandler.java:169)
   at forge.game.replacement.ReplacementHandler.run(ReplacementHandler.java:134)
   at forge.game.replacement.ReplacementHandler.run(ReplacementHandler.java:71)
   at forge.game.GameAction.changeZone(GameAction.java:175)
   at forge.game.GameAction.moveTo(GameAction.java:389)
   at forge.game.GameAction.moveTo(GameAction.java:370)
   at forge.game.GameAction.moveToPlay(GameAction.java:478)
   at forge.game.GameAction.moveTo(GameAction.java:528)
   at forge.game.GameAction.moveTo(GameAction.java:520)
   at forge.game.spellability.SpellPermanent.resolve(SpellPermanent.java:72)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:484)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:972)
   at forge.game.GameAction.startGame(GameAction.java:1390)
   at forge.game.Match.startGame(Match.java:96)
   at forge.match.HostedMatch$2.run(HostedMatch.java:219)
   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)
Attachments
screenshot_437.jpg
Nevinyrral's Disk Causes Another Crash
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 16 May 2015, 03:16

r29398

When casting any type of limited discard spell (like Duress), or limited fetch spell (like Fetchlands). The first popup that displays information about the zone you are searching shows a blank CardDetailPanel for cards that are unable to be fetched by that spell. I'm not really sure why that happens, but this is new (and I'd say poor) behavior, since I'd want to be able to know what I'm always seeing.

Edit: Actually, I just double checked. It's not the case for Duress. But it is the case for fetch abilities, or other changezone info. (Like Sin Collector)
Last edited by friarsol on 16 May 2015, 17:34, edited 1 time in total.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 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 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 32 guests

Login Form