Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by myk » 07 Feb 2013, 23:59
I'm pretty sure this is a bug: I'm playing the Jamuraa challenge Lilith Field, and Lilith is casting Gaea's Blessing. The target is Human (Me), but the cards chosen from "his or her" graveyard into "his or her" library have been chosen by the AI. Moreover, two of the cards are from my graveyard, and one is from hers. Her cards go into her library and mine go into mine, at least : )
- myk
- Posts: 439
- Joined: 17 Jan 2013, 02:39
- Location: California
- Has thanked: 38 times
- Been thanked: 57 times
Re: Bug Reports (snapshot builds)
by Rob Cashwalker » 08 Feb 2013, 04:32
. Scroll of Griselbrand isn;t succeeding in making the AI discrd.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Bug Reports (snapshot builds)
by moomarc » 08 Feb 2013, 05:48
Looks like it's all Discard:Mode$TgtChoose that are broken (also the problem that was picked up with The Hippodrome). I'm guessing the AI isn't being forced to pick anything.Rob Cashwalker wrote:. Scroll of Griselbrand isn;t succeeding in making the AI discrd.
Edit: Dropping System.out.println(dPChHand.size()); into inDiscardEffect.discardComputerChooses outputs 0.
Edit: Fixed! Looks like dValid would be an empty string array if no DiscardValid param was present instead of including "Card" as the valid restriction. Seems to be working now with r19474
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Bug Reports (snapshot builds)
by Corwin72 » 08 Feb 2013, 13:54
Sorry I didn't write it up but Sword of Feast and Famine threw an error when it connected last night. I do not have the log or the ability to reproduce it now. If you need it I can do it when I get home.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Bug Reports (snapshot builds)
by Max mtg » 08 Feb 2013, 14:07
must have been fixed by r19462 and r19474Corwin72 wrote:Sorry I didn't write it up but Sword of Feast and Famine threw an error when it connected last night. I do not have the log or the ability to reproduce it now. If you need it I can do it when I get home.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Bug Reports (snapshot builds)
by Corwin72 » 08 Feb 2013, 14:22
Also, I like to play in in an odd screen size. I have a large monitor. I Set forge to 3/4 of a screen and put something else in the other 1/4th of the screen. When I do this the blocking errors do not show up correctly.
I did not get to retest this last night but during blocking my walls did not want to block something during the second combat. Here is an example. Wall of Blossoms in play. Block a 2/2. Next turn. Click to block a creature. Nothing happens. Right click on the wall. You can then click to block.
I did not get to retest this last night but during blocking my walls did not want to block something during the second combat. Here is an example. Wall of Blossoms in play. Block a 2/2. Next turn. Click to block a creature. Nothing happens. Right click on the wall. You can then click to block.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Bug Reports (snapshot builds)
by friarsol » 08 Feb 2013, 14:28
Sounds like some Blocking list isn't getting reset either after combat or at the beginning of the turn (depending on which list that is)Corwin72 wrote:I did not get to retest this last night but during blocking my walls did not want to block something during the second combat. Here is an example. Wall of Blossoms in play. Block a 2/2. Next turn. Click to block a creature. Nothing happens. Right click on the wall. You can then click to block.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by friarsol » 08 Feb 2013, 20:41
r19487
This looks to be another form of the AI not passing priority properly from a skipped phase we saw a few days back.
AI cast Skeletonize on my Gravedigger during his Draw phase that is marked skipped and Gravedigger was sent to the GY. Skeletonize Delay Trigger hits the stack, but I am unable to continue via the OK button until I try clicking on an ability in my hand and canceling it.
This looks to be another form of the AI not passing priority properly from a skipped phase we saw a few days back.
AI cast Skeletonize on my Gravedigger during his Draw phase that is marked skipped and Gravedigger was sent to the GY. Skeletonize Delay Trigger hits the stack, but I am unable to continue via the OK button until I try clicking on an ability in my hand and canceling 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)
by swordshine » 09 Feb 2013, 06:46
The parameter "validcard" in static ability cantplayland is not functional, e.g. when City in a Bottle is on the battlefield, no land can be played.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Bug Reports (snapshot builds)
by Sloth » 09 Feb 2013, 12:30
Fixed! Thanks Corwin.Corwin72 wrote:I did not get to retest this last night but during blocking my walls did not want to block something during the second combat. Here is an example. Wall of Blossoms in play. Block a 2/2. Next turn. Click to block a creature. Nothing happens. Right click on the wall. You can then click to block.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by Almeida » 10 Feb 2013, 02:46
Trygon Predator dont work
Last edited by Chris H. on 10 Feb 2013, 12:22, edited 1 time in total.
Reason: mouse-over
Reason: mouse-over
-
Almeida - Posts: 41
- Joined: 24 Dec 2011, 04:48
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by friarsol » 11 Feb 2013, 01:49
Looks like Blood Speaker was scripted wrong. It should have an upkeep trigger, instead it has an activated ability with an Upkeep ActivationPhase restriction.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by Corwin72 » 11 Feb 2013, 14:30
Using Saturday's build.
I cascaded into the UW charm and nothing happened. Come to think of it I don't think that anything happened when I tried to cast it regularly to draw a card.
I cascaded into the UW charm and nothing happened. Come to think of it I don't think that anything happened when I tried to cast it regularly to draw a card.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Bug Reports (snapshot builds)
by Sloth » 11 Feb 2013, 21:13
City in a Bottle will no longer prevent lands from being played (even ARN ones). I'm not sure who added the validcard parameter without really checking against the card played, but City in a Bottle is the only card affected. Thanks swordshine.swordshine wrote:The parameter "validcard" in static ability cantplayland is not functional, e.g. when City in a Bottle is on the battlefield, no land can be played.
Worked for me. Can you describe what you saw?Almeida wrote: Trygon Predator dont work
Fixed! Thanks Corwin.Corwin72 wrote:Using Saturday's build.
I cascaded into the UW charm and nothing happened. Come to think of it I don't think that anything happened when I tried to cast it regularly to draw a card.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by myk » 12 Feb 2013, 02:17
Is this the current behavior or the intended behavior? According to http://wiki.mtgsalvation.com/article/Permanent, lands are permanents, and they have the ARN symbol on them, so they should be prevented from entering the battlefield too, shouldn't they? Ref: http://magiccards.info/query?q=city+in+a+bottle&v=card&s=cnameSloth wrote:City in a Bottle will no longer prevent lands from being played (even ARN ones).swordshine wrote:The parameter "validcard" in static ability cantplayland is not functional, e.g. when City in a Bottle is on the battlefield, no land can be played.
- myk
- Posts: 439
- Joined: 17 Jan 2013, 02:39
- Location: California
- Has thanked: 38 times
- Been thanked: 57 times
Who is online
Users browsing this forum: Google [Bot] and 26 guests