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

silver06

New Member
Jul 28, 2018
11
2
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKendday.rpy", line 1032, in script call
  File "game/BKevents.rpy", line 686, in script call
  File "game/BKevents.rpy", line 698, in script call
  File "game/BKstory_events.rpy", line 13286, in script
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4609, in execute
  File "game/BKscreens.rpy", line 4610, in execute
  File "game/BKscreens.rpy", line 4611, in execute
  File "renpy/common/00action_other.rpy", line 540, in __eq__
TypeError: 'unicode' object is not callable

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

Full traceback:
  File "game/BKendday.rpy", line 1032, in script call
  File "game/BKevents.rpy", line 686, in script call
  File "game/BKevents.rpy", line 698, in script call
  File "game/BKstory_events.rpy", line 13286, in script
  File "renpy/ast.py", line 1674, in execute
  File "renpy/exports.py", line 1657, in with_statement
  File "renpy/display/core.py", line 2841, in do_with
  File "renpy/display/core.py", line 3423, in interact
  File "renpy/display/core.py", line 3856, in interact_core
  File "renpy/display/core.py", line 582, in visit_all
  File "renpy/display/core.py", line 582, in visit_all
  File "renpy/display/core.py", line 582, in visit_all
  File "renpy/display/core.py", line 582, in visit_all
  File "renpy/display/screen.py", line 451, in visit_all
  File "renpy/display/core.py", line 3856, in <lambda>
  File "renpy/display/screen.py", line 462, in per_interact
  File "renpy/display/screen.py", line 653, in update
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4609, in execute
  File "game/BKscreens.rpy", line 4610, in execute
  File "game/BKscreens.rpy", line 4611, in execute
  File "renpy/common/00action_other.rpy", line 540, in __eq__
TypeError: 'unicode' object is not callable
Hi, I've been encountering the same problem.
I've troubleshot everything I could think of, reinstalled the game from scratch, with and without mods, in different locations. The girlpacks shouldn't be a problem either since the error appears on a normal story event.
Ignoring the error doesn't really work either since it just keeps repeating in a loop.

I could find anything that resolved it in this thread or anywhere.

If it could help, this happens at the end of the 2nd week on this save.
I can provide anything that could help, thanks in advance :3
Look At my Post After The First
 

Wadodem

New Member
May 25, 2018
5
1
Is there a way to increase autorest treshold? I set mine at max 100 energy, but it's not enough, and my girls sometimes become exhausted.
 
Last edited:

silver06

New Member
Jul 28, 2018
11
2
I saw it, I tried to update both JoiPlay and the Ren'Py plugin for JoiPlay and it didn't change anything, did you get it to work by just updating to the newest version ?
No It's Weird You Have to Download the Old Version JoiPlay Plugin and Only That And it Will Work
 
  • Like
Reactions: Krayzis

Congressman Weiner

Active Member
Jul 29, 2018
798
730
Is there any way to change the way the farm works? I have plenty of pictures for the "beast" category, less so for "monster", and fewer for "machine" and "big" -- is there a way to make it so that there are more of some and less of others? (I'm no programmer so if it's really complicated I'll be lost)
 

WarblGarbl

Member
Oct 10, 2017
285
247
Is there any way to change the way the farm works? I have plenty of pictures for the "beast" category, less so for "monster", and fewer for "machine" and "big" -- is there a way to make it so that there are more of some and less of others? (I'm no programmer so if it's really complicated I'll be lost)
If I understand how mods work, when you do an action it just grabs one of the photos that fit that category. So if you have one machine picture and 10 beast pics, when you choose to do a machine action it will only grab the one image while for a beast action it could grab any of those. By having more for beast you'll just have more variety for those actions. You might be able to change the girl to have the weakness to beast to make it more useful but besides that there's not much to change. Because you can choose which action to do in the farm there's not a huge reason to need to prefer one or the other.
 

Pornolover91

Newbie
May 3, 2023
32
11
Is there a tutorial for creating mods? I'm missing 2 things in the game. Once a person where you can tattoo, pierce and brand your slaves. And secondly, an expansion of the farm direction where you can get and sell milk.

I'm just too stupid to create it myself without help, so the question is, is there a tutorial?
 

vadi9203

Member
Aug 2, 2019
380
228
Is there a tutorial for creating mods? I'm missing 2 things in the game. Once a person where you can tattoo, pierce and brand your slaves. And secondly, an expansion of the farm direction where you can get and sell milk.

I'm just too stupid to create it myself without help, so the question is, is there a tutorial?
No. Not really. But there is a guide for writing for BK. If you have questions regarding how to create a mod you can always ask Goldo or neronero on BK forum. They can help you.
 

Congressman Weiner

Active Member
Jul 29, 2018
798
730
If I understand how mods work, when you do an action it just grabs one of the photos that fit that category. So if you have one machine picture and 10 beast pics, when you choose to do a machine action it will only grab the one image while for a beast action it could grab any of those. By having more for beast you'll just have more variety for those actions. You might be able to change the girl to have the weakness to beast to make it more useful but besides that there's not much to change. Because you can choose which action to do in the farm there's not a huge reason to need to prefer one or the other.
Yeah, I was just hoping there was a way I could, for instance, tell the farm to only have beasts or more beasts than, say, machines (of which I have the least amount of pictures for)
 

WarblGarbl

Member
Oct 10, 2017
285
247
Yeah, I was just hoping there was a way I could, for instance, tell the farm to only have beasts or more beasts than, say, machines (of which I have the least amount of pictures for)
You could probably remove the other options in the code but I would wager that would break the game somehow.
 

Kealan

Newbie
Feb 9, 2018
63
135
Yeah, I was just hoping there was a way I could, for instance, tell the farm to only have beasts or more beasts than, say, machines (of which I have the least amount of pictures for)
I might not be fully understanding what you are after, but you need to buy your farm beasts/monsters/machines/dudes. So why not just buy only those and use only those in the farm training?
Mods could easily be used to make the farm more favorable for big dudes (or any other specific type) training.
You could think of cost reductions for buying big dudes, extra slots for them, cheaper slots for them.
It would probably break some game logic if a mod tried to remove the other types completely.

So, if you have a specific gameplay idea on how you would skew the farm towards one type, let us know. People here could probably tell you if it's possible to mod if not actually mod it in. Or try on the , where more modders are active or modders are more active.
 

Congressman Weiner

Active Member
Jul 29, 2018
798
730
I might not be fully understanding what you are after, but you need to buy your farm beasts/monsters/machines/dudes. So why not just buy only those and use only those in the farm training?
Mods could easily be used to make the farm more favorable for big dudes (or any other specific type) training.
You could think of cost reductions for buying big dudes, extra slots for them, cheaper slots for them.
It would probably break some game logic if a mod tried to remove the other types completely.

So, if you have a specific gameplay idea on how you would skew the farm towards one type, let us know. People here could probably tell you if it's possible to mod if not actually mod it in. Or try on the , where more modders are active or modders are more active.
I guess my point is this:

I have lots of girls who have pictures for beasts but not other things.

But when I go to the farm (at first), there's only 1 beast option and then 3 other options that I hardly ever use (big, machine, monster). So I don't want to choose girls for the farm that don't have pictures for those other options.

I wanted to make it so I can make all of them "beast" options or maybe make it so the farm has x many pens and we decide what to use the pens for based on what we buy (beasts, monsters, machines, etc)
 

Congressman Weiner

Active Member
Jul 29, 2018
798
730
You could probably remove the other options in the code but I would wager that would break the game somehow.
I'm not experienced enough in coding to even try.

And now I'm getting this error message as I try to play and I don't know what happened:


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

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

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 560, in main
renpy.game.context().run(node)
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 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 "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

Windows-10-10.0.22621
Ren'Py 7.4.11.2266

Tue May 21 23:02:56 2024
 

WarblGarbl

Member
Oct 10, 2017
285
247
e 'res_portrait_size' is not defined
I'm not experienced enough in coding to even try.

And now I'm getting this error message as I try to play and I don't know what happened:


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

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

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 560, in main
renpy.game.context().run(node)
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 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 "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

Windows-10-10.0.22621
Ren'Py 7.4.11.2266

Tue May 21 23:02:56 2024
Somehow the game can't get the size of Sil's portrait. Do you have a file called portrait.webp in the folder NPC/Sill? If you do something is super wrong with the code.
 
  • Like
Reactions: Congressman Weiner

Yasaki74

Member
Aug 21, 2020
121
128
I'm not experienced enough in coding to even try.

And now I'm getting this error message as I try to play and I don't know what happened:


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

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

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 560, in main
renpy.game.context().run(node)
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 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 "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

Windows-10-10.0.22621
Ren'Py 7.4.11.2266

Tue May 21 23:02:56 2024
well it's either the file is missing or the directory of the game trying to find that file is at the wrong spot
(I seen this code before)
 

Congressman Weiner

Active Member
Jul 29, 2018
798
730
Somehow the game can't get the size of Sil's portrait. Do you have a file called portrait.webp in the folder NPC/Sill? If you do something is super wrong with the code.
Yep, it's there....but hey, I notice there is also a "portrait_unknown" as well. Should I delete that? Is that the problem?

EDIT: I downloaded and reinstalled the game, so that fixed it. No idea what suddenly caused it, though.

Screenshot 2024-05-22 182416.png
 
Last edited:

vadi9203

Member
Aug 2, 2019
380
228
Is this still being developed? If so, is the version in the OP the latest or is it somewhere else?
It's still in development. you can download the test version for 0.3.

In the OP you only find the lastest stable version of the game.
 
  • Like
Reactions: Laritas

Laritas

Member
Jul 10, 2023
246
475
Thanks for the info. Had thought the project was abandoned as the last update in this thread was on 2022-04-28.
It's still in development. you can download the test version for 0.3.

In the OP you only find the lastest stable version of the game.
Thanks for the info. Had thought the project was abandoned as the last update in this thread was on 2022-04-28.
 
4.60 star(s) 47 Votes