Every piece of dialogue I write breaks the game?
Posted: Thu Mar 19, 2015 7:02 pm
Hi. I've been using ren'py for a couple months now, and everything has been really smooth sailing until today. Today I opened up the script for a very important school project I've been working on, and I edited some dialogue. I tried to open up the game to show it to somebody, and the game was broken.
Here is the transcript of the error message I got.
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 58: expected statement.
“Sample text.”
^
File "game/script.rpy", line 66: expected statement.
“Sample text.”
^
File "game/script.rpy", line 74: expected statement.
“Sample text.”
^
File "game/script.rpy", line 82: expected statement.
“Sample text.”
^
Ren'Py Version: Ren'Py 6.18.3.761
Now, the only lines that aren't working are ones that I've edited today. A project I made a couple of days ago opened and ran just fine.
There is a possibility, I'll try to describe the problem as best I can, but I'm not the best with computers and it might not make any sense. I've been writing my scripts in Apple's plain text editor, and every time I make a pair of quotes and go back into it, it moves me over the end-quote. This has never happened before, and is the only thing that has changed.
I made a new project and copy/pasted as much of the old script as I could. I only typed out the dialogue that was giving me problems, and I got all the same error messages. It's only dialogue that's giving me trouble.
What's worse, this script is for a crucial school project that's due in a week. Is there anything I can do about this?
Here is the transcript of the error message I got.
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 58: expected statement.
“Sample text.”
^
File "game/script.rpy", line 66: expected statement.
“Sample text.”
^
File "game/script.rpy", line 74: expected statement.
“Sample text.”
^
File "game/script.rpy", line 82: expected statement.
“Sample text.”
^
Ren'Py Version: Ren'Py 6.18.3.761
Now, the only lines that aren't working are ones that I've edited today. A project I made a couple of days ago opened and ran just fine.
There is a possibility, I'll try to describe the problem as best I can, but I'm not the best with computers and it might not make any sense. I've been writing my scripts in Apple's plain text editor, and every time I make a pair of quotes and go back into it, it moves me over the end-quote. This has never happened before, and is the only thing that has changed.
I made a new project and copy/pasted as much of the old script as I could. I only typed out the dialogue that was giving me problems, and I got all the same error messages. It's only dialogue that's giving me trouble.
What's worse, this script is for a crucial school project that's due in a week. Is there anything I can do about this?