Page 1 of 1

[fixed]When you cast Monarch cards game crashes.

PostPosted: 28 Nov 2017, 16:32
by Aswan jaguar
Describe the Bug:
When you cast Crown-Hunter Hireling game crashes.
bad parameters | Open
bad parameters
get_card_instance(1, 18688)
0: 0x0247CE18
1: 0x024A4FDE
2: 0x024A5928
3: 0x024B70C4
4: 0x024A6E00
5: 0x0217CAE9
6: 0x0217F83E
7: 0x024EC735
8: 0x024D745D
9: 0x024D74BF
10: 0x024D4E16
11: 0x0217F78B
12: 0x024EC735
13: 0x024D745D
14: 0x024D7FC4
15: 0x024D8376
16: 0x004367C3
17: 0x024D84B0
18: 0x004766DC
19: 0x024D76FF
20: 0x024D7DF5
21: 0x024ADFA8
22: 0x0043BFAA
23: 0x004399BD
24: 0x0047902C
25: 0x004946E9
26: 0x7C80B729

Which card did behave improperly?
Crown-Hunter Hireling? Monarch ability?

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?


Are any other cards possibly affected by this bug?
Palace Sentinels, Custodi Lich, Keeper of Keys, Thorn of the Black Rose,
Marchesa's Decree, have the same issue and I believe the same is true for all other cards with Monarch ability.

Re: [confirmed]When you cast Monarch cards game crashes.

PostPosted: 01 Jun 2020, 02:03
by drool66
Several issues with you_become_the_monarch:
a) The problem presented here was that Custodi Lich's array was memset improperly (it also had 100 elements :shock: reduced to 10)
b) Anything that declared "you become the monarch" didn't steal from opponent if they were the monarch
c) Once Custodi Lich's array was set properly, it would hang the game because of a third issue

All fixed in ef9c789f7 ("Fix several issues in you_become_the_monarch", 2020-05-31)