Page 1 of 1

[fixed]Vivien, Champion of the Wilds ability CTD

PostPosted: 13 Apr 2022, 21:01
by gnomefry
Describe the Bug:

Vivien, Champion of the Wilds second ability triggers an assertion error and crash to desktop.

The error message details include "alternate_legacy_text only works on csvid 903 effects". Here's the rest:

vivienchampionofthewilds.jpg


Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)

Holidays 2021 ad1a6f8 - gauntlet

What exactly should be the correct behavior/interaction?

Exile one of top three library cards, put rest on bottom. Exiled card remains avail for viewing and casting (if creature).



Are any other cards possibly affected by this bug?

Re: Vivien, Champion of the Wilds ability CTD

PostPosted: 14 Apr 2022, 18:57
by drool66
We really don't have a way for a card to make two different types of legacy_activites with different text, do we?

Re: Vivien, Champion of the Wilds ability CTD

PostPosted: 14 Apr 2022, 23:21
by Korath
We didn't when alternate_legacy_text() was written, but it's almost trivial now. draw_fullcard_special_effect_card() can do whatever you like with card_ptr_t::rules_text before passing it on to drawcardlib; for csvid 902, it just strcpy()s in legacy_text and handles pipe codes.

Re: Vivien, Champion of the Wilds ability CTD

PostPosted: 14 Apr 2022, 23:41
by drool66
:shock: :shock: :shock: I had no idea

Re: [fixed]Vivien, Champion of the Wilds ability CTD

PostPosted: 11 May 2022, 18:53
by drool66
Fixed in 6024327