It is currently 08 Sep 2025, 15:18
   
Text Size

[Fixed] Bug Archive

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

Re: Special abilities in targets[16] aren't properly cleared

Postby Gargaroz » 17 Jun 2013, 01:32

Added your fix, thanx Korath.
----
- 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

[fixed by Gargaroz]Kazandu tuskcaller can't level up

Postby Aquillion » 17 Jun 2013, 05:01

Describe the Bug:

Kazandu Tuskcaller, a level-up creature, seems to be unable to level up.

Additionally, when I tried adding counters to it with debug mode, its ability cost one green mana to activate -- it should be free -- and produced two elephants rather than one even at level two. I'm not sure if this is related or if it's just a side-effect of using debug mode to add counters, but I thought I'd mention it here just in case.

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

Manalink June 2013 : the Prophecy of Dragon's Maze Nemesis, from here.

Solo duel (in the attached save.) Also seen in sealed deck.

What exactly should be the correct behavior/interaction ?

Kazandu Tuskcaller should be able to level up. It should produce one elephant at levels 2-5, and two at level 6+, and shouldn't cost any mana to produce elephants.

Are any other cards possibly affected by this bug ?

Other level up creatures, I suppose?
Attachments
kazandu tuskcaller can't level up.zip
(2.53 KiB) Downloaded 269 times
Last edited by Aswan jaguar on 17 Jun 2013, 12:44, edited 1 time in total.
Reason: fixed bug
Aquillion
 
Posts: 161
Joined: 25 Apr 2013, 07:30
Has thanked: 1 time
Been thanked: 10 times

[fixed by Gargaroz]Phyrexian Revoker

Postby Aquillion » 17 Jun 2013, 05:11

Describe the Bug:

Phyrexian Revoker is supposed to have you name any nonland card when it comes into play; it then suppresses the activated abilities of that card.

However, its current implementation allows you to name a land; it just fails to suppress mana abilities of that land.

In one of the attached saves, the AI is about to cast one; at least in my game, it named plains. This did not actually prevent me from tapping the plains for mana, but it's still a bug.

In the other attached save, you can cast one and name plains yourself.

I suspect this is because it uses a copy-paste of the Pithing Needle code (Pithing Needle allows you to name lands, but doesn't block mana abilities.) If this is true, that implies two other bugs:

First, it will probably fail to suppress the mana abilities of other nonland cards; this is a bug, since it's supposed to be able to do so.

Second, it means there's probably a secondary AI bug where the AI will name a basic land for Pithing Needle -- it is technically allowed to do that, but it's usually useless to do so (outside of extremely rare situations like a Koth of the Hammer ultimate emblem. And I suspect that that wouldn't even work in Manalink, since his ultimate would be an approximation.)

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

Manalink June 2013 : the Prophecy of Dragon's Maze Nemesis, from here.

Sealed deck.

What exactly should be the correct behavior/interaction ?

It shouldn't be possible to name plains (or any other land) for Phyrexian Revoker.

Are any other cards possibly affected by this bug ?

Possibly what I saw implies an AI bug with Pithing Needle, though it'd be a slightly different bug.
Attachments
phyrexian revoker - solo duel.zip
Revoker used by the player.
(1.45 KiB) Downloaded 269 times
phyrexian revoker names plains.zip
Revoker about to be used by the AI
(25.14 KiB) Downloaded 265 times
Last edited by stassy on 17 Jun 2013, 13:15, edited 1 time in total.
Reason: bug fixed
Aquillion
 
Posts: 161
Joined: 25 Apr 2013, 07:30
Has thanked: 1 time
Been thanked: 10 times

Re: [fixed by Gargaroz-check next patch]Mirrorworks

Postby stassy » 17 Jun 2013, 09:15

As of PDMN, the bug with Mirrorworks entering the bf is fixed, however the double trigger is still here :
- After player target artifact to be copied, in my example it's a Black Lotus, a copy of Black Lotus with a colorless mana source appear in the bf which cause the trigger.
- After that trigger, the Black Lotus with colorless mana morph into a proper Black Lotus with all mana and the trigger happen again

Image

Image
Attachments
2.zip
(1.94 KiB) Downloaded 256 times
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

Re: Hearthfire Hobgoblin doesn't have double strike

Postby stassy » 17 Jun 2013, 09:51

confirmed as of PDMN

Image
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

[fixed by Gargaroz]Leyline of Singularity

Postby Korath » 17 Jun 2013, 12:18

Describe the Bug:
Leyline of Singularity makes all permanents except basic lands legendary. In the savegame and screenshot attached, the AI is forced to sacrifice all but one each of Wayfaring Temple, Temple Garden, and Savannah, and I am forced to sacrifice all but one each of Watery Grave and Drowned Catacomb. The only card that should be affected is one Wayfaring Temple.

(Oh, and there's a typo in the legend rule prompt: "permanet"->"permanent".)

Which card did behave improperly ?
Leyline of Singularity.

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
PoDMN on top of CirothUngol. Solo duel/none.

What exactly should be the correct behavior/interaction ?
All non-land permanents should be legendary, so non-basic lands shouldn't be affected.

Are any other cards possibly affected by this bug ?
No.

Code: Select all
diff --git a/src/cards/guildpact.c b/src/cards/guildpact.c
index a0eee61..86fc398 100644
--- a/src/cards/guildpact.c
+++ b/src/cards/guildpact.c
@@ -1277,7 +1277,7 @@ int card_leyline_of_singularity(int player, int card, event_t event){
                for(i=0; i<2; i++){
                        int count = active_cards_count[i]-1;
                        while( count > -1 ){
-                                       if( in_play(i, count) && is_what(i, count, TYPE_PERMANENT) && ! is_basic_land(i, count) && ! is_legendary(i, count) ){
+                                       if( in_play(i, count) && is_what(i, count, TYPE_PERMANENT) && ! is_what(i, count, TYPE_LAND) && ! is_legendary(i, count) ){
                                                verify_legend_rule(i, count, get_id(i, count));
                                        }
                                        count--;
@@ -1286,7 +1286,7 @@ int card_leyline_of_singularity(int player, int card, event_t event){
     }

     if( trigger_condition == TRIGGER_COMES_INTO_PLAY && affect_me(player, card) && player == reason_for_trigger_controller){
-               if( ! is_basic_land(trigger_cause_controller,trigger_cause) && ! is_legendary(trigger_cause_controller,trigger_cause) ){
+               if( ! is_what(trigger_cause_controller, trigger_cause, TYPE_LAND) && ! is_legendary(trigger_cause_controller,trigger_cause) ){
                        if( ! check_battlefield_for_id(2, CARD_ID_MIRROR_GALLERY) ){
                                if(event == EVENT_TRIGGER){
                                        event_result |= 2;
Both is_what() calls are needed in the first change, instead of just changing the first to is_what(i, count, TYPE_CREATURE | TYPE_ENCHANTMENT | TYPE_ARTIFACT), or else it'll hit cards like Dryad Arbor and Tree of Tales.
Attachments
leyline_of_singularity.zip
(2.71 KiB) Downloaded 264 times
Last edited by stassy on 17 Jun 2013, 13:09, edited 1 time in total.
Reason: bug fixed
User avatar
Korath
DEVELOPER
 
Posts: 3708
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1108 times

Re: [confirmed]Vorel of the Hull Clade

Postby Gargaroz » 17 Jun 2013, 12:36

Fixed.
----
- 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: Kazandu tuskcaller can't level up

Postby Gargaroz » 17 Jun 2013, 12:39

Fixed.
----
- 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: Phyrexian Revoker allows you to name lands.

Postby Gargaroz » 17 Jun 2013, 12:47

Fixed.
----
- 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: [fixed-still one bug left]Mirrorworks

Postby Gargaroz » 17 Jun 2013, 12:52

I see, added another safeguard, this should be fixed now.
----
- 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: [confirmed]Hearthfire Hobgoblin

Postby Gargaroz » 17 Jun 2013, 12:55

Fixed.
----
- 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: Leyline of Singularity

Postby Gargaroz » 17 Jun 2013, 12:56

I see, plus this should be re-wrote to reflect the actual legend rule. I'll do it, consider it fixed.
----
- 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: [fixed by Gargaroz]Leyline of Singularity

Postby Aswan jaguar » 17 Jun 2013, 15:49

Don't forget the other bugs that affect all Leylines that I reported,please.
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8131
Joined: 13 May 2010, 12:17
Has thanked: 748 times
Been thanked: 479 times

Re: [check if fixed in v2]Lich[fixed by Gargaroz]Mirror Univ

Postby stassy » 17 Jun 2013, 17:46

As of PDMN, the combo correctly work (AI life set to 0), the minor notice is when Mirror Universe effect revolve, player automatically draws X cards with X = 20 - Y with Y the number of permanents player own at resolution.
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

[fixed by Korath]Fencepost error in new_select_a_card()

Postby Korath » 17 Jun 2013, 20:33

In new_select_a_card() with search_location set to TUTOR_FROM_HAND (4), 100 elements of the of 99-element array hand_index[] are set to -1. The final write to hand_index[99] sets a random address on the stack to -1.

In my builds, this manifests during activation of the Archenemy scheme My Wish Is Your Command: the overwritten address happens to be set_scheme_in_motion()'s player parameter, so manalink ends up crashing during the following copy_spell(-1, id) call.

It'll also die horribly if the target player happens to have more than 98 cards in his hand, though that's admittedly unlikely in practice.
Code: Select all
diff --git a/src/functions/tutors.c b/src/functions/tutors.c
index 56b4b52..f2b6f8c 100644
--- a/src/functions/tutors.c
+++ b/src/functions/tutors.c
@@ -125,7 +125,7 @@ int new_select_a_card(int player, int targ_player, int search_location, int must
        if( search_location == 4 ){
                int hand_index[99];
                int i;
-               for(i=0; i<100; i++){
+               for(i=0; i<99; i++){
                        hand_index[i] = -1;
                }
                int hand_c = 0;
Last edited by stassy on 18 Jun 2013, 04:40, edited 1 time in total.
Reason: bug fixed
User avatar
Korath
DEVELOPER
 
Posts: 3708
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1108 times

PreviousNext

Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 89 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form