Shandalar - Program Bugs
Casting-cost quizzes misstate multicolor costs (reviewed)
There are some quizzes where the question mismatch the answer. I don't know how it works but either remove those cards from the quiz list or rephrase the questions to the correct colours.
The cards I refer are multi-coloured cards while it's question mentions only one colour.
Needless to say, when such cards are the answer we will never get it right.
The cards I refer are multi-coloured cards while it's question mentions only one colour.
Needless to say, when such cards are the answer we will never get it right.
Last edited by Korath on 26 Aug 2015, 03:48, edited 1 time in total.
Reason: Retitle from "Random Quizzes"
Reason: Retitle from "Random Quizzes"
Comments
Posted by Draggamor » 24 Aug 2015, 22:14
Exactly, the question doesn't accurately match the card.
I know a lot of cards but I'm not bionic to hold every single card name and image in my mind
I guess nobody is.
I know a lot of cards but I'm not bionic to hold every single card name and image in my mind
Posted by Draggamor » 25 Aug 2015, 23:33
Korath, jiansonz made me the favor (thanks btw) of exemplify with a screenshot what I meant in this post. I admit this title may not be the best but that picture is what I was talking about.
In the case of the screenshot, Putrefy costs 1BG but the question states it costs 1BB, and that happens a lot in these kind of questions along the adventure.
One can only (il)logically get it right by excluding all other cards, and to that we can only spend some time using the Magic Gatherer or some other Magic search engine (which I feel like cheating
), or memorizing all cards in the game.
In the case of the screenshot, Putrefy costs 1BG but the question states it costs 1BB, and that happens a lot in these kind of questions along the adventure.
One can only (il)logically get it right by excluding all other cards, and to that we can only spend some time using the Magic Gatherer or some other Magic search engine (which I feel like cheating
Posted by Korath » 08 Sep 2015, 04:09
It'll probably be a while before I get to working on quizzes; neither changing the message properly or even just excluding multicolored cards are easy fixes.
In the meantime, consider "four black mana" or whatever color to mean "four colored mana, of which at least one is black".
There's probably a way to rephrase the message at the translation level so it expresses that idea; it's in the @RIDDLE section of AdvStrings.txt. Every phrasing I come up with is too awkward for me to be confortable making official, though. Just changing the %2 there to "colored" won't work, since sometimes the riddles depend on the color - you might get something like "Which of these spells requires 1 colored and 1 colorless mana to cast?", with two choices of the choices being Mesa Pegasus (
) and Cyclopean Mummy (
).
In the meantime, consider "four black mana" or whatever color to mean "four colored mana, of which at least one is black".
There's probably a way to rephrase the message at the translation level so it expresses that idea; it's in the @RIDDLE section of AdvStrings.txt. Every phrasing I come up with is too awkward for me to be confortable making official, though. Just changing the %2 there to "colored" won't work, since sometimes the riddles depend on the color - you might get something like "Which of these spells requires 1 colored and 1 colorless mana to cast?", with two choices of the choices being Mesa Pegasus (
) and Cyclopean Mummy (
).Last edited by Korath on 08 Sep 2015, 04:10, edited 1 time in total.
Posted by Draggamor » 08 Sep 2015, 09:24
If fixing this doesn't required hard programming, just changing text lines, I can try and help with that.
Just tutor me how to start and I'll ease your workload.
Just tutor me how to start and I'll ease your workload.
Posted by Korath » 09 Sep 2015, 22:22
The text displayed at the start of that quiz is in the file AdvStrings.txt, under the @RIDDLE header. Changing the file will change it in-game; no recopilation needed (but you do need to start the program again). It currently reads:
If you can come up with a concise way to reword that text so it accurately matches the game's current behavior, I'll add it to the distribution. Adding another % parameter, though it would be the ideal solution, is currently difficult.
- Code: Select all
Which of these spells\nrequires %1!d! %2 and %3!d! colorless mana to cast?\n
If you can come up with a concise way to reword that text so it accurately matches the game's current behavior, I'll add it to the distribution. Adding another % parameter, though it would be the ideal solution, is currently difficult.
Posted by Draggamor » 09 Sep 2015, 23:30
What I recon from here is that the program is currently ignoring if a card is multicolored and reads ALL colored mana as the one selected for the quizz.
Besides, adding another parameter (%), be it difficult or not, it would only solve the problem partially, namely, cards with 2 colors, what about 3 or more colors?
What about this:
"Which of these spells requires\n%1!d! %2 and any\ncombination of colorless\nand/or colored mana to cast\nto a total of %3!d! converted mana cost?"
To use this line the program should be capable of reading the color of parameter %2 and ignore the other colors. I used perhaps too many \n lines or too few, was just trying to be intuitive about the text-box size.
Besides, adding another parameter (%), be it difficult or not, it would only solve the problem partially, namely, cards with 2 colors, what about 3 or more colors?
What about this:
"Which of these spells requires\n%1!d! %2 and any\ncombination of colorless\nand/or colored mana to cast\nto a total of %3!d! converted mana cost?"
To use this line the program should be capable of reading the color of parameter %2 and ignore the other colors. I used perhaps too many \n lines or too few, was just trying to be intuitive about the text-box size.
Last edited by Draggamor on 09 Sep 2015, 23:36, edited 1 time in total.
9 Posts
• Page 1 of 1
Ticket details
- Ticket ID: 713
- Project: Shandalar
- Status: Reviewed
- Component: Adventure Mode
- Project version: Thieves Hideout 1
- Priority: Normal
- Severity: Normal
- Assigned to: (unassigned)
- Reported by: Draggamor
- Reporter's tickets: List all tickets
- Reported on: 24 Aug 2015, 00:59
- Last visited by Korath » 07 Mar 2016, 15:25.