Mod Ren'Py Second Chance - Enhanced Taboo Edition [v1.0] [AnotherVNPlayer]

AnotherVNPlayer

New Member
Apr 12, 2024
9
3
On the bright side, at least this is great experience bughunting in your code lol, it'll be very useful for modding work you'll do in the future
I can't disagree with that! But the most frustrating part is that I have absolutely no issues on my end. I tried/played the game multiple times and never encounter any errors.

Same game and same mod files as you all. So why it only works with me? I should get this " TypeError: a float is required " too.

This is the hardest part of bug hunting. It would be easier if I were affected too. But for now, I can only rely on your feedback.

Don't worry, I won't give up and I'll keep on looking later.

----------------

For those whose game crashes after naming the MC (especially for those who know a little Python), here's the code.
I don't see any errors... :unsure: I think I'll have to look elsewhere...

Python:
label start:

    jump namemc

label namemc:

    scene black
    $ mcName = renpy.input("Name your character! Max 10 characters", allow=" 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", length=10)

    if mcName == "":

        "Please give your character a name that is between 2-10 characters long."

        jump namemc
    
    $ check_name = len(mcName)

    if check_name < 2:

        "You must name your character a minimum of 2 letters."

        jump namemc

    $ mcName = mcName.title()

    centered "{size=-20}Do you want to name\nyour character [mcName]?"

    menu:

        "Yes":
            jump v1_a
        "No":
            jump namemc

label v1_a:
    
    scene 1_a_0
    show screen points
    with fadehold
    mc "{i}When I was almost 10 years old, my [mom] walked out on me and my dad. The only time I would ever hear from her was on my birthdays.{/i}"
    
    [...]
 
  • Like
Reactions: MacedonianThem

pornooolll

New Member
Dec 26, 2018
10
30
Still crashes when naming the character, when clicking on christmas special or loading a save, over all I don't think the problem lays in naming the character, I think it's something else, but I'm not versed enough in renpy

EDIT:
While running game code:
File "renpy/common/000window.rpy", line 98, in _window_auto_callback
_window_show()
File "renpy/common/000window.rpy", line 60, in _window_show
renpy.with_statement(trans)
TypeError: a float is required
To me it looks like there is an incorrect variable
I checked with ChatGPT also and it says the same thing, it thinks that "trans" is not a float and that creates the problem, but if that were true it probably wouldn't work for you also so idk.
 
Last edited:

AnotherVNPlayer

New Member
Apr 12, 2024
9
3
I found 4 mistakes while checkling the code and I fixed them:

- pause (0.) instead of pause 0.3
- Dissolve (0.5) instead of with Dissolve (0.5)
- with Dissolve (0.3 instead of with Dissolve (0.3)
- withfade instead of with fade

I should stop coding when I'm tired... :censored:

Let's hope it works now. Link has been updated.
 

roXshoX

New Member
Dec 29, 2023
9
3
I found 4 mistakes while checkling the code and I fixed them:

- pause (0.) instead of pause 0.3
- Dissolve (0.5) instead of with Dissolve (0.5)
- with Dissolve (0.3 instead of with Dissolve (0.3)
- withfade instead of with fade

I should stop coding when I'm tired... :censored:

Let's hope it works now. Link has been updated.

I downloaded the new version and got same error after trying to rename , i went to a gpt site to check what it says and maybe it helps you , just want to pin out i have no clue about renpy or something like that so iam not sure if this is really helpful or not.