Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Wrote this piece today. To check a list against another.
While I though it to be simple enough. Renpy Cracks down on me and say there is possible infinete loop and does not let me continue.
Anyone can see what I'm missing or can ammend to make the text editor stop jammering at me.
Looking at your code, it seems as if all you want is to know how many things are the same in both lists? (the colloCount variable). There are much easier ways to do that.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
I'll also note that the infinite loop check is actually just a timer - it's more just a way of breaking out of a game that's been unresponsive for 10 seconds or so. So if you're just doing a huge amount of work, you can get the warning, even if it's not technically an infinite loop.
Supporting creators since 2004 (When was the last time you backed up your game?)
Its not just comparing lists. It checks a selected color from one list agains a position from the other list (which is a grid of 7 nested lists) how many of the same color is in the selected spot. So the sulotion does work at all im afraid.
@pytom. Could be it. Though it should only check seven strings at most from a list. Unshure how that could take longer then 10 seconds. Also the program gives me the error message almost directly.