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

4.60 star(s) 48 Votes

khumak

Engaged Member
Oct 2, 2017
3,883
3,946
Nice to see the official version move to the 2.0 version. Won't have time to try it again til the weekend.
 
May 16, 2017
46
50
Nope. Still just as broken. I've got a pretty expansive girl pack roster, and I ran it through the packer. No dice. Added _BK.ini files to each that was missing one. Still broken. The girls simply do not exist, and I'm still getting nonstop errors.
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
...I'm declaring it unsalvageable. Glad it's working for some of you, but this isn't worth the frustration for me anymore.
...I'm still getting nonstop errors.
Given that virtually everyone else can get the game to work, the issue must be with you. Maybe not with you as a user/individual, but still.

Post your error traceback, we can take a look and see if we can diagnose what you're doing wrong or whether there's a deeper issue.
 
  • Like
Reactions: DuniX

arum

New Member
Jun 8, 2018
4
3
nope same here: nonstop errors, doesn't recognise the girls, win 10

edit: clearing out all the old saves worked! thanks
 
Last edited:

Jman9

Engaged Member
Jul 17, 2019
2,295
965
The more we need an actual error report with a traceback of the first error, not just what are basically rumours. You don't debug rumours. :cry: Big companies with dedicated QA throw up their hands at that point.
 
  • Like
Reactions: DuniX
Feb 24, 2019
260
77
"Well, he's not the only one. as an unofficial tester ( i test shit whenever I have time) Ive been having issues with theis new version of Bk as well which is unfortunate because I love the game :)

"Well..had some time to test your new version of BK and gotta say I like the idea that you dnt make anything unless your girls actually does well. However once I got a girl to the point that she could work as a whore I would run into errors during the "End Day" phase, afterwards if I'd ignore the error it would slow the game and make more errors occur when the program doesnt respond and when trying to save..was going to save an error but the game crashed.. tried this initially on another girl but made a new start when i started getting errors"

Ive been chating with Kite abit privately. I will keep attempting whatever I can to get things to work.

Edit: Followed your instructions vadi.. before even starting after character creation.. how do I fix this?

1633649610334.png
 
Last edited:

Jman9

Engaged Member
Jul 17, 2019
2,295
965
Sigh. Again, if there are no specific errors reported and others can run the game okay, it points to either mistakes on your part or something peculiar about your setup. So reporting 'run into errors' and 'more errors' doesn't help anyone. Not you, not the beta testing, not other players.

Post these errors either here or on HHS, this way Goldo or other helpful people can check what exactly is wrong and hopefully solve the issue.

Edit: The error you posted is from a bad _BK.ini. Track down Scathach, edit or remove her .ini.
 
May 16, 2017
46
50
Given that virtually everyone else can get the game to work, the issue must be with you. Maybe not with you as a user/individual, but still.

Post your error traceback, we can take a look and see if we can diagnose what you're doing wrong or whether there's a deeper issue.

So before anything else, this always pops up:


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

While running game code:
  File "renpy/common/00start.rpy", line 309, in script call
    call expression "before_main_menu"
  File "game/BKevents.rpy", line 109, in script
    if not persistent.girl_mix["default"]:
  File "game/BKevents.rpy", line 109, in <module>
    if not persistent.girl_mix["default"]:
KeyError: u'default'

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

Full traceback:
  File "renpy/common/00start.rpy", line 309, in script call
    call expression "before_main_menu"
  File "game/BKevents.rpy", line 109, in script
    if not persistent.girl_mix["default"]:
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\ast.py", line 1832, in execute
    if renpy.python.py_eval(condition):
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\python.py", line 2059, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\python.py", line 2052, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/BKevents.rpy", line 109, in <module>
    if not persistent.girl_mix["default"]:
KeyError: u'default'

Windows-8-6.2.9200
Ren'Py 7.3.5.606
Brothel King 0.2 v210826
Thu Oct 07 18:42:29 2021
When I start a new game, the game breaks the same, but if I skip the intro text flashes up in the corner nonstop:
removing default from game mixes

If I even so much as hover over girls:
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKstart.rpy", line 100, in script call
    call choose_difficulty()
  File "game/BKevents.rpy", line 342, in script
    $ r = ui.interact()
  File "game/BKevents.rpy", line 342, in <module>
    $ r = ui.interact()
  File "game/BKscreens.rpy", line 5569, in execute
    screen quick_start():
  File "game/BKscreens.rpy", line 5569, in execute
    screen quick_start():
  File "game/BKscreens.rpy", line 5575, in execute
    vbox xalign 0.5 yalign 0.5 xsize int(0.95*config.screen_width):
  File "game/BKscreens.rpy", line 5593, in execute
    frame xpadding 20 ypadding 20 xfill True ysize int(0.8*config.screen_height):
  File "game/BKscreens.rpy", line 5594, in execute
    has vbox xfill True spacing 20
  File "game/BKscreens.rpy", line 5595, in execute
    if panel == "MC":
  File "game/BKscreens.rpy", line 5696, in execute
    vbox spacing 20 xalign 0.05:
  File "game/BKscreens.rpy", line 5701, in execute
    hbox spacing 30 xfill True xalign 0.05:
  File "game/BKscreens.rpy", line 5723, in execute
    $ selected_girlpacks = get_selected_girlpacks(persistent.game_mixes)
  File "game/BKscreens.rpy", line 5723, in <module>
    $ selected_girlpacks = get_selected_girlpacks(persistent.game_mixes)
  File "game/BKfunctions.rpy", line 156, in get_selected_girlpacks
    girlpacks += [gp for gp in persistent.girl_mix[mix] if gp not in girlpacks]
KeyError: u'default'

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

Full traceback:
  File "game/BKstart.rpy", line 100, in script call
    call choose_difficulty()
  File "game/BKevents.rpy", line 342, in script
    $ r = ui.interact()
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\ast.py", line 914, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/BKevents.rpy", line 342, in <module>
    $ r = ui.interact()
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\ui.py", line 297, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\core.py", line 2702, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\core.py", line 3094, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\core.py", line 541, in visit_all
    d.visit_all(callback, seen)
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\core.py", line 541, in visit_all
    d.visit_all(callback, seen)
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\core.py", line 541, in visit_all
    d.visit_all(callback, seen)
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\screen.py", line 430, in visit_all
    callback(self)
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\core.py", line 3094, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\screen.py", line 440, in per_interact
    self.update()
  File "E:\Archive\Program Files\BroKing\Brothel_King-pc\renpy\display\screen.py", line 625, in update
    self.screen.function(**self.scope)
  File "game/BKscreens.rpy", line 5569, in execute
    screen quick_start():
  File "game/BKscreens.rpy", line 5569, in execute
    screen quick_start():
  File "game/BKscreens.rpy", line 5575, in execute
    vbox xalign 0.5 yalign 0.5 xsize int(0.95*config.screen_width):
  File "game/BKscreens.rpy", line 5593, in execute
    frame xpadding 20 ypadding 20 xfill True ysize int(0.8*config.screen_height):
  File "game/BKscreens.rpy", line 5594, in execute
    has vbox xfill True spacing 20
  File "game/BKscreens.rpy", line 5595, in execute
    if panel == "MC":
  File "game/BKscreens.rpy", line 5696, in execute
    vbox spacing 20 xalign 0.05:
  File "game/BKscreens.rpy", line 5701, in execute
    hbox spacing 30 xfill True xalign 0.05:
  File "game/BKscreens.rpy", line 5723, in execute
    $ selected_girlpacks = get_selected_girlpacks(persistent.game_mixes)
  File "game/BKscreens.rpy", line 5723, in <module>
    $ selected_girlpacks = get_selected_girlpacks(persistent.game_mixes)
  File "game/BKfunctions.rpy", line 156, in get_selected_girlpacks
    girlpacks += [gp for gp in persistent.girl_mix[mix] if gp not in girlpacks]
KeyError: u'default'

Windows-8-6.2.9200
Ren'Py 7.3.5.606
Brothel King 0.2 v210826
Thu Oct 07 18:44:50 2021

I have experience with coding, so I can troubleshoot some issues. Follow the path, but I'm not only unfamiliar with Renpy and Python, but all that just looks like pure gobledegook. I imagine there's nothing wrong with my files, since I'm using the same copy as everyone else too, so I'm not sure file manipulation is the answer, but that doesn't leave me with a whole lot.

It could be an issue with the girl packs, but I still get the launch issue with an empty folder. I know the game detects the girls because it can do pack updates, but then it can't read them. It's very likely a lot of them are deprecated formats, but I'm confident at least a handful are quite update and so there shouldn't be any issue. Even setting the girl options to hide improper packs doesn't negate the error.
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
if not persistent.girl_mix["default"]:
KeyError: u'default'
The explanation and answers are .

There are two easy solutions: either delete your 'persistent' data by nuking both saves folders (in the game directory and under Appdata), or just consoling 'persistent.girl_mix["default"] = []'. I think the issue has been discussed in this thread here, too.

I have experience with coding... all that just looks like pure gobledegook.
Most of it is usually indeed pointless. The majority of the time, it's the last line that tells you exactly what went wrong and where. Of course, not knowing how the game or indeed Python work can sometimes leave you scratching your head...
 

Mee&Mee

Member
Apr 23, 2020
332
495
I tried to place the girls on the right folder, run the game, but I cannot see them inside, there is no picture
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
I tried to place the girls on the right folder, run the game, but I cannot see them inside, there is no picture
What does 'no picture' even mean? The game isn't displaying any images at all? Girls exist, but have the 'no image' image? No image at all? No girls at all? No ability to add girls to a girl mix?

If you're not cut out to be a beta tester and are unable or unwilling to make useful reports, wait a few weeks. Goldo should be through the obvious errors by then, and we can probably call the 0.2 release an actual release.
 

Aila

Newbie
Jul 10, 2018
88
40
Возможное решение проблем с девушками. Установите игру на совместимость с Win XP.
У меня старый комп и проблем с девушками не наблюдается. Проблемы появляются когда я набираю 1000 монет и игра начинает тормозить, а при попытке сохранения ,она зависает на несколько минут.А так как автосохранения происходят каждый день , то и зависания становятся кошмаром игры.
Possible solution to problems with girls. Install the game to be compatible with Win XP.
I have an old computer and problems with girls are not observed. Problems appear when I collect 1000 coins and the game starts to slow down, and when I try to save, it freezes for several minutes. And since autosaves happen every day, freezes become a nightmare for the game.
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
Aila's solution is probably just a very roundabout way of removing old persistent data from play.

As to saving delays, these are indeed rather annoying, even on a moderately okay machine. A month or so ago I just gave up and made a 'disable autosave' option for my own fork. I also recall a time when at least my fork lacked autosaves altogether, and I had to make a hack to get them back before the Ren'Py version update.
 

vadi9203

Member
Aug 2, 2019
431
248
"Well, he's not the only one. as an unofficial tester ( i test shit whenever I have time) Ive been having issues with theis new version of Bk as well which is unfortunate because I love the game :)

"Well..had some time to test your new version of BK and gotta say I like the idea that you dnt make anything unless your girls actually does well. However once I got a girl to the point that she could work as a whore I would run into errors during the "End Day" phase, afterwards if I'd ignore the error it would slow the game and make more errors occur when the program doesnt respond and when trying to save..was going to save an error but the game crashed.. tried this initially on another girl but made a new start when i started getting errors"

Ive been chating with Kite abit privately. I will keep attempting whatever I can to get things to work.

Edit: Followed your instructions vadi.. before even starting after character creation.. how do I fix this?

View attachment 1442070
Either bad _Bk.ini or you could just add a new trait. Shrewd trait was made for the Bonanza mod.
I posted a bit modified mod what you can use in Vanilla BK.
 

phupdup

Well-Known Member
Oct 24, 2019
1,391
1,110
After I fixed the two intro chapter bugs a couple of days back, I haven't really hit any issues stackdump wise. My replacements of block rollback for pass statements in my two file edits doesn't seem to have caused any of the horrors promised to me about dicts. In fact, the only thing I have encountered is where a wheel to scroll up a scollable window goes too far and ends up starting to rollback instead.

I have started looking at the code and see this thing is screaming for a robust rewrite one class at a time. I may take that upon myself once 0.2 has its dust start to settle. The most obvious flash point here seems to be the girl mod framework and how there appears to be little to no error checking/logging, and that's causing a lot of grief with failed installs.

Is the 3 Ninja quest holding me up for getting an upgrade to my brothel license? That last time I played this, I only had to meet a money target before an upgrade button appeared (on the city neighborhood screen IIRC). I'm long past the initial $5000 target with all but 1 of the 8 girls at Rank B and over $12000 banked. Yet I've only gotten 1 of 3 Ninjas met, and the artificial limit of one hunt for day is too excessive. Why shouldn't I be able to go out hunting as long as I have AP when the RNG for encounter seems to be so low?

I haven't tried to dump into the console to inspect/poke yet, but I did see something or other about using escape to do whatever silliness. I also see that RMB seems to drop me back to the brothel status screen for whatever reason. My question here is why developers think it is in everyone's interest to remap well known Renpy gui features to something entirely different? Why, especially, fuck with console controls when this game is in a state where my escape and shift-O buttons may be worn out by the time I'm done? This is one of my pet peeves I have that's right up there with removing source, blocking rollback and stuffing everything away in rpa archives in order to keep the user from their content. If you are going to play with keymaps, there's a whole row of function buttons up on those keyboards that you can use while staying away from good ole <ESC>.

The shop system needs a lot of work because the whole inventory setup sucks. We are at the mercy of whatever crap the rng Gods gen up for us no matter the cost. Please tell me why the thieves guild only has one article for sale per week(?), when instead their back room should look like something in that pawn shop in FreeSide in Fallout New Vegas. There should be a clothing store with all of the essentials in quantity that's ranked to what we need for development/training and can afford. The toy shop should have something more than just maybe one butt plug. I've done better picking up random encounter loot than I ever did going into a store with money burning a hole in my pocket.

The farm is useless if your mc is going to treat their girls with TLC and not asshattery. There should be an option to make it more like a thing that some girls get into (think Skyrim Foresworn and certain Loverlabs mods) and thus not traumatized when they get trained on the farm.

Also, why are we so hetero with this thing and are stuck with girls and not gurls? I realize this is probably not in the creator's wheelhouse, but there's a whole community of content developers who would probably jump right on board. FreeCities didn't have any problem doing it. Cmacleod's Flash parody of Princess Maker (Slavemaker?) had some alternative girl packs that draw upon a wealth of genderbent anime icons. Whoremaker makes it hard to keep the mc from getting put on the road to switch hitting. Hell, you even have one literally sitting in your game that's already installed, but you don't think about what happens when they take a bath.
 

Leortha

Active Member
Jun 25, 2019
744
668
Before you go very far with your desired improvements you need to think over things from a project POV. BK is the passion project of one person. And that's not going to change any time soon. That means you have to decide which of two very different paths you want to take with your changes. Working with Goldo or without him.

Working without him means you would be creating a mod. Sounds like a fairly major mod. Maybe even a fork. That's doable, but look to the Bonanza mod for what that path entails. JMan, who did Bonanza is still around and hugely active in the BK community. But Bonanza itself is mostly dead. That's because a massive mod like that becomes hard-tied to a specific version of the game. And unless you continue to actively work to keep your mod compatible with each new version of the core game it will quickly be left behind as the core game moves forward.

You also would need to think about what is there about your mod that would make people want to play it instead of vanilla BK. Bonanza was created because JMan wanted a somewhat different playstyle than vanilla offered. It billed itself somewhat as "BK-hard mode". This drew people to play it instead of vanilla. What would draw them to play your mod?

Working with him means you will need to get his approval for each change. He's generally very accepting of changing things in the core game, but he does not accept everything. And he has a definite vision of where he wants to take the game, and will decline things that do not fit with that vision. If you want to go down this path I suggest comming over to the BK home forum and proposing your desired changes over there. Break your changes up into discrete items and lay them out. If you don't get his approval ahead of time on each item you are setting yourself up for wasting your time if he declines an idea after you have invested time into it.
 
Last edited:
  • Like
Reactions: Jman9
4.60 star(s) 48 Votes