Unable to load a game just saved (Renpy 8.2.0)

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
Strec
Newbie
Posts: 6
Joined: Sat Jan 07, 2017 9:36 pm
Projects: Parallel
Location: France
Contact:

Unable to load a game just saved (Renpy 8.2.0)

#1 Post by Strec »

Hi.
Hope it's here the good location to post this (and sorry for my bad english)

I just start a dev with Renpy 8.2.0, I have very few scripts and screens for now and I have this bug :
- I start the game and save on the first screen
- I can't reload the save and Renpy seems to crash (eternal loop?)

It reproduce in any test.

I surely have a problem in my code but I have no log permitting to catch it (or I can't find the log).

Here's a distrib : https://mega.nz/file/52MVwa6Z#hqN75YZ79 ... PX6PCWa0bA

User avatar
MrXotic
Newbie
Posts: 6
Joined: Sat Nov 11, 2023 2:02 am
Contact:

Re: Unable to load a game just saved (Renpy 8.2.0)

#2 Post by MrXotic »

This is the error :

While running game code:
File "game/script.rpy", line 56, in script call
call showScreenMain
File "game/script.rpy", line 84, in script
while tmpChoice<0:
File "game/script.rpy", line 84, in <module>
while tmpChoice<0:
TypeError: '<' not supported between instances of 'str' and 'int'

It's possible that the error is related to the function `showScreenMain`, as the error occurs when this function is called.
There might be something wrong within this function causing `tmpChoice` to not have the expected value.

To find the exact reason for the error, one would need to inspect the code of the `showScreenMain` function.
`tmpChoice` might be initialized or modified within this function, and that could be where the issue lies.

It would be helpful if you could share the relevant code snippet from the `showScreenMain`
function so that I can better assist you in identifying and resolving the error.

I unfortunately have little experience in programming.
Sorry for my poor English, my native language is German.

Strec
Newbie
Posts: 6
Joined: Sat Jan 07, 2017 9:36 pm
Projects: Parallel
Location: France
Contact:

Re: Unable to load a game just saved (Renpy 8.2.0)

#3 Post by Strec »

The error you speak of concerns the 2nd screen which I did not worked on, so there may be many bugs on it and all the next ones as the application is an old one (more than 2 years) I started from to convert to Renpy 2.0

The problem is that if I save on any screen before this one the saved game can't be reloaded and I have no log showing any error.

Post Reply

Who is online

Users browsing this forum: No registered users