Hey all.
I’ve noticed a profusion of randomtest ‘too much recursion’ errors recently, and I’m aware of the normal tricks like *looplimit (it’s implemented) and even the one where sometimes it gives a fake error and you have to use *if followed by *else instead of *if (x) and then *if not (x) (very very annoying, but I’m doing it when I’m getting errors thrown in those places). The thing is, the errors of this sort that I get don’t seem to pop up consistently in the same places, which if I understand how the “not so random” element of randomtest works, should not be the case?
And then, to further my confusion, I recently got the error at the very top of a new seed, before so much as a single #option had been selected? I have no idea what this could possibly mean. Here’s what the script spits out:
04chapter *choice 8419#1 (line 8471) #I should ask how things are going, with the investigation.
04chapter *choice 8478#4 (line 8497) #"So... am I in danger, or not?"
04chapter *choice 8419#1 (line 8537) #I don't have anything further to ask.
*****Seed 956
RANDOMTEST FAILED: InternalError: too much recursion
Everything above seed 956 is of course from seed 955, which finishes properly at the end of what I’m testing.
I’m just… incredibly frustrated with this bug, which I’ve never dealt with before, even when running randomtest on previous game versions. I’m not running a game with anything using the *rand command or anything like that, and I use *disable_reuse in the few “loops” I actually have (with a definitive way out as well). If I may say so, my game is pretty dang linear. So I have no idea where all this supposed recursion is coming from.
Any sage knowledge and advice would be much appreciated. The game itself runs just fine, but I know it has to pass randomtest for publication, and so right now this recursion error thing is the bane of my existence.