error solving help

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
clannadnagisa
Newbie
Posts: 2
Joined: Mon Jan 19, 2009 12:12 pm
Contact:

error solving help

#1 Post by clannadnagisa » Mon Jan 19, 2009 12:16 pm

h that i head off to school"
^

On line 95 of C:\Documents and Settings\NARUTO\Desktop\renpy-6.8.1\Dawns Eternity/game/script.rpy: say statement does not expect a block. Please check the indentation of the line after this one.
"I head off to school."
^

On line 151 of C:\Documents and Settings\NARUTO\Desktop\renpy-6.8.1\Dawns Eternity/game/script.rpy: say statement does not expect a block. Please check the indentation of the line after this one.
"Ohh well"
^

On line 159 of C:\Documents and Settings\NARUTO\Desktop\renpy-6.8.1\Dawns Eternity/game/script.rpy: say statement does not expect a block. Please check the indentation of the line after this one.
"........."
^

On line 164 of C:\Documents and Settings\NARUTO\Desktop\renpy-6.8.1\Dawns Eternity/game/script.rpy: say statement does not expect a block. Please check the indentation of the line after this one.
"...................................."
^

On line 168 of C:\Documents and Settings\NARUTO\Desktop\renpy-6.8.1\Dawns Eternity/game/script.rpy: expected ':' not found.
label after school:


i get this error when i try to lasd my game here is what i have for that part please help me orderit the right way soi can tst

Code: Select all

   "With that i head off to school"
         jump school    

label no:
    "I head off to school."
        jump school

label school:
   scene schoolp1
   with dissolve
   "I dont see a point in going to school"
   "I used to have friends but when i started haveing that dream i stopped talking to them."
   "I started living my days only talking to miaka,because no matter what she finds a way to make me talk"
   "Besides I really like talking to her."
   "She is the only person who really makes me happy anymore"
   "As im walking a notice a girl a little ahead of me. "
   "she seems worried so i go t see whats wrong"
   show sakura worried
   with dissolve
   "She is pretty cute"
   s"Yo whats wrong?"
   show sakura weird face
   with dissolve
   "She looks at me with a weird expression"
   g"..."
   g"Whats your name?"
   "She asks out of no where"
   s"Sasuke"
   g"last name??"
   s"Takahashi"
   g" So Sasuke Takahashi"
   "Her expression changes again"
   show sakura happy 
   with dissolve
   g"Im Sakura Hayashi, Nice to meet you"
   s"Nice to meet you."
   s"so what was wrong earlyer."
   show sakura worried
   with dissolve
   "she goes back to looking worried."
   p" My dog Just ran away and i dont know where he is, and i have to go to school so i cant look for him right now."
   p"Can you help me Find him after school"
menu:
    "Help her":
        jump help
         
    "Dont help her":
        jump dhelp 

label help:
    p"ok meet me here after school"
    "I say ok and head to class"
    jump class1
 
label dhelp:
    s"sorry i have other things to do"
    show sakura happy
    with dissolve
    p"its ok thanks any way."
    "i know she was angry at me. she will probably never talk to me again."
    "Ohh well"
     jump class2

label class1:
  scene classd
  with dissolve
  "..."
  "......"
  "........."
     jump after school
         
label class2:
    scene classd
    "...................................."
         
      jump home         

label after school:
please if can tell me edited version jus sothe game works ill be very grate full and also im not asking for spell check just wanna be able to run this part fo rthe game

User avatar
Megaman Z
Miko-Class Veteran
Posts: 829
Joined: Sun Feb 20, 2005 8:45 pm
Projects: NaNoRenO 2016, Ren'Py tutorial series
Location: USA
Contact:

Re: error solving help

#2 Post by Megaman Z » Mon Jan 19, 2009 12:30 pm

all of those errors are due to the jump commands being indented into their own block (as opposed to matching the indent of the block you're trying to put them in) except for the last one, which is a case of a label not being named correctly (labels can only have one word as a name - "after_school" is one word, "after school" is not. the corresponding jump has to be adjusted, too)
~Kitsune Zeta

Post Reply

Who is online

Users browsing this forum: No registered users