Youère an angel! Thank you so much!Divona wrote:Here is the script with proper indent and no duplicate labels.
Search found 15 matches
- 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: 4945
Re: Another error that won't let me load my game.. :/
- 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: 4945
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":...
- 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: 4945
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:...
- 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: 4945
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") defi...
- 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: 4945
Re: Another error that won't let me load my game.. :/
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 :/indoneko wrote:What did you edit in 00voice.rpy? can you post it here?
- 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: 4945
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 ------------------------------------------------------------ F...
- Fri Feb 17, 2017 1:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Parsing Script expected statement??!
- Replies: 12
- Views: 1360
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" imag...
- Fri Feb 17, 2017 9:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: An Exception has occured?
- Replies: 7
- Views: 2052
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 pix...
- Fri Feb 17, 2017 9:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: Parsing Script expected statement??!
- Replies: 12
- Views: 1360
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:...
- Fri Feb 17, 2017 8:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: Parsing Script expected statement??!
- Replies: 12
- Views: 1360
Re: Parsing Script expected statement??!
indoneko wrote:Please useCode: 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
- Fri Feb 17, 2017 8:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: Parsing Script expected statement??!
- Replies: 12
- Views: 1360
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...
- Fri Feb 17, 2017 8:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: An Exception has occured?
- Replies: 7
- Views: 2052
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 = ...
- Fri Feb 17, 2017 8:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: Parsing Script expected statement??!
- Replies: 12
- Views: 1360
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.."...
- Thu Feb 16, 2017 10:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Parsing Script expected statement??!
- Replies: 12
- Views: 1360
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 "J...
- Thu Feb 16, 2017 9:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Parsing Script expected statement??!
- Replies: 12
- Views: 1360
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. ...