Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Tue May 21, 2013 3:19 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Mar 10, 2012 12:43 am 
Regular
User avatar

Joined: Sat Feb 04, 2012 3:50 pm
Posts: 71
Location: Within the shadows of your mind...
Completed: ReSet Ep 1 & 2 (proofreader)
Projects: Hearts Captured(debating)
Organization: willing to join any :3
I'm a newbie, trying to use Ren'Py 6.13.8 for the first time writing my first VN, and everything was going peachy until I added my first menu choices. Can someone fix it, and then tell what the issue was [in simple english please? I'm not very tech-oriented :lol:] Thank you!


The context of my script:
menu:
"Go downstairs, and eat":
"Ehh, maybe they're not still sore about the fight earlier..."
jump maybenot

"Stay in my room.":
"It's easier if I stay up here."
jump the31st

label maybenot:

evie "....{w}Or maybe not..."
"Dad still has that pissed look on his face, and Mom stands nonchalantly making dinner, her face giving away no emotion."
"The tension in the room is killing me should I..."

menu:
"Apologize sincerely.":
"I was way outta line earlier, I should apologize."
jump mended

"Remain silent.":
"........."
jump quiet


This is the error that keeps coming up:
Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/script.rpy", line 211: Line is indented, but the preceding say statement statement does not expect a block. Please check this line's indentation.
    menu:
    ^

File "game/script.rpy", line 216: expected statement.
    "Stay in my room.":
                      ^

File "game/script.rpy", line 231: expected statement.
    "Remain silent.":
                    ^

Ren'Py Version: Ren'Py 6.13.8.1675


(I attached my script here as well just in case, the above message was not sufficient and so you could open Ren'Py, attempt to launch it and physically see the Parse error code. The menu choices start on line 211. Thank you again!)


Attachments:
script.rpy [14.21 KiB]
Downloaded 4 times

_________________
-KissOfDeath, Proofreader, aspiring VN writer, and a
Completed:
RE:Set Episode(s) 1 and 2 (Proofreader)
*A Troll's Fairy Tale* viewtopic.php?f=11&t=20160 (Proofreader)

WIPs:
MY VN: Hearts Captured http://lemmasoft.renai.us/forums/viewtopic.php?f=16&t=14598 [ON HOLD]


Last edited by KissOfDeath on Sat Mar 10, 2012 1:42 am, edited 1 time in total.
Top
 Profile Send private message  
 
PostPosted: Sat Mar 10, 2012 12:52 am 
Regular
User avatar

Joined: Sat Jun 12, 2010 11:27 am
Posts: 71
Projects: Rogue Of Heart, Awakened With A Crimson Kiss
I had a quick look at your script file, and the indentation seems to be totally out of whack. for a menu, it needs to look like this:

Code:
label start:
    "text text"
    "more text"
    "choice?"
    menu:
        "yes!":
            "I choose yes!"
            jump yes
        "no!":
            "I choose no!"
            jump no


also, for the record, when you're posting about a problem on this site, it's better to put your code inside "[ code ][ / code ]" blocks (remove the spaces to use!), so that you can keep your indentation, and things don't turn into emoticons, etc.

_________________
VNs In Progress:
» Awakened With a Crimson Kiss «
» Rogue of Heart «


Last edited by vociferocity on Sat Mar 10, 2012 12:56 am, edited 2 times in total.

Top
 Profile Send private message  
 
PostPosted: Sat Mar 10, 2012 12:55 am 
Regular
User avatar

Joined: Sat Feb 04, 2012 3:50 pm
Posts: 71
Location: Within the shadows of your mind...
Completed: ReSet Ep 1 & 2 (proofreader)
Projects: Hearts Captured(debating)
Organization: willing to join any :3
vociferocity wrote:
I had a quick look at your script file, and the indentation seems to be totally out of whack. for a menu, it needs to look like this


Oopsies. Haha, Okay, thank you so much, I'll try and fix it right away!

_________________
-KissOfDeath, Proofreader, aspiring VN writer, and a
Completed:
RE:Set Episode(s) 1 and 2 (Proofreader)
*A Troll's Fairy Tale* viewtopic.php?f=11&t=20160 (Proofreader)

WIPs:
MY VN: Hearts Captured http://lemmasoft.renai.us/forums/viewtopic.php?f=16&t=14598 [ON HOLD]


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], TrickWithAKnife


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group