It is currently 21 Aug 2025, 19:56
   
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 Sloth » 12 Oct 2012, 08:26

Almeida wrote:Hey Guys Thanks for attention
Restoration Angel + any creature with +1/+1 counter the counter return with counter if this creature is tapped, continues tapped...
Snapshot 1.2.16 XXX 4
Fixed! Thanks Almeida.
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 » 12 Oct 2012, 09:16

FabioFLX wrote:Don't know if this only happens in the latest snapshot build, but I noticed that when the AI blocks a large creature it uses two or more creatures even when they will die all without killing the attacking creature.

I think the right move the AI can do when it can not kill an attacking creature going to do final-game damage is to block just with the weakest creature, and then go on the turn hoping for some... miracle :)
1. Anyone else noticed this?...

2. In latest snapshot, abilities that exile/return permanents like Restoration Angel or Oblivion Ring use to return exiled tokens to the battlefield. They shouldn't.
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 Sloth » 12 Oct 2012, 13:53

FabioFLX wrote:
FabioFLX wrote:Don't know if this only happens in the latest snapshot build, but I noticed that when the AI blocks a large creature it uses two or more creatures even when they will die all without killing the attacking creature.

I think the right move the AI can do when it can not kill an attacking creature going to do final-game damage is to block just with the weakest creature, and then go on the turn hoping for some... miracle :)
1. Anyone else noticed this?...
Yes, see here: viewtopic.php?f=26&t=3681&start=345#p100256

FabioFLX wrote:2. In latest snapshot, abilities that exile/return permanents like Restoration Angel or Oblivion Ring use to return exiled tokens to the battlefield. They shouldn't.
Fixed! Thanks FabioFLX.
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 PowerClaws » 13 Oct 2012, 07:26

Im pretty sure its a bug but...
1) multiple Grave Betrayal triggers stack (if you have two on the field the creature gets 2 +1/+1 counters and
2) if a land is made a creature (eg. Guardian Zendikon), the land is returned to the field as a multicoloured zombie on the opponent's side of the field with counters
PowerClaws
 
Posts: 131
Joined: 30 Jan 2012, 11:33
Has thanked: 28 times
Been thanked: 8 times

Re: Bug Reports (snapshot builds)

Postby ArsenalNut » 13 Oct 2012, 13:39

There may be a bug with Mogg Flunkies and AI blocking. Several times I have have attacked for lethal damage when the AI had a Mogg Flunkies and at least one other creature and the AI didn't block at all.

Here's the last example I saw. The AI had five life. I attacked with a Thragtusk. The AI had a Hellrider, an Ash Zealot, a Mogg Flunkies, and Stromkirk Noble on the board and untapped. The AI made no block.

Using r17489
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 13 Oct 2012, 18:13

The ante UI box doesn't clear ante'd cards from previous games/matches. It should probably only show ante'd cards from the current game.
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 friarsol » 14 Oct 2012, 02:23

Got a crash related to the targeting overlays today:

Here's the general scenario:
I attacked with a few creatures, AI cast a 3/3 Flash and blocked my 2/2 First Strike. After blockers were declared:

I cast Righteous Blow on the blocker
AI cast Spellstutter Sprite, ETB trigger targeting my righteous blow
(Dire Undercurrents trigger for the AI to draw a card)
In response to that I cast Azorious Charm targeting the Blocker.

Which yields me an infinite loop of:
java.lang.NullPointerException
at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:156)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)

I'm guessing it doesn't know how to draw the arc from my spell on the stack to the Blocker? Or perhaps, after the target is removed it doesn't know where to find it? I don't believe the crash happened until after I tried to resolve the Charm, so it's probably just an issue of the target for Righteous Blow is no longer around to provide coordinates.
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 Bundy » 14 Oct 2012, 17:15

Snapshot 1.2.16-20121012.104712-6

Tribute to Hunger does not give any life when Primal Clay is sacrificed. It was a 3/3 creature when sacrificed.

• I have Grave Betrayal in play and destroy Avenging Angel. Grave Betrayal triggers first, then the ability of Avenging Angel. At the end my of turn Avenging Angel does not come into play under my control. Next turn computer cast Avenging Angel and is comes into play with a +1/+1 counter and is a zombie in addition to it's original type.
(Seems Grave Betrayal has no mouse over, so here is the text for it: Whenever a creature you don't control dies, return it to the battlefield under your control with an additional +1/+1 counter on it at the beginning of the next end step. That creature is a black Zombie in addition to its other colors and types.)
Computer plays Inferno, killing the angel. Now it does not return to the battlefield.

Grave Pact makes the game crash at random it seems. I use Diamond Kaleidoscope to create a token, then sacrifice it. It works for say 20 times, then the 21nd time the game hangs on the Grave Pact effect and will not go any further. At the moment the game hangs when the computer must sacrifice Angel of Mercy. I use a Grave Pact / Grave betrayal combo.
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 friarsol » 14 Oct 2012, 17:39

Targeting arcs more info:

It looks like the arcs are inverted.

Using the file gamestate file, import this during your turn and attack with the Bard. the Squire and Memnite both block the Bard, but it looks like there are two arcs originating from the squire and going into the first and second slot of the humans board, instead of the other way around?

Gamestate | Open
aicardsinplay=Squire;Memnite
humancardsinplay=Mightstone;Mightstone;Elvish Bard;Primal Rage;
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 » 14 Oct 2012, 17:51

PowerClaws wrote:Im pretty sure its a bug but...
1) multiple Grave Betrayal triggers stack (if you have two on the field the creature gets 2 +1/+1 counters
Bundy wrote:• I have Grave Betrayal in play and destroy Avenging Angel. Grave Betrayal triggers first, then the ability of Avenging Angel. At the end my of turn Avenging Angel does not come into play under my control. Next turn computer cast Avenging Angel and is comes into play with a +1/+1 counter and is a zombie in addition to it's original type.
Both fixed! Thanks PowerClaws and Bundy.

ArsenalNut wrote:There may be a bug with Mogg Flunkies and AI blocking. Several times I have have attacked for lethal damage when the AI had a Mogg Flunkies and at least one other creature and the AI didn't block at all.

Here's the last example I saw. The AI had five life. I attacked with a Thragtusk. The AI had a Hellrider, an Ash Zealot, a Mogg Flunkies, and Stromkirk Noble on the board and untapped. The AI made no block.

Using r17489
Fixed! Thanks ArsenalNut.
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 Doublestrike » 15 Oct 2012, 00:13

OK thanks sol. Working on something else at present but thanks for the info.

I bet the inversion comes from the small addressing change when the multiplayer UI was built...before, Human was at index 1 and Computer was index 0. I moved the user to index 0, so that's probably what's happening.
---
A joke is a very serious thing.
User avatar
Doublestrike
UI Programmer
 
Posts: 715
Joined: 08 Aug 2011, 09:07
Location: Bali
Has thanked: 183 times
Been thanked: 161 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 15 Oct 2012, 00:32

Doublestrike wrote:OK thanks sol. Working on something else at present but thanks for the info.

I bet the inversion comes from the small addressing change when the multiplayer UI was built...before, Human was at index 1 and Computer was index 0. I moved the user to index 0, so that's probably what's happening.
Yea I wasn't trying to rush you or anything. I was just fixing up the AssignDamage Panel for more accurate rules handling, so noticed it since I was rerunning the same test a few times in a row.
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 Almeida » 15 Oct 2012, 01:18

 Niv-Mizzet, Dracogenius is a Dragon Wizard creature type
Last edited by Chris H. on 15 Oct 2012, 10:57, edited 1 time in total.
Reason: mouse-over
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 Agetian » 15 Oct 2012, 15:45

A couple things I observed while testing svn autobuild marked 1.2.16-20121014.105406-8 on cardforge.org:

1) (reposted from v1.2.15 thread as it's relevant for the latest SVN as well) It's very common to see the AI chump-block my huge creatures, like 6/6 or 8/8, with two of its creatures that both die without killing my creature. It would have made sense if my creature was Trample, but it isn't, and there's no other apparent reason why the AI would sacrifice two creatures on my one creature without killing it.

2) This one is something I'm not sure about and need advice: should it be possible to play an instant spell after the AI plays land but before it plays a card? I know that that's how we always played Magic in my company but I'm not sure if it's officially sanctioned, sadly - it seems like it's impossible in Forge, but I'm not sure if it's a feature (an implementation of the official ruleset) or a bug. Here's the exact situation: let's say the AI has two lands, I have an instant card that allows me to tap three lands my opponent controls. I wait for my opponent's M1 for him to play his third land so that I can then tap all three, but once the AI plays the third land, it plays a card without passing the priority back to me. I'm not sure if this might actually be the correct behavior, please tell me if it is.
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 15 Oct 2012, 16:42

Agetian wrote:2) This one is something I'm not sure about and need advice: should it be possible to play an instant spell after the AI plays land but before it plays a card? I know that that's how we always played Magic in my company but I'm not sure if it's officially sanctioned, sadly - it seems like it's impossible in Forge, but I'm not sure if it's a feature (an implementation of the official ruleset) or a bug. Here's the exact situation: let's say the AI has two lands, I have an instant card that allows me to tap three lands my opponent controls. I wait for my opponent's M1 for him to play his third land so that I can then tap all three, but once the AI plays the third land, it plays a card without passing the priority back to me. I'm not sure if this might actually be the correct behavior, please tell me if it is.
This is correct behavior. The active player always has priority unless he passes it. Playing a land is a special action, and does not pass priority.

The only time you could gain priority is if something triggered off playing that land (i.e. Landfall). But that still wouldn't give you priority until the opponent passed it to you with the trigger on the stack. (It just happens before Sorcery speed spells can be cast/activated)

Even still that opponent could always tap lands for mana in response to your instant. If you'd like to tap down your opponents lands, its best to do it during that player's upkeep before they get to draw.
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 14 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form