It is currently 07 Jul 2021, 11:58
   
Text Size

Shandalar - Program Bugs

Balance made me sac 3 creatures instead of opponent 2 (will not fix)

 

Balance.jpg


As you can see in my graveyard, I just played Balance.

It was supposed to force my opponent to sacrifice 2 creatures (lands and cards in hand worked fine, both hands same size, 0 cards, opponent sacrificed 1 land), but instead it forced me to sacrifice 3 creatures!
Last edited by Korath on 24 Aug 2015, 04:53, edited 2 times in total.
Reason: retitle from "Balance"

Comments

Posted by Korath » 24 Aug 2015, 04:55

Works for me, with a game situation matching your screenshot as close as I can determine. And wouldn't fix in any case, as Balance hasn't been rewritten yet.

Posted by Draggamor » 24 Aug 2015, 14:25

Yesterday it happened again against Prismat Green Dragon deck (print screen failed).

I played Balance with 2 Plains and 1 Mox: Pearl in play. AI had 3 lands (don't recall which) and 1 Onulet in play.

Cards in hand where balanced and AI sacrificed a land. Onulet remained in play. What is in common here and my previous screenshot? Artifacts: my Mox against its Onulet, and in the screenshot I control a total of 9 creatures + artifacts VS AI's 9 creatures.

It seems Balance is counting artifacts as if they are creatures.

Posted by Danatar » 29 Aug 2015, 14:25

I also had a problem with Balance. It was played by my opponent. Lands were processed correctly, as were cards in hand (I had none, opponent lost his two remaining). I had one creature, my opponent had three. I had to sacrifice my creature, my opponent lost none. (Thieves Hideout 1 as well)

Posted by Danatar » 31 Aug 2015, 20:09

I tested Balance some more. Lands and hand cards worked correctly each time.
Creature number were (mine/opponent's, before -> after):
4/3 -> 2/3
7/3 -> 2/3
3/2 -> 1/2 (opponent's Balance)
7/2 -> 1/2
See also the screenshots (more will follow, I can only upload 5 at a time).
There were more tests where I forgot the screenshots, but they went similarly. Some things I thought I noticed but that were not correct in subsequent castings: That artifacts are counted differenty from colored creatures (only white creatures in number 3); that creatures in hand are somehow counted (not the case in number 2 and 3).
Attachments
ShandalarBug-Balance2b.jpg
Casting Balance, test 2, after casting
ShandalarBug-Balance2a.jpg
Casting Balance, test 2, before casting
ShandalarBug-Balance1b.jpg
Casting Balance, test 1, after casting
ShandalarBug-Balance1a.jpg
Casting Balance, test 1, before casting

Posted by Danatar » 31 Aug 2015, 20:11

more screenshots, see my other post
Attachments
ShandalarBug-Balance4b.jpg
casting Balance, test 4, after casting
ShandalarBug-Balance4a.jpg
casting Balance, test 4, before casting
ShandalarBug-Balance3b.jpg
casting Balance, test 3, after enemy cast
ShandalarBug-Balance3a.jpg
casting Balance, test 3, before enemy cast

Posted by Korath » 08 Sep 2015, 05:18

It's definitively caused by a bug in the MicroProse implementation. Excerpt:
Code: Select all
          if (is_in_play(0, c_) && cards_data[card_instances[0][c_].internal_card_id].type & TYPE_CREATURE && card_instances[0][c_].kill_code != KILL_SACRIFICE)
            ++player0_creatures;
          if (is_in_play(1, c_) && cards_data[card_instances[1][c_].internal_card_id].type & TYPE_CREATURE && card_instances[0][c_].kill_code != KILL_SACRIFICE)
            ++player1_creatures;
The second card_instances[0][c_].kill_code should be card_instances[1][c_].kill_code. It's miscounting the AI's number of creatures by looking at bad data from the corresponding card controlled by the human player. Nothing to do with artifacts. Will be fixed when Balance is rewritten.

Ticket details

  • Ticket ID: 707
  • Project: Shandalar
  • Status: Will not fix
  • Component: Individual Card
  • Project version: Thieves Hideout 1
  • Priority: Normal
  • Severity: Normal
  • Assigned to: (unassigned)
  • Reported by: Draggamor
  • Reporter's tickets: List all tickets
  • Reported on: 22 Aug 2015, 23:05
  • Last visited by Korath » 08 Sep 2015, 05:18.
 

Login Form