It is currently 08 Jul 2021, 04:31
   
Text Size

[fixed/closed]Buyback

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

[fixed/closed]Buyback

Postby Mojodishu » 16 Feb 2014, 22:57

Describe the Bug:
Looks like "buyback" is fatally bugged in the newest release - casting any spell with buyback crashes the game.

Which card did behave improperly ?
Whispers of the Muse in an attached savegame, but I had experienced the same crash with Shattering Pulse and some other cards I can't remember.

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Update 2014/02/15: Born of the Gods, Duel

What exactly should be the correct behavior/interaction ?
Game shouldn't crash.

Are any other cards possibly affected by this bug ?
All cards with buyback.
Attachments
buyback.zip
(2.78 KiB) Downloaded 80 times
Last edited by BAgate on 05 May 2014, 10:17, edited 5 times in total.
Reason: closed
Mojodishu
 
Posts: 16
Joined: 14 Dec 2012, 15:53
Has thanked: 3 times
Been thanked: 0 time

Re: Buyback

Postby Korath » 17 Feb 2014, 00:22

Only asm buyback cards - Allay, Disturbed Burial, Elvish Fury, Evincar's Justice, Searing Touch, Seething Anger, Shattering Pulse, and Whispers of the Muse. They make the same unsafe assumption that Tawnos's Coffin does. Rather than keep on stumbling across them, I've made the calling function bug-for-bug compatible in 767c791.
User avatar
Korath
DEVELOPER
 
Posts: 3522
Joined: 02 Jun 2013, 05:57
Has thanked: 491 times
Been thanked: 1037 times

Re: Buyback

Postby HarlequinCasts » 17 Feb 2014, 00:26

Whispers of the Muse and Shattering Pulse definitely crash the game. Also found Searing Touch will.

Tested other common buyback spells and the following all work fine:
Demonic Collusion
Forbid
Capsize
Mystic Speculation

I thought it might be only instants since Forbid is an interrupt, but Capsize works fine... Well, it's a start.

EDIT: Nevermind Korath beat me. :D
User avatar
HarlequinCasts
 
Posts: 917
Joined: 07 May 2013, 14:33
Has thanked: 68 times
Been thanked: 30 times

Re: [Fixed by Korath]Buyback

Postby BAgate » 20 Feb 2014, 01:28

Doesn't crash the game. But two issues: 1) it doesn't always work. Sometimes it works as it should and sometimes you select buyback, pay the mana and the card goes to the gy without doing anything. It is very inconsistent and I can't figure out what the pattern is (you might need to try the savegame multiple times to see this). 2) You have to target the spell twice.

Note: tested with both Allay and Elvish Fury.
Attachments
buyback.rar
(2.33 KiB) Downloaded 85 times
Working on: housekeeping and archived reports
User avatar
BAgate
Tester
 
Posts: 2445
Joined: 06 Mar 2012, 11:09
Has thanked: 117 times
Been thanked: 158 times

Re: [still bugged]Buyback

Postby Korath » 20 Feb 2014, 14:12

These only ever worked by accident; rather than looking at any of their own parameters, they looked at local variables in the calling function; those wouldn't've been right even for all calls from the exe, and won't be from dispatch_event_raw() now that it's been rewritten in C. Unsalvageable; will rewrite them all.
User avatar
Korath
DEVELOPER
 
Posts: 3522
Joined: 02 Jun 2013, 05:57
Has thanked: 491 times
Been thanked: 1037 times

Re: [waitlisted]Buyback

Postby Korath » 23 Feb 2014, 04:10

All eight already had C implementations. Allay, Disturbed Burial, and Searing Touch needed slight touchups; the other five were fine. Marked all for csv update in 6e89f59.
User avatar
Korath
DEVELOPER
 
Posts: 3522
Joined: 02 Jun 2013, 05:57
Has thanked: 491 times
Been thanked: 1037 times


Return to Archived Reports

Who is online

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


Who is online

In total there are 4 users online :: 1 registered, 0 hidden and 3 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

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

Login Form