DigDug69

Engaged Member
Jun 29, 2019
2,762
5,536
712
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

Well-Known Member
Aug 22, 2020
1,012
1,980
328
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

Well-Known Member
Apr 5, 2020
1,146
2,530
386
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,744
37,342
1,031
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
208
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,762
5,536
712
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

Well-Known Member
Apr 5, 2020
1,146
2,530
386
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,744
37,342
1,031
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,233
257
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,615
2,034
386
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

Well-Known Member
Apr 5, 2020
1,146
2,530
386
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

Maid Lain

Well-Known Member
Modder
Game Developer
Apr 4, 2018
1,888
16,772
585
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...
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.".
Oops, sorry that wasn't my intention. :c
You don't have permission to view the spoiler content. Log in or register now.
But it is frustrating that people assume my mod can be the cause of bugs when it never is. :c The mod doesn't really change or edit anything existing in the game, it only adds to the game. So problems with things in the base game will never be caused by the mod.

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.
The mod doesn't cause any issues with save compatibility and it hasn't either in the past. This is another frustrating assumption I hear often. :c You can delete the mod and use a save played with the mod in an unmodded game without any issues.
 

DigDug69

Engaged Member
Jun 29, 2019
2,762
5,536
712
So looks like a bit of that attitude got left in when I copied the text from that and I didn't change the button text enough, lol.
I have to disagree with the issue of compatibility with using the mod, or not using the mod.
Back before you disappeared I was a regular user of the mod, but then when there was no update being released, I tried playing without the mod and got the following stated issue.

Details:
*I never use the update downloads.
*I always download the whole game and start fresh with a new game folder, but using existing saves.
Anything like that issue will cause crashes and incompatibility with the game, if the mod is not used in later releases, because it alters what is permitted by the base code in the game.

Our only workable response for people was to start the game all over again, without the mod, which I also had to do. because that change made it impossible to play the game anymore, without the correct version of the mod for that release installed.
I had tried installing the older version of the mod as a last resort, just to try to change the outfit, but it crashed the game to, without allowing me to change the outfits and make a new save.

There is also an issue with raising certain stats that the mod allows.
The way that the game is set up, certain stats have to be at a specific level for events to trigger.
The mod allows people to raise those stats, and often they raise them past a trigger point for an event, and then come in to this thread complaining that they can't get an event to trigger.
Runey has a cheat code that allows people who use it to change "some" of the games stats, but not the critical stats that are used for triggering events.

If they are trying to play a new release of the game without the mod, but they had changed stats in the previous version of the game, with the mod installed, they are screwed, because they may not be able to get some events to trigger, due to the altered stats.
Unless they install the mod again, use a save editor, or get someone else to fix their stats, which would be a pain in the ass for them, since the other person may not know what they had changed, or where they should be in the game.
I would suggest not allowing people to change the critical to events stats, but only the ones that Runey's cheat code allows to be changed.

The issues:
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.
And it would name that specific outfit that the mod allowed you to use early.
I was not the only person who had that issue, but since so many people were being forced to try to play without the mod at that point, it was a recurring complaint here.
If you had not had the girls wearing those outfits, there would be no crash.
Any similar perks of the mod would likely have the same effect, because they left settings in the save file, that went against what the basic game code would allow, at that point in the game.
Which results in a crash.

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:

shadowtempered

Well-Known Member
Aug 22, 2020
1,012
1,980
328
But it is frustrating that people assume my mod can be the cause of bugs when it never is. :c The mod doesn't really change or edit anything existing in the game, it only adds to the game. So problems with things in the base game will never be caused by the mod.
It's assumed because it appears to have happened after you left. While I doubt anyone specifically identified what in the mod didn't or did work but it did break things down into one of two things after you were gone: those who had the mod had saves that didn't work in later versions, those who didn't have the mod had saves that worked. This was fairly consistent that it became a basic troubleshooting step - update the mod (Lord Ashram took over for you for a while) and see if things worked better. It did.

Ashram went to lengths to get the mod updated with new versions strictly to avoid issues with save files. You can find folks with these complaints as late as the v16 release and posts from members, including Ashram, trying to help and it extended further back. I know you haven't released the mod for a few versions now, but this did start before Ashram started with his version of the mod - the question has always been the same "Do you use Lain/Ashram's mod?".
 

DigDug69

Engaged Member
Jun 29, 2019
2,762
5,536
712
It's assumed because it appears to have happened after you left. While I doubt anyone specifically identified what in the mod didn't or did work but it did break things down into one of two things after you were gone: those who had the mod had saves that didn't work in later versions, those who didn't have the mod had saves that worked. This was fairly consistent that it became a basic troubleshooting step - update the mod (Lord Ashram took over for you for a while) and see if things worked better. It did.

Ashram went to lengths to get the mod updated with new versions strictly to avoid issues with save files. You can find folks with these complaints as late as the v16 release and posts from members, including Ashram, trying to help and it extended further back. I know you haven't released the mod for a few versions now, but this did start before Ashram started with his version of the mod - the question has always been the same "Do you use Lain/Ashram's mod?".
In my examples above, it was definitely Lain's mod that was the issue, because LordAshram had not yet started to work on the mod.
There was literally no one working on the mod anymore at that time.

I had really liked Lain's mod and the extra features up to that point, but being forced to restart the game because of a problem that was flat out stated in the error report, that pointed straight at the mod, sucked.
It was a problem that was created because I used a feature in the mod to gain access to outfits for the girls earlier than they should have had them, and without the mod installed the game gave me the middle finger and said, nope, not happening and crashed, because I had her wearing an outfit that she should not have had yet..

It was literally this mod feature that is in bold and underlined text, that caused the crashing for myself and other people.
"A cheat menu has also been added which has cheats that allow you to set your money to $99999, maximize your stats with all girls, unlock all outfits & toys, and more. I've also added an in-game Encyclopedia that gets updated as you play, and can be used to keep track of certain characters or keep informed on parts of the story. Lastly, I've also made the UI cleaner and more readable by using an improved textbox and font."
 
Last edited:
4.60 star(s) 497 Votes