It is currently 18 Apr 2024, 02:18
   
Text Size

[fixed]Dark Impostor activation crash

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

[fixed]Dark Impostor activation crash

Postby gnomefry » 09 Jun 2022, 19:16

Describe the Bug:

Activating Dark Impostor causes a crash to desktop. There's no error pop-up that I can see before it crashes, and dump.txt isn't updated.

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)

Holidays 2021 ad1a6f8 - gauntlet

What exactly should be the correct behavior/interaction?

No CTD.
Attachments
darkimposter.rar
(3.59 KiB) Downloaded 46 times
Last edited by drool66 on 11 Jun 2022, 21:14, edited 2 times in total.
Reason: fixed
User avatar
gnomefry
Tester
 
Posts: 288
Joined: 28 Dec 2018, 00:44
Has thanked: 25 times
Been thanked: 24 times

Re: Dark Impostor activation crash

Postby drool66 » 10 Jun 2022, 16:19

Well, I've "fixed" it to the point that it won't crash, but its targets array will be overwritten very easily. My big project right now it expanding instance_t::ext to hold a lot more data for this kind of thing; I guess this could be my test case for that.
EDIT: fixed, unpushed
EDIT2: 0885ae8
Last edited by drool66 on 17 Jun 2022, 20:59, edited 1 time in total.
Reason: hash info
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times

Re: [fixed]Dark Impostor activation crash

Postby Aswan jaguar » 19 Jun 2022, 17:50

drool66 the crash doesn't happen.
Does this still need work to work mostly correctly? Because I get erratic behaviour half the times doesn't have the activated abilities of creatures exiled with it on dialog although you have the mana for them and also sometimes instead of prompting the correct kind of mana it prompts only for generic mana of same quantity. For Agent of Horizons I got prompt correctly for {2} {U} at a time and another time for {3}.
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8078
Joined: 13 May 2010, 12:17
Has thanked: 730 times
Been thanked: 458 times

Re: [fixed]Dark Impostor activation crash

Postby drool66 » 20 Jun 2022, 01:01

It's the special flag bug you messaged me about. What was happening is check_special_flags_2/3() were checking get_special_flags_#() when they should have checked "get_special_flags_#() & value", so setting any flag would be like setting all flags. This bug would probably be due to the "SF2_HAS_DAMAGED_PLAYER1" flag being set on dealing damage, and reading as if "SF2_MYCOSYNTH_LATTICE" is set. Also why dealing damage to opponent meant it could be targeted by Allay - it was reading as if SF2_ENCHANTED_EVENING was set.
ie. yes, this is fixed, and it's actually good to know it interacts properly with Mycosynth Lattice :)
I just pushed the changes.
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 23 guests


Who is online

In total there are 23 users online :: 0 registered, 0 hidden and 23 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 23 guests

Login Form