Open raspberrytealeaf opened 5 years ago
Ever since I started using the script, like half a year ago, I find this happening to me every once a in while. It's nice to have a thread for it so other collaborators can see it, because I still haven't found the cause. It can happen in other stages besides 1/3, though.
I am not sure if it is the cause, or if it is how it causes it, but removing the toasts made it work much longer for me. Also, I sometimes find that the script will not work right on the first iteration of combat, but then work fine for hours afterwards
It looked like the script's in the routine: cast no skill & np, choose 3 cards only.
In this scenario, I'd personally close the extra window before the next toast "Battle 1/3", therefore the script can proceed normally.
I still suspect it's wait() related issue. Not really sure though.
We could make the script output debug.log but I think that's a little bit ... too much? Overkill? XD
No such thing as too much debug support XD If we can get a log of what the script is doing during runtime it would help tremendously in solving issues that are happening.
TryBane
http://neopallium.github.io/lualogging/manual.html
This lib looked promising I guess? Anyway I'll edit, add this into our discussion thread.
Check this closed PR for related discussion: https://github.com/29988122/Fate-Grand-Order_Lua/pull/147
I've been trying to babysit Nox while trying to see what causes it to get stuck on the drops screen (#115 ). Instead I found some other issue where it gets stuck on the 1st battle after running normally for a couple hours. Here's a gif I made of the issue.
Nox 6.2.6.0 and Ankulua Pro 8.0.5.