It is currently 16 Apr 2024, 08:45
   
Text Size

[still bugged]Alphabetize don't work-with triggers in a row.

Report wrong Card behavior to get it fixed.
PLEASE ADD SAVEGAMES TO YOUR TOPIC !

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

[still bugged]Alphabetize don't work-with triggers in a row.

Postby RanDomino » 27 Nov 2013, 03:15

Describe the Bug:
When you put a Hideaway Land into play with effects like Primeval Titan or Crop Rotation while AlphabetizeDeck in config.txt is set to 1, then the hideaway land will look at the top four cards of your deck while the search effect is still resolving- meaning your choices for the Hideaway will be one of the alphabetically first four cards in your deck.

Which card did behave improperly ?
Howltooth Hollow, Mosswort Bridge,Shelldock Isle, Spinerock Knoll, Windbrisk Heights

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
PTT

What exactly should be the correct behavior/interaction ?
The Hideaway effect shouldn't start resolving until the search effect is done and your deck is shuffled.
Last edited by Aswan jaguar on 10 Jul 2016, 11:28, edited 4 times in total.
Reason: still bugged by BAgate-reconfirmed by me-retitled by me
RanDomino
 
Posts: 290
Joined: 21 Mar 2010, 22:26
Has thanked: 20 times
Been thanked: 13 times

[confirmed-wait]Halimar Depths

Postby Althuna » 14 Dec 2013, 03:47

Have this weird bug with Halimar Depths where every time I use it, it shows me 3 Birds of Paradise and then when I next draw cards, they are not the birds of paradise.
Last edited by Aswan jaguar on 21 Dec 2013, 07:20, edited 3 times in total.
Reason: confirmed-wait
Althuna
 
Posts: 445
Joined: 26 Jul 2011, 00:23
Has thanked: 70 times
Been thanked: 15 times

Re: Halimar Depths

Postby BAgate » 14 Dec 2013, 03:51

Works for me in a clean game. Could you give us a save game (and this is why we ask for these)?

Also, please use the proper format, it only takes a few seconds longer and really helps.
Working on: housekeeping and archived reports
User avatar
BAgate
Tester
 
Posts: 2444
Joined: 06 Mar 2012, 11:09
Has thanked: 117 times
Been thanked: 158 times

Re: [unconfirmed]Halimar Depths

Postby Althuna » 20 Dec 2013, 04:19

got a save game here. I suspect its something to do with all the fetching I do with the ponder and scry stuff. But I don't know. Or did I play it with a Primeval Titan? It might be his fault.
Attachments
mtg.zip
(3.96 KiB) Downloaded 187 times
Althuna
 
Posts: 445
Joined: 26 Jul 2011, 00:23
Has thanked: 70 times
Been thanked: 15 times

Re: [unconfirmed]Halimar Depths

Postby HarlequinCasts » 20 Dec 2013, 08:58

Confirmed via your save game - thanks.

What's going on here is that Primeval Titan has alphabetized your library (if you have alphabetize enabled by default)to let you choose a land, and before that is done resolving (and thus shuffling your library), Halimar Depths is triggering and showing you the top 3 alphabetical cards in your library (3 Birds of Paradise). Title should change to "Primeval Titan" or at least "Primeval Titan & Halimar Depths"

A developer is going to have to chime in here on how to proceed though. Obviously both lands should be chosen and the library shuffled before any enter the battlefield effects happen.

EDIT: Pic attached showing the bug with a deck where Black Lotus is alphabetically the first card.

EDIT2: Mentioned AlphabetizeDeck:1
Attachments
manalink titan and halimar.png
Last edited by HarlequinCasts on 20 Dec 2013, 11:12, edited 1 time in total.
User avatar
HarlequinCasts
 
Posts: 922
Joined: 07 May 2013, 14:33
Has thanked: 68 times
Been thanked: 30 times

Re: [unconfirmed]Halimar Depths

Postby stassy » 20 Dec 2013, 09:30

Disable alphbetize deck option in config.txt and try again?
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

Re: [unconfirmed]Halimar Depths

Postby HarlequinCasts » 20 Dec 2013, 11:09

Disabling alphabetize does seem to fix it as a work around. I think the root problem though is still that Primeval Titan is allowing other things to trigger before it is finished resolving.

Ideally when Primeval Titan is done fetching two lands with enter the battlefield effects, both lands should be on the battlefield with orange triggered abilities lighting up and the player chooses which to resolve first.
User avatar
HarlequinCasts
 
Posts: 922
Joined: 07 May 2013, 14:33
Has thanked: 68 times
Been thanked: 30 times

Re: [unconfirmed]Halimar Depths

Postby Aswan jaguar » 20 Dec 2013, 15:18

No problems for me with this savegame and alphabetize option disabled(as I always do)for me also that in config.txt we have preselected alphabetize option on is wrong.Imho the preselected option should be the normal one as the order of the cards are shuffled in the beginning.
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8078
Joined: 13 May 2010, 12:17
Has thanked: 730 times
Been thanked: 458 times

Re: [unconfirmed]Halimar Depths

Postby stassy » 20 Dec 2013, 17:12

I think (not 100% sure though), that the alphabetize issue only happen when you look at your lib either by an effect or by debug mode. If you start a game a successively draw cards (either by an effect or debug mode) with that option on, the cards won't be drawn in alphabetized order.

This is the intended effect, however the issue is if you look only once your lib, the cards will not be "shuffled" back to their original order and will stay alphabetized.
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

Re: [unconfirmed]Halimar Depths

Postby HarlequinCasts » 20 Dec 2013, 17:40

Aswan jaguar wrote:No problems for me with this savegame and alphabetize option disabled(as I always do)for me also that in config.txt we have preselected alphabetize option on is wrong.Imho the preselected option should be the normal one as the order of the cards are shuffled in the beginning.
I still maintain that this is only a workaround. The real problem here is that Primeval Titan is letting a land trigger happen before it finishes resolving.

In paper magic, if my Primeval Titan attacks and I select a Vesuva and a Halimar Depths, they both enter the battlefield at the same time AFTER Primeval Titan 's triggered ability has finished resolving. At that point both lands trigger and their controller chooses in what order to resolve them.

Whether or not alphabatizedeck is on or off, the problem is still that Primeval Titan allows the lands to trigger before it is finished resolving. It should therefore still be considered a bug that if you have Alphabetizedeck:1 Halimar Depths will not work with Primeval Titan because the deck will just be shuffled after.
User avatar
HarlequinCasts
 
Posts: 922
Joined: 07 May 2013, 14:33
Has thanked: 68 times
Been thanked: 30 times

Re: [unconfirmed]Halimar Depths

Postby Korath » 21 Dec 2013, 03:27

Confirmed. Not properly fixable since triggers don't use the stack, but don't close since we may be able to work around it in code.

Disabling AlphabetizeDeck can't possibly work, and won't do anything but disguise the bug; the land's going to come into play and run its trigger before Primeval Titan shuffles your library.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: [unconfirmed]Halimar Depths

Postby RanDomino » 21 Dec 2013, 11:48

This is the same bug as viewtopic.php?f=86&t=12699
Should they be merged somehow?

HarlequinCasts wrote:In paper magic, if my Primeval Titan attacks and I select a Vesuva and a Halimar Depths, they both enter the battlefield at the same time AFTER Primeval Titan 's triggered ability has finished resolving.
Technically, they enter the battlefield during the resolution of Prime Time's ability.
RanDomino
 
Posts: 290
Joined: 21 Mar 2010, 22:26
Has thanked: 20 times
Been thanked: 13 times

Re: [confirmed]Hideaway Lands

Postby Korath » 10 Apr 2014, 02:21

I've been running into this lately a lot with cards like Sea Gate Oracle when tutored into play with things like Birthing Pod. It is very irritating, and not really fixable at the source of the problem because so many tutoring cards call shuffle() themselves instead of letting new_global_tutor() or whatever do it for them. Worse, new_global_tutor() is broken by design, in that you can't let it do the shuffling for you if you're tutoring more than one object.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: [confirmed]Hideaway Lands

Postby Korath » 12 Apr 2014, 23:48

The proper fix, of course, is to make triggers use the stack, so they don't resolve until the tutoring effect fully resolves. But that's a long ways off still.

Plan of attack in the meantime:
  1. Eliminate test_definition_t::no_shuffle and the side effect of test_definition_t::qty > 1 that suppresses shuffling. Always shuffle within new_global_tutor(), never the caller.
  2. Instead of putting each card directly in its destination (whether it's the battlefield, or a graveyard, or wherever) in each iteration of new_global_tutor(), just remove it from the source and add it to a local array; after all cards are chosen and (if tutoring from library) shuffling, then move them to the destination one by one.
Step 2 also prevents odd interactions with e.g. Gravedigger, as already worked around in Champion of Stray Souls, Proclamation of Rebirth, Death or Glory, Chandra Ablaze, and flashback, though oddly enough not in reanimate_all().
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: [confirmed]Hideaway Lands

Postby Gargaroz » 15 Jul 2014, 12:33

Well, I implemented the changes Korath mentioned, apart from one : if the "test_definition_t::qty > 1", "no_shuffle" should be leaft to 1 by default, since is used by cards like Impulse and such, which requires no shuffle at all usually.
Consider this fixed until further notice.
----
- Current / medium term task: adjusting the code for making Misdirection and such usable
- Long term task: inserting all the good stuff I left out from the "Golden Years" mod
Gargaroz
Programmer
 
Posts: 7097
Joined: 06 Nov 2009, 11:11
Has thanked: 82 times
Been thanked: 595 times

Next

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 25 guests


Who is online

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

Login Form