[fixed] Clone can't be cast
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
[fixed] Clone can't be cast
by 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?
-
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
Reason: fixed
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
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
by 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.
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.
The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
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
by 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.
-
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
by drool66 » 15 Mar 2022, 01:31
Cool. Fixed by removing the special-casing.
hash: 1ae7abc
hash: 1ae7abc
Last edited by drool66 on 21 Mar 2022, 23:32, edited 1 time in total.
Reason: hash info
Reason: hash info
The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
drool66 - Programmer
- Posts: 1163
- Joined: 25 Nov 2010, 22:38
- Has thanked: 186 times
- Been thanked: 267 times
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 39 guests