It is currently 19 Nov 2025, 17:49
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby Marek14 » 01 Oct 2016, 08:45

I cast Thieves' Auction and exile bunch of permanents, including Amulet of Vigor. The bug is that although my opponent got the Amulet, some of my lands untapped.
Marek14
Tester
 
Posts: 2776
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 305 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 01 Oct 2016, 11:46

Marek14 wrote:I cast Thieves' Auction and exile bunch of permanents, including Amulet of Vigor. The bug is that although my opponent got the Amulet, some of my lands untapped.
it might has something to do how the trigger are handled.
i would think that some of your opponents are untapped, but none of yours.
(shouldn't the effect of yours be cleared when it does happen?)

i might need to see whats wrong with the trigger, but i think it has something to do with the Repeat stuff.

maybe there need to be some runWaitingTriggers or something, or something that does block the trigger for a moment, i am not sure for now.

@all: some one might look over that too?
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 02 Oct 2016, 07:41

Since I coded Built to Last and Built to Smash together, the fix for Built to Smash should probably be applied to Built to Last as well. Also, I apparently forgot to change the picture on Built to Smash.

When opponent uses the second ability of Liliana, the Last Hope, the log shows which cards were milled, but not which card was returned from graveyard.

Slivercycling granted by Homing Sliver doesn't have its cost reduced by Fluctuator.

The "default avatar or random" setting for Vanguard doesn't work.
Marek14
Tester
 
Posts: 2776
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 305 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 02 Oct 2016, 18:43

r32253

I cast Confiscation Coup targeting the CPU's Gearseeker Serpent. However, I only had 6 energy. On resolution, the prompt asked me if I wanted to pay 7 energy. I clicked "yes" and I gained control of Gearseeker Serpent and I still had 6 energy counters.
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 02 Oct 2016, 21:03

@Marek14: reworked Cycling.
now Homing Sliver should work with Fluctuator.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 03 Oct 2016, 05:37

r32253

CPU uses Fateful Showdown to deal not lethal damage to a creature (perhaps it's counting Fateful Showdown itself as a card in hand when it's deciding targets?)
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 Oct 2016, 05:46

r32253

With both at high life totals CPU won't attack into a board where i have one tapped creature, two vehicles, and two creatures enchanted by Revoke Privileges. Perhaps it doesn't know Revoke Privileges prevents creatures from crewing?
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 03 Oct 2016, 08:12

tjtillman wrote:r32253

With both at high life totals CPU won't attack into a board where i have one tapped creature, two vehicles, and two creatures enchanted by Revoke Privileges. Perhaps it doesn't know Revoke Privileges prevents creatures from crewing?
fixed in r32256.

now canCrew does look for untapped creatures which can crew vehicles.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby akuolum » 03 Oct 2016, 08:59

akuolum wrote:There's a problem with multiplayer mode. I'm playing on LAN. The person who is supporting server see double faced cards right while the other player, see the wrong face (second phase) with the wrong power and toughness. Once card is flipped second player see wrong face too. The counters doesn't show right for second player. I attach some screenshoots for let you understand. If I start a new match all single faced cards are flipped.

I hope you understand me. My english is not good at all.
If it's helpful, whenever we're playing multiplayer mode, the player who doesn't running server, after select "play" or "draw" gets this error.

I can't attach bug report it says Your post looks too spamy for a new user, please remove off-site URLs. so I attach an image
Attachments
dasdasd.png
akuolum
 
Posts: 4
Joined: 27 Sep 2016, 13:35
Has thanked: 2 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 05 Oct 2016, 05:41

r32266: AI played Harvester Troll and sacrificed it to its own ETB ability despite the fact that there were other possible targets for sacrifice (both creatures and lands).
EDIT: I fixed this behavior in r32268, though in a non-generic way. Also, having a bigger creature in play as the only potential creature target for sacrifice may be a concern (e.g. the AI has a 9/9 creature in play and casts Harvester Troll; it'll sac the 9/9 creature, though ideally it should not even play Harvester Troll in the first place unless it's willing to sac something else, e.g. a land).
EDIT 2: Had to revert the fix in r32269, it has some major issues that I'm not sure how to resolve - first of all, the AI will still get counters even if it decides not to sacrifice anything; moreover, the AI will happily sac a much more powerful creature to this ETB ability instead of choosing to sacrifice nothing (like in the case described above). Not sure how to best solve this, help is welcome. :)

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

Re: Bug Reports (snapshot builds)

Postby fmartel » 05 Oct 2016, 15:04

-r32272, in commander, game jammed (waiting for opponent) when AI tried to play Spearpoint Oread on M2 Turn.
No bug report to attached :(
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 05 Oct 2016, 15:26

r32272: AI uses the activated ability of Kozilek's Pathfinder ("target creature can't block Kozilek's Pathfinder this turn") multiple times on the same creature instead of using it on different creatures, which would have been more powerful. Moreover, it activates this ability even on a tapped creature, which makes no sense.

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

Re: Bug Reports (snapshot builds)

Postby Agetian » 06 Oct 2016, 08:07

r32277: AI cast Roiling Waters and targeted me to draw two cards, I think it was better for it to target itself with that part of the ability (I was nowhere close to being milled, and that just gave me card advantage).

The AI continuously blocks a creature equipped with Hedron Blade with colorless creatures, apparently clueless that it will gain Deathtouch as a result of such a block. For example, a 2/3 creature (equipped with Hedron Blade) is blocked by the AI's 2/4 creature, hoping that the 2/4 creature will not die to this, but the former gains Deathtouch and thus the latter dies.

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

Re: Bug Reports (snapshot builds)

Postby Hanmac » 06 Oct 2016, 12:23

r32286: Bend or Break need to be totally rewritten because it doesn't work for more than to players and multiple opponents.

i tried it but i didn't managed it yet.

Probably ChoosePlayer need to be changed because you need an opponent of Remembered Player. (inside a RepeatEach)

===
also i try to remove Player.getOpponent() and only getOppoents() should be used. otherwise the Human player is always the target of all AIs.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 06 Oct 2016, 14:50

AI attacked my planeswalker and returned the attacker to hand for Ninjutsu of Higure, the Still Wind.
Higure hit me, though it should hit the planeswalker:

702.48c A ninjutsu ability may be activated only while a creature on the battlefield is unblocked (see rule 509.1h). The creature with ninjutsu is put onto the battlefield unblocked. It will be attacking the same player or planeswalker as the creature that was returned to its owner’s hand.
Though this important restriction is not mentioned in the definition of ninjutsu ability for some reason (that only says "tapped and attacking").
Marek14
Tester
 
Posts: 2776
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 305 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 68 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 68 users online :: 0 registered, 0 hidden and 68 guests (based on users active over the past 10 minutes)
Most users ever online was 9824 on 10 Nov 2025, 04:33

Users browsing this forum: No registered users and 68 guests

Login Form