It is currently 29 Apr 2024, 04:07
   
Text Size

[fixed] Clone can't be cast

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

[fixed] Clone can't be cast

Postby Aswan jaguar » 14 Mar 2022, 09:35

Describe the Bug:
For some strange reason Clone can't be cast, it highlights as ready to cast but nothing happens when you click on it. It works on release. The same happens with the other card that uses it's code address but not with Altered Ego that returns Clone's code.

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
dev based in commit 337996 and on/ duel

What exactly should be the correct behavior/interaction?


Are any other cards possibly affected by this bug?
-
Last edited by Aswan jaguar on 15 Mar 2022, 13:27, edited 2 times in total.
Reason: fixed
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8078
Joined: 13 May 2010, 12:17
Has thanked: 730 times
Been thanked: 458 times

Re: Clone can't be cast

Postby drool66 » 14 Mar 2022, 19:59

I think Clone & Vesuvan Doppelganger shouldn't be special-cased in put_card_on_stack(..0) any more, unless we want to do a check for the AI or something. It's still special-cased in the exe version, so I don't know why it could be cast on release but not now.
Anyway, this can be fixed by either taking the special cases out of put_card_on_stack() or just adding the event handler to clone and returning 1, like we've done with Vesuvan Doppelganger. I'm not sure which is better.
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times

Re: [confirmed] Clone can't be cast

Postby Korath » 14 Mar 2022, 20:26

They're only special-cased there (and in the original put_into_play()) because the original versions targeted at announcement. The reason Clone worked before is because we've been using a different csvid for Clone for years - it was originally 39, now 10399 - and your C version of put_card_on_stack() updated the special case to look for the new value instead of the old.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: [confirmed] Clone can't be cast

Postby drool66 » 15 Mar 2022, 01:31

Cool. Fixed by removing the special-casing.
hash: 1ae7abc
Last edited by drool66 on 21 Mar 2022, 23:32, edited 1 time in total.
Reason: hash info
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: No registered users and 43 guests


Who is online

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

Login Form