[fixed]Barter in Blood crash if a player has <2
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
[fixed]Barter in Blood crash if a player has <2
by Aswan jaguar » 21 Nov 2017, 18:42
Describe the Bug:
Barter in Blood will crash the game when cast if a player controls less than 2 creatures.
Which card did behave improperly?
Barter in Blood
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Manalink dev 778ccb5 version - duel
What exactly should be the correct behavior/interaction?
Barter in Blood doesn't crash if a player has less than 2 creatures
5/1/2012 If a player controls only one creature, that creature is sacrificed.
5/1/2012 Barter in Blood doesn’t target any creatures and may be cast even if a player controls fewer than two creatures.
Are any other cards possibly affected by this bug?
-
Barter in Blood will crash the game when cast if a player controls less than 2 creatures.
Which card did behave improperly?
Barter in Blood
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Manalink dev 778ccb5 version - duel
What exactly should be the correct behavior/interaction?
Barter in Blood doesn't crash if a player has less than 2 creatures
5/1/2012 If a player controls only one creature, that creature is sacrificed.
5/1/2012 Barter in Blood doesn’t target any creatures and may be cast even if a player controls fewer than two creatures.
Are any other cards possibly affected by this bug?
-
- Attachments
-
barter inblood crash;.rar
- (2.24 KiB) Downloaded 271 times
Last edited by drool66 on 25 Apr 2020, 20:53, 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: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
Re: Barter in Blood crash if a player has <2
by Aswan jaguar » 17 Apr 2019, 16:51
This bug is the same for all cards that sacrifice more than 1 object for each player - it goes on a loop if objects to sacrifice less than wanted. At least these are: Destructive Force, Devastating Dreams, Ember Swallower, Tectonic Break, Thoughts of Ruin, Wildfire.
Probably Rite of Ruin which has also other bugs, see: viewtopic.php?f=86&t=14620&p=209790&hilit=rite+of+ruin#p209790.
Edit: They all use the apnap code that seems to have a problem with this.
Probably Rite of Ruin which has also other bugs, see: viewtopic.php?f=86&t=14620&p=209790&hilit=rite+of+ruin#p209790.
Edit: They all use the apnap code that seems to have a problem with this.
Last edited by Aswan jaguar on 05 Sep 2019, 11:38, edited 1 time in total.
Reason: edit
Reason: edit
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
Re: Barter in Blood crash if a player has <2
by gnomefry » 24 Feb 2020, 18:27
Was this <2 crash bug fixed?
I ask because I'm seeing <2 creature bug for Barter in Blood, but not a crash. When a player has only 1 creature to choose it won't be sacrificed. Meanwhile an opponent with 2 or more creatures will still lose 2 creatures of their choice.
I ask because I'm seeing <2 creature bug for Barter in Blood, but not a crash. When a player has only 1 creature to choose it won't be sacrificed. Meanwhile an opponent with 2 or more creatures will still lose 2 creatures of their choice.
Re: [part confirm]Barter in Blood crash if a player has <2
by Aswan jaguar » 24 Feb 2020, 19:02
Either the crash happens in specific scenarios or I have forgot some code when trying to fix this so it doesn't crash, anyway the most important thing is that it bugs for that scenario.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
Re: [fixed]Barter in Blood crash if a player has <2
by drool66 » 25 Apr 2020, 20:51
I'm about 99% sure fixed in fbefacbef ("Fix AI loops re: multi sacrifice", 2020-04-25)
I now get no crash in this savegame, or this one.
Was also getting an infinite loop when casting Barter in Blood when either player had exactly one creature on board, or fewer than X when casting Death Cloud - all fixed by this commit; the creature is now sacrificed as well. Also tested with Destructive Force, Devastating Dreams, Ember Swallower, Tectonic Break, Thoughts of Ruin & Wildfire, though several of these seem to have their own unrelated bugs. Destructive Force, for example, doesn't use the same function, and actually seems to use its own sacrifice function. I don't think there are other scenarios that would cause this crash, and they are not documented here, so I will mark as fixed, but feel free to overrule me.
I now get no crash in this savegame, or this one.
Was also getting an infinite loop when casting Barter in Blood when either player had exactly one creature on board, or fewer than X when casting Death Cloud - all fixed by this commit; the creature is now sacrificed as well. Also tested with Destructive Force, Devastating Dreams, Ember Swallower, Tectonic Break, Thoughts of Ruin & Wildfire, though several of these seem to have their own unrelated bugs. Destructive Force, for example, doesn't use the same function, and actually seems to use its own sacrifice function. I don't think there are other scenarios that would cause this crash, and they are not documented here, so I will mark as fixed, but feel free to overrule me.
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: 1185
- Joined: 25 Nov 2010, 22:38
- Has thanked: 187 times
- Been thanked: 280 times
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot] and 26 guests