help!!! problem with menus label and jumps

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
finalexistence
Newbie
Posts: 3
Joined: Sat Oct 19, 2013 5:35 am
Contact:

help!!! problem with menus label and jumps

#1 Post by finalexistence » Sat Oct 19, 2013 5:49 am

im trying to make a choice but a error comes in i dont know how to fix this i try every possible solutions i have but none of them worked pls help


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 511, in script
File "game/screens.rpy", line 78, in python
ValueError: need more than 2 values to unpack

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

Full traceback:
File "D:\kryssel\renpy-6.15.7-sdk\renpy\execution.py", line 288, in run
node.execute()
File "D:\kryssel\renpy-6.15.7-sdk\renpy\ast.py", line 1307, in execute
choice = renpy.exports.menu(choices, self.set)
File "D:\kryssel\renpy-6.15.7-sdk\renpy\exports.py", line 512, in menu
rv = renpy.store.menu(items)
File "D:\kryssel\renpy-6.15.7-sdk\renpy\exports.py", line 644, in display_menu
show_screen(screen, items=item_actions, _widget_properties=props, _transient=True, **scope)
File "D:\kryssel\renpy-6.15.7-sdk\renpy\display\screen.py", line 487, in show_screen
renpy.exports.show(name, tag=_tag, what=d, layer=_layer, zorder=d.zorder, transient=_transient, munge_name=False)
File "D:\kryssel\renpy-6.15.7-sdk\renpy\exports.py", line 325, in show
sls.add(layer, img, key, zorder, behind, at_list=at_list, name=name, atl=atl, default_transform=renpy.config.default_transform, transient=transient)
File "D:\kryssel\renpy-6.15.7-sdk\renpy\display\core.py", line 734, in add
self.hide_or_replace(layer, remove_index, "replaced")
File "D:\kryssel\renpy-6.15.7-sdk\renpy\display\core.py", line 756, in hide_or_replace
d = oldsle.displayable._hide(now - st, now - at, prefix)
File "D:\kryssel\renpy-6.15.7-sdk\renpy\display\screen.py", line 189, in _hide
hid.update()
File "D:\kryssel\renpy-6.15.7-sdk\renpy\display\screen.py", line 266, in update
self.screen.function(**self.scope)
File "D:\kryssel\renpy-6.15.7-sdk\renpy\screenlang.py", line 1217, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "D:\kryssel\renpy-6.15.7-sdk\renpy\python.py", line 1297, in py_exec_bytecode
exec bytecode in globals, locals
File "game/screens.rpy", line 78, in <module>
for caption, action, chosen in items:
ValueError: need more than 2 values to unpack

Windows-7-6.1.7601-SP1
Ren'Py 6.15.7.374
I Wish I Have Three Hearts 1.0

Human Bolt Diary
Regular
Posts: 109
Joined: Fri Oct 11, 2013 12:46 am
Contact:

Re: help!!! problem with menus label and jumps

#2 Post by Human Bolt Diary » Sat Oct 19, 2013 9:08 pm

What's on line 511 of your script.rpy?

User avatar
Kari-Chan
Newbie
Posts: 22
Joined: Sat Oct 26, 2013 12:59 am
Projects: The Culprit [On hold]
IRC Nick: Kari-Chan
Contact:

Re: help!!! problem with menus label and jumps

#3 Post by Kari-Chan » Fri Nov 01, 2013 2:11 am

Have you forgotten:
A colon at the end of the choices?
Created an unnessecary block?
Haven't created a nessecary block?
Haven't used the correct spacing?
Had less than two choices?
Forgot to include the labels?
Have you fiddled with the settings.rpy?

Have you typed something similar to this?

menu:
"choice1":
jump 1

"choice2":
jump 2

Start off by creating a simple choice question like the one above.
You can't go wrong with a simple menu like that.
Katsu!

Post Reply

Who is online

Users browsing this forum: Google [Bot]