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

4.60 star(s) 48 Votes

cerega93

New Member
Jun 17, 2018
10
2
This function was added in the Feb 11 v 0.2 Release base game. You need to update & start new game for these two to work, due to compensating for different girlpack folder structures.

You need to download the (v 0.2 Release), followed by
Best done in new folder to avoid recompile problems (can copy or move current game/girls folders); new game required.



Non-tag parts of girlpack filenames are irrelevant, but can be useful when combining packs from different makers/sources. The Ren'Py error in this and most cases tells what is wrong/missing; occasionally it is obscure.
Thank you, everything fixes. Strange, i downloaded everything in first post, but somehow messed up something.
 

Mackrel

New Member
Nov 3, 2020
3
1
I was exploring the title screen options when this happened:

I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'sill'>:
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 275, in <module>
renpy.call_in_new_context(_restart[2])
File "game/BKdeclarations.rpy", line 1353, in execute
screen gallery(gal_type="ev"): # The Gallery object must have a pics variable (a list of renpy displaybles or image files)
File "game/BKdeclarations.rpy", line 1353, in execute
screen gallery(gal_type="ev"): # The Gallery object must have a pics variable (a list of renpy displaybles or image files)
File "game/BKdeclarations.rpy", line 1374, in execute
hbox spacing 10:
File "game/BKdeclarations.rpy", line 1378, in execute
vbox spacing 10:
File "game/BKdeclarations.rpy", line 1382, in execute
frame background None: #"#000000CC":
File "game/BKdeclarations.rpy", line 1389, in execute
has hbox box_wrap True spacing 6
File "game/BKdeclarations.rpy", line 1393, in execute
for i in xrange(shown_pics):
File "game/BKdeclarations.rpy", line 1395, in execute
if index+i < len(gal.blist):
File "game/BKdeclarations.rpy", line 1407, in execute
frame background None xsize 250 ysize 190 ymargin 6 yalign 0.5:
File "game/BKdeclarations.rpy", line 1408, in execute
add gal.make_button(but, pic, xpadding=3, ypadding=3, xalign=0.5, yalign=0.5, background=None) hover_alpha 1.0 idle_alpha 0.8
File "game/BKdeclarations.rpy", line 1408, in <module>
add gal.make_button(but, pic, xpadding=3, ypadding=3, xalign=0.5, yalign=0.5, background=None) hover_alpha 1.0 idle_alpha 0.8
File "renpy/common/00gallery.rpy", line 380, in make_button
action = self.Action(name)
File "renpy/common/00gallery.rpy", line 337, in Action
if b.check_unlock():
File "renpy/common/00gallery.rpy", line 114, in check_unlock
if not i.check(True):
File "renpy/common/00gallery.rpy", line 35, in check
return eval(self.condition)
SyntaxError: invalid syntax (<none>, line 1)

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

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 662, in main
run(restart)
File "renpy/main.py", line 148, in run
renpy.execution.run_context(True)
File "renpy/execution.py", line 922, in run_context
context.run()
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 273, in script
python:
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 "renpy/common/00start.rpy", line 275, in <module>
renpy.call_in_new_context(_restart[2])
File "renpy/game.py", line 344, in call_in_new_context
return renpy.execution.run_context(False)
File "renpy/execution.py", line 922, in run_context
context.run()
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
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 "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
ui.interact()
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3325, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "renpy/display/core.py", line 3737, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/screen.py", line 436, in visit_all
callback(self)
File "renpy/display/core.py", line 3737, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/screen.py", line 447, in per_interact
self.update()
File "renpy/display/screen.py", line 637, in update
self.screen.function(**self.scope)
File "game/BKdeclarations.rpy", line 1353, in execute
screen gallery(gal_type="ev"): # The Gallery object must have a pics variable (a list of renpy displaybles or image files)
File "game/BKdeclarations.rpy", line 1353, in execute
screen gallery(gal_type="ev"): # The Gallery object must have a pics variable (a list of renpy displaybles or image files)
File "game/BKdeclarations.rpy", line 1374, in execute
hbox spacing 10:
File "game/BKdeclarations.rpy", line 1378, in execute
vbox spacing 10:
File "game/BKdeclarations.rpy", line 1382, in execute
frame background None: #"#000000CC":
File "game/BKdeclarations.rpy", line 1389, in execute
has hbox box_wrap True spacing 6
File "game/BKdeclarations.rpy", line 1393, in execute
for i in xrange(shown_pics):
File "game/BKdeclarations.rpy", line 1395, in execute
if index+i < len(gal.blist):
File "game/BKdeclarations.rpy", line 1407, in execute
frame background None xsize 250 ysize 190 ymargin 6 yalign 0.5:
File "game/BKdeclarations.rpy", line 1408, in execute
add gal.make_button(but, pic, xpadding=3, ypadding=3, xalign=0.5, yalign=0.5, background=None) hover_alpha 1.0 idle_alpha 0.8
File "game/BKdeclarations.rpy", line 1408, in <module>
add gal.make_button(but, pic, xpadding=3, ypadding=3, xalign=0.5, yalign=0.5, background=None) hover_alpha 1.0 idle_alpha 0.8
File "renpy/common/00gallery.rpy", line 380, in make_button
action = self.Action(name)
File "renpy/common/00gallery.rpy", line 337, in Action
if b.check_unlock():
File "renpy/common/00gallery.rpy", line 114, in check_unlock
if not i.check(True):
File "renpy/common/00gallery.rpy", line 35, in check
return eval(self.condition)
File "renpy/python.py", line 2274, in py_eval
code = py_compile(code, 'eval')
File "renpy/python.py", line 835, in py_compile
raise e
SyntaxError: invalid syntax (<none>, line 1)

Windows-10-10.0.22000
Ren'Py 7.4.11.2266
Brothel King 0.2 v220407
Tue Apr 26 03:29:06 2022

This error occured when I tried to open the gallery for one specific girl pack (Ninomae Ina'nis); every other girl pack works fine without issue. It doesn't really affect me at all, since I can just view the pictures directly in my folder anyway, but I am curious as to why this error is occuring.
 

DougTheC

Member
Oct 15, 2018
387
221
I'm sorry, but an uncaught exception occurred.

While running game code:
File "/storage/emulated/0/Download/Brothel King/Brothel_King-pc/game/script.rpy", line 126, in script
init -2 python:
File "/storage/emulated/0/Download/Brothel King/Brothel_King-pc/game/script.rpy", line 133, in <module>
config.keymap['game_menu'].remove('mouseup_3')
ValueError: list.remove(x): x not in list
```

I barely need help
If you haven't yet found out why "game/script.rpy" got added to your game, please attach it here for analysis.

Are you running on a VM, Linux, Joiplay or other non-usual platform?

You can avoid the specific error by bypassing the line setting it in BKinit_variables.rpy, changing
Code:
        config.keymap['game_menu'].remove('mouseup_3')
to
Code:
        if False: config.keymap['game_menu'].remove('mouseup_3')
(Caps & spaces are sensitive.)

Have you upgraded to recent base game v 0.2 Release (not from OP) & recent patch? What does version say in upper right of startup screen, or end of traceback.txt?
 
Last edited:

Jman9

Engaged Member
Jul 17, 2019
2,295
965
...gallery
...I am curious as to why this error is occuring.
No idea, really. It appears that the 'action' of clicking on an image in the gallery has a condition that is empty or otherwise invalid instead of an expression that can be evaluated.

Maybe it has something to do with the girl pack? Anything odd there? Is it all of the images that do this, only the 'padlock', is the girl notable in any way (first/last in the gallery, last girl hired or interacted with, does she have an image named 'sill.jpg' or somesuch, etc)?

Gallery code has been ignored for a very long time, to the point that the gallery wasn't really functional, uh, I think even through all of 0.15 and 0.15b?
 

DougTheC

Member
Oct 15, 2018
387
221
Thank you, everything fixes. Strange, i downloaded everything in first post, but somehow messed up something.
Please see Edit in my message about replacement file for Boa Hancock girlpack.

...
Edit:
Although under further investigation, the Boa girlpack in Basic Girlpack v 0.2 which this is probably from does not include a file "dancer (0).jpg", so either that file should be created, or (preferably) the _events.rpy example line should be edited to use existing file.

Here is a replacement _events.rpy for Boa's girlpack from Basic Girlpack v 0.2. I am starting tests of it, which also contains several edits for issues I've previously mentioned (use diff/compare if curious). Rename to "_events.rpy" if downloading adds a numerical prefix.

Cross-posted to Girlpacks & Mods.

View attachment 1777646
 

Mackrel

New Member
Nov 3, 2020
3
1
Maybe it has something to do with the girl pack? Anything odd there? Is it all of the images that do this, only the 'padlock', is the girl notable in any way (first/last in the gallery, last girl hired or interacted with, does she have an image named 'sill.jpg' or somesuch, etc)?
Nothing notable about the girl as far as I can tell. Deleting and redownloading the girl pack results in the same error. It's not the action of clicking on the images that cause the error, it's trying to select the girl pack in the gallery. As in, I don't even get so far as to see the padlock images. This error has been occuring since 0.15b, but I didn't give it much thought then. Again, this error is only occuring with this specific girl pack; if I delete the pack altogether, then every other pack still works fine.
 
  • Like
Reactions: Jman9

__neronero

Member
Jan 23, 2021
285
393
Nothing notable about the girl as far as I can tell. Deleting and redownloading the girl pack results in the same error. It's not the action of clicking on the images that cause the error, it's trying to select the girl pack in the gallery. As in, I don't even get so far as to see the padlock images. This error has been occuring since 0.15b, but I didn't give it much thought then. Again, this error is only occuring with this specific girl pack; if I delete the pack altogether, then every other pack still works fine.
It's due to the girl's folder name. I no longer encounter the error after removing the apostrophe.
 
  • Like
  • Thinking Face
Reactions: DougTheC and Jman9

Jman9

Engaged Member
Jul 17, 2019
2,295
965
It's down. That's about the extent of it. Nobody has any channels to contact Zythen, the site owner, either. Maybe he had a stroke, maybe he had a come-to-Jesus moment, maybe the Man grabbed him or maybe he just forgot really hard.

Whatever the reason, it is looking increasingly likely that the site is gone for good.
 

Leortha

Active Member
Jun 25, 2019
744
668
is there a discord for brothel king then or something else like that?
No. Right at this moment we are living in exile here on F95. At some point soon, likely when Goldo returns from his current couple of weeks off, we'll start organizing to find a new home. But I highly doubt it'll be Discord. It's much harder to keep one's hentai life separate from their non-hentai life on Discord. I for one do not want my BK work getting linked to my normal online life. So I would not expect many of us would want to work BK on Discord. No idea what we'll end up with as our new home, but I think Discord is not on the list of possibilities.
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
is there a discord for brothel king
No. The two threads here are the closest thing to a backup that I know of.

Discord also has the issue that it's a fickle platform run by algorithms and assholes (which is important for NSFW stuff) that doesn't want to let you have a separation of professional, private and - as __neronero put it, even-more-private life. If you're the sort of person who regularly posts selfies of their bedroom on the web, maybe that's not a big issue. If you aren't, well...

There is a (temporary?) Discord for HHS+. They're going to have to find a new home sometime soon as well. IDK if Goldo wants to go with them or look for a new home on his own.
 

ripleysonic

Newbie
Jan 5, 2019
22
1
You didn't happen to uninstall Trait King or some part(s) of it by accident?


Traceback?
I deleted that comment once I realized that wasn't the issue. I thought I downloaded the patch but apparently I missed it. Sorry for the confusion.
 
Last edited:
  • Like
Reactions: DougTheC

vadi9203

Member
Aug 2, 2019
431
248
I get this message the night after I click the advanced button to get the third brothel. I also ran into the 3 Ninjas on three separate nights each. It's the same night that you get the cutscene were shadowing engine beats that annoying guy that comes by every now and then.

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKendday.rpy", line 1026, in script call
call play_events(type = "morning") from _call_play_events_1 # Note: Morning events are set with the new day's date: beware of the confusion
File "game/BKevents.rpy", line 660, in script call
call display_events(ev_list) from _call_display_events
File "game/BKevents.rpy", line 672, in script call
$ ev.play()
File "game/BKendday.rpy", line 1026, in script call
call play_events(type = "morning") from _call_play_events_1 # Note: Morning events are set with the new day's date: beware of the confusion
File "game/BKevents.rpy", line 660, in script call
call display_events(ev_list) from _call_display_events
File "game/BKevents.rpy", line 672, in script call
$ ev.play()
ScriptError: could not find label 'c3_suzume_hint'.

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

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 652, in main
run(restart)
File "renpy/main.py", line 148, in run
renpy.execution.run_context(True)
File "renpy/execution.py", line 922, in run_context
context.run()
File "game/BKendday.rpy", line 1026, in script call
call play_events(type = "morning") from _call_play_events_1 # Note: Morning events are set with the new day's date: beware of the confusion
File "game/BKevents.rpy", line 660, in script call
call display_events(ev_list) from _call_display_events
File "game/BKevents.rpy", line 672, in script call
$ ev.play()
File "game/BKendday.rpy", line 1026, in script call
call play_events(type = "morning") from _call_play_events_1 # Note: Morning events are set with the new day's date: beware of the confusion
File "game/BKevents.rpy", line 660, in script call
call display_events(ev_list) from _call_display_events
File "game/BKevents.rpy", line 672, in script call
$ ev.play()
File "renpy/script.py", line 918, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'c3_suzume_hint'.

Windows-10-10.0.19041
Ren'Py 7.4.10.2178
Brothel King 0.2 v211126
Thu Apr 28 10:41:22 2022
Search for it. This was posted a few times already. You are using an old patch. Download the game again and apply the lastest patch. Dough posted it already.
 
  • Like
Reactions: Jman9

ripleysonic

Newbie
Jan 5, 2019
22
1
Search for it. This was posted a few times already. You are using an old patch. Download the game again and apply the lastest patch. Dough posted it already.
I thought I downloaded the patch but apparently I missed it. Sorry I'll delete the previous post so doesn't get confusing.
 
Jul 9, 2017
289
380
It's down. That's about the extent of it. Nobody has any channels to contact Zythen, the site owner, either. Maybe he had a stroke, maybe he had a come-to-Jesus moment, maybe the Man grabbed him or maybe he just forgot really hard.

Whatever the reason, it is looking increasingly likely that the site is gone for good.
Woah, when did it go down? And do you know if there's any chatter from the HHS+ group on what they're gonna do?
 
4.60 star(s) 48 Votes