I imported a script into Jedit but when I try to run the game it gives this message.
ParseError: On line 17 of C:\Documents and Settings\Carlos\Mis documentos\Nueva carpeta (2)\ChaosLord Development\renpy-6.8.0\Chaos Lord/game/script.rpy: indentation mismatch.
I eliminated the variable for the character's name so it would be a narration, would that be the problem?
Problems with Jedit
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.
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.
Problems with Jedit
- Attachments
-
- traceback.txt
- (2.45 KiB) Downloaded 33 times
Check the Chaos Lord development at http://atelieredgeproductions.wordpress.com
- Aenakume
- Regular
- Posts: 182
- Joined: Mon Aug 11, 2008 4:38 am
- Projects: Arts... i hate arts -_-
- Contact:
Re: Problems with Jedit
No, the problem is an indentation problem - which could mean a couple of different things. i can't guess which without seeing your script.
Make sure that your lines all use consistent indentation. This would work:
This will not:
Because "line 2" is indented with 6 spaces, not 4 like the other lines.
You just have to go through to make sure that every line in the same block has the same indentation. Also, if you loaded a script you wrote somewhere else into jEdit, watch out for mixing spaces and tabs.
Make sure that your lines all use consistent indentation. This would work:
Code: Select all
start:
c "line 1"
"line 2"
c "line 3"Code: Select all
start:
c "line 1"
"line 2"
c "line 3"You just have to go through to make sure that every line in the same block has the same indentation. Also, if you loaded a script you wrote somewhere else into jEdit, watch out for mixing spaces and tabs.
“You can lead a fool to wisdom, but you cannot make him think.”
Who is online
Users browsing this forum: Bing [Bot], Ocelot