Search found 15 matches

by Owl.Child
Sat Feb 18, 2017 3:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Another error that won't let me load my game.. :/
Replies: 12
Views: 3496

Re: Another error that won't let me load my game.. :/

Divona wrote:Here is the script with proper indent and no duplicate labels.
Youère an angel! Thank you so much!
by Owl.Child
Sat Feb 18, 2017 1:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Another error that won't let me load my game.. :/
Replies: 12
Views: 3496

Re: Another error that won't let me load my game.. :/

Make sure you indent "if" and "menu" within label block: label contin3: pov "Alright..." s "Anyways.." s "I'm Sam. This is my brother Jeremy and thi-" if povgender == "she": b "I'm Belamy m'lady.." if povgender == "he": b "I'm Belamy, handsome.." menu: "Introduce yourself": $ ch = "IY" "Stay quiet"...
by Owl.Child
Sat Feb 18, 2017 11:20 am
Forum: Ren'Py Questions and Announcements
Topic: Another error that won't let me load my game.. :/
Replies: 12
Views: 3496

Re: Another error that won't let me load my game.. :/

What was the last thing you did before the error appeared? Also, tab indentation in the script is all over the places. There are "if" and "menu" block outside label, indentation not consistent. Best fix them as well to avoid Ren'Py or Python freaking out. I added this menu menu: "Introduce yourself...
by Owl.Child
Sat Feb 18, 2017 12:36 am
Forum: Ren'Py Questions and Announcements
Topic: Another error that won't let me load my game.. :/
Replies: 12
Views: 3496

Re: Another error that won't let me load my game.. :/

Ok, can you post your script here? # The script of the game goes in this file. define n = Character("Narrator") define pov = ("[povname!t]") define w = ("???") define povg = ("[povgender!t]") define j = ("Jasper") define she = ("she") define he = ("he") define b = ("Belamy") define s = ("Sam") labe...
by Owl.Child
Fri Feb 17, 2017 11:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Another error that won't let me load my game.. :/
Replies: 12
Views: 3496

Re: Another error that won't let me load my game.. :/

indoneko wrote:What did you edit in 00voice.rpy? can you post it here?
That's just the thing, I've only edited script.rpy and gui.rpy. I haven't touched 00voice.rpy so I'm not sure why I'm getting this error :/
by Owl.Child
Fri Feb 17, 2017 11:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Another error that won't let me load my game.. :/
Replies: 12
Views: 3496

Another error that won't let me load my game.. :/

I'm sorry, but an uncaught exception occurred. After initialization, but before game start. File "renpy/common/00voice.rpy", line 360, in voice_interact if _menu: NameError: global name '_menu' is not defined -- Full Traceback ------------------------------------------------------------ Full traceb...
by Owl.Child
Fri Feb 17, 2017 1:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Parsing Script expected statement??!
Replies: 12
Views: 823

Re: Parsing Script expected statement??!

define n = Character("Narrator") define pov = Character("[povname]") define w = Character("???") define j = Character("Jasper") default povname = "" default povgender = "" default you = "" image room = "Flower.jpg" image cold = "rain-day.jpg" image blank = "black-screen.png" image gender = "black-s...
by Owl.Child
Fri Feb 17, 2017 9:38 am
Forum: Ren'Py Questions and Announcements
Topic: An Exception has occured?
Replies: 7
Views: 1162

Re: An Exception has occured?

"gui.dialogue_xalign" seem to be missing for some reason. Add the following line after "gui.dialogue_ypos = 50" in "gui.rpy": define gui.dialogue_xalign = 0 It should look like: ## The placement of dialogue relative to the textbox. These can be a whole ## number of pixels relative to the left or to...
by Owl.Child
Fri Feb 17, 2017 9:11 am
Forum: Ren'Py Questions and Announcements
Topic: Parsing Script expected statement??!
Replies: 12
Views: 823

Re: Parsing Script expected statement??!

Ok, I'm missing the part where you define that "pov" and other character. Are they also in script.rpy? And your new code that you posted above doesn't contain the line that mentioned in this error message. Did you actually update your script.rpy? File "game/script.rpy", line 24: expected statement....
by Owl.Child
Fri Feb 17, 2017 8:34 am
Forum: Ren'Py Questions and Announcements
Topic: Parsing Script expected statement??!
Replies: 12
Views: 823

Re: Parsing Script expected statement??!

indoneko wrote:Please use

Code: Select all

 and [/ code] tag when you post your code in this forum. You can edit your post and add the tag there.[/quote]
Sorry about that, I've fixed my scripts to coding. Sorry again
by Owl.Child
Fri Feb 17, 2017 8:23 am
Forum: Ren'Py Questions and Announcements
Topic: Parsing Script expected statement??!
Replies: 12
Views: 823

Re: Parsing Script expected statement??!

scene blank $ povname = renpy.input(_("What is your name?")) pov "My name is [povname!t]." scene gender "What is your gender?" menu: "she": $ povgender = "she" "he": $ povgender = "he" if povgender == "she": pov "I prefer she." elif povgender == "he": pov "I prefer he." scene blank n "Well, [povnam...
by Owl.Child
Fri Feb 17, 2017 8:18 am
Forum: Ren'Py Questions and Announcements
Topic: An Exception has occured?
Replies: 7
Views: 1162

An Exception has occured?

I keep getting this error and I'm very confused. I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 17, in script $ povname = renpy.input(_("What is your name?")) File "game/script.rpy", line 17, in <module> $ povname = renpy.input(_("What is your na...
by Owl.Child
Fri Feb 17, 2017 8:10 am
Forum: Ren'Py Questions and Announcements
Topic: Parsing Script expected statement??!
Replies: 12
Views: 823

Re: Parsing Script expected statement??!

scene gender "What is your gender?" menu: "she": $ povgender = "she" "he": $ povgender = "he" if povgender == "she": pov "I prefer she." elif povgender == "he": pov "I prefer he." w "Oh.. Hi there.." if povgender == "he": w "Jasper calm him down.." elif povgender == "she": w "Jasper calm her down.....
by Owl.Child
Thu Feb 16, 2017 10:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Parsing Script expected statement??!
Replies: 12
Views: 823

Re: Parsing Script expected statement??!

Show us that part of the script, so we can understand what you're trying to do. Right of course, how silly of me.. :oops: w "Oh.. Hi there.." if ("[povgender!t]") == "he": w "Jasper calm him down.." if ("[povgender!t]") == "she": w "Jasper calm her down.." j "o-oh uh... sure... (He nods a bit unsur...
by Owl.Child
Thu Feb 16, 2017 9:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Parsing Script expected statement??!
Replies: 12
Views: 823

Parsing Script expected statement??!

I've started working on a visual novel but I keep getting the error "Parsing the script failed", then as details it has I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. File "game/script.rpy", line 24: expected statement. ("[povgender!t]")== ...