Page 1 of 1

[fixed]Crash AI trying to cast Skeletal Scrying?

PostPosted: 05 May 2015, 15:05
by Aswan jaguar
Describe the Bug:
Possibly AI trying to cast Skeletal Scrying (unless it was Inquisition of Kozilek) caused assertion fail then runtime error and then crash.AI had no cards in gy.
2015-05-05_174301.jpg

2015-05-05_175732.jpg

Assertion failed | Open
Assertion failed
functions/tutors.c:783
max_targets > 0 && max_targets <= 19
0: 0x023EF938
1: 0x023EFA99
2: 0x023F6B6C
3: 0x0223D692
4: 0x023FAA55
5: 0x023B53AE
6: 0x00435A13
7: 0x00433AF9
8: 0x0043BF12
9: 0x004399BD
10: 0x0047902C
11: 0x004946E9
12: 0x7C80B729


Which card did behave improperly ?
Skeletal Scrying

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Manalink 2015/3/25: Fate Reforged,duel

What exactly should be the correct behavior/interaction ?
Skeletal Scrying no crash

Are any other cards possibly affected by this bug ?
-

Re: Crash AI trying to cast Skeletal Scrying?

PostPosted: 05 May 2015, 21:05
by BAgate
removing Inquisition of Kozilek from AI's hand prevents assertion error.

Re: Crash AI trying to cast Skeletal Scrying?

PostPosted: 05 May 2015, 21:09
by Aswan jaguar
So,does removing Skeletal Scrying.

Re: [confirmed]Crash AI trying to cast Skeletal Scrying?

PostPosted: 06 May 2015, 07:48
by stassy
Even if already confirmed, I just wanted to add that in a clean game crash also happen with Skeletal Scrying + Dark Ritual only

Re: [confirmed]Crash AI trying to cast Skeletal Scrying?

PostPosted: 06 Apr 2016, 14:09
by Gargaroz
I actually found out a bug: Skeletal Scrying could be cast with X = 0, but the actula code won't allow it. I fixed that in 4169fb2, also improving the code a bit. Consider this fixed until further notice.

Re: [fixed/closed]Crash AI trying to cast Skeletal Scrying?

PostPosted: 30 Sep 2016, 17:57
by Aswan jaguar
It still crashes frequently when AI considers to cast it.Like this one produces a dump error and then a Microsoft visual C++ Runtime library error and finally crash.
error | Open
Assertion failed
functions/tutors.c:927
max_targets > 0 && max_targets <= 19
0: 0x02467F44
1: 0x02468099
2: 0x0246F4EC
3: 0x0228A6CE
4: 0x02475ED5
5: 0x0242959D
6: 0x0242A0AE
7: 0x00435A13
8: 0x00433AF9
9: 0x0043388A
10: 0x00475DBB
11: 0x00436D07
12: 0x00436A80
13: 0x0043D031
14: 0x004399E4
15: 0x0047902C
16: 0x004946E9
17: 0x7C80B729

Re: [still bugged]Crash AI trying to cast Skeletal Scrying?

PostPosted: 20 Jan 2022, 19:28
by drool66
I think it's fixed in 900c8f0; Aswan jaguar, can you confirm?

Re: [fixed?]Crash AI trying to cast Skeletal Scrying?

PostPosted: 21 Jan 2022, 15:08
by Aswan jaguar
I still get an error. AI cast it successfully once the next it crashed.

Re: [confirmed]Crash AI trying to cast Skeletal Scrying?

PostPosted: 21 Jan 2022, 22:34
by drool66
Ok I see, thanks. 958cdd8 should definitely fix it then.