Page 1 of 1

[fixed]Death Rattle cast normally crash-delve not resolving

PostPosted: 17 Oct 2017, 18:00
by Aswan jaguar
Describe the Bug:
AI cast Death Rattle selected normal cost and game crashed.

Which card did behave improperly?
Death Rattle

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Manalink dev 778ccb5 version - duel

What exactly should be the correct behavior/interaction?


Are any other cards possibly affected by this bug?
-

Re: AI cast Death Rattle game crashed.

PostPosted: 17 Oct 2017, 18:41
by Korath
The dmp is Emblem of the Warmind's fault; Death Rattle is at best peripherally related.

bad parameters
get_card_instance(-1, -1)
functions/show_backtrace.c:19:show_backtrace(...)
functions/deck.c:307:get_card_instance(...)
functions/events.c:609:get_abilities(...)
functions/auras.c:484:targeted_aura_impl(...)
functions/auras.c:540:vanilla_aura(...)
cards/future_sight.c:907:card_emblem_of_the_warmind(...)
call_card_fn_impl(...)
functions/events.c:36:call_card_fn(...)
functions/events.c:93:dispatch_event_raw(...)
functions/events.c:778:get_abilities(...)
functions/engine.c:146:recalculate_all_cards_in_play(...)
resolve_top_card_on_stack()
functions/events.c:587:resolve_trigger(...)
sub_475A30(int TENTATIVE_player, const char *srcstr)
functions/events.c:401:dispatch_trigger_impl(...)
functions/events.c:492:dispatch_trigger(...)
dispatch_trigger_twice_once_with_each_player_as_reason(int reason_for_trig, trigger_t trig, const char *prompt, int a4)
kill_card_guts(int player, int card)
functions/deck.c:1182:kill_card_impl(...)
functions/auras.c:381:targeted_aura_impl(...)
functions/auras.c:540:vanilla_aura(...)
cards/future_sight.c:907:card_emblem_of_the_warmind(...)
call_card_fn_impl(...)
functions/events.c:36:call_card_fn(...)
functions/events.c:259:dispatch_event_to_single_card(...)
resolve_top_card_on_stack()
functions/engine.c:1813:put_card_on_stack3(...)
main_phase(int player, int a4, int a5)
switch_phase(int a3)
start_duel()

Re: AI cast Death Rattle game crashed.

PostPosted: 26 Oct 2017, 11:17
by Aswan jaguar
Another .dmp file about Death Rattle this time hopefully.It still is with the same deck.Unless the debugged/obliterated from hand Emblem of the Warmind some turns ago can still affect the game.

Re: AI cast Death Rattle game crashed.

PostPosted: 28 Oct 2017, 11:15
by Aswan jaguar
When you select to cast it normally from menu it crashes immediately.When you select to use delve you get to exile the cards you choose to pay for colorless mana but then you never get prompt for {B} mana and spell stays in hand and cards in exile.

Re: Death Rattle cast normally crash-delve not resolving

PostPosted: 11 Apr 2019, 17:14
by Aswan jaguar
Death Rattle fixed in commit c90a46ea the other card was fixed in previous commit.