Mod Ren'Py Completed Heart Problems [Xenorav] [English] Dialogue Re-Write ver. 0.30 (CH1 to 3)

Do you want to see a Chapter 2 Re-Write or is the original Dialogue fine as it is?

  • Yes, I'd like to see this continue.

    Votes: 511 88.0%
  • No, the Original script is fine as it is.

    Votes: 70 12.0%

  • Total voters
    581

Rend77

Member
Sep 26, 2020
134
32
The main problem with this error is I can't seem to replicate it on my system, even wiping all traces of the game then re-downloading.. hmm this is a curious one indeed..
i really dont understand why this is happening im new to the game and wanted to try this but it wont work i can wait until there is anew update thanks for the help
 

fin_369

Member
Dec 26, 2023
141
194
Chinwiskers, I am looking forward to thoroughly exploring and experiencing the modifications you've implemented. :BootyTime:
Please anticipate my feedback; I will provide a comprehensive response within a week's time from this opportunity.
I trust this timeline is acceptable to you.
 

Chinwiskers

Newbie
Jan 26, 2022
76
112
Chinwiskers, I am looking forward to thoroughly exploring and experiencing the modifications you've implemented. :BootyTime:
Please anticipate my feedback; I will provide a comprehensive response within a week's time from this opportunity.
I trust this timeline is acceptable to you.
Any timeline is a good timeline! I'm more curious to see if the mod actually works though at this point lol. Just recently a couple of people have not been able to launch the game with this mod for some reason and I'm a bit lost as to the cause?

Doesn't help matters that it works perfectly fine on my own machine! I just can't seem to replicate the issue on my own system, blech.
 

chong_li_yung

New Member
Feb 17, 2020
5
2
Just downloaded the game and your edit, merged your files with the game, nothing else. Still getting this error:

While running game code:
File "renpy/common/00start.rpy", line 240, in script call
call _splashscreen from _call_splashscreen_1
File "game/script.rpy", line 119, in script
centered "{size=+30}This is a test version of {b}HeartProblems."
TypeError: must be real number, not NoneType
 
  • Like
Reactions: Chinwiskers

Chinwiskers

Newbie
Jan 26, 2022
76
112
Just downloaded the game and your edit, merged your files with the game, nothing else. Still getting this error:

While running game code:
File "renpy/common/00start.rpy", line 240, in script call
call _splashscreen from _call_splashscreen_1
File "game/script.rpy", line 119, in script
centered "{size=+30}This is a test version of {b}HeartProblems."
TypeError: must be real number, not NoneType
I'm gonna forward this to some more experienced developers and see if I can find an answer, I have no idea how to recreate this error on another system so it's absolutely mind boggling at this point lol

It's essentially saying the number 30 in {size=+30} isn't a recognized number, but.. it's not typed incorrectly in the script so.. ?

I'm keeping at it don't worry, I'll let ya know! And in the end I'll have learned something new hopefully so all's well that ends well!
 

Chinwiskers

Newbie
Jan 26, 2022
76
112
Just downloaded the game and your edit, merged your files with the game, nothing else. Still getting this error:

While running game code:
File "renpy/common/00start.rpy", line 240, in script call
call _splashscreen from _call_splashscreen_1
File "game/script.rpy", line 119, in script
centered "{size=+30}This is a test version of {b}HeartProblems."
TypeError: must be real number, not NoneType
I've made an adjustment to the line in the code that the error refers to, I closed the {size} tags with {/size}.

No idea if it will change anything for you, but feel free to give it a try!
 

chong_li_yung

New Member
Feb 17, 2020
5
2
Even with the new one I get multiple errors. I clicked "ignore" until the game just closed and got this error:

While running game code:
File "game/script.rpy", line 181, in script
"."
File "game/script.rpy", line 181, in script
"."
File "renpy/common/000window.rpy", line 114, in _window_auto_callback
_window_show(auto=True)
File "renpy/common/000window.rpy", line 69, in _window_show
renpy.with_statement(trans)
TypeError: must be real number, not NoneType
 

Chinwiskers

Newbie
Jan 26, 2022
76
112
Even with the new one I get multiple errors. I clicked "ignore" until the game just closed and got this error:

While running game code:
File "game/script.rpy", line 181, in script
"."
File "game/script.rpy", line 181, in script
"."
File "renpy/common/000window.rpy", line 114, in _window_auto_callback
_window_show(auto=True)
File "renpy/common/000window.rpy", line 69, in _window_show
renpy.with_statement(trans)
TypeError: must be real number, not NoneType
ok this gets even weirder lol, when I look into this it seems to point at something wrong or missing with the "environment" the game is being used in (I presume that means the users PC?), but I can't imagine what might be wrong in that case?

The game runs perfectly fine for me, I'm just not sure if it does for anybody else at all or just a few?
 
  • Thinking Face
Reactions: chong_li_yung

Chinwiskers

Newbie
Jan 26, 2022
76
112
Even with the new one I get multiple errors. I clicked "ignore" until the game just closed and got this error:

While running game code:
File "game/script.rpy", line 181, in script
"."
File "game/script.rpy", line 181, in script
"."
File "renpy/common/000window.rpy", line 114, in _window_auto_callback
_window_show(auto=True)
File "renpy/common/000window.rpy", line 69, in _window_show
renpy.with_statement(trans)
TypeError: must be real number, not NoneType
OK! we MIGHT have it this time!

I managed to duplicate this error message on my laptop that had a fresh install of windows on it and work on a solution.

I've uploaded the modified version again to this page if you'd like to try it, fingers crossed this does the job! I had the exact same error myself earlier and with some changes the game now boots up fine.
 

Paerun Cru'Av

Member
Nov 8, 2022
223
213
I saw more progress on your work, so I thought that it's time to reinstall the game and see what we have now.
Seems like we all get the same type of error, just with different line numbers.

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 175, in script
"."
File "game/script.rpy", line 175, in script
"."
TypeError: must be real number, not NoneType


I got that error in main menu, when I chose "Start a new game". Funnily, installing other mods fixes it. At least it seems so at first. Opening preferences crashed the game again.

I'm sorry, but an uncaught exception occurred.

While loading <renpy.display.im.Image object ('gallery_mod/gui/button/radiobutton_checked.png') at 0x00000000154e3b50>:
File "renpy/common/00gamemenu.rpy", line 170, in script
$ ui.interact()
File "renpy/common/00gamemenu.rpy", line 170, in <module>
$ ui.interact()
OSError: Couldn't find file 'gallery_mod/gui/button/radiobutton_checked.png'.


This time the cause was actually the presence of gallery mod. So, reinstalling again without this particular one, and it seems to be working perfectly for now.
 

Chinwiskers

Newbie
Jan 26, 2022
76
112
I saw more progress on your work, so I thought that it's time to reinstall the game and see what we have now.
Seems like we all get the same type of error, just with different line numbers.

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 175, in script
"."
File "game/script.rpy", line 175, in script
"."
TypeError: must be real number, not NoneType


I got that error in main menu, when I chose "Start a new game". Funnily, installing other mods fixes it. At least it seems so at first. Opening preferences crashed the game again.

I'm sorry, but an uncaught exception occurred.

While loading <renpy.display.im.Image object ('gallery_mod/gui/button/radiobutton_checked.png') at 0x00000000154e3b50>:
File "renpy/common/00gamemenu.rpy", line 170, in script
$ ui.interact()
File "renpy/common/00gamemenu.rpy", line 170, in <module>
$ ui.interact()
OSError: Couldn't find file 'gallery_mod/gui/button/radiobutton_checked.png'.


This time the cause was actually the presence of gallery mod. So, reinstalling again without this particular one, and it seems to be working perfectly for now.
It's so jank I know :(.

So for now, it works? kinda? but doesn't play well with mods..

Which exact mod is it ? I can try download and apply it on my laptop (it has an isolated copy of the game that also produced these errors until I fixed the files).


EDIT: I removed the "175 line" in the script that came up in the error message, it wasn't necessary anyway and maybe its one less thing? It's reuploaded with that change for what its worth.

Also I notice in the error message for the gallery mod it says it can't find a missing file, a png file? I suspect that my script files are lacking the reference to that files location / existence for that mod to work?
 
Last edited:

chong_li_yung

New Member
Feb 17, 2020
5
2
Still a bunch of errors like this one:

While running game code:
File "game/script.rpy", line 180, in script
centered "Your name will be [mc]."
TypeError: must be real number, not NoneType
 

Chinwiskers

Newbie
Jan 26, 2022
76
112
Still a bunch of errors like this one:

While running game code:
File "game/script.rpy", line 180, in script
centered "Your name will be [mc]."
TypeError: must be real number, not NoneType
Haha it's like it just takes issue with every single line as soon as you edit or remove the previous one XD

There isn't even a number in that line of code and it's saying must be a real number lol.

Have you tried a fresh copy of the game with just the ReWrite mod on it again? I suspect this mod doesn't play well with the other ones, I think the scripts are over-writing each other and thus missing lines of code to make either work properly.

EDIT: I found a line that referred to the variable variable "mc" was capitalized so I modified it and re-uploaded to this page.
 
Last edited:

Paerun Cru'Av

Member
Nov 8, 2022
223
213
It's so jank I know :(.

So for now, it works? kinda? but doesn't play well with mods..

Which exact mod is it ? I can try download and apply it on my laptop (it has an isolated copy of the game that also produced these errors until I fixed the files).


EDIT: I removed the "175 line" in the script that came up in the error message, it wasn't necessary anyway and maybe its one less thing? It's reuploaded with that change for what its worth.

Also I notice in the error message for the gallery mod it says it can't find a missing file, a png file? I suspect that my script files are lacking the reference to that files location / existence for that mod to work?
It's the one in the main game thread. "Heartproblems_Chapter8_Gallery_mod" is the name of the file in attachment.
 
  • Like
Reactions: Chinwiskers

Chinwiskers

Newbie
Jan 26, 2022
76
112
It's the one in the main game thread. "Heartproblems_Chapter8_Gallery_mod" is the name of the file in attachment.
For now I just added a warning disclaimer to this thread about incompatability, I looked at the mod and it does indeed replace pretty much all the script files involved in making my mod work so they would need to be integrated? That's a job in itself haha
 
  • Like
Reactions: Paerun Cru'Av