HELP!!!! In "Returning to MAin Menu" T^T
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.
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.
- Yuzu-kun ^-^
- Newbie
- Posts: 15
- Joined: Sat Apr 12, 2014 7:18 am
- Projects: Plantasia
- IRC Nick: Yuzu-kun
- Location: Philippines
- Contact:
HELP!!!! In "Returning to MAin Menu" T^T
Recently My game can't go back or return to main menu anymore.... T_T
I use the "return" statement properly... but an error always occur.... sometimes it goes back to a part in a game where I have used the "call" statement.... Can someone help me to fix this error???
I use the "return" statement properly... but an error always occur.... sometimes it goes back to a part in a game where I have used the "call" statement.... Can someone help me to fix this error???
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
I can't really help, because you haven't post your actual script...so I'm just guessing.
"Return" doesn't automatically take you to the main menu, it returns you to the last place you came from. If you return to a call statement, it thinks that is the last place you came from. I imagine you must have an indentation or nesting problem. Check your indentation.
"Return" doesn't automatically take you to the main menu, it returns you to the last place you came from. If you return to a call statement, it thinks that is the last place you came from. I imagine you must have an indentation or nesting problem. Check your indentation.
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?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*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?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
This error occurs if the script has changed to the point where Ren'Py can't find a place to return to.
You may want to consider upgrading to the latest 6.18. There were a bunch of fixes to make this uncommon.
You may want to consider upgrading to the latest 6.18. There were a bunch of fixes to make this uncommon.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- yon
- Regular
- Posts: 153
- Joined: Tue Sep 09, 2014 5:09 pm
- Projects: YDSP
- Location: United States
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
I've been having this issue a lot lately with my game. I could mess around with it to make it work out in the end, but I didn't know there was an update that took care of this! That's good news.
- Yuzu-kun ^-^
- Newbie
- Posts: 15
- Joined: Sat Apr 12, 2014 7:18 am
- Projects: Plantasia
- IRC Nick: Yuzu-kun
- Location: Philippines
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
Still not working T_T
I've downloaded the new version of ren'py but it still doesn't work...
Here's the script... I hope you can help me...
I've downloaded the new version of ren'py but it still doesn't work...
Here's the script... I hope you can help me...
- Attachments
-
- script.rpy
- (539.65 KiB) Downloaded 71 times
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
Did you terminate your save data on the folder written on the options.rpy?
Simple solution is use renpy.full_restart() instead of return, but I suggest to investigate what is the problem before using it.
This is proper behavior. When you use call, you need to remember where you use this statement, and need to return that place before jumping to another place (Unless you deeply know the mechanism behind).
Simple solution is use renpy.full_restart() instead of return, but I suggest to investigate what is the problem before using it.
Code: Select all
sometimes it goes back to a part in a game where I have used the "call" statement- Yuzu-kun ^-^
- Newbie
- Posts: 15
- Joined: Sat Apr 12, 2014 7:18 am
- Projects: Plantasia
- IRC Nick: Yuzu-kun
- Location: Philippines
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
Yes, this happened when I had deleted my persistent data... then suddenly the game became like this... 
Yeah, I've also deleted the saves from my folder...
What will happen when I will use the ":$ renpy.full_restart()" ????
Yeah, I've also deleted the saves from my folder...
What will happen when I will use the ":$ renpy.full_restart()" ????
- Kia
- Eileen-Class Veteran
- Posts: 1011
- Joined: Fri Aug 01, 2014 7:49 am
- Deviantart: KiaAzad
- Discord: Kia#6810
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
I had a similar problem a while back. take a look and if you cant figure it out I'll tell you how I avoid it step by step.
http://lemmasoft.renai.us/forums/viewto ... =8&t=29002
http://lemmasoft.renai.us/forums/viewto ... =8&t=29002
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
In quick search, you don't use any call statements. The problem would be another scripts (option or screens), or your PC's folder construction (though the error message suggests this is a loaded data problem).
renpy.full_restart() is a statement called by the return statement with no call stack. When you use return, ren'py looks up call stack then if there's no call stack it activates renpy.full_restart, which terminates the current game and returns to the main menu.
renpy.full_restart() is a statement called by the return statement with no call stack. When you use return, ren'py looks up call stack then if there's no call stack it activates renpy.full_restart, which terminates the current game and returns to the main menu.
- Yuzu-kun ^-^
- Newbie
- Posts: 15
- Joined: Sat Apr 12, 2014 7:18 am
- Projects: Plantasia
- IRC Nick: Yuzu-kun
- Location: Philippines
- Contact:
Re: HELP!!!! In "Returning to MAin Menu" T^T
Okay I finally i found a way to solve this problem... thanks for your advices and answers btw ^_^
Who is online
Users browsing this forum: No registered users
