Search found 18 matches

by emanuel
Thu Jan 19, 2023 6:45 pm
Forum: Ren'Py Questions and Announcements
Topic: My game has started crashing apparently at random when I test it via Launch Project. Error reports are included here.
Replies: 10
Views: 939

Re: My game has started crashing apparently at random when I test it via Launch Project. Error reports are included here

These are segmentation faults. That happens when a program tries to access memory that it is not allowed to. That generally happens due to mistakes in the code, but nobody can really help you with just these error messages. Those numbers are memory addresses and you need a debugger to know what that...
by emanuel
Thu Jan 19, 2023 4:09 am
Forum: Ren'Py Questions and Announcements
Topic: Can the Say command be split over a number of lines?
Replies: 2
Views: 246

Re: Can the Say command be split over a number of lines?

If you want editors like Notepad to be okay with it, you can use triple single or double quotes '''. That is valid for multiline strings in both Python and Renpy, so Notepad will simply use Python syntax highlighting then. VSCode should show it illegal as well because normal strings can only be mult...
by emanuel
Sat Jan 14, 2023 6:26 am
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 75800

Re: Bug Replications

As I said, I am on 8.0.3.22090809, latest release version. I just created a new project without any problems. I also created projects dozens of time in the last two months (For testing code in Questions). Likewise I know a lot of people who likewise didn't have any problems. So the problem is not a...
by emanuel
Sat Jan 14, 2023 5:06 am
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 75800

Re: Bug Replications

It must be a PC-only issue, because it hasn't occurred for me on Mac yet That's strange because it really is just a mistake in the logic of the code, which means it apparently works out by accident on a Mac. In simplified terms the code does this: file = path + name file = path + file write_to(file...
by emanuel
Fri Jan 13, 2023 3:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 75800

Re: Bug Replications

I've looked all over the website and I could not find a way to report bugs. Then I remembered this forum. Maybe that's why finding the bugs is difficult. https://github.com/renpy/renpy/issues/ TBH it is not so obvious, because neither I, nor ~40 people who uses RenPy 8.0.3 never encountered this bu...
by emanuel
Fri Jan 13, 2023 2:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 75800

Re: Bug Replications

There's a bug in the 8.0.3 version. And it's pretty darn obvious, because it fails to create a new project from the launcher. The following error occurs: While creating a new project, an error occurred: FileNotFoundError: [Errno 2] No such file or directory: '../renpy-projects/Test/game/../renpy-pro...
by emanuel
Sun Jan 03, 2021 4:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] What does "call ... from ..." do?
Replies: 7
Views: 2876

Re: What does "call ... from ..." do?

Thanks a lot Imperf3kt and emanuel for the answers so far. Let me put all your answers together and let me know if I am wrong please! ...from <name> 1. serves as a label for the call when it reaches return. 2. this is done internally, using a stack 3. it can be given by the coder. 4. if not pre-def...
by emanuel
Sun Jan 03, 2021 6:38 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] What does "call ... from ..." do?
Replies: 7
Views: 2876

Re: What does "call ... from ..." do?

Now I am completely confused. My labels change when I make different versions of the same script? Is RenPy doing this? Let's say when I have a label like: label wolf_event: how would the call look like to stay compatible no matter what version of the script I use? Whenever you call (not jump to) a ...
by emanuel
Fri Jan 01, 2021 7:35 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] What does "call ... from ..." do?
Replies: 7
Views: 2876

Re: What does "call ... from ..." do?

It sets a label that is used as a return point for loading saved games. This is used to retain compatibility with saved games from a different version of the same script.
by emanuel
Fri Jan 01, 2021 6:24 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Why is a particular sprite disappearing while using Skip?
Replies: 2
Views: 679

Re: Why is a particular sprite disappearing while using Skip?

I've had a similar issue. I don't know exactly how it is caused, but I solved it by replacing the pause statement, with a $renpy.pause(1.0) call. I assume it has something to do with the pause statement actually resolving to a Pause transition which is completely skipped when using skip. The next im...
by emanuel
Fri Jan 01, 2021 6:07 am
Forum: Ren'Py Questions and Announcements
Topic: How do I lock and unlock Drees Up items in a list? [HELP]
Replies: 4
Views: 686

Re: How do I lock and unlock Drees Up items in a list? [HELP]

It seems you're not really understanding this code, so I added some explanation. This line sets a dictionary that is referenced to pick the right images, so for example, without change, dress4.png will be used. default persistent.dDress = { "skin" : 1, "glasses" : 1, "dress&...
by emanuel
Tue Dec 29, 2020 7:53 pm
Forum: Ren'Py Questions and Announcements
Topic: [Question] Making Two Menus?
Replies: 5
Views: 451

Re: [Question] Making Two Menus?

You can set the variable _game_menu_screen (notice the leading underscore) to another screen. That requires you to have two screens. I don't know if you can only change the style instead.
by emanuel
Tue Dec 29, 2020 7:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with user-selectable game music
Replies: 7
Views: 849

Re: Help with user-selectable game music

It seems to me your code only executes the play statement once; that's why you need to start a new game when changing music. Try putting it in a function: init python: def mymusic(file): persisten.mus_select = file renpy.play(file, 'music') np = file.strip("music/.ogg") tm = 10 renpy.notif...
by emanuel
Mon Dec 28, 2020 8:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Manage items in a list (Array)
Replies: 1
Views: 353

Re: Manage items in a list (Array)

You need to turn that in a Python block, like so: python: poolsupply = Item("Pool Supply", "Artículos de limpieza", "quimicos.png", 1, 5, 0, 150) productssent.append(poolsupply) for product in productssent: if product.daysittakes == product.dayspassed: productsdelivered...
by emanuel
Mon Dec 28, 2020 6:02 am
Forum: Ren'Py Questions and Announcements
Topic: Protect files from unpackers
Replies: 10
Views: 2112

Re: Protect files from unpackers

This may also help. https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=50002&p=486050#p486049 While it does nothing to actually stop a player unarchiving the files, it does help confuse them when they cannot open a file they don't recognise (Although its not hard to get around if you kno...