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

4.60 star(s) 50 Votes

Doe467

Newbie
Apr 23, 2017
38
10
Somehow I got the stupid FPS thingy toggled on (shows fps, ms, msmax, gl2, and powersave). I have googled the shortcut keys, and nothing I do will toggle it off... how do I turn the stupid thing off?
 

321654

Newbie
Nov 28, 2018
25
19
I've been trying to get the achievements and I looked up BKachievements.rpy to see what I needed to do and I think there are several that I have done to some extent but they have not triggered.

Does This Make You Ticklish? and Phobia say "Discover %s positive/negative fixations on your girls.". With all my girls I have checked every fixation and I have fixed every fixation I have found but these have not triggered at all.

The <Sex Act> Mania achievements say "Have your girls perform <Sex Acts> %s times.", I'm at endless and several of my whores have thousands of customers but these have not even triggered the basic level.

I have no more things to build at the Carpenters wagon but I don't have Interior Designer ("Build all furniture for chapter %s.")

And I have repeatedly tried to pay back my loan to get Close Call and it has not triggered.
 

Lolzoke

Newbie
Jul 14, 2017
47
34
While having the girl selected in your brothel, try the following command: call return_from_leave(girl)

As for the lag, I do remember this being a more common issue in the test release of 0.2. But the primary cause was identified and fixed in the official base game release of 0.2 (a problem with "predict" image caching) - are you 100% sure you're running with the latest (+ )?
Thanks for your response.

That command worked. Thank you!

For performance: Yes, I am. I verified the dates of latest modified to 7/11/22 for changed files. I also made sure to do this due to the fact that it was the same a year ago and we had no results when I went over it with Jman and some others back then when I got the game setup again.
 
Last edited:
  • Like
Reactions: Startik4610

Love Doll 81

Newbie
Jun 3, 2021
63
28
Hello. Mind if i ask some question here?

1. Why my daily income got penalty? How to get rid of it?
2. I've tried to edit my save file in (Brothel King Folder)/game/saves directory, but it still persist. Does this game have double layer save files (Another that saved in PC User Directory)?
3. Does this game have it own discord community? May i ask it? :)

Thanks in Advance
 

vadi9203

Member
Aug 2, 2019
461
272
1. Why my daily income got penalty? How to get rid of it?
2. I've tried to edit my save file in (Brothel King Folder)/game/saves directory, but it still persist. Does this game have double layer save files (Another that saved in PC User Directory)?
3. Does this game have it own discord community? May i ask it? :)
1. You either have Bast as the trainer (she convert some of you money to materials) or you are in the month wich give penalty to daily incomme
2. there are 2 save folder 1 in the game folder 1 in the username/appdata/roaming/renpy/bro king
3. i didnt hear about it but it's have a forum
 

lhung914

New Member
May 14, 2019
4
1
I've tried and tried i can't get version .2 working. This is what appears right after I pick a class
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKstart.rpy", line 75, in script
    $ enemy_general = get_girls(1, free=True, p_traits=["Warrior"])[0]
  File "game/BKstart.rpy", line 75, in <module>
    $ enemy_general = get_girls(1, free=True, p_traits=["Warrior"])[0]
  File "game/BKfunctions.rpy", line 356, 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 496, in refresh_pictures
    self.portrait = self.get_pic("portrait", "profile", naked_filter = True, and_priority=False, soft=True)
  File "game/BKgirlclass.rpy", line 1025, 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 2796, in get_pic
    piclist = get_pic_list(target, search_tags, and_tags, not_tags)
  File "game/BKfunctions.rpy", line 2747, in get_pic_list
    show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/BKstart.rpy", line 75, in script
    $ enemy_general = get_girls(1, free=True, p_traits=["Warrior"])[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 75, in <module>
    $ enemy_general = get_girls(1, free=True, p_traits=["Warrior"])[0]
  File "game/BKfunctions.rpy", line 356, 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 496, in refresh_pictures
    self.portrait = self.get_pic("portrait", "profile", naked_filter = True, and_priority=False, soft=True)
  File "game/BKgirlclass.rpy", line 1025, 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 2796, in get_pic
    piclist = get_pic_list(target, search_tags, and_tags, not_tags)
  File "game/BKfunctions.rpy", line 2747, in get_pic_list
    show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'

Windows-10-10.0.22000
Ren'Py 7.4.11.2266
Brothel King 0.2 v220711
Sat Feb  4 21:37:56 2023
 

vadi9203

Member
Aug 2, 2019
461
272
I've tried and tried i can't get version .2 working. This is what appears right after I pick a class
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKstart.rpy", line 75, in script
    $ enemy_general = get_girls(1, free=True, p_traits=["Warrior"])[0]
  File "game/BKstart.rpy", line 75, in <module>
    $ enemy_general = get_girls(1, free=True, p_traits=["Warrior"])[0]
  File "game/BKfunctions.rpy", line 356, 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 496, in refresh_pictures
    self.portrait = self.get_pic("portrait", "profile", naked_filter = True, and_priority=False, soft=True)
  File "game/BKgirlclass.rpy", line 1025, 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 2796, in get_pic
    piclist = get_pic_list(target, search_tags, and_tags, not_tags)
  File "game/BKfunctions.rpy", line 2747, in get_pic_list
    show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/BKstart.rpy", line 75, in script
    $ enemy_general = get_girls(1, free=True, p_traits=["Warrior"])[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 75, in <module>
    $ enemy_general = get_girls(1, free=True, p_traits=["Warrior"])[0]
  File "game/BKfunctions.rpy", line 356, 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 496, in refresh_pictures
    self.portrait = self.get_pic("portrait", "profile", naked_filter = True, and_priority=False, soft=True)
  File "game/BKgirlclass.rpy", line 1025, 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 2796, in get_pic
    piclist = get_pic_list(target, search_tags, and_tags, not_tags)
  File "game/BKfunctions.rpy", line 2747, in get_pic_list
    show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'

Windows-10-10.0.22000
Ren'Py 7.4.11.2266
Brothel King 0.2 v220711
Sat Feb  4 21:37:56 2023
Use this:
Code:
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.
 

Yukihirou

Well-Known Member
Feb 4, 2018
1,479
1,328
Seriously, can anyone direct me a way to change chance of random events happening = 100% all the time ? There's ton of cool stuff hidden in those events. In one the high risk event in later district where a sus person attack your brothel, one of your girl got hit by a dart that reset her personality and past, how cool is that ? And I never get that event again some 50 hours later.
And I don't believe the furnitures that are supposed to boost the chance of brothel events are working at all.
 
  • Like
Reactions: __neronero

__neronero

Member
Jan 23, 2021
285
393
Seriously, can anyone direct me a way to change chance of random events happening = 100% all the time ? There's ton of cool stuff hidden in those events. In one the high risk event in later district where a sus person attack your brothel, one of your girl got hit by a dart that reset her personality and past, how cool is that ? And I never get that event again some 50 hours later.
And I don't believe the furnitures that are supposed to boost the chance of brothel events are working at all.
Hot damn, that does sound really cool!

It's a bit complicated because there are lots of places where events can come from, and there isn't one simple change which increases the odds for all of them. For example, the one you mention is a security event, while the furniture is only for "customer events".

There are really obvious ways to provoke more security events: Hoard gold & girls, don't build any safes, don't employ any guards.

Not sure if it'll be fun to play like that though. To fine-tune which security events will proc, open BKsettings.rpy and go to security_events on line 272
What you're referring to is an outcome of the "assassin" security event. To make it more common as a security event, you could change these values as you see fit, eg:

Code:
    # The number next to each event type is the relative weight of a certain event happening at a given alert level
    security_events = {
                        1 : [("assassin", 75), ("thief", 27), ("monster", 27), ("quiet", 6)],
                        2 : [("assassin", 50), ("brawl", 27), ("quiet", 6)],
                        3 : [("assassin", 25), ("raid", 27), ("siege", 27), ("quiet", 6)],
                        }
To help the assassin succeed, make sure not to employ too many guards and don't give your girls any weapons (it does feel like a shame that such a cool possibility is gated behind several levels of bad brothel-management)
 

Yukihirou

Well-Known Member
Feb 4, 2018
1,479
1,328
Hot damn, that does sound really cool!

It's a bit complicated because there are lots of places where events can come from, and there isn't one simple change which increases the odds for all of them. For example, the one you mention is a security event, while the furniture is only for "customer events".

There are really obvious ways to provoke more security events: Hoard gold & girls, don't build any safes, don't employ any guards.

Not sure if it'll be fun to play like that though. To fine-tune which security events will proc, open BKsettings.rpy and go to security_events on line 272
What you're referring to is an outcome of the "assassin" security event. To make it more common as a security event, you could change these values as you see fit, eg:

Code:
    # The number next to each event type is the relative weight of a certain event happening at a given alert level
    security_events = {
                        1 : [("assassin", 75), ("thief", 27), ("monster", 27), ("quiet", 6)],
                        2 : [("assassin", 50), ("brawl", 27), ("quiet", 6)],
                        3 : [("assassin", 25), ("raid", 27), ("siege", 27), ("quiet", 6)],
                        }
To help the assassin succeed, make sure not to employ too many guards and don't give your girls any weapons (it does feel like a shame that such a cool possibility is gated behind several levels of bad brothel-management)
Damn, while we're at it, do you mind showing me how to boost the chance for customer related events as well if it's not too hard to look into ? The one i'm looking for specifically is the event before brothel nigh shifts
-Your girl is late, you question her
-You enter a girl room for inspection
-Tavern/Onsen/Strip club/Okiya related events where you orchestrate how your working girls deal with customers
-Early morning event right after night end and money counted where one of your girl ask to sleep together with you as she's scared of the night.
...

I know this is a bit too much, but that certainly almost all the events for the night shifts aimed at working girls. I look forward to your reply, if possible. Thank you for the above tip.
 
  • Like
Reactions: __neronero

__neronero

Member
Jan 23, 2021
285
393
Damn, while we're at it, do you mind showing me how to boost the chance for customer related events as well if it's not too hard to look into ? The one i'm looking for specifically is the event before brothel nigh shifts
The first two are called random_night_events, and the fourth one is random_morning_events. There's a place to change it in the code, but I think that'll only work for new games (BKstart.rpy line 133)
So here's how to do it for ongoing games:
You don't have permission to view the spoiler content. Log in or register now.

The 3rd one are those "customer events" which the furniture influences among other things. Go to BKfunctions.rpy line 2155 and change it like this:
chance = 10 * girl.get_effect("boost", "customer events") + 10 # +10% base chance of horny customer

If you also want more rapists and unhinged customers/criminals to show up (which the furniture also helps with) then go to BKclasses.rpy line 1760 and change that line to something like this:
if dice(100) <= 2 * self.get_effect("boost", "crazy") + self.get_effect("change", "crazy") + 5: # +5% base chance of crazy customer
 
  • Heart
Reactions: Yukihirou

__neronero

Member
Jan 23, 2021
285
393
Here's an update on 0.3 from the dev, surprising us with a new feature.
Goldo said:
Just wanted to share a new feature that I will progressively roll out with v0.3: A revamped help system, replacing the current clunky dialogue-based help with an in-game encyclopedia of sorts.

I have been meaning to play around with Ren'py and hyperlinks for a while, and I'm pretty happy how it turned out.

I think it will be pretty cool:


Due to the amount of work it will take to retrofit the existing help labels, I will not deliver all of it with 0.3, but the new features will be documented with this system. Hopefully it should make it easier for both new players and experienced ones to learn about the nuances of the game.

A bit like the dialogue system, this is designed to allow for easy writing of descriptions in plain text, and plenty powerful for the game's basic needs. So if you have ideas for detailed help screens, and some time on your hands... Let me know. ;)
Besides the Brokipedia, it also gives a sneak peek on some other upcoming features:
- A third resource in the top bar... Related to the farm?
- Since Moons can have very powerful effects, there's a (hoverable) icon in the top left reminding you of the current moon.
- The default resolution is migrating towards 16:9
- A new typeface to make text a bit more pleasing to the eye
 

Alfre4u

Member
Dec 1, 2018
486
535
Here's an update on 0.3 from the dev, surprising us with a new feature.

Besides the Brokipedia, it also gives a sneak peek on some other upcoming features:
- A third resource in the top bar... Related to the farm?
- Since Moons can have very powerful effects, there's a (hoverable) icon in the top left reminding you of the current moon.
- The default resolution is migrating towards 16:9
- A new typeface to make text a bit more pleasing to the eye
No offence but I really hope given how long its been and how most that is heaa not really much of a thing other then spotting the pink dot which is unknown.

Just hope also that there no issues created including for the countless "mods" though don't see how there would be given they been working forever far as I am aware.
 

morty2301

Member
Oct 9, 2018
400
253
If I delete packs of girls that appeared in my save before, what happens if I try to load it up again? Can I delete some girl packs I don't like anymore without worrying about my save being messed with?
 
4.60 star(s) 50 Votes