It is currently 19 Apr 2024, 21:33
   
Text Size

[fixed]Vivien, Champion of the Wilds ability CTD

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

[fixed]Vivien, Champion of the Wilds ability CTD

Postby gnomefry » 13 Apr 2022, 21:01

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?
Attachments
vivienchampionofthewilds.rar
save game
(4.25 KiB) Downloaded 57 times
vivienchampion_dump.txt
dump.txt post crash
(466 Bytes) Downloaded 60 times
Last edited by drool66 on 11 May 2022, 18:53, edited 2 times in total.
Reason: fixed
User avatar
gnomefry
Tester
 
Posts: 288
Joined: 28 Dec 2018, 00:44
Has thanked: 25 times
Been thanked: 24 times

Re: Vivien, Champion of the Wilds ability CTD

Postby drool66 » 14 Apr 2022, 18:57

We really don't have a way for a card to make two different types of legacy_activites with different text, do we?
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times

Re: Vivien, Champion of the Wilds ability CTD

Postby Korath » 14 Apr 2022, 23:21

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.
Last edited by Korath on 11 May 2022, 20:02, edited 1 time in total.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Vivien, Champion of the Wilds ability CTD

Postby drool66 » 14 Apr 2022, 23:41

:shock: :shock: :shock: I had no idea
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times

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

Postby drool66 » 11 May 2022, 18:53

Fixed in 6024327
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times


Return to Archived Reports

Who is online

Users browsing this forum: Bing [Bot] and 88 guests


Who is online

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

Login Form