DigDug69

Engaged Member
Jun 29, 2019
2,556
5,137
Well, it's cool that Lain's mod can be used to fix that stuff. I do find the wording on that message a bit petty...
It's not like Runey is creating these bugs on purpose, or even by mistake - I couldn't find anything in his code that could explain these recent issues with variables resetting themselves.
Yeah, that wording is seriously fucked up.
Less accusatory would have been to simply say that "Runey may have caused a glitch with recent changes. Here is a fix.".

Was the person with the issue using the mod now, or in the past?
I don't see any references, or anyone even asking that question.
That is an important question to ask, because with so many past events having been changed, and the mod for Harem Hotel being so much more complex than most mods, a change in past events can just as easily throw off something in the mod, causing a glitch like that.
 
Last edited:
  • Like
Reactions: TheDevian
Jun 26, 2023
13
12
If you haven't already progressed on Vanessa's side story, it's skipped on new saves. One or two nudes loads an empty image(new feature requesting a girl to send you a nude, works mostly).

Otherwise you can play 99% of the content just fine (I did a new save and this is what I encountered and have seen reported).
Thanks for the info, if I didn't delete it, I have a save game from v0.16, didn't meet Vanessa yet; I guess it will be working.



About the bugs in v0.17 I think the answer given to you by shadowtempered is correct.

About JoyPlay I don't know, because I play HaremHotel on PC, but I have read somewhere in this thread that the JoiPlay available on Play Store has some issue, while the one downloadable from JoyPlay's webpage is better.
Only the joiplay available on the patreon page for joiplay will work.
The joiplay available at the Google play store will not work for Harem Hotel.
Yes, JoiPlay, Ren'py and RPG Maker plugins on PlayStore are far outdated. The Patreon version of Ren'py plugin is pretty updated, supports the last 7.x.x version and Ren'py 8.0.3 (the latest Ren'py engine release is 8.1.1).
 

torresm

Active Member
Apr 5, 2020
943
2,071
Was the person with the issue using the mod now, or in the past?
The one that I just fixed? I'd assume it had no mods since it loaded and played fine on my un-modded version.
In the case of Lain's mod, you can also tell by the lack of a "Mod" button in the save's thumbnail.

1688685705763.png
 

ZenoMod

Well-Known Member
Nov 12, 2022
1,269
1,580
Well, it's cool that Lain's mod can be used to fix that stuff. I do find the wording on that message a bit petty...
It's not like Runey is creating these bugs on purpose, or even by mistake - I couldn't find anything in his code that could explain these recent issues with variables resetting themselves.
About the wording, I think Lain's intent was just a joke, not an accusation.

---

About the origin of the bug, I'm afraid I'm not skilled enough... yet.
By the way, since I'd like to improve my skills, may I ask you if you use a sort of IDE to debug .rpy files?

I mean: I'm spoiled by C# in Visual Studio. There if I want to change a variable name I just right click it, select "Refactor" and Visual Studio does the refactoring without messing up with strings that happen to contain the variable name as a substring etc.
I can set breakpoints, and follow step by step...
If i click on a function it navigates me to its definition...
etc.

Is there someting similar for .rpy files?

Because right now I just open them in Atom which has the visual aid of syntax highlight, but the only find and replace are string based.

---

In short: any suggestion for a noob wannabe less-noob? :) Thanks in advance
 
Last edited:

DigDug69

Engaged Member
Jun 29, 2019
2,556
5,137
The one that I just fixed? I'd assume it had no mods since it loaded and played fine on my un-modded version.
In the case of Lain's mod, you can also tell by the lack of a "Mod" button in the save's thumbnail.

View attachment 2750156
It would only have the mod symbol, if you had the mod installed.
I used to use the mod, and I noticed that it would play fine, until it hit an issue that the code could not deal with.

Example:
In the mod it gave you the ability to buy some outfits and get the girls to wear them early.
If you had used the mod to get one of the girls to wear that outfit, the game would crash when entering their room, if you did not have the mod installed on that release.
It would say right in the crash report that it was an issue with the outfit that she was wearing.
If you had not had the girl wearing that outfit, there would be no crash.
It's not a crash happening, I know, but I think it could be a possibility, which is why I think it is very important to find out if they are using a mod in this game, and any game.
So testing out one event in that save had a fair chance of not crashing the game if that save was one that was created with the mod installed.

Especially when the mod allows people to raise all of their stats to higher levels, and potentially miss events because of that.
Which, from their description, sounded a lot like what was happening.
A stat was too high, so they could not complete an event, because the stat was too high, to trigger the event.
When it says in the wiki that a certain stat needs to be 37, but they have that stat at 38, the event will not happen.
 
Last edited:
  • Like
Reactions: TheDevian

shadowtempered

Active Member
Aug 22, 2020
856
1,664
Thanks for the info, if I didn't delete it, I have a save game from v0.16, didn't meet Vanessa yet; I guess it will be working.
Sadly it won't - it affects any "start". You might be ok if you slow down Kali's quest line to focus on the other girls so you can visit her at school, but I'm not sure if that's a work around or not. Once you push Kali's questline to far, you miss the opportunity, which is why Runey had to add a bug fix for it. My wording on "new save" kinda assumed you had finished all previous content on your save to avoid the bug :(
 

torresm

Active Member
Apr 5, 2020
943
2,071
About the wording, I think Lain intent was just a joke, not an accusation.
Hmm, it could be. I'm not familiar with her tbh, so I can't really tell, and this is the kind of stuff that can be hard to convey on text.


About the origin of the bug, I'm afraid I'm not skilled enough... yet.
By the way, since I'd like to improve my skills, may I ask you if you use a sort of IDE to debug .rpy files?

I mean: I'm spoiled by C# in Visual Studio. There if I want to change a variable name I just right click it, select "Refactor" and Visual Studio does the refactoring without messing up with strings that happen to contain the variable name as a substring etc.
I can set breakpoints, and follow step by step...
If i click on a function it navigates me to its definition...
etc.

Is there someting similar for .rpy files?

Because right now I just open them in Atom which has the visual aid of syntax highlight, but the only find and replace are string based.

---

In short: any suggestion for a noob wannabe less-noob? :) Thanks in advance
Fair warning: I'm also a noob at this. :KEK:

And that's basically what I'm doing too, only it's Notepad++ instead of Atom (probably no difference for this use).
I don't know if there is an IDE available somewhere, but Runey's coding style and the way RenPy works in general makes it easy to follow what's happening just by reading the scripts, even having no experience with Python.

Also, the issues I've been seeing are mostly caused by statements failing to trigger due to variables having wrong/unexpected values instead of actual errors in the code. Take the last one as an example: Lin's level 26 event checks for a boolean called bothashuman to see if you've already gave the human kit to Android. Searching for that var, you'll find that going through Android's level 24 event changes its value to True, and it's never modified again, but in that user's save it was False for some reason.
I just changed it back using the console and the issue was fixed.

Oh yeah, I do suggest enabling the console if you plan on messing around with this stuff too. I know you can also enable a developer mode somewhere but I don't know what it does.
 

TheDevian

Svengali Productions
Game Developer
Mar 8, 2018
15,015
35,362
Yeah, that wording is seriously fucked up.
Less accusatory would have been to simply say that "Runey may have caused a glitch with recent changes. Here is a fix.".

Was the person with the issue using the mod now, or in the past?
I don't see any references, or anyone even asking that question.
That is an important question to ask, because with so many past events having been changed, and the mod for Harem Hotel being so much more complex than most mods, a change in past events can just as easily throw off something in the mod, causing a glitch like that.
Or maybe "something may have happened", since a lot of these bugs are caused by people editing things they should not.
The one that I just fixed? I'd assume it had no mods since it loaded and played fine on my un-modded version.
In the case of Lain's mod, you can also tell by the lack of a "Mod" button in the save's thumbnail.

View attachment 2750156
I have loaded at least one confirmed modded save on my unmodded gamed, so she seems to have not locked them so far.
 
Last edited:

KonfinedKnat

Member
Apr 1, 2022
315
691
Or maybe "something may have happened", since most of these bugs are caused by people editing things they should not.

I have loaded at least one confirmed modded save on my unmodded gamed, so she seems to have not locked them so far.
I think Lain changed something in how her mod works a few updates back to supposedly make it easier for players to remove it from the game without causing issues. I haven't used the mod in quite a while, so I don't know how well it works. Runey also did a rework of the file format a few updates ago to make it easier for players to just install updated files instead of the entire game. That may help with using Lain's mod, too.
 
  • Like
Reactions: TheDevian

DigDug69

Engaged Member
Jun 29, 2019
2,556
5,137
Or maybe "something may have happened", since a lot of these bugs are caused by people editing things they should not.

I have loaded at least one confirmed modded save on my unmodded gamed, so she seems to have not locked them so far.
True, there is also the Renpy save editor online which can easily change the stats and settings in the game.
Which with this game can be a very bad thing to do.
 

torresm

Active Member
Apr 5, 2020
943
2,071
It would only have the mod symbol, if you had the mod installed.
Oh, I meant the little miniature image that is created in the save file. It's not updated in real time, which means whatever was visible in the game window at the time of saving will get captured into that image file and stay there, including any mod windows and buttons.

Here's one of my old saves, for example
1688695254180.png

I don't have mods currently installed, but you can still spot the little button over there since it was created back when I was still using Lain's mod. It'll probably give me some errors if I do try to load it, so it's gonna stay that way :LUL:

I think Lain changed something in how her mod works a few updates back to supposedly make it easier for players to remove it from the game without causing issues. I haven't used the mod in quite a while, so I don't know how well it works. Runey also did a rework of the file format a few updates ago to make it easier for players to just install updated files instead of the entire game. That may help with using Lain's mod, too.
Oh that's good to hear. Being able to move saves around without worrying about compatibility makes it easier for everyone.
 
  • Like
Reactions: TheDevian

TheDevian

Svengali Productions
Game Developer
Mar 8, 2018
15,015
35,362
Oh, I meant the little miniature image that is created in the save file. It's not updated in real time, which means whatever was visible in the game window at the time of saving will get captured into that image file and stay there, including any mod windows and buttons.

Here's one of my old saves, for example
View attachment 2750333

I don't have mods currently installed, but you can still spot the little button over there since it was created back when I was still using Lain's mod. It'll probably give me some errors if I do try to load it, so it's gonna stay that way :LUL:


Oh that's good to hear. Being able to move saves around without worrying about compatibility makes it easier for everyone.
I get the wrong thumb a lot, and the more saves you have, it seems the more likely it is that it will give you the wrong thumbnail. I get a thumbnail of the save screen all the time. XD
1688696441446.png
Have to exit and renter the save menu, and overwrite it to make it work.
 
Last edited:
  • Haha
Reactions: torresm

Anonny

♥ Ren'Py Fangirl ♥
Donor
Sep 18, 2017
529
1,231
is it weird that at this point I've started to not even care as much about the NSFW parts as much as I'm just kind of invested in the story now
Throughout the many years I've been here the constant I've noticed is that the best games are those that can lure you with the lewd, but then keeps you coming back for the story and characters.
 

ZenoMod

Well-Known Member
Nov 12, 2022
1,269
1,580
only it's Notepad++ instead of Atom (probably no difference for this use).
The reason I installed Atom is that it is aware of Ren'Py syntax, so it provides a best syntax highlighting than Notepad++.
With Notepad++ the best i could do with builtin language recognition is setting it manually to Python, but so the keywords of Ren'Py remain un-highlighted, and so the string substitution tokens in strings, the leading $ to execute a python statement online (in Npp screenshot I underlined some un-highlighted things that are instead highlighted in Atom screenshot).

I know that Notepad++ accepts custom grammar files for highlighting, but I didn't find one for Ren'Py online, and I'm not able to write my own.
 
  • Like
Reactions: torresm

torresm

Active Member
Apr 5, 2020
943
2,071
The reason I installed Atom is that it is aware of Ren'Py syntax, so it provides a best syntax highlighting than Notepad++.
With Notepad++ the best i could do with builtin language recognition is setting it manually to Python, but so the keywords of Ren'Py remain un-highlighted, and so the string substitution tokens in strings, the leading $ to execute a python statement online (in Npp screenshot I underlined some un-highlighted things that are instead highlighted in Atom screenshot).

I know that Notepad++ accepts custom grammar files for highlighting, but I didn't find one for Ren'Py online, and I'm not able to write my own.
That's nice, I didn't know that.
I did find an with some custom files and details on how to make N++ compatible with RenPy-specific syntax, but now I'll just give Atom a try first.

I've also been thinking about writing my own fixes for these small issues, so this will come in handy.
 
  • Like
Reactions: c3p0 and ZenoMod
4.70 star(s) 482 Votes