Page 1 of 1

[fixed/closed]Gauntlets of Chaos

PostPosted: 09 Feb 2014, 09:33
by Aswan jaguar
Describe the Bug:
Another error probably when AI thinks to activate Gauntlets of Chaos.It happened both times the turn after AI had played Gauntlets of Chaos (the turn it played it AI both times didn't have enough mana to activate it),showed this card_instance error:
2014-02-08_095921 error1.jpg
2014-02-08_095921 error1.jpg (8.77 KiB) Viewed 1456 times

and then this:
2014-02-09_100226.jpg

and finally:
2014-02-09_100316.jpg

and then crashed.
Also Gauntlets of Chaos probably ruins the savegames as it enters as I saved the game as soon as AI played it but the game got corrupted nonetheless.
Which card did behave improperly ?
Gauntlets of Chaos

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Jan 01, 2014 : Commanding the revision of Ice Age v2 - DUEL

What exactly should be the correct behavior/interaction ?
Gauntlets of Chaos

Are any other cards possibly affected by this bug ?
-

Re: [confirmed]Gauntlets of Chaos

PostPosted: 18 Feb 2014, 18:43
by Aswan jaguar
The bug happens to player,too.At least when I tried to exchange AI's Dong Jhungua 3/3 with my 1/1 insect token.I got this parameters error:
2014-02-18_201359 gauntlets of power.jpg

(sorry Korath but I didn't expect a 2nd bad parameters error and didn't save the first dump.dmp and it saves only the last report.
then this parameters error above:
| Open
Code: Select all
bad parameters
get_card_instance(1, -1)
0: 0x02351C04
1: 0x02316AB5
2: 0x0231968D
3: 0x0231C9A5
4: 0x0233379B
5: 0x0233381C
6: 0x0213BB11
7: 0x004018E0
8: 0x004A2806
9: 0x004018E0
10: 0x00435BCF
11: 0x004368C6
12: 0x004347A5
13: 0x0043C200
14: 0x004399BD
15: 0x0047902C
16: 0x004946E9
17: 0x7C80B713
then this error:
2014-02-18_201458.jpg
2014-02-18_201458.jpg (9.29 KiB) Viewed 1444 times

and finally the crash report:
2014-02-18_201602.jpg

Re: [confirmed]Gauntlets of Chaos

PostPosted: 18 Feb 2014, 19:17
by Korath
Dump in the first screenshot is
Code: Select all
functions/show_backtrace.c:16:show_backtrace(...)
functions/engine.c:1378:get_card_instance(...)
functions/functions.c:11351:give_control(...)
functions/functions.c:11336:exchange_control_of_target_permanents(...)
cards/legends.c:992:card_gauntlets_of_chaos(...)
call_cards_function<eax>(card_data_t *cd<eax>, int player, int card, event_t event)
fx_activation_906(int player, int card, event_t event)
call_cards_function<eax>(card_data_t *cd<eax>, int player, int card, event_t event)
dispatch_event_to_single_card(int player, int card, event_t event, int new_attacking_card_controller, int new_attacking_card)
resolve_top_card_on_stack()
sub_4346E0(int player, int card)
main_phase(int player, int a4, int a5)
switch_phase(int a3)
start_duel()
start_duel_thread(int a1)
0x7c80b713
The one pasted in is
Code: Select all
bad parameters
get_card_instance(1, -1)
functions/show_backtrace.c:16:show_backtrace(...)
functions/engine.c:1378:get_card_instance(...)
functions/engine.c:1322:create_legacy_effect_exe(...)
functions/functions.c:515:switch_control(...)
functions/functions.c:11356:give_control(...)
functions/functions.c:11336:exchange_control_of_target_permanents(...)
cards/legends.c:992:card_gauntlets_of_chaos(...)
call_cards_function<eax>(card_data_t *cd<eax>, int player, int card, event_t event)
fx_activation_906(int player, int card, event_t event)
call_cards_function<eax>(card_data_t *cd<eax>, int player, int card, event_t event)
dispatch_event_to_single_card(int player, int card, event_t event, int new_attacking_card_controller, int new_attacking_card)
resolve_top_card_on_stack()
sub_4346E0(int player, int card)
main_phase(int player, int a4, int a5)
switch_phase(int a3)
start_duel()
start_duel_thread(int a1)
0x7c80b713

Re: [confirmed]Gauntlets of Chaos

PostPosted: 18 Feb 2014, 19:50
by Korath
Fixed the crash in 6893d77. It was the result of a design flaw in the engine that we run into more or less continuously, but isn't really fixable. (Cards that have completely left play - like Gauntlets of Chaos after it's been sacrificed - indicate that by setting their id to -1, so we can't tell what they used to be.)

Still needs work; three obvious errors are that it picks your opponent's permanent first; that it always destroys auras, and does so before exchanging control instead of after; that it doesn't actually destroy auras attached to either of the permanents, but anything with subtype 44 (which includes all artifact creatures, but not all auras) which currently has one of them as their first target, or whose first target was most recently one of them.

Re: [waitlisted]Gauntlets of Chaos

PostPosted: 07 Jul 2014, 01:11
by Gargaroz
Fixed the three bugs Korath reported in 34b81c0

Re: [still bugged]Gauntlets of Chaos

PostPosted: 08 Oct 2014, 05:17
by BAgate
Asks for you to target the correct thing you control, then asks for a target opponent controls (could it figure out what you picked first an make the second help text intelligent, so that if you picked a creature it asks for a target creature the second time instead of target creature, artifact or land?). But then it doesn't do anything. Control is not exchanged and auras are not destroyed.

Re: [still bugged]Gauntlets of Chaos

PostPosted: 28 Oct 2014, 17:22
by Gargaroz
Since almost 20 days have passed after this report, I think this is already fixed, could someone confirm this ?

Re: [needs retesting]Gauntlets of Chaos

PostPosted: 29 Oct 2014, 02:12
by BAgate
Rechecked. Help text is still not intelligent, but more importantly,when Gauntlets of Chaos tries to resolve (after targets are chosen) game crashes.

Re: [needs retesting]Gauntlets of Chaos

PostPosted: 29 Oct 2014, 05:13
by stassy
Confirmed crash in mini5, on both side

Image

Also a minor bug is that Mishra's Workshop does not consider Gauntlets of Chaos activation as artifact spell :pnot bug

Re: [needs retesting]Gauntlets of Chaos

PostPosted: 29 Oct 2014, 14:08
by RanDomino
stassy wrote:Also a minor bug is that Mishra's Workshop does not consider Gauntlets of Chaos activation as artifact spell :p
it shouldn't...

Re: [retested=bugged]Gauntlets of Chaos

PostPosted: 14 Nov 2014, 01:17
by Gargaroz
Already fixed, as I mentioned in the other bug report with the same name.

Re: [still bugged]Gauntlets of Chaos

PostPosted: 19 Nov 2014, 06:04
by BAgate
Not sure if it is a problem with Gauntlets of Chaos (which are working just fine apart form this) or something else. But when I used Gauntlets of Chaos to swap lands and one was enchanted by Spreading Algae the legacy card that Spreading Algae uses to return to hand was put in play and remained there until another action was taken (and Spreading Algae remained in the gy until the legacy card went away at which time it returned to hand).

Reported here because Spreading Algae does not exhibit that behavior when destroyed by either Naturalize or a Nevinyrral's Disk.

See attached save for illustration.