[solved] game won't launch

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
muttsbathandbeyond
Newbie
Posts: 4
Joined: Mon Jun 22, 2020 9:29 pm
Contact:

[solved] game won't launch

#1 Post by muttsbathandbeyond » Mon Jun 22, 2020 9:43 pm

Hi, I'm Very, very new to using renpy and I made the really dumb mistake of accidentally clicking something on the error page without looking, and now every time I click launch project it just opens traceback.txt. I've fixed all of the errors it said to fix but it still won't launch my game, it doesn't even open the window. Sorry if this is a dumb question but I don't really know how these things work, any response is appreciated. Thank you!
Last edited by muttsbathandbeyond on Tue Jun 23, 2020 8:31 pm, edited 2 times in total.

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: game won't launch

#2 Post by isobellesophia » Mon Jun 22, 2020 10:00 pm

What was the error is exactly showing? Can you share the traceback.txt file what was written?
I am a friendly user, please respect and have a good day.


Image

Image


muttsbathandbeyond
Newbie
Posts: 4
Joined: Mon Jun 22, 2020 9:29 pm
Contact:

Re: game won't launch

#3 Post by muttsbathandbeyond » Mon Jun 22, 2020 10:07 pm

I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 189, in script
python:
File "renpy/common/00start.rpy", line 189, in script
python:
File "renpy/common/00start.rpy", line 190, in <module>
renpy.execute_default_statement(True)
File "game/script.rpy", line 32, in set_default
default jaytalk9 = false
File "game/script.rpy", line 32, in <module>
default jaytalk9 = false
NameError: name 'false' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Users\vince\OneDrive\Renpy\renpy-7.3.5-sdk\renpy\bootstrap.py", line 316, in bootstrap
renpy.main.main()
File "C:\Users\vince\OneDrive\Renpy\renpy-7.3.5-sdk\renpy\main.py", line 578, in main
run(restart)
File "C:\Users\vince\OneDrive\Renpy\renpy-7.3.5-sdk\renpy\main.py", line 143, in run
renpy.execution.run_context(True)
File "C:\Users\vince\OneDrive\Renpy\renpy-7.3.5-sdk\renpy\execution.py", line 908, in run_context
context.run()
File "renpy/common/00start.rpy", line 189, in script
python:
File "renpy/common/00start.rpy", line 189, in script
python:
File "C:\Users\vince\OneDrive\Renpy\renpy-7.3.5-sdk\renpy\ast.py", line 914, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\vince\OneDrive\Renpy\renpy-7.3.5-sdk\renpy\python.py", line 2028, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00start.rpy", line 190, in <module>
renpy.execute_default_statement(True)
File "C:\Users\vince\OneDrive\Renpy\renpy-7.3.5-sdk\renpy\exports.py", line 3495, in execute_default_statement
i.set_default(start)
File "game/script.rpy", line 32, in set_default
default jaytalk9 = false
File "C:\Users\vince\OneDrive\Renpy\renpy-7.3.5-sdk\renpy\python.py", line 2052, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/script.rpy", line 32, in <module>
default jaytalk9 = false
NameError: name 'false' is not defined

Windows-8-6.2.9200
Ren'Py 7.3.5.606
DnD 1.0
Mon Jun 22 21:05:31 2020

(OP NOTE: like I've said I fixed the problems with the true/false statements but other then that I don't know what any of this means unfortunately)

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3038
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: game won't launch

#4 Post by Imperf3kt » Mon Jun 22, 2020 10:47 pm

From the launcher select your game and press the force recompile button, see if that helps.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

muttsbathandbeyond
Newbie
Posts: 4
Joined: Mon Jun 22, 2020 9:29 pm
Contact:

Re: game won't launch

#5 Post by muttsbathandbeyond » Mon Jun 22, 2020 10:52 pm

Imperf3kt wrote:
Mon Jun 22, 2020 10:47 pm
From the launcher select your game and press the force recompile button, see if that helps.
Already tried that, same result :(

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3038
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: game won't launch

#6 Post by Imperf3kt » Mon Jun 22, 2020 11:09 pm

Do other projects launch?
Worst case scenario, make a new project and copy your script and screens etc over
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

muttsbathandbeyond
Newbie
Posts: 4
Joined: Mon Jun 22, 2020 9:29 pm
Contact:

Re: game won't launch

#7 Post by muttsbathandbeyond » Mon Jun 22, 2020 11:35 pm

deleted all the text it said was wrong and rewrote it exactly, the game screen opens now at least and is just showing the regular error screen. Renpy playing a prank on me, cool.

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: [solved?] game won't launch

#8 Post by isobellesophia » Mon Jun 22, 2020 11:45 pm

This might be my opinion but did you set the false to "False" as in capital letter F?
I am a friendly user, please respect and have a good day.


Image

Image


Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot]