Page 1 of 1

[fixed/clo]AI with Mirror Entity &/or Valor in Akros = crash

PostPosted: 05 Jan 2016, 20:03
by Aswan jaguar
Describe the Bug:
AI had Blessed Spirits and Valor in Akros on board Mirror Entity in hand and 5 other cards and in first or second main game makes dump errors and crash.I tried many scenarios and if I leave only Mirror Entity in hand,game makes the same errors.However if I destroy Valor in Akros from battlefield no bug happens even if AI has & plays Mirror Entity.
bad parameters | Open
get_card_instance(24254513, 24254513)
0: 0x02427E14
1: 0x023E29D5
2: 0x023EAD4A
3: 0x0043467C
4: 0x00475D78
5: 0x00436D07
6: 0x00436A80
7: 0x023EAA5A
8: 0x023EAB24
9: 0x00475D8D
10: 0x00436D07
11: 0x00436A80
12: 0x023EAA5A
13: 0x023EAB24
14: 0x00475D8D
15: 0x00436D07
16: 0x00436A80
17: 0x023EAA5A
18: 0x023EAB24
19: 0x00475D8D
20: 0x00436D07
21: 0x00436A80
22: 0x023EAA5A
23: 0x023EAB24
24: 0x00475D8D
25: 0x00436D07
26: 0x00436A80
27: 0x023EAA5A
28: 0x023EAB24
29: 0x00475D8D



Which card did behave improperly ?
AI with Mirror Entity?Valor in Akros?

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Manalink 2015/12/25: Battle For Zendikar,duel

What exactly should be the correct behavior/interaction ?


Are any other cards possibly affected by this bug ?
-

Re: AI with Mirror Entity in hand & Valor in Akros in game-c

PostPosted: 06 Jan 2016, 02:39
by Korath
Mirror Entity. First time I loaded that save, the first bad params popup happened while it had 97! activations on the stack, presumeably all or at least almost all with X = 0. Since the stack only has space for 32 spells or effects, this overwrote other memory; that's probably what eventually crashed it. The bad params happened because it had already resolved enough times to create enough effect cards to run afoul of the 150-per-side limit.

Re: [confirmed]AI with Mirror Entity &/or Valor in Akros = c

PostPosted: 06 Jan 2016, 08:03
by BAgate
I've noticed AI using Mirror Entity with x=0 before. Why does it think that is a good idea?

Re: [confirmed]AI with Mirror Entity &/or Valor in Akros = c

PostPosted: 15 Jan 2016, 01:38
by Korath
As a wild, completely unsupported guess, it activates it so many times in a row during speculation that it overwrites the arrays that track which choices it made, so it can't reject those branches as useless. The AI doesn't stop to examine how insanely badly it's screwed up good its choices were until it's looked forward all the way to the end of the turn.

I've forcibly prevented it from activating the card for 0 in 9c1c7e2.

All this isn't to say that there isn't maybe something wrong with Valor in Akros, too, but if so, it's lost in the noise from Mirror Entity.

Re: [fixed]AI with Mirror Entity &/or Valor in Akros = crash

PostPosted: 15 Jan 2016, 07:32
by BAgate
Closed until it happens again.