Page 1 of 1

BUG: save that brings you back to previous point

Posted: Sat May 23, 2020 5:27 am
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!

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

Posted: Sat May 23, 2020 5:57 am
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.

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

Posted: Sat May 23, 2020 7:07 am
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

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

Posted: Sat May 23, 2020 8:46 am
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?

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

Posted: Sat May 23, 2020 10:58 am
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:)