Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Tue May 21, 2013 11:23 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Mon Nov 20, 2006 10:24 am 
Lemma-Class Veteran

Joined: Sat Jan 10, 2004 6:03 am
Posts: 3175
Enerccio wrote:
Thx Mikey for translation, I hope to see you in manga.sk forums

Anytime. See you there - I always read the bgame topics. :wink:


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 4:07 pm 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
Is there any way to stretch image to whole window? Like when i have 640x480 pic and i want to use it as scene to 800x600? Thank you :)


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 4:43 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Enerccio wrote:
Is there any way to stretch image to whole window? Like when i have 640x480 pic and i want to use it as scene to 800x600? Thank you :)


While you can use im.Scale to do this, it's probably best to do this in an image manipulation program. (Like the Gimp.)

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 4:54 pm 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
PyTom wrote:
Enerccio wrote:
Is there any way to stretch image to whole window? Like when i have 640x480 pic and i want to use it as scene to 800x600? Thank you :)


While you can use im.Scale to do this, it's probably best to do this in an image manipulation program. (Like the Gimp.)

I hope there will be feature to do that in game.

And i have question about manus - how to make them?
becouse i used this:
Code:
label choice1:
   
    menu rollback_menu:
        "Will you let her look at you?"
       
        "Yes.":
            jump gas1

        "No.":
            pass


but later in code i used it again and this error appears:

Code:
ScriptError: Name u'rollback_menu' is defined twice: at c:\Documents and Settings\Enerccio\Desktop\renpy\Twins, please!/game/script.rpy:142 and c:\Documents and Settings\Enerccio\Desktop\renpy\Twins, please!/game/script.rpy:200.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 4:59 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
You can either leave the name out, or you can change the name so that it's different. You're basically doing the right thing, just a little off.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 5:01 pm 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
PyTom wrote:
You can either leave the name out, or you can change the name so that it's different. You're basically doing the right thing, just a little off.


you mean by editing
Code:
label choice1:
   
    menu rollback_menu:
    "So what now???"
       
        "Refuse her.":
            jump school1b

        "Agree.":
            pass


to

Code:
label choice2:
   
    menu bignastymenu:
    "So what now???"
       
        "Refuse her.":
            jump school1b

        "Agree.":
            pass


If yes, i allready done that (and delete compiled script as usual) and i still have that error. :roll:


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 5:13 pm 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
I got new erro:
have this two menus:

Code:
label choice1:
   
    menu:
        "Will you let her look at you?"
       
        "Yes.":
            jump gas1

        "No.":
            pass



Code:
label choice2:
    menu:
        "So what now?"
       
        "Do not allow.":
            jump school1b

        "Allow.":
            pass


and got this error:
Quote:
I'm sorry, but an exception occured while executing your Ren'Py
script.

ParseError: On line 199 of c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\Twins, please!/game/script.rpy: menu statement expects a non-empty block.

menu:
^

While parsing c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\Twins, please!/game/script.rpy.

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

File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\bootstrap.py", line 164, in bootstrap
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\main.py", line 162, in main
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\script.py", line 392, in load_script
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\script.py", line 138, in __init__
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\script.py", line 261, in load_file
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\script.py", line 204, in load_file_core
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\parser.py", line 1348, in parse
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\parser.py", line 1325, in parse_block
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\parser.py", line 1251, in parse_statement
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\parser.py", line 1325, in parse_block
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\parser.py", line 1085, in parse_statement
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\parser.py", line 406, in expect_block
File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\renpy\parser.py", line 370, in error
ParseError: On line 199 of c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\Twins, please!/game/script.rpy: menu statement expects a non-empty block.

menu:
^

While parsing c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.2-full\renpy-5.6.2\Twins, please!/game/script.rpy.

Ren'Py Version: Ren'Py 5.6.2a

What is wrong? :shock: :(


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 6:07 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
This error is caused by failing to indent the block after the menu. I don't know what's up. Can you email me the script (as an attachment to [email protected]). There might be some sort of blank character in there, that's confusing Ren'Py.

I'd also try updating to 5.6.4, on the grounds that there are at least some bug fixes in it.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 6:11 pm 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
i amusing old version becouse the new one has this bug with old errors appearing... you know


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 10:19 am 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
PyTom wrote:
This error is caused by failing to indent the block after the menu. I don't know what's up. Can you email me the script (as an attachment to [email protected]). There might be some sort of blank character in there, that's confusing Ren'Py.

I'd also try updating to 5.6.4, on the grounds that there are at least some bug fixes in it.

Any luck? :?:


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 10:26 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
I tried it, and it worked just fine for me. (In 5.6.4+)

What is the environment you're using? Is your computer's clock set correctly? (Including both time and date.)

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 10:36 am 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
Ok with new version 4 i wos no error. Thanks :)
And also how do you make a if then commn?
like if i have $ mizuho1 and want to test it if its 1 or if its not one Thank you :)


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 12:22 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Code:
if mizuho == 1:

    "Something that runs if mizuho is 1."
    "Something else."

else:

    "The else case."

"Something that runs either way.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sun Nov 26, 2006 4:52 pm 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
I got this problem - i want to play this file in renpy.
code syntax:
Code:
    $ renpy.music.play("ending.mp3")


Error message:
Code:
I'm sorry, but an exception occured while executing your Ren'Py
script.

error: Error -3 while decompressing data: unknown compression method

While loading the script.

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

  File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.4\renpy\bootstrap.py", line 165, in bootstrap
  File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.4\renpy\main.py", line 162, in main
  File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.4\renpy\script.py", line 392, in load_script
  File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.4\renpy\script.py", line 138, in __init__
  File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.4\renpy\script.py", line 261, in load_file
  File "c:\Documents and Settings\Enerccio\Desktop\renpy-5.6.4\renpy\script.py", line 238, in load_file_core
  File "encodings\zlib_codec.pyo", line 43, in zlib_decode
error: Error -3 while decompressing data: unknown compression method

While loading the script.

Ren'Py Version: Ren'Py 5.6.4a


Attachments:
File comment: I want to play this file - rename it to mp3 (becouse forum dont accept mp3 as file (why???)
ending.zip [1.69 MiB]
Downloaded 46 times
Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 27, 2006 1:14 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
You want to delete the .rpyc files in the game directory, since it looks like one of them has gotten corrupted.

I don't know what could have caused that. I'd suspect that there may be something wrong with your system, since you've been having quite a bit of trouble, and this should never happen.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], yuyuko


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group