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

4.60 star(s) 46 Votes

czertik

Active Member
Apr 25, 2018
822
263
Kite80
hmm, i have 16 bg memory, so memory shouldnt be problem. mayby some conflict with antivirus or different program ?

and now i have question - near end of chaper 1, when you enter thives guild, zou have option to rape maya (blue hair girl), so im interesed - if you rape her, it is still posible to get her to be captaion of the guard ? and expose booth corrupt captain and thives guild spy lieatnant ?


and what is your preference, do you free boss of thives guild at end, to repay debt, or keep her prisoner ?
 

czertik

Active Member
Apr 25, 2018
822
263
amd just idea - it is posible to add indicator how many undiscovered option are left at sex training < to prevent wasting action if everthing there is allready explored.
Similar for talsk zout her origins/likes/displikes.
 

czertik

Active Member
Apr 25, 2018
822
263
got this error when visited a shop to look for new stuff. new game started in 0.15. chapter 1 completed.

Code:
I'm sorry, but an uncaught exception occurred.

While loading <'Scale' <'Image' u'NPC/Misc/shop_girl.png'> 150 150 True>:
  File "game/BKmain.rpy", line 1570, in script
    $ shopgirl("Hi, handsome! Please take a look at my wares... *wink*{w=0.6}{nw}")
  File "game/BKmain.rpy", line 1570, in <module>
    $ shopgirl("Hi, handsome! Please take a look at my wares... *wink*{w=0.6}{nw}")
KeyError: <'Image' u'NPC/Misc/shop_girl.png'>

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

Full traceback:
  File "game/BKmain.rpy", line 1570, in script
    $ shopgirl("Hi, handsome! Please take a look at my wares... *wink*{w=0.6}{nw}")
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/BKmain.rpy", line 1570, in <module>
    $ shopgirl("Hi, handsome! Please take a look at my wares... *wink*{w=0.6}{nw}")
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\character.py", line 1016, in __call__
    self.do_display(who, what, cb_args=self.cb_args, **display_args)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\character.py", line 817, in do_display
    **display_args)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\character.py", line 566, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\ui.py", line 287, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\core.py", line 2649, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\core.py", line 3132, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\core.py", line 2055, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 485, in renpy.display.render.render_screen
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\screen.py", line 669, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "accelerator.pyx", line 108, in renpy.display.accelerator.transform_render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\image.py", line 495, in render
    return wrap_render(self.target, width, height, st, at)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\image.py", line 306, in wrap_render
    rend = render(child, w, h, st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\im.py", line 580, in render
    return cache.get(self, render=True)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\im.py", line 266, in get
    surf = image.load()
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\im.py", line 805, in load
    child = cache.get(self.image)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\im.py", line 335, in get
    self.kill(ce)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\display\im.py", line 347, in kill
    del self.cache[ce.what]
KeyError: <'Image' u'NPC/Misc/shop_girl.png'>

Windows-8-6.2.9200
Ren'Py 7.0.0.196
Brothel King 0.15
Mon May 27 14:51:02 2019
 

Ryuubei

Newbie
Dec 9, 2018
50
39
Getting this on launch:

```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKstart.rpy", line 51, in script call
call init_game() from _call_init_game
File "game/BKstart.rpy", line 199, in script
python:
File "game/BKstart.rpy", line 1312, in <module>
calendar.updates()
File "game/BKclasses.rpy", line 1894, in updates
weekly_updates()
File "game/BKfunctions.rpy", line 2018, in weekly_updates
update_free_girls()
File "game/BKfunctions.rpy", line 278, in update_free_girls
game.free_girls += get_girls(nb - len(game.free_girls), free=True)
File "game/BKfunctions.rpy", line 169, in get_girls
girl.randomize(free=free, p_traits=p_traits, n_trait=n_trait, perks=perks)
File "game/BKgirlclass.rpy", line 192, in randomize
self.set_preferences()
File "game/BKgirlclass.rpy", line 2600, in set_preferences
self.pos_fixations = [fix_dict[fix] for fix in self.init_dict["sexual preferences/always_fixations"]]
KeyError: 'bisexual'

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

Full traceback:
File "game/BKstart.rpy", line 51, in script call
call init_game() from _call_init_game
File "game/BKstart.rpy", line 199, in script
python:
File "/Users/davidtaylor/Downloads/renpy-7.2.2-sdk/renpy/ast.py", line 900, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Users/davidtaylor/Downloads/renpy-7.2.2-sdk/renpy/python.py", line 1930, in py_exec_bytecode
exec bytecode in globals, locals
File "game/BKstart.rpy", line 1312, in <module>
calendar.updates()
File "game/BKclasses.rpy", line 1894, in updates
weekly_updates()
File "game/BKfunctions.rpy", line 2018, in weekly_updates
update_free_girls()
File "game/BKfunctions.rpy", line 278, in update_free_girls
game.free_girls += get_girls(nb - len(game.free_girls), free=True)
File "game/BKfunctions.rpy", line 169, in get_girls
girl.randomize(free=free, p_traits=p_traits, n_trait=n_trait, perks=perks)
File "game/BKgirlclass.rpy", line 192, in randomize
self.set_preferences()
File "game/BKgirlclass.rpy", line 2600, in set_preferences
self.pos_fixations = [fix_dict[fix] for fix in self.init_dict["sexual preferences/always_fixations"]]
KeyError: 'bisexual'

Darwin-18.6.0-x86_64-i386-64bit
Ren'Py 7.2.2.491
Brothel King 0.15
Mon May 27 16:08:32 2019
```
 

czertik

Active Member
Apr 25, 2018
822
263
and another ideas, when zou are presented choices, pls add us ther at least some hint about how big reward/result will be. just have event in which i meet purple girl from sewers which i saved some time ago..and just get lousz 500 gold as reward }i get that money per one day - so nothing special. if i knowed it will be that small, i should chose something more intimate :)

and here comes another idea pls give us warning that you can use carpented wagoon if you have rsources and nothing building OR make que realy wotking - so that you can have multiple works planed , all will be completed one by one.
 

Doc_Odd

Member
Jun 15, 2017
100
115
I'm also having problems with the game slowing down later. Looking through the code, there's a lot of stuff that's buried in lists and dictionaries (and lists of lists and dictionaries) that I'm guessing isn't helping. Though admittedly python uses similar methods to just deal with variables as to deal with dictionary entries, it still introduces some friction to make it look up strings in lists and dictionaries instead of objects just having variables for the associated properties. At least based on my limited experience with python, I'd look to seeing if adjusting some of that can help with the speed. Profiling is obviously the best way to find slow downs, but I don't know how to profile renpy code; a standard python profiler surely isn't going to be able to cope with the renpy stuff.
 

Kite80

Well-Known Member
Modder
May 30, 2017
1,079
1,068
As I said, you need to select Shalia as MC faith when you start the game (don't know if by choosing another thing, then you can change it during play). The chain of events of the main storyline will bring MC to meet her, can't miss it.
 

Kite80

Well-Known Member
Modder
May 30, 2017
1,079
1,068
Ryuubei your problem is a girl pack having a bad BK.ini file, I recommend you to download the latest patch which implements a function handling such problems, it will tell you which girl pack has the bad BK.ini.

The other bugs have been reported, unfortunately they seem common, I wonder why they never showed up during the testing...

Doc_Odd I agree with you when you say BK needs some "weight lifting", maybe in future Goldo will try to implement lighter functions and data structures, for now I will suggest him to think about it as an important matter.

czertik I suggest you to save before choosing something involving an NPC, so you can reload if you want to try every possibility, I always do that. Many things you suggest could be possible, surely a furniture build queue would be great (I'm among the people who often forget to build for days...); but consider that like many other games, BK has many things to explore and learn, if everything was suggested since the beginning it would be boring and ruin replayability. I don't now anyone who would play a game which constantly tells you what to do...
Finally the questions about the main storyline: if you rape Maya during the thieves guild events, you won't see her anymore, MC will only meet Roz looking for her, you won't be able to choose to denounce both the captain and the lieutenant and won't get her as a trainer. I usually part for Maya, but let Renza escape so that I can do the onsen event later on and still can visit her warehouse.

Hope I've answered everything, if not please forgive me and ask me again :)
 
  • Like
Reactions: Ryuubei

TheKingCobra

Member
Donor
Dec 6, 2016
417
650
Girls with a broken bk.ini:
Erina Nakiri
Sakuya Izayoi
Hinata Hyuga
Cortana
Many of them have "Long Legs" when it should be "Long legs" or "Monster" when it should be "monster". Some also have "Shrewd" which isn't valid.

I've downloaded most of the girl packs from that thread and all of the BK.ini files were super easy to fix.
 
  • Like
Reactions: ZioBen
Jan 8, 2019
56
37
I was going to leave here with just my bad artoria events pack but then I got inspired to try something and got it to work. So I'm gonna do at least 2 more Ahri ones and other misc ones in the future.

I dunno maybe it's something about Ahri that makes her seem more energetic when she is fucking someone ;).

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

Need some help with some plot points "achievement" preferences. For reference I may use the two Ahri scenarios I have planned.

I've said in a prev post I wanted these events to "unlock" as you do BK things. I'm not good enough / want to learn renpy enough to do really intricate things but an events room with some conditionals should be no problem. Before I delve into or ask someone with more experience than me to hep to dig for relevant code/functions I just want to know some what some players might want. I'm gonna be writing in some English pseudo code for these. I don't know if these or any of the relevant functions exist atm but most of them should.

For an anal/fetish/sex etc "reward scene" or general special scene-

What would be one as a player most fulfilling/rewarding/not to tedious way to unlock it. Some ideas/thoughts.

Code:
If girl.charpref(anal) is "fascinated" = True then it would show the scene, otherwise return text "Girl isn't slutty enough in anal yet."
Once a girl reaches interested, very interested, fascinated you could see that specific scene.

Doing a certain training X amount of times.

Code:
If girl.chartrain(anal) > 49 = True it would show the scene....
This would probably require having a counttrain already in each of the training codes or putting one in though...

So you would get to see the scene once you spam a certain training on her.

Title based. At the moment we don't have much if any? use for titles. Like Beginner whore etc.

Code:
If girl.chartitle (Anal Fanatic) = True it would show the scene....
Checks for a specific title the girl has and you can see the scene in the room if they have it.

Rank/Job Score Based.

Code:
If girl.charscore(anal) > 99 = True it would show the scene.....
This levels up a bit fast I believe but you could have it so you need like 100-200 points in anal to unlock a scene.
Bad to have a scene locked by Rank X but having it unlocked too easily is also sort of bad earning wise.

I might be missing one or two ideas and might edit this again.


Things I want to/will for try to do for sure:

Titles based events
- Imagine an Ahri scene where she does a concert and you're actually rewarded for leveling up her as a Dancer and having a mid/high tier dancer title, Rip no dedicated Singer job.

Energy/Job based events - A scene could change or not happen at all if she maybe is tired or is doing a different job. Think Ahri doming a bunch of men if she has a lot of energy or getting gangbanged instead if she was tired/hurt.

Item based events - You need a specific item equiped to do an event. You can maybe use one of those Aphrodesiacs/random books/potions that nobody buys as cost. Another cool thing is to have maybe a cost. Pay your whores 100k bk dollars each time you want to view a scene. But really something like paying 10 diamonds for unlocking a scene. Lore wise her making a fancy dress or spending it on something to seduce you with etc.

And hey how convenient bk has a school uniform class of equips.

To unlock the Academy Ahri scenes you have to have Ahri equipped with a school uniform. It could also be made so the "better the uniform" the more actions she can do.

Also for the Academy Ahri scene would you prefer her to do all her things in a day or have them split up into choices. Either way they'ed be 3-5 liners but both options have their advantages.



Tl.DR Tell me cool/good ways to unlock events in an event room and I'll ask/find out for myself and see if I can make those conditionals work for my future wip Ahri pack and potentially other events/packs to come.
 

Anatolj

New Member
May 8, 2017
14
89
Can someone tell me where can i find / trigger the weapon merchant, i'm at the final act and have no luck finding them (If it was already asked, then sorry, didn't find anything regarding this issue.).
 

don2sail

Newbie
Jun 3, 2017
98
47
as of version .15 I am unable to activate special training. 2 different girls, 3 different fixations, always get the message that girl is not familiar enough with the sex acts to cure this fixation. One girl has reached max training level (50) for the particular skill. Must I wait for level 2 brothel?
 

czertik

Active Member
Apr 25, 2018
822
263
found bug or overlook - i just build librarz which set girls max skill to 75...and all have this max limit (sometimes 80), and thats all. it dont take into acount other perks or skills. especialy model tree and overarchiver which gives +10 to all max skills (limit).
yeah once you promote girlt to rank b overarchiver works again...but im afraid it will stop working again when you bild better library.
 

czertik

Active Member
Apr 25, 2018
822
263
suggestion - pls add screen/scroll at which you can see all active quests. short time ago i got visited by un/dead racoon which send stella? that she wish meet me, and that she will be angry if i will disapoint her. well, i searched various places , and event where to meet her didnt showed.
so some reminder where to find her will be nice.

and now bug
when i visited boa hancock in her room i got this error

well, i got error for every visit in her room except first one in which i learned she have pet snake and i decided to keep it.
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 1233, in script call
    call slave_interact(girl) from _call_slave_interact
  File "game/BKinteractions.rpy", line 531, in script call
    call expression custom_label pass (girl=girl) from _call_expression_2
  File "game/girls/Boa_Hancock/_events.rpy", line 308, in script
    if girl.get_stat["libido"] < 100:
  File "game/girls/Boa_Hancock/_events.rpy", line 308, in <module>
    if girl.get_stat["libido"] < 100:
TypeError: 'instancemethod' object has no attribute '__getitem__'

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

Full traceback:
  File "game/BKmain.rpy", line 1233, in script call
    call slave_interact(girl) from _call_slave_interact
  File "game/BKinteractions.rpy", line 531, in script call
    call expression custom_label pass (girl=girl) from _call_expression_2
  File "game/girls/Boa_Hancock/_events.rpy", line 308, in script
    if girl.get_stat["libido"] < 100:
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\ast.py", line 1729, in execute
    if renpy.python.py_eval(condition):
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\python.py", line 1943, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\python.py", line 1936, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/girls/Boa_Hancock/_events.rpy", line 308, in <module>
    if girl.get_stat["libido"] < 100:
TypeError: 'instancemethod' object has no attribute '__getitem__'

Windows-8-6.2.9200
Ren'Py 7.0.0.196
Brothel King 0.15
Tue May 28 22:44:11 2019
 

czertik

Active Member
Apr 25, 2018
822
263
got this error when i forwarded to capter 4 and was taling for first time at library

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 382, in script call
    $ renpy.call(selected_location.menu[1])
  File "game/BKevents.rpy", line 3827, in script call
    call visit_merchant(NPC_twins) from _call_visit_merchant_9
  File "game/BKmain.rpy", line 382, in script call
    $ renpy.call(selected_location.menu[1])
  File "game/BKevents.rpy", line 3807, in script call
    call visit_merchant(NPC_riche) from _call_visit_merchant_4
  File "game/BKmain.rpy", line 353, in script call
    python:
  File "game/BKevents.rpy", line 274, in script call
    $ ev.play()
  File "game/BKstory_events.rpy", line 17751, in script
    "Katryn gave you a slightly burnt [it.name]."
AttributeError: 'bool' object has no attribute 'name'

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

Full traceback:
  File "game/BKmain.rpy", line 382, in script call
    $ renpy.call(selected_location.menu[1])
  File "game/BKevents.rpy", line 3827, in script call
    call visit_merchant(NPC_twins) from _call_visit_merchant_9
  File "game/BKmain.rpy", line 382, in script call
    $ renpy.call(selected_location.menu[1])
  File "game/BKevents.rpy", line 3807, in script call
    call visit_merchant(NPC_riche) from _call_visit_merchant_4
  File "game/BKmain.rpy", line 353, in script call
    python:
  File "game/BKevents.rpy", line 274, in script call
    $ ev.play()
  File "game/BKstory_events.rpy", line 17751, in script
    "Katryn gave you a slightly burnt [it.name]."
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\ast.py", line 652, in execute
    renpy.exports.say(who, what, interact=self.interact, *args, **kwargs)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\exports.py", line 1199, in say
    who(what, *args, **kwargs)
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\character.py", line 1003, in __call__
    what = what_pattern.replace("[what]", sub(what, translate=translate))
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\character.py", line 985, in sub
    return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0]
  File "D:\burn-hry\192 Game Keygens\35 Hentai Games\Brothel_King 0.15-pc\renpy\substitutions.py", line 242, in substitute
    s = formatter.vformat(s, (), kwargs)
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 563, in vformat
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 585, in _vformat
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 652, in get_field
AttributeError: 'bool' object has no attribute 'name'

Windows-8-6.2.9200
Ren'Py 7.0.0.196
Brothel King 0.15
Tue May 28 23:41:29 2019
 

Lust Demon

Member
Apr 22, 2018
100
85
For a girl refusing certain sex acts the only way is to train her (or lecturing her if she refuses to train) until her preference changes. It is a normal game mechanic and one of the challenges for a trainer. Please note that girls with strict moral are harder to be trained than easy going ones; anyway, it's not impossible to train such stubborn girls and turn them into real sluts ;-)

Yeah... I've got one that refuses a certain act. I sent her to the farm for weeks and all it did was max the skill out; which is pretty useless when they refuse to use said skill. I brought her home and trained her everyday for a few more weeks. Train % went up 2-3 points, but still says "refuses." It's a formula I really want to know because there's not much difference between "can't be done" and "you could sell her off, and have trained another one by now." It MAY be mathematically possible (I'd have to know the code) but it could still be a wash.

Sure, several other ones were a PITA, but I got 'em through. This one... ugh... I hate giving up, but there's no button for "How many times do I have to do this before you get the point?" The chick is already terrified by this point, and half the time, despite the 97% "will train" she refuses that too.

Come to think of it, the amount she refuses is A LOT more than 3%. Something doesn't add up.

Edit: Found a solution. After 6 rounds of hypnosis she finally broke.
 
Last edited:

Kite80

Well-Known Member
Modder
May 30, 2017
1,079
1,068
Another solution for girls refusing sexual acts: lecture her about that act 2-3 times, then start training her, it will only need a week or so to change her preference from "refuses" to a better one.
 
4.60 star(s) 46 Votes