[Fixed all]Sparkcaster segfaults, no dmg
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
[Fixed all]Sparkcaster segfaults, no dmg
by Korath » 30 Jul 2018, 16:24
Describe the Bug:
gating(), gating(), and Sparkcaster, respectively.
Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Dev master head, 6287802.
What exactly should be the correct behavior/interaction ?
For A and B, Cavern Harpy, Doomsday Specter, Fleetfoot Panther, Horned Kavu, Lava Zombie, Marsh Crocodile, Sawtooth Loon, and Shivan Wurm.
- Sparkcaster segfaults when its etb trigger resolves.
- Even if it didn't, its prompt would be wrong.
- Even if it didn't, it doesn't deal damage, since it has Shivan Wurm's function.
gating(), gating(), and Sparkcaster, respectively.
Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Dev master head, 6287802.
What exactly should be the correct behavior/interaction ?
- get_sleighted_color_text() expects a color_t, not a color_test_t.
- get_sleighted_color_text() returns a pointer to static data, so you can't call it twice with different arguments in the same call to sprintf() and expect to get different output. get_sleighted_color_text2() exists for this use case.
- It has a second etb trigger dealing 1 damage to target player or planeswalker.
For A and B, Cavern Harpy, Doomsday Specter, Fleetfoot Panther, Horned Kavu, Lava Zombie, Marsh Crocodile, Sawtooth Loon, and Shivan Wurm.
Last edited by Aswan jaguar on 21 Jul 2019, 14:43, edited 2 times in total.
Reason: fixed all
Reason: fixed all
-
Korath - DEVELOPER
- Posts: 3707
- Joined: 02 Jun 2013, 05:57
- Has thanked: 496 times
- Been thanked: 1106 times
Re: [confirm]Sparkcaster segfaults, no dmg
by Aswan jaguar » 31 Jul 2018, 08:27
Obviously I confirm the first bug I can't test the others without understanding the code or fixing the 1st bug.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8075
- Joined: 13 May 2010, 12:17
- Has thanked: 729 times
- Been thanked: 455 times
Re: [confirm]Sparkcaster segfaults, no dmg
by Aswan jaguar » 31 Jul 2018, 10:36
It happened that I am playing with these cards last couple of days and I can say that Marsh Crocodile at least doesn't segfaults when its etb trigger resolves. It does have the 2nd bug wrong prompt:
I had the etb error also with Silver Drake.
I had the etb error also with Silver Drake.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8075
- Joined: 13 May 2010, 12:17
- Has thanked: 729 times
- Been thanked: 455 times
Re: [confirm]Sparkcaster segfaults, no dmg
by Korath » 31 Jul 2018, 19:53
The others that are just black and/or blue won't crash either, since COLOR_TEST_BLUE and COLOR_TEST_BLACK happen to share values with valid COLOR_* constants. They'll make you bounce red creatures instead of blue, though, and blue ones instead of black.
I remember seeing Silver Drake in my grep results, not sure how it got left out of my post.
I remember seeing Silver Drake in my grep results, not sure how it got left out of my post.
-
Korath - DEVELOPER
- Posts: 3707
- Joined: 02 Jun 2013, 05:57
- Has thanked: 496 times
- Been thanked: 1106 times
Re: [confirm]Sparkcaster segfaults, no dmg
by Aswan jaguar » 21 Jul 2019, 14:42
Fixed crash issues in c7b139ae. Sparkcaster 's own code address in 6b211e08.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8075
- Joined: 13 May 2010, 12:17
- Has thanked: 729 times
- Been thanked: 455 times
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests