BUG: save that brings you back to previous point

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.
Post Reply
Message
Author
User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

BUG: save that brings you back to previous point

#1 Post by jack_norton »

I got a strange super-weird behavior I've never seen in any game before, so was wondering if anyone had any clue about this: I have this match3 engine I got coded and seems to work fine. After the game ends, I jump to a label. Then there's a normal renpy text for the story. If I save in that point, when I reload that save it brings me BACK to the latest screen of the match3 game (last move before winning).
How on Earth is that possible? That reloading a save displaying a normal dialogue lines jumps you back of several labels/statement ?! I have never seen this before in 12 years of working with Ren'py!
The thumbnail in the save screen even show the correct simple line of text but when you load it, it resumes several statements before it, during the match3 gameplay. I have tried everything but I can't understand what's going on!
follow me on Image Image Image
computer games

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: BUG: save that brings you back to previous point

#2 Post by isobellesophia »

Oh my, looks like i am not the only one... this also happened to me in the 7.3.5 version of RenPy... everytime i load a save, it brings me back from where isn't supposed to be.

I hope anyone can fix this too, i dont want my saves to be like this.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: BUG: save that brings you back to previous point

#3 Post by jack_norton »

In my case it seems was due to a renpy.call_out_of_context in the end, but it was still a strange behaviour
follow me on Image Image Image
computer games

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: BUG: save that brings you back to previous point

#4 Post by Alex »

How did you 'call' your game and how did you return back to main gameflow?
Can you show a test script (some text in label, calling some label instead of actual game, returning back), will it work for you or will give the same issue with saving/loading?

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: BUG: save that brings you back to previous point

#5 Post by jack_norton »

The original coder has fixed this, it was indeed a complex problem of call out of context and jumps. Sorry you can delete this thread if you want (in the end was my fault :lol:)
follow me on Image Image Image
computer games

Post Reply

Who is online

Users browsing this forum: Bing [Bot]