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

4.60 star(s) 51 Votes

Ullysse

Newbie
Jun 26, 2017
51
62
The following information could be useful to diagnose the problem:

- Do you get the message "The customer spent all of his budget on [girl]"? Do you get it very frequently? If not, it could be a coincidence that her performance was worth exactly the customer's (irrelevant because of Elite) max budget
- When she rolls a 6, or when ANY girl rolls a 6, do you ever get the message "The customer went over his budget on [girl] (+XXX gold)" If you never see it, not even on other girls, then perhaps your girls are simply not meeting the customer's expectations.

To elaborate on Elite a bit more:
Normally when any girl rolls a 6 on her performance, the same "ignore budgets" effect is automatically applied. The benefit of having "Elite" is that it also applies that effect when she rolls 1-5. But naturally a lower roll like that will mean a worse performance and thus a lower tip, so to actually reap the benefits of her trait frequently your Elite girl would have to be at least slightly overqualified compared to what the customer was expecting. In other words, I wouldn't expect "Elite" to make much of an impact when you've just started a new game.
Thanks for your detailed response, but as Jman9 said, it seems that Elite trait doesn't work.
You don't have permission to view the spoiler content. Log in or register now.
 
  • Like
Reactions: __neronero

__neronero

Member
Jan 23, 2021
285
393
Thanks for your detailed response, but as Jman9 said, it seems that Elite trait doesn't work.
Right you are!

Edit: Actually, scratch that. I'm still a bit confused about this one. If this was the problem then all girls would be ignoring budget caps.

I understand now, the problem is with the trait itself not specifying "1"
Code:
                        Trait("Elite", verb="be", eff1=Effect("special", "ignore budgets"), archetype="The Courtesan"),
Should be
Code:
                        Trait("Elite", verb="be", eff1=Effect("special", "ignore budgets", 1), archetype="The Courtesan"),
Sadly changing that in BKtraits won't fix ongoing games.
 
Last edited:
  • Like
  • Angry
Reactions: Ullysse and Jman9

Jman9

Engaged Member
Jul 17, 2019
2,295
965
Code:
            if not ignore_budget or ignore_budget == 0:
That will just make everyone ignore the budget caps.

Edit: The simplest way to fix this is to change all 'special' effects to have a value of 1 if they don't have any. Possibly even simpler to default any 'special' effect's 'value' to 1 if not set upon creating the effect (which will also prevent future mishaps like that). Both are quite simple to do.

The problem is that this will not affect ongoing saves. So you need to switch out the effects in the trait database and any trait instances already present on girls. Both can be done through various ways, like using the console, a special function or label written for that purpose, or even using 'after_load'. I'm not sure it's really worth it over just fixing the effects and saying 'start a new game', from a dev perspective that is.
 
Last edited:

DeCa33

New Member
May 16, 2018
9
3
not sure if it'll help at all but I "fixed" my city event error issue by copying the previous patches related rpy files over the new patched that dropped a couple days ago and it's been working fine for me. will inform you all if I somehow caused the game to crash and burn in some other way because of this.
 
  • Like
Reactions: DougTheC

technojaguar

Newbie
Jan 5, 2020
17
7
not sure if it'll help at all but I "fixed" my city event error issue by copying the previous patches related rpy files over the new patched that dropped a couple days ago and it's been working fine for me. will inform you all if I somehow caused the game to crash and burn in some other way because of this.

Hey, could you show where that one is? I am also having that issue.


"Edit"

alright I seemed to have fixed it.
 
Last edited:

DeCa33

New Member
May 16, 2018
9
3
basically what I did was look for the rpy files that were showing errors in the latest patch with the files from the previous patch. like the Bkevents.rpy, the Bkscreens.rpy, and I forget what else I copied over sorry.
 

DougTheC

Member
Oct 15, 2018
388
223
Hey, could you show where that one is? I am also having that issue.

"Edit"

alright I seemed to have fixed it.
basically what I did was look for the rpy files that were showing errors in the latest patch with the files from the previous patch. like the Bkevents.rpy, the Bkscreens.rpy, and I forget what else I copied over sorry.
In this case, I would recommend copying over ALL the .rpy files from the "game" folder of the previous patch to your installed "game" folder, deleting all the "game/*.rpyc" files, and running the game to recompile.

I checked, and the only later-patch game-folder .rpy file not overwritten would be BKitems.rpy, whose changes are non-complicating.

Here is a link to update patch v0.2 220416, which I am pretty sure is the patch prior to 220506.
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
...deleting all the "game/*.rpyc" files, and running the game to recompile.
I would recommend running the game and pressing shift+R instead. Recompiling from scratch can cause issues with saves, since recompiling makes use of old .rpyc files these saves are based on.

Although, to be fair, I think Brothel King is far more immune to these than most Ren'Py games.
 

Umgah

Member
Sep 26, 2016
141
88
Is the site even working? :unsure: I dont get an activation email from there after registering.
Well, actually it wasn't supposed to be published anywhere yet. Especially with temporary domain name.
The updated address is here:
Ping me if there still issues with mails.
 
  • Thinking Face
Reactions: Jman9

ripleysonic

Newbie
Jan 5, 2019
22
1
Is there a Console command to give yourself specific items. And yes I know about the (cheat/items/get item/One word of that items name) doesn't actually work for everything, examples being the little ninja spike traps/ the Thunder hammer or whatever it's called are a couple items that you can't get through that method, so if you accidentally delete them they're gone unless there's a console command to get them back and that's what I'm asking about. Also is it possible with console command to get multiple items in one go like wyvern eggs?
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
Is there a Console command to give yourself specific items.
Several. E.g.
Code:
MC.items.append(copy.deepcopy(item_dict["Small  dog collar"]))

Note the double space. To get certain special items that are not covered by 'item_dict', use
Code:
MC.items.append(makibishi)
You don't have permission to view the spoiler content. Log in or register now.

Also is it possible with console command to get multiple items in one go like wyvern eggs?
Yes. E.g.
Code:
for x in xrange(2022):
    MC.items.append(copy.deepcopy(item_dict["Wyvern egg"]))
 

ripleysonic

Newbie
Jan 5, 2019
22
1
Yes. E.g.
Code:
for x in xrange(2022):
    MC.items.append(copy.deepcopy(item_dict["Wyvern egg"]))
First off thank you I lost the blueprint and didn't feel like starting over by the time I realized it. Now back to another question, how does this give you multiple items? I entered it in and it only gives one. Unless I have to enter it in multiple times then it's just going to be annoying but better than the alternative multiple steps process. Or I'm messing up entering it again.
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
...how does this give you multiple items? I entered it in and it only gives one.
...
Or I'm messing up entering it again.
Probably. You have to enter each line one by one, and mind the spaces (but the console auto-indents, so you only need to worry about deleting some spaces after pressing return for the second time.
 

vadi9203

Member
Aug 2, 2019
461
273
Well, actually it wasn't supposed to be published anywhere yet. Especially with temporary domain name.
The updated address is here:
Ping me if there still issues with mails.
The problem was solved thanks to nero.
 

goldo00

Newbie
Aug 9, 2019
20
59
goldo is there a reason why you mix jpg and webp? Just curious not meant to critique how you work^^
At some point it was established by forum contributors that converting jpg to webp brought no advantage in file size or was even slightly less efficient, so I kept the original jpegs. Although in retrospect, gaining a few kb may not be worth the confusion having different formats causes.

Hi, can someone provide the final patch for v0.15b?


Stressing once again that, while I am a coder by profession, I have deliberately avoided looking at the BK code in almost all cases. But...

This whole issue of girls failing to return sounds like there is a piece of code that runs daily that checks each away girl to see if the return date matches the current date.
You would think that, but nope, it checks if the return date matches or is anterior to the current date. So whatever happens, it's a more complex issue than that. A possibility is that the event did proc (and was thus removed from the queue), but was interrupted for some reason before the girl was actually returned.

I'm not much of a computer guy (as evidenced by my tweeting my junk to everyone and losing my Congressional seat)
Mister Congressman, I would like to thank you for your service. Also, .
 
  • Haha
Reactions: Congressman Weiner
4.60 star(s) 51 Votes