Shandalar - Program Bugs
Mind Control ability makes extra copies of cards (fix completed)
I fought against the Priestess, the one that has the tons of walls deck, and has the ability of copying your deck against us.
It seems this ability is working wrong as you can see in the screenshot. It's copying a lot of copies of the same card, for example 12 Meteorite or 14 Cruel Edit, while I'm using only 4 copies of each of those.
Can't suggest to what might be wrong, just doing my playtesting job
Last edited by Draggamor on 06 Sep 2015, 18:05, edited 5 times in total.
Reason: Retitle from "Enchantress copy ability working wrong"; Component Duel AI->Adventure Mode
Reason: Retitle from "Enchantress copy ability working wrong"; Component Duel AI->Adventure Mode
Comments
Posted by jiansonz » 06 Sep 2015, 08:29
The character that has the Walls deck and can copy your deck is the Priestess, not Enchantress.
Posted by Korath » 20 Oct 2015, 05:06
I botched the replacement of the mind control ability (to allow the [Enemies]MindControlCopiesHand option in Shandalar.ini) within start_duel(), leaving extra values on the stack. The result is very difficult to analyze, and though my best guess is that it should have been harmless in this case, I can't find anything else obviously wrong here. Please reopen if you see similar problems in TH3/NB1 or later.
Posted by Korath » 20 Oct 2015, 05:12
commit 15b877b36af3cb947f4acf064ad477b98142145e
Author: Korath <dgk@Dirge.none>
Date: Tue Oct 20 01:11:41 2015 -0400
[TH] (fix #728?) don't corrupt stack in mindcontrol_copy_library() injection
Previously left the arguments to the first call of memcpy in the replaced
instructions on the stack.
Author: Korath <dgk@Dirge.none>
Date: Tue Oct 20 01:11:41 2015 -0400
[TH] (fix #728?) don't corrupt stack in mindcontrol_copy_library() injection
Previously left the arguments to the first call of memcpy in the replaced
instructions on the stack.
4 Posts
• Page 1 of 1
Ticket details
- Ticket ID: 728
- Project: Shandalar
- Status: Fix completed
- Component: Adventure Mode
- Project version: Thieves Hideout 1
- Priority: Normal
- Severity: Normal
- Assigned to: Korath
- Reported by: Draggamor
- Reporter's tickets: List all tickets
- Reported on: 04 Sep 2015, 21:57
- Last visited by Korath » 26 Oct 2015, 09:00.
