CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

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

4.60 star(s) 47 Votes

vadi9203

Member
Aug 2, 2019
378
226
There will be always be people who try to blame others for their own fault. Thats why i said that he should not to blame you as you provided him with the correct answer.
 
  • Like
Reactions: Hermenegild

Hermenegild

Member
Sep 18, 2017
481
256
There will be always be people who try to blame others for their own fault. Thats why i said that he should not to blame you as you provided him with the correct answer.
And thank you for that. Yes, some people cannot - or maybe don't want to - see their own error even after you rub their nose in it. But even though I know such people exist, I have to admit I don't fully understand them. Insulting someone who tries to help you is a suicide strategy.

Well, people are not logical beings, they're emotional ones. Maybe he was anxious for some reason, and what I said tickled a sensitive spot? Still, it's not a problem of mine. I did answer his last post but I'm not going to help him anymore. Why should I?
 

vadi9203

Member
Aug 2, 2019
378
226
Well, people are not logical beings, they're emotional ones. Maybe he was anxious for some reason, and what I said tickled a sensitive spot? Still, it's not a problem of mine. I did answer his last post but I'm not going to help him anymore. Why should I?
Maybe he was. But still insulting people's for their help is not the correct way to do things. And im on your side with this one. Even i wouldnt help people's who are insulting or blaming me for everything.
 

vadi9203

Member
Aug 2, 2019
378
226
And the thing is he is using an older save with the newest patch anyway. The version wich the save is from is the v241117 but he is using the v241128 version of the game as i see it on the last pic. (Opened up the save he provided here)
Maybe thats why he is getting this error. As i mentioned it in my post older save's can cause this kind of error even if the patch is big or small. (Happened a few time in the last few years) the pic from the save.jpg
 
Last edited:
  • Like
Reactions: Hermenegild

Hermenegild

Member
Sep 18, 2017
481
256
Thanks, vadi9203, for proving SilverFire was lying all the time about starting a new playthrough. That's the way to deal with people like him.

And thanks for all your support here. I'm fine, SilverFire is not the first dick I had to put up with, so I'm pretty resilient, but it's always nice to feel supported.
 
Sep 21, 2019
199
154
Anybody happens to know what is the most complete template for the _BK.ini file, or most complete guide?
I am not interested about pictures at the moment, just game mechanics.

This is the best reference I could find but I do not not know if this is the most complete information on the _BK.ini file out there?


Also found this reference for custom traits:

I suppose you could edit girl stats/personalities/etc this way too, if you know the right functions (?).
So I attempted to make a test run with a simple _BK.ini that was working fine without any _events.rpy.
So I applied what was mentioned in this post:

and added this field to _BK.ini under the [backround story] part
Code:
# function to call custom traits, called when girl
init_function = "custom_test_init_trait_function" ; Remember to change the name, must be unique
I created _events.rpy in the same folder (I saw the same pattern in the Boa Hancock folder) and pasted the code mentioned above
Code:
init -2 python:

    def custom_test_init_trait_function(girl): # Remember to change "my_custom_init_function" to something unique, identical to what's mentioned in your _BK.ini

    # This code is executed when your girl is being created (for her first appearance in the slavemarket or in the city)
    # The trait is added to whatever other traits she already spawns with

        global gold_traits, pos_traits, neg_traits
        global trait_dict

        # Start by defining your trait
        # If you just want to add a Trait King trait, you can copy it from /game/Mods/Trait King.rpy

        my_custom_trait = Trait("Idol", verb = "be an", effects=[Effect("change", "customers", 8, dice=True, scope="brothel"), Effect("boost", "job customer budget", 0.1, scales_with = "cust nb")], base_description = "She has lots of adoring fans.")

        try: # Plan A: If Trait King (or any other mod) is active and you're asking for a trait that's already in the dictionary

            girl.add_trait(trait_dict[my_custom_trait.name], pos=1) # pos determines where in the girl's trait list the trait appears

        except: # This is Plan B if the above fails. It adds the trait to a category and dictionary before adding it to the girl

            # You can remove or comment out the line below if you want to add a unique trait that will not randomly appear on new generated girls
            # gold_traits += [my_custom_trait] # change to gold_traits, pos_traits or neg_traits as desired

            trait_dict[my_custom_trait.name] = my_custom_trait

            girl.add_trait(trait_dict[my_custom_trait.name], pos=1)

        return
and obtained this during the game when trying to generate the custom girl test:
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKstart.rpy", line 84, in script call
    call advance_to_chapter(starting_chapter, start=True) from _call_advance_to_chapter_3
  File "game/BKevents.rpy", line 758, in script
    $ calendar.updates(new_district=not start) # new_district disables quest and slavemarket changes
  File "game/BKevents.rpy", line 758, in <module>
    $ calendar.updates(new_district=not start) # new_district disables quest and slavemarket changes
  File "game/BKclasses.rpy", line 3000, in updates
    weekly_updates(new_district)
  File "game/BKfunctions.rpy", line 2793, in weekly_updates
    update_free_girls()
  File "game/BKfunctions.rpy", line 560, in update_free_girls
    game.free_girls += get_girls(nb - len(game.free_girls), free=True)
  File "game/BKfunctions.rpy", line 382, in get_girls
    raise AssertionError("Function " + girl.init_dict["background story/init_function"] + " in " + girl.path + "/_BK.ini doesn't exist or failed.")
AssertionError: Function custom_test_init_trait_function in CustomTest/_BK.ini doesn't exist or failed.

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

Full traceback:
  File "game/BKstart.rpy", line 84, in script call
    call advance_to_chapter(starting_chapter, start=True) from _call_advance_to_chapter_3
  File "game/BKevents.rpy", line 758, in script
    $ calendar.updates(new_district=not start) # new_district disables quest and slavemarket changes
  File "F:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKevents.rpy", line 758, in <module>
    $ calendar.updates(new_district=not start) # new_district disables quest and slavemarket changes
  File "game/BKclasses.rpy", line 3000, in updates
    weekly_updates(new_district)
  File "game/BKfunctions.rpy", line 2793, in weekly_updates
    update_free_girls()
  File "game/BKfunctions.rpy", line 560, in update_free_girls
    game.free_girls += get_girls(nb - len(game.free_girls), free=True)
  File "game/BKfunctions.rpy", line 382, in get_girls
    raise AssertionError("Function " + girl.init_dict["background story/init_function"] + " in " + girl.path + "/_BK.ini doesn't exist or failed.")
AssertionError: Function custom_test_init_trait_function in CustomTest/_BK.ini doesn't exist or failed.

Windows-10-10.0.19045 AMD64
Ren'Py 8.2.0.24012702
Bro King 0.3t v240825
Sat Nov 30 22:08:59 2024
EDIT: Ok the thread was a bit old just had to follow to the last message... So basically the answer is there.
 
Last edited:

Hynegard

Newbie
Aug 31, 2023
45
170
And, after all that, you end up with the same plastic faced celebrity knock off character in different wigs and poses

Though to be fair, most girls they're modelled off also look kind of plastic faced as well, so I can't blame the AI for that >.>

Thankfully, F95 has a tag for AI CG so it can be safely ignored if someone doesn't want to see it.
That is absolutely incorrect and quite common from brain dead idiots that have no understanding of how AI Art works.
 

Hynegard

Newbie
Aug 31, 2023
45
170
I've never used one of the more advanced computer programs for ai generated content - I've mostly just used online one tbh
Yeah, if all you ever use is MD and DALLE-3, or even the Flux from Grok or POE, you will never get anything even remotely consistent and you will be locked into the "common" AI art styles.

When done correctly, you get things like this:

1732977561800.png 1732977596071.png 1732977653915.png
 

vadi9203

Member
Aug 2, 2019
378
226
I think you don`t understand english very well. Or you don`t think very much. Yes, the two screenshots show two different problems. The first one i get when i decompress the base game(the file Brothel_King-pc-0.3t.zip). I`ve downloaded this file from each and every source link in the original post, i get the same 7zip error for each downloaded file from all the sources. It is not a problem from me or from 7zip (i`ve downloaded and extracted this file with 7zip on multiple computers with the same result/error) it`s a problem from this file, it was uploaded like this, on all source links. I don`t know if it`s corrupted or not, i`ve never seen before this kind of error in my entire life.

The second problem is that the game crashes after i complete the first chapter, just before i could start the second chapter.

I have provided screenshots again with the 2 problems. I`ve also attached a save file from right before the crash.
Now, if you are gonna try to teach me again how to patch the game(even tho i`ve already said/provided you multiple times with evidence that i`ve correctly patched the game and that it is a new playthrough after i patched the game) i will kindly ask you to go shoot yourself and let someone else with more gray matter between their ears than you answer me.

Picked up this error when loading in a save and starting a night.

CodeSelect Expand
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKday_events.rpy", line 634, in script
return
Exception: Could not find return label ('game/BKevents.rpy', 1730174316, 26809).

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

Full traceback:
File "game/BKday_events.rpy", line 634, in script
return
File "F:\Program Files\Brothel_King-pc\renpy\ast.py", line 1495, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "F:\Program Files\Brothel_King-pc\renpy\execution.py", line 741, in lookup_return
raise Exception("Could not find return label {!r}.".format(self.return_stack[-1]))
Exception: Could not find return label ('game/BKevents.rpy', 1730174316, 26809).

Windows-10-10.0.19045 AMD64
Ren'Py 8.2.0.24012702
Bro King 0.3t v241014
Tue Oct 29 17:56:09 2024
Don't forget that while you can save pretty much anywhere, I strongly recommend saving on the Home screen. Especially do not save while night events are unrolling. In some rare cases you may get a broken save, and then there's nothing to do except revert to the previous autosave. I guess I could try to disable Ren'py saves during the night to make this extra safe.


Found a similliar error on the HHS forum. And this was the answer from Goldo. It was a broken save too but for another reason.
 

Sedirio1234556

New Member
Sep 30, 2021
3
30
I got a question someone probably commented already, but wouldn't be useful to invest in AI gen packs, so that at least you can have cohesiveness between different scenes?
 

vadi9203

Member
Aug 2, 2019
378
226
I got a question someone probably commented already, but wouldn't be useful to invest in AI gen packs, so that at least you can have cohesiveness between different scenes?
There are already some packs with AI gen images. But even those have more of the original ones. You can find them in the BK girlpack spreedsheet and there is a whole community here and on the HHS forum who are working on girlpacks.

The F95 community page. The . And the .
 
Last edited:
  • Like
Reactions: Hermenegild

Wolfefang

Newbie
Jan 28, 2020
47
11
I can't seem to get the achievements to work outside of sleeping with the maid.

Edit:

Sorry apparently it was because I used 7zip to extract the files. :p
 
Last edited:

Teritius

Newbie
Jan 5, 2021
64
20
I play as a fighter so training constitution is the one thing I have zero problems with. Everything else needs charisma, and I start with it being zero so I struggle training obedience properly :)

As for the farm, I usually put girls there if my own brothel is full and can't be expanded further. This way I have a few not-quite-newbies ready at the moment I go to a next chapter. While they're there, I ask Gizel to train them in:
  • sensitivity - as there's no reliable way to train sensitivity in the brothel,
  • constitution - I usually go for the strange machine as soon as possible, and having 50+ constitution is key there,
  • obedience,
  • libido - but I usually take a girl out before she gets to this stage.
...in that order. If you ask Gisel not to pressure the girl at all, they don't even earn fear, so I don't see this method as questionable. Slow, yes, but not questionable.
I'm a bit late, but the girls have a chance of gaining sensitivity based on your charisma, when you ask them about how the feel about working with customers.
In fact, most of the conversation options have a chance of increasing a stat.
 

Hermenegild

Member
Sep 18, 2017
481
256
I'm a bit late, but the girls have a chance of gaining sensitivity based on your charisma, when you ask them about how the feel about working with customers.
In fact, most of the conversation options have a chance of increasing a stat.
Of course. However, I was talking about a reliable way, not something chance-based.

Training oral also has a chance of improving sensitivity. Many random events do, too. But the only way I found to consistently increase it is the farm. Again, I play as a warrior, so no hypnosis for me.
 
Sep 21, 2019
199
154
I think there's some bug in the edition of _BK.ini files in this current game version,

generate_as = "all" seems to work. generate_as = "free" makes girl never appear. Tried that with activating only two girl packs to test. Not sure about generate_as = "slave".

Aside from that, it seems like a lot of events that are supposed to give you items do not work either. Can't load rank 1 rank 0 whatever items.

EDIT: The problem seems to be "free" AND "unique = True". Basically if "free" without "unique" is activated you see shit ton of clones in free, but with "all" and "unique = True" they can only appear in the slave market. I do not think this was the intended behaviour.
Are there some special properties that force the girl to be not possibly free and unique? Traits are random and so are stats. Weird...

EDIT2: Ok so playing around with game.free_girls, the girls with "unique = True" and "generate_as = "free"" do not show up in the UI, but their data is there. By manually changing the base pack of Boa Hancock to "unique = True" and "generate_as = "free"" and using the renpy command

for g in game.free_girls: print(g.pack_name)

I see one occurence of Boa Hancock, but the UI isn't there. By manually setting every girl of game.free_girls to Boa Hancock (basically doing game.free_girls[X] = game.free_girls[Y] where Y is where Boa Hancock is), no girl shows up in the UI, it's a ghost city...

EDIT3: Ok, if I don't want to cheat, but interact with the girl, I have to look it up on
Python:
for g in game.free_girls: print(g.pack_name)
and then type
Python:
show screen free_girl_interact(game.free_girls[Y])
where Y is the position of the girl in the array (starting from 0). Apparently it is just having a girl with "unique = True" at generation time that causes this problem. Must be related to a _BK.ini loading problem, since manually changing the "game.free_girls[Y].original" field doesn't do anything. Which field? I do not know yet.

EDIT4: Don't do that ^, game is stuck.
 
Last edited:

vesolan

Newbie
Jun 5, 2017
32
18
any one know the console command to add a trait to a girl ?
i did find this
Yes, just add them to the existing list(s) of traits
If you're using Trait King, you open up "Trait King.rpy" and add your traits somewhere. For example, under traitking_gold_special below the "In demand" trait @ line 546, and then you start a new game.


You don't have permission to view the spoiler content. Log in or register now.


If you want to add them to your existing game, I guess the simplest way is to just select your girl and type whatever trait you want into the console (but then it won't randomly appear on new generated girls)
girl.add_trait(Trait("Armpit Vaginas", verb = "have", eff1 = Effect("increase satisfaction", "all sex acts", 1), base_description = "She has an extra vagina under each armpit."))
but i dont know if thats what im looking for i could not make it work i want to add a trait that is already in the game to a girl like "Virgin" or "sweet"
 

Bahred

Newbie
Jun 2, 2019
45
26
Chrome is warning me some of the girl files are infected with a virus, any reason to be concerned over the ones that are 'clean'?
 

stridsvagn

New Member
Mar 5, 2022
7
19
Anyone getting BSOD randomly with CLOCK_WATCHDOG_TIMEOUT? Installed patch, new game, tried using both GL2 and Angle2 renderers. Crashes don't produce a stacktrace or error log. There's probably an instruction error but idk how make sense of the memory dump files. Windows 11 with up-to-date Nvidia graphics drivers.
 
Last edited:

korte7

Newbie
Jul 20, 2020
29
45
EDIT: There is a patch in the downloads, that fixes all problems mentined below!

I noticed some bugs, these might have already been mentioned earlier in the thread, I didn't check. What is the general consensus? Can we expect a bugfix version sometime soon?

The bugs:

1. Some story scenes have the grey checkered background showing at the edges of a 16:9 view.

2. If you chose Maya to be the new guard captain, the scene at the guard tower will have a default grey renpy figure shape for her sidekick guy (what is his name?) and then later in the captain's room for Maya as well.

3. When choosing perks for girls at the level up screen, if you don't click Cancel or Confirm, but click to the edge, where the overlayed level up screen doesn't cover the girl screen, there is a renpy error screen, but you can rollback from there.

4. When having some things in MC inventory, and opening girl inventory to give some item to her, moving to the 3rd or higher page of MC inventory also gives a renpy error where you can rollback from.

5. In the city girl view when all the options are unlocked for a girl, half of the "Ask for fetish" line spills over at the bottom of the screen. (I don't even remember if there is supposed to be anything below that.)
 
Last edited:
  • Like
Reactions: RandomFapinator
4.60 star(s) 47 Votes