I'm sorry, but an exception occured while executing your Ren'Py
script.
IndexError: string index out of range
While executing init code:
- script at line 4 of C:\Program Files\renpy-6.9.0\Untitled/game/basics.rpy
-- Full Traceback ------------------------------------------------------------
File "C:\Program Files\renpy-6.9.0\renpy\bootstrap.py", line 256, in bootstrap
File "C:\Program Files\renpy-6.9.0\renpy\main.py", line 253, in main
File "C:\Program Files\renpy-6.9.0\renpy\execution.py", line 217, in run
File "C:\Program Files\renpy-6.9.0\renpy\ast.py", line 629, in execute
File "C:\Program Files\renpy-6.9.0\renpy\exports.py", line 131, in image
File "C:\Program Files\renpy-6.9.0\renpy\easy.py", line 67, in displayable
IndexError: string index out of range
While executing init code:
- script at line 4 of C:\Program Files\renpy-6.9.0\Untitled/game/basics.rpy
Ren'Py Version: Ren'Py 6.9.0h
[solved]IndexError: string index out of range?
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.
- cookiestruck
- Regular
- Posts: 51
- Joined: Sun Jul 08, 2012 10:22 am
- Tumblr: cookiestruck
- Deviantart: cookiestruck
- Location: Somewhere in Asia.
- Contact:
[solved]IndexError: string index out of range?
I always get this D:
Last edited by cookiestruck on Wed Jul 11, 2012 8:29 am, edited 1 time in total.
Re: IndexError: string index out of range?
What are the first 10 lines in basics.rpy?
- cookiestruck
- Regular
- Posts: 51
- Joined: Sun Jul 08, 2012 10:22 am
- Tumblr: cookiestruck
- Deviantart: cookiestruck
- Location: Somewhere in Asia.
- Contact:
Re: IndexError: string index out of range?
It'sAlex wrote:What are the first 10 lines in basics.rpy?
init:
#Backgrounds
image bg old house=""
image bg old room=""
image bg new room="newroom.jpeg"
image bg new house=""
image bg school = ""
image bg classroom= ""
image bg hallway= ""
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: IndexError: string index out of range?
The empty strings are confusing Ren'Py.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- cookiestruck
- Regular
- Posts: 51
- Joined: Sun Jul 08, 2012 10:22 am
- Tumblr: cookiestruck
- Deviantart: cookiestruck
- Location: Somewhere in Asia.
- Contact:
Re: IndexError: string index out of range?
Oh.. so that's the problem... Thanks ^^PyTom wrote:The empty strings are confusing Ren'Py.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]
