4.8.x error ?

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
dales
Newbie
Posts: 4
Joined: Sun Apr 03, 2005 12:43 am
Contact:

4.8.x error ?

#1 Post by dales » Sat May 21, 2005 9:54 am

I add the gallery.rpy into games directory, run run_game.exe. I choose Gallery first (in the main menu), then return main menu. Click on Start a new game ->>> crash!

Here the traceback.txt:
I'm sorry, but an exception occured while executing your Ren'Py
script.

JumpOutException: start

The last script statement executed was on line 51 of common/mainmenu.rpy.

-- Full Traceback ------------------------------------------------------------

File "run_game.py", line 62, in main
File "renpy\main.pyc", line 162, in main
File "renpy\main.pyc", line 125, in run
File "renpy\execution.pyc", line 76, in run
File "renpy\ast.pyc", line 253, in execute
File "renpy\python.pyc", line 678, in py_exec_bytecode
File "common/mainmenu.rpy", line 73, in <module>
File "renpy\ui.pyc", line 46, in interact
File "renpy\display\core.pyc", line 715, in interact
File "renpy\display\core.pyc", line 971, in interact_core
File "renpy\display\layout.pyc", line 117, in event
File "renpy\display\transition.pyc", line 73, in event
File "renpy\display\layout.pyc", line 117, in event
File "renpy\display\layout.pyc", line 117, in event
File "renpy\display\layout.pyc", line 117, in event
File "renpy\display\layout.pyc", line 117, in event
File "renpy\display\layout.pyc", line 117, in event
File "renpy\display\layout.pyc", line 117, in event
File "renpy\display\behavior.pyc", line 220, in event
File "renpy\curry.pyc", line 16, in __call__
File "renpy\ui.pyc", line 521, in _jumpsoutofcontext
JumpOutException: start

The last script statement executed was on line 51 of common/mainmenu.rpy.

Ren'Py Version: Ren'Py 4.8.4
4.8 doesn't have this error. I'm now using this version because i like the gallery mode (thanks for this 8) )

User avatar
PyTom
Ren'Py Creator
Posts: 15392
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:

#2 Post by PyTom » Sat May 21, 2005 12:26 pm

This bug is caused by the change in menu contexts that occured sometime in the 4.8 series. (I'm too lazy to look up the exact revision.)

The fix for it is fairly simple. Edit gallery.rpy, and change the line:

Code: Select all

        library.main_menu.insert(2, ("CG Gallery", "gallery"))
to

Code: Select all

        library.main_menu.insert(2, ("CG Gallery", ui.jumps("gallery")))
This line is found towards at very bottom of the file, as the fourth-to-last line.

I'll release this fix in the next release of Ren'Py, but since I have no idea when that will be, you may want to make the change by hand for now. (This goes for anyone who wants to use gallery support.)

I'm glad you like the gallery support. If you can think of a way to improve it, or anything else in Ren'Py, please let me know.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

dales
Newbie
Posts: 4
Joined: Sun Apr 03, 2005 12:43 am
Contact:

#3 Post by dales » Wed May 25, 2005 7:22 am

Thanks, i'll try it :lol:

I have some requets about gallery mode: could you make more gallery styles ?
-Instead of of text button, you can use imagemap. Each hotspot is sub gallery. This style is cool 8)

-You can make a slideshow gallery. When click on the sub gallery, the pictures will automatically or manual go to the next. This style is used in the game True love, May club...

Again, i'm very thank you for the Ren'Py, the best one for making love game :P

User avatar
PyTom
Ren'Py Creator
Posts: 15392
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:

#4 Post by PyTom » Wed May 25, 2005 11:15 am

I don't think it would be that hard to make either variant of gallery. Right now, the primary purpose of gallery.rpy is to let people know, "Ren'Py can do galleries."

If you get close to finishing a game, and want an improved gallery, then let me know, and I'll code it up for you. The problem is, I have a limited amount of time and there are a large number of possible gallery variants I can implement. So I prioritize requests by people who are close to finishing a game, or who have a track record of finishing games.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Bing [Bot], FictionalHeart