Page 1 of 1

[solved] game won't launch

Posted: Mon Jun 22, 2020 9:43 pm
by muttsbathandbeyond
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!

Re: game won't launch

Posted: Mon Jun 22, 2020 10:00 pm
by isobellesophia
What was the error is exactly showing? Can you share the traceback.txt file what was written?

Re: game won't launch

Posted: Mon Jun 22, 2020 10:07 pm
by muttsbathandbeyond
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)

Re: game won't launch

Posted: Mon Jun 22, 2020 10:47 pm
by Imperf3kt
From the launcher select your game and press the force recompile button, see if that helps.

Re: game won't launch

Posted: Mon Jun 22, 2020 10:52 pm
by muttsbathandbeyond
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 :(

Re: game won't launch

Posted: Mon Jun 22, 2020 11:09 pm
by Imperf3kt
Do other projects launch?
Worst case scenario, make a new project and copy your script and screens etc over

Re: game won't launch

Posted: Mon Jun 22, 2020 11:35 pm
by muttsbathandbeyond
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.

Re: [solved?] game won't launch

Posted: Mon Jun 22, 2020 11:45 pm
by isobellesophia
This might be my opinion but did you set the false to "False" as in capital letter F?