So if I understand correctly, the problem is the Double Check script and not the Lightning Mode script (this one)? Then this is probably my fault. 2 days ago, @rfindley added a bugfix that I proposed for the Double Check script, but yesterday I realized that my bugfix introduced a new bug in case someone tries to submit an empty answer to a meaning question. I have already sent a bugfix for my bugfix, so it should get fixed soon.
However, I could not reproduce the problem you have described. Lightning Mode still works even with the bug. So if you come across this problem again, could you please check if an error appears in the console (F12) that looks like this:
If there is no error “reduce of empty array with no initial value”, then it’s a different bug.
Are you running both the [Lightning Mode] script and the [Double Check] script? If so, uninstall the [Lightning Mode] script and use the version built into [Double Check]. Even if you disable lightning in Double Check, Double Check is still incompatible with the standalone Lightning Mode script.
No, I’m only running the double check. I’m afraid it’s still doing it in lightning mode, but I have actually realised it only submits the meaning as wrong, the readings are fine. Sorry @Sinyaven I do not know how to bring up that panel. My mac thinks that f12 is volume up and nothing (alt or ctrl or combination of the two) can make it think otherwise.
And it got me wondering if this “Lightning Mode” (or any other) Script has a timer. As in, you get say ~40 seconds to give an answer and if you don’t get it within that time-frame, WaniKani automatically marks it as wrong. I’ve searched the forums but didn’t see anything.
I don’t care much about leveling up fast but more so that It’s so easy for me to just get complacent and spend a minute or more on one review. I need something to keep me honest and improve my memory speed.
I’m encountering an problem and I was wondering if anyone else is having the same issue. If I have Lightning Mode on and it is now skipping the audio for vocabulary words instead of autoplaying it like it used to. If the script is disabled it plays the audio like normal (but if I hit enter it prematurely ends the audio, not sure if WaniKani used to do that since I’ve been using Lightning Mode for the longest time without issue). Any help would be appreciated.
When used during the lesson quiz, after getting a wrong answer that causes an info box to automatically open, this script will sometimes cause that box to immediately close again without user interaction. Any chance you could fix this behavior or make doublecheck work in lessons?
Edit: Upon additional investigation, it looks like the relevant lines are:
So if there is no explicit case for incorrect, and this causes it to click the item info button. This means that when the answer is wrong, the item info box will be automatically opened if it was closed and automatically closed if it was opened. What is the expected behavior?
First recommendation would be to switch to Double Check script, which contains a newer (and still supported) version of lightning mode. You can disable the Double Check features that you don’t want to use.
To get the info to display upon wrong answer when lightning mode is enabled, turn on “Delay when wrong” in the Mistake Delay tab.
I suppose I could make that more intuitive by automatically turning on “Delay when wrong” if “Show Item Info -> After incorrect answer” is enabled.
Then again, I wonder if that would create confusion for people who want lightning mode to auto-advance even during a wrong answer. In that case, “Delay when wrong” would have no effect. So, maybe it’s better to leave it as-is.
Anyway… as I said, just turn on “Delay when wrong”.