It is currently 23 Jun 2025, 05:36
   
Text Size

[fixed/closed]EDH Bugs

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

[fixed/closed]EDH Bugs

Postby Stroggoii » 18 Nov 2013, 01:42

As with any update I have been looking for bugs regarding edh, this is what I have found.

Theros gods can't be used as generals.
All "Add X mana of any color..." cards are broken as they have ilegal mana symbols, including Nykthos.
Jenara cannot be used as a general.

I'll keep testing for more bugs.

*** thread closed, issue now in http://www.slightlymagic.net/forum/viewtopic.php?f=86&t=13382. ***
Last edited by BAgate on 18 Jan 2014, 22:48, edited 3 times in total.
Reason: closed - picked up in another thread.
Stroggoii
 
Posts: 153
Joined: 06 Sep 2009, 06:21
Has thanked: 0 time
Been thanked: 0 time

Re: EDH Bugs

Postby Stroggoii » 18 Nov 2013, 08:02

Not a bug but a case of outdated construction rules: Kokusho is no longer banned as one of the 99.
Stroggoii
 
Posts: 153
Joined: 06 Sep 2009, 06:21
Has thanked: 0 time
Been thanked: 0 time

Re: EDH Bugs

Postby Gargaroz » 18 Nov 2013, 15:10

Well, I updated the banlists and enabled God cards as generals.
Nykthos had bad values in "ct_all" and is fixed, but I need a list of the other cards that report incorrectly illegal mana symbols.
Also Jenara seems fine, I really don't know why is rejected...
----
- 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

Re: EDH Bugs

Postby Sonic » 19 Nov 2013, 21:26

Sorry, my fault. I failed to add the Theros Legendary Creatures to the '(HI / EDH) Legal as Commander' column in the manalink file.
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: EDH Bugs

Postby Korath » 22 Nov 2013, 02:42

Nothing's looking at those set/rarity columns except for draft and drawcardlib; the gods needed hardcoding because they're not creatures while not in play.
User avatar
Korath
DEVELOPER
 
Posts: 3708
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1108 times

Re: EDH Bugs

Postby Sonic » 22 Nov 2013, 10:42

My concern was that because the Theros God/Legendary cards didn't show up in the deck builder 'Legal as Commander' filter, Stroggoii may have got the impression that the God cards weren't available to EDH. Whereas it was simply a case of the data for the filter needing updating.
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: EDH Bugs

Postby Sonic » 22 Nov 2013, 10:51

Stroggoii wrote:Not a bug but a case of outdated construction rules: Kokusho is no longer banned as one of the 99.
Not according to the EDH web site Deck Construction banned list (updated Oct 29th, 2013)

http://mtgcommander.net/rules.php

Additionally the following legends may not be used as a Commander:

Braids, Cabal Minion
Rofellos, Llanowar Emissary
Erayo, Soratami Ascendant
Kokusho, the Evening Star

Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: EDH Bugs

Postby Stroggoii » 24 Nov 2013, 03:02

Sonic, there it says "Kokusho is no longer banned as one of the 99", which she isn't. She used to be banned both as a general and as a card, now it's only banned as a general, and that's the rule that was outdated.

@Gargaroz, the cards I've found to have ilegal symbols are:
Gemstone Mine
Glimmervoid
Rupture Spire
Thran Quarry
Rainbow Vale
Forbidden Orchard
Transguild Pomenade
City of Brass
Grand Coliseum
Undiscovered Paradise
Unknown Shores
Phyrexian Altar
Lotus Petal
Chromatic Lantern
Vessel of Endless Rest
Manalith
Coalition Relic
Mox Opal
Mox Diamond
Darksteel Ingot
Stroggoii
 
Posts: 153
Joined: 06 Sep 2009, 06:21
Has thanked: 0 time
Been thanked: 0 time

Re: EDH Bugs

Postby Korath » 24 Nov 2013, 03:22

Pseudocode:
Code: Select all
int color = /* general's colors */;
...
int c2 = cards_data[deck[i]].color;
if (/* not a special card, a land, or a mana-generating artifact */){
    if (/* (c2 & color) != c2 */){
        /* complain("Illegal color") */
    }
}
c2 |= get_color_from_remainder_text(id); // i.e., c2 = cards_data[deck[i]].color | get_color_from_remainder_text(id)
if (/* (c2 & color) != c2 */){
    /* complain("Illegal mana symbols in text") */
}
User avatar
Korath
DEVELOPER
 
Posts: 3708
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1108 times

Re: EDH Bugs

Postby Sonic » 24 Nov 2013, 16:44

Stroggoii wrote:Sonic, there it says "Kokusho is no longer banned as one of the 99", which she isn't. She used to be banned both as a general and as a card, now it's only banned as a general, and that's the rule that was outdated.
Ah, got it. I couldn't find the specific rule change on the EDH website, but a number of other MTG card sites mention the change. The card is already filtered correctly as per the rule change in the Deckbuilder Tournament filter, and I've now removed Jenara from the 'Legal as Commander' filtering. :)
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: [new info-list submited]EDH Bugs

Postby Gargaroz » 25 Nov 2013, 14:08

Inserted Korath's suggestion. Hope everything is fine now. Korath, could you please double check ?
----
- 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

Re: [new info-list submited]EDH Bugs

Postby Aswan jaguar » 29 Nov 2013, 06:56

Is this fix a global fix and covers all cases as people keep reporting bugs from cards that are found illegal for EDH but are not normally?Or each card has to be inserted in a list or recoded?
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8129
Joined: 13 May 2010, 12:17
Has thanked: 748 times
Been thanked: 477 times

Re: [new info-list submited]EDH Bugs

Postby Korath » 29 Nov 2013, 17:36

What I posted earlier was what was currently being done; I'd hoped to make it obvious by hiding all the boilerplate.

You're carefully not rejecting cards based on card_data_t::color if they're lands/non-mana-producing-artifacts/planes. This much is good.

Then you parse the rules text for e.g. |B symbols. This is also right.

But instead of comparing just the parsed results to your bitset of legal colors, you compare the parsed results and card_data_t::color again against it.

So City of Brass, whose card_data_t::color is COLOR_TEST_WHITE|COLOR_TEST_BLUE|COLOR_TEST_BLACK|COLOR_TEST_RED|COLOR_TEST_GREEN, isn't rejected in the first pass (because it's a land, and you check for that), but is in the second - get_color_from_remainder_text() returns 0, c2 is still COLOR_TEST_WHITE|COLOR_TEST_BLUE|COLOR_TEST_BLACK|COLOR_TEST_RED|COLOR_TEST_GREEN, you bitwise or that with 0 and get COLOR_TEST_WHITE|COLOR_TEST_BLUE|COLOR_TEST_BLACK|COLOR_TEST_RED|COLOR_TEST_GREEN, and reject that for having illegal colors.

Just set c2 = get_color_from_remainder_text() in the middle there, instead of |=, and all should be well.
User avatar
Korath
DEVELOPER
 
Posts: 3708
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1108 times

Re: EDH Bugs

Postby darkgaizat » 29 Nov 2013, 18:48

You aren't saying these are to be illegal in EDH are you? I noticed these are no longer usable in my decks, but according to mtgcommander.net Rule 4 states:

4.A deck may not generate mana outside its colours. If an effect would generate mana of an illegal colour, it generates colourless mana instead.

Strangely enough, many of the installed decks that came with the game use Power 9 which are banned and is frustrating to see slide by.

Are you saying that it produces colors that it's not meant to in the game?

I hope they fix this soon. Many of my decks are not usable now...
darkgaizat
 
Posts: 31
Joined: 27 Mar 2012, 12:27
Has thanked: 4 times
Been thanked: 1 time

Re: [new info-list submited]EDH Bugs

Postby Gargaroz » 29 Nov 2013, 23:26

The latest EDH banlist will be enforced with the next patch.
Darkgaizat, that cards are not illegal in EDH, they're just considered illegal as there were a bug in the color parsing code, although I didn't understand what you were talking about when you mentioned the Moxes.
----
- 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 Archived Reports

Who is online

Users browsing this forum: Google [Bot] and 9 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 10 users online :: 1 registered, 0 hidden and 9 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: Google [Bot] and 9 guests

Login Form