Ren'Py Brothel King [v0.3] [Goldo]

4.60 star(s) 48 Votes

DougTheC

Member
Oct 15, 2018
387
221
...
Another thing you might want to do is to install the game somewhere that's not even remotely claimable as a system directory. So no 'Program files', or 'Documents', 'Desktop', 'Download'. Something like 'C:/Music/Ambient/Soothing/Indian/Not_Tantric/temp_data/01_01_1984/_anjdsnfgo175/_audio/BK/Brothel_King-pc' is the old-school conspiratorial choice. :sneaky:
But having instead a much shorter pathname, to avoid other problems.
 

Fox.Mulder

Member
Jul 31, 2017
476
186
Oh man, I have like the most obnoxious bug I can't seem to fix. XD
I saved the game and came back to reload and now there's a perpetually looping audio of just a constant waterfall it's so annoying haha. Reloading/deleting the audio files/scrollback whatever I could think of doesn't fix it I'm so sad. My main save file has to just be played on mute now. xD
If there's a funky way of fixing it, I'd appreciate any tips. ^^
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
Open the console (shift+O) and type renpy.sound.stop(). If that doesn't work, try renpy.sound.stop(channel = 'sound2') or renpy.sound.stop(channel = 'audio').

Edit: Or, since it's the waterfall music, use renpy.music.stop(). /Edit

Preferably, also tell us how you got that problem. Better yet, recreate it and tell us the exact steps. Then Goldo can fix it. No need, I found the problem.

Edit: I presume you went through the diamond intro with an 'old man'? It was the old man.
 
Last edited:

Fox.Mulder

Member
Jul 31, 2017
476
186
Open the console (shift+O) and type renpy.sound.stop(). If that doesn't work, try renpy.sound.stop(channel = 'sound2') or renpy.sound.stop(channel = 'audio').

Edit: Or, since it's the waterfall music, use renpy.music.stop(). /Edit

Preferably, also tell us how you got that problem. Better yet, recreate it and tell us the exact steps. Then Goldo can fix it. No need, I found the problem.

Edit: I presume you went through the diamond intro with an 'old man'? It was the old man.
Thanks for the help! I couldn't figure out how to recreate it since I wasn't paying full attention when the sound file started it was only after a bit when I realised... it just ain't stopping. XD

But yeah I managed to stop it with that nifty little console stuff and it doesn't seem to have broken any other sounds which is good!
 
  • Like
Reactions: __neronero

Wolfefang

Newbie
Jan 28, 2020
47
11
Can the girls become friend? I'm in chapter 2 and haven't seen any indication they are friends. I have 2 virgins and the get a mood benefit from friends.
 

DougTheC

Member
Oct 15, 2018
387
221
They have a better chance to become friends if you interact with them a few times, talking about getting along with other girls and telling them to keep making friends.
I don't think anything about this has changed since the last playthrough where I had some girls having friends, announced in night activity.
Base chance for improving friendship each night is a roll of (Edit: 11 or) 12 on two 6-sided dice.

Works best with "very extravert" personalities.
 
Last edited:
  • Like
Reactions: Jman9 and Wolfefang

Wolfefang

Newbie
Jan 28, 2020
47
11
They have a better chance to become friends if you interact with them a few times, talking about getting along with other girls and telling them to keep making friends.
I don't think anything about this has changed since the last playthrough where I had some girls having friends, announced in night activity.
Base chance for improving friendship each night is a roll of 12 on two 6-sided dice.

Works best with "very extravert" personalities.
Thank you

Guess I'm just really unlucky will keep trying.
 

Artiour

Member
Sep 24, 2017
307
1,303
why every girl in town says "That's a bit personal... But of course, I have not been waiting for you my whole life, you know?"
is there some edit that could give this more variety, or if someone knows the file containing chances to generate girl traits I hope you point it out
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
Because they're all of 'average' sexual experience, for some reason. I don't see why that would happen outside of you just randomly getting a string of such girls. What exactly is the sample size of your 'every girl in town'?

Otherwise, there already are five different responses and an extra one for virgins.
 

__neronero

Member
Jan 23, 2021
285
393
why every girl in town says "That's a bit personal... But of course, I have not been waiting for you my whole life, you know?"
is there some edit that could give this more variety, or if someone knows the file containing chances to generate girl traits I hope you point it out
There are currently 22 variations in the game for this response ("free_flirt_sex_experience average") or 133 if you count all the variations of how experienced the girl could be. I can't seem to replicate your issue. When you say every girl in town, how many girls did you check?

The responses are listed in BKdialogue.rpy. The simplest way to homebrew in more variety is to make more lines of dialogue in BKdialogue.rpy "generic" instead of personality-specific.

Traits are a completely different topic.
 

DougTheC

Member
Oct 15, 2018
387
221
Sorry, I am not good with this stuff.
Full traceback:
File "game/BKstart.rpy", line 127, in script
$ enemy_general = get_girls(1, free=True, p_traits=["Caster"])[0]
File "renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/BKstart.rpy", line 127, in <module>
$ enemy_general = get_girls(1, free=True, p_traits=["Caster"])[0]
File "game/BKfunctions.rpy", line 328, in get_girls
girl.randomize(free=free, p_traits=p_traits, n_trait=n_trait, perks=perks, level=lvl)
File "game/BKgirlclass.rpy", line 263, in randomize
self.refresh_pictures()
File "game/BKgirlclass.rpy", line 493, in refresh_pictures
self.portrait = self.get_pic("portrait", "profile", naked_filter = True, and_priority=False, soft=True)
File "game/BKgirlclass.rpy", line 1016, in get_pic
return get_pic(self, tags=tags, alt_tags1=alt_tags1, alt_tags2=alt_tags2, alt_tags3=alt_tags3, and_tags=and_tags, not_tags=not_tags, strict=strict, and_priority=and_priority, attempts=attempts, always_stock=always_stock)
File "game/BKfunctions.rpy", line 2736, in get_pic
piclist = get_pic_list(target, search_tags, and_tags, not_tags)
File "game/BKfunctions.rpy", line 2687, in get_pic_list
show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'
Best try we can think of to make this work:

Run game to get Start menu,
use shift-o to get console, copy-paste
Code:
preferences.packstate_unrecognized = "Rename"
followed by the Enter key, and Esc key to return from console.

Will probably work if you then even load a saved game.
 

Artiour

Member
Sep 24, 2017
307
1,303
There are currently 22 variations in the game for this response ("free_flirt_sex_experience average") or 133 if you count all the variations of how experienced the girl could be. I can't seem to replicate your issue. When you say every girl in town, how many girls did you check?

The responses are listed in BKdialogue.rpy. The simplest way to homebrew in more variety is to make more lines of dialogue in BKdialogue.rpy "generic" instead of personality-specific.

Traits are a completely different topic.
its back to normal now after a suspicious amount of times
but I made a slight change to spice things up by giving every girl a 30% chance of being virgin
 
  • Like
Reactions: __neronero

Artiour

Member
Sep 24, 2017
307
1,303
when the first girl work for the first time the game starts giving you windows of you learning new spells and stuff and freezes
here are some diagnostics from the task manager:
when you learn the first spell 100mb is added to the Ram, the second adds 200, the third 500 or so etc, until the ram is full
I tried saving mid the process but it takes me back the the first spell
this didnt happen in the previous version
in the new version it happen with both the normal and the patched game and I played a new game not loaded from any previous versions
and also what made it look like a bug is that it adds to the ram like 3mb per second so those megabytes I was talking about took a really long time
edit:
I changed this code
Python:
        def learn(self, spl):
            if spl.type == "passive":
                self.active_spells.append(spl)
                self.add_effects(spl.effects)

                renpy.call_screen("OK_screen", title = spl.name, message = self.name + " has learnt a new talent.\n\n" + spl.description, pic = spl.pic, pic_size = "small")

            else:
                self.known_spells.append(spl)
                renpy.call_screen("OK_screen", title = spl.name, message = self.name + " has learnt a new spell.\n\n" + spl.description, pic = spl.pic, pic_size = "small")
to this:
Python:
        def learn(self, spl):
            if spl.type == "passive":
                pass
#                self.active_spells.append(spl)
#                self.add_effects(spl.effects)

#                renpy.call_screen("OK_screen", title = spl.name, message = self.name + " has learnt a new talent.\n\n" + spl.description, pic = spl.pic, pic_size = "small")

            else:
                pass
#                self.known_spells.append(spl)
#                renpy.call_screen("OK_screen", title = spl.name, message = self.name + " has learnt a new spell.\n\n" + spl.description, pic = spl.pic, pic_size = "small")
no more spells getting learned and there is a black screen and the RAM keeps growing non-stopping
 
Last edited:

Jman9

Engaged Member
Jul 17, 2019
2,295
965
when the first girl work for the first time the game starts giving you windows of you learning new spells and stuff and freezes...

in the new version it happen with both the normal and the patched game and I played a new game not loaded from any previous versions
I redownloaded the patch and tried. No infinite spell loop.

So I suspect you've messed with something else you didn't really know not to mess with. If you truly can't find out what, delete all your .rpyc (not .rpy!) files, confirm that the bug happens again, then save just before it happens and upload the save and all your .rpy files here. I'll take a look.
 
  • Like
Reactions: Artiour

Artiour

Member
Sep 24, 2017
307
1,303
I redownloaded the patch and tried. No infinite spell loop.

So I suspect you've messed with something else you didn't really know not to mess with. If you truly can't find out what, delete all your .rpyc (not .rpy!) files, confirm that the bug happens again, then save just before it happens and upload the save and all your .rpy files here. I'll take a look.
something I edited that worked in the previous version
now it doesnt
thank you
its back to normal
 

DougTheC

Member
Oct 15, 2018
387
221
how do i get rid of negative fixation?
This is done by first uncovering the negative fixation, for example by using Advanced Training in girl interaction for sex acts (or at half-cost through Master Bedroom Advanced training).
Then the negative fixation will show in her magic notebook, and a training option will appear, "Remove negative fixation".

Using this option (about 3 times successfully) will remove the negative fixation (phobia), and result in more cooperation in most sex acts.

No removal of positive fixations has been discussed for vanilla, non-mod BK.
 
  • Like
Reactions: __neronero
4.60 star(s) 48 Votes