Curse this Vile Minigame Interface! - A "<" ">" Minigame Pro
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.
-
exHominem
Curse this Vile Minigame Interface! - A "<" ">" Minigame Pro
Alright, so I'm having a MAJOR problem getting the minigame system to work. basically, it's throwing me an error every time I try to use the "<" or ">" operands to compare interger values.
Source Code:
blag = 1
rar = 2
if blag < rar: --------Syntax Error here?
(do something, doesn't matter what)
gives:
I'm sorry, but an exception occured while executing your Ren'Py
script.
SyntaxError: invalid syntax (line 52)
While compiling python block starting at line 3 of C:\Program Files\renpy-6.2.0\Hit/game/minigame_target.rpy.
-- Full Traceback ------------------------------------------------------------
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\bootstrap.py", line 197, in bootstrap
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\main.py", line 196, in main
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\script.py", line 439, in load_script
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\script.py", line 161, in __init__
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\script.py", line 339, in load_file
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\script.py", line 392, in update_bytecode
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\python.py", line 205, in py_compile_exec_bytecode
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\python.py", line 187, in py_compile
File "compiler\transformer.pyo", line 50, in parse
File "compiler\transformer.pyo", line 120, in parsesuite
SyntaxError: invalid syntax (line 52)
While compiling python block starting at line 3 of C:\Program Files\renpy-6.2.0\Hit/game/minigame_target.rpy.
Ren'Py Version: Ren'Py 6.2.0c
Little Help?
Source Code:
blag = 1
rar = 2
if blag < rar: --------Syntax Error here?
(do something, doesn't matter what)
gives:
I'm sorry, but an exception occured while executing your Ren'Py
script.
SyntaxError: invalid syntax (line 52)
While compiling python block starting at line 3 of C:\Program Files\renpy-6.2.0\Hit/game/minigame_target.rpy.
-- Full Traceback ------------------------------------------------------------
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\bootstrap.py", line 197, in bootstrap
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\main.py", line 196, in main
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\script.py", line 439, in load_script
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\script.py", line 161, in __init__
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\script.py", line 339, in load_file
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\script.py", line 392, in update_bytecode
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\python.py", line 205, in py_compile_exec_bytecode
File "C:\Documents and Settings\Administrator\Desktop\renpy-6.2.0\renpy\python.py", line 187, in py_compile
File "compiler\transformer.pyo", line 50, in parse
File "compiler\transformer.pyo", line 120, in parsesuite
SyntaxError: invalid syntax (line 52)
While compiling python block starting at line 3 of C:\Program Files\renpy-6.2.0\Hit/game/minigame_target.rpy.
Ren'Py Version: Ren'Py 6.2.0c
Little Help?
- Criptych
- Regular
- Posts: 87
- Joined: Sat Jun 23, 2007 9:19 am
- Projects: ALICE.NET
- Location: The other end of the internet.
- Contact:
Re: Curse this Vile Minigame Interface! - A "<" ">" Minigame Pro
It might matter, at that; I tried similar code and it worked fine, both in an init python: block and just regular python:. I'm not asking you to reveal any trade secrets, but do you think you could give a little more context for the code?exHominem wrote:
if blag < rar: --------Syntax Error here?
(do something, doesn't matter what)
-
exHominem
Re: Curse this Vile Minigame Interface! - A "<" ">" Minigame Pro
Actually, I just managed to fix the general problem, but thank you so much for the prompt reply!
Also, I'll be sure to include more context next time. I'm not that pretentious.
Also, I'll be sure to include more context next time. I'm not that pretentious.
- 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: Curse this Vile Minigame Interface! - A "<" ">" Minigame Pro
Also, please note that minigame is going away fairly soon. Don't worry, it should be fairly easy to port to the new stuff.
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
- Criptych
- Regular
- Posts: 87
- Joined: Sat Jun 23, 2007 9:19 am
- Projects: ALICE.NET
- Location: The other end of the internet.
- Contact:
Re: Curse this Vile Minigame Interface! - A "<" ">" Minigame Pro
exHominem wrote:Actually, I just managed to fix the general problem, but thank you so much for the prompt reply!
Also, I'll be sure to include more context next time. I'm not that pretentious.
*glad he hasn't much to unlearn* n_n"PyTom wrote:Also, please note that minigame is going away fairly soon. Don't worry, it should be fairly easy to port to the new stuff.
Who is online
Users browsing this forum: _ticlock_
