News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

[Feedback] *BUG REPORTS* Stable version only (v0.2)

Started by Goldo, May 13, 2022, 09:52 AM

Previous topic - Next topic

GoldoTopic starter

New patch out (link in my signature), with some small fixes and tweaks.

I'm probably going to leave it at that for 0.2 and focus on 0.3, unless something major is broken of course.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

ryan555

Here's two kind of big bugs that have been in the game for a while:

When starting a new game, going to the "Extras" menu and changing the "Farm", "Carpenter" etc. options from Locked to Unlocked and back to Locked and starting a new game, those options are still unlocked but you can get achievements. So for example the Farm is available on Day 1.



How to get more girls than you have rooms:
1) get the Farm
2) make sure you have free space on the Farm but no empty rooms in the brothel
3) buy a girl from the market and select "Send her to the farm"
4) immediately press right click on the mouse to cancel the interaction and she will be in your brothel, going over the room limit



Just tested on the new patch and both exploits still work.

Badaz23

For updating pack state
Installed mod
Head Hunter
 

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKscreens.rpy", line 7801, in script call
    call girlpack_menu() from _call_girlpack_menu
  File "game/BKscreens.rpy", line 7786, in script
    call screen girl_mix(True) nopredict
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/BKscreens.rpy", line 7805, in execute
    screen girl_mix(show_rating=False):
  File "game/BKscreens.rpy", line 7805, in execute
    screen girl_mix(show_rating=False):
  File "game/BKscreens.rpy", line 7813, in execute
    frame xfill True yfill True:
  File "game/BKscreens.rpy", line 7814, in execute
    has vbox
  File "game/BKscreens.rpy", line 7828, in execute
    viewport:
  File "game/BKscreens.rpy", line 7835, in execute
    has vbox spacing 0
  File "game/BKscreens.rpy", line 7837, in execute
    for gp in shown_gp:
  File "game/BKscreens.rpy", line 7838, in execute
    if show_rating:
  File "game/BKscreens.rpy", line 7839, in execute
    $ rating, rtg_text = get_girlpack_rating(path=gp)
  File "game/BKscreens.rpy", line 7839, in <module>
    $ rating, rtg_text = get_girlpack_rating(path=gp)
  File "game/BKfunctions.rpy", line 3774, in get_girlpack_rating
    d = girl.evaluate_girlpack()
  File "game/BKgirlclass.rpy", line 389, in evaluate_girlpack
    currentList = get_pic_list(self, [tag], not_tags=["naked"], weighted=False)
  File "game/BKfunctions.rpy", line 2754, in get_pic_list
    show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'

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

Full traceback:
  File "game/BKscreens.rpy", line 7801, in script call
    call girlpack_menu() from _call_girlpack_menu
  File "game/BKscreens.rpy", line 7786, in script
    call screen girl_mix(True) nopredict
  File "renpy/ast.py", line 2015, in execute
    self.call("execute")
  File "renpy/ast.py", line 2003, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "renpy/statements.py", line 278, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "renpy/exports.py", line 3136, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  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/BKscreens.rpy", line 7805, in execute
    screen girl_mix(show_rating=False):
  File "game/BKscreens.rpy", line 7805, in execute
    screen girl_mix(show_rating=False):
  File "game/BKscreens.rpy", line 7813, in execute
    frame xfill True yfill True:
  File "game/BKscreens.rpy", line 7814, in execute
    has vbox
  File "game/BKscreens.rpy", line 7828, in execute
    viewport:
  File "game/BKscreens.rpy", line 7835, in execute
    has vbox spacing 0
  File "game/BKscreens.rpy", line 7837, in execute
    for gp in shown_gp:
  File "game/BKscreens.rpy", line 7838, in execute
    if show_rating:
  File "game/BKscreens.rpy", line 7839, in execute
    $ rating, rtg_text = get_girlpack_rating(path=gp)
  File "game/BKscreens.rpy", line 7839, in <module>
    $ rating, rtg_text = get_girlpack_rating(path=gp)
  File "game/BKfunctions.rpy", line 3774, in get_girlpack_rating
    d = girl.evaluate_girlpack()
  File "game/BKgirlclass.rpy", line 389, in evaluate_girlpack
    currentList = get_pic_list(self, [tag], not_tags=["naked"], weighted=False)
  File "game/BKfunctions.rpy", line 2754, in get_pic_list
    show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Brothel King 0.2 v220519
Tue Jun 28 03:33:36 2022

kawabaka

Good day all! First time ever posting here and so far I've been really enjoying this game for quite some time.
I did ran into a minor bug, not exactly the most important one and actually has zero impact on the gameplay itself but I thought I report it anyways.

When in main menu, if you click on Extras and then go to CG - Girl Packs, the game crashes and shows this report whenever the page of the gallery contains a .WEBM file:
I'm sorry, but an uncaught exception occurred.

While loading <'ProportionalScale' <'Image' u'girls/Megumin/libido sex cowgirl.webm'> 240 180 True>:
  File "game/BKdeclarations.rpy", line 1354, 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 1354, 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 1375, in execute
    hbox spacing 10:
  File "game/BKdeclarations.rpy", line 1379, in execute
    vbox spacing 10:
  File "game/BKdeclarations.rpy", line 1381, in execute
    text name + " (" + str(get_gallery_unlock_rate(gal_type, gal, name)) + "%)"
  File "game/BKdeclarations.rpy", line 1381, in <module>
    text name + " (" + str(get_gallery_unlock_rate(gal_type, gal, name)) + "%)"
  File "game/BKdeclarations.rpy", line 1299, in get_gallery_unlock_rate
    return sum(1 for pic in gal.blist if was_seen(pic)) * 100/len(gal.blist)
  File "game/BKdeclarations.rpy", line 1299, in <genexpr>
    return sum(1 for pic in gal.blist if was_seen(pic)) * 100/len(gal.blist)
  File "game/BKdeclarations.rpy", line 1282, in was_seen
    if not is_videofile(file):
  File "game/BKfunctions.rpy", line 3823, in is_videofile
    if (file[-4:].lower() in VIDEOFORMATS or file[-5:].lower() in VIDEOFORMATS):
TypeError: 'function' object has no attribute '__getitem__'

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

Full traceback:
  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 1354, 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 1354, 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 1375, in execute
    hbox spacing 10:
  File "game/BKdeclarations.rpy", line 1379, in execute
    vbox spacing 10:
  File "game/BKdeclarations.rpy", line 1381, in execute
    text name + " (" + str(get_gallery_unlock_rate(gal_type, gal, name)) + "%)"
  File "game/BKdeclarations.rpy", line 1381, in <module>
    text name + " (" + str(get_gallery_unlock_rate(gal_type, gal, name)) + "%)"
  File "game/BKdeclarations.rpy", line 1299, in get_gallery_unlock_rate
    return sum(1 for pic in gal.blist if was_seen(pic)) * 100/len(gal.blist)
  File "game/BKdeclarations.rpy", line 1299, in <genexpr>
    return sum(1 for pic in gal.blist if was_seen(pic)) * 100/len(gal.blist)
  File "game/BKdeclarations.rpy", line 1282, in was_seen
    if not is_videofile(file):
  File "game/BKfunctions.rpy", line 3823, in is_videofile
    if (file[-4:].lower() in VIDEOFORMATS or file[-5:].lower() in VIDEOFORMATS):
TypeError: 'function' object has no attribute '__getitem__'

Windows-10-10.0.22000
Ren'Py 7.4.11.2266
Brothel King 0.2 v220624
Tue Jun 28 16:37:15 2022

As you can probably guess from the report file, it has to do with the .WEBM file. I'm pretty sure this is a know bug as the bug itself already tells you that it can't display the image in your gallery but I'm still kind of curious if this is fixable or if it's impossible due to it being an animated image (or if it would make the game slow or even more buggy).
Also once you click on "ignore", the game decides to start a new game rather than going back to Main Menu.

Hermenegild

Hi! I have another... annoyance? bug? Nothing game breaking, just unexpected.

Assume you have a fully developed girl (for her level), and you want her at the farm, for example to identify her weakness (because a contract requires a specific one). So you put her in the farm, and ask Gizel to train her in service at the stables.

Next day, Gizel says that the girl is fully trained in service, and asks you to change her training. You switch her to sex at the pig stall. Great, she'll train there. And immediately Gizel says that the girl is already fascinated with service and asks you again to switch the girl's training to something else.

This second question is superfluous. It's also confusing, because if you don't switch the girl's training in the second question, she'll still be training service at the stables, regardless of whether you switched her in response to Gizel's first question or not.

This second question should never appear if the girl has switched the training mode in response to the first question.

Maybe it could appear if the girl's the newly selected training concerns something she's already fascinated about. In my humble opinion, though, this check can easily be postponed to the next day without confusing the player.

Hermenegild

#65
Quote from: ryan555 on Jun 24, 2022, 09:31 PMHere's two kind of big bugs that have been in the game for a while:
[...]
How to get more girls than you have rooms:
1) get the Farm
2) make sure you have free space on the Farm but no empty rooms in the brothel
3) buy a girl from the market and select "Send her to the farm"
4) immediately press right click on the mouse to cancel the interaction and she will be in your brothel, going over the room limit

Another scenario with similar results, albeit more difficult to reproduce:
1) fill both the farm and the brothel to max capacity (for the chapter), with no empty space,
2) try to send one of the brothel girls to the farm, the game asks you to exchange the girl for one currently at the farm, so select one,
3) the brothel girl breaks down crying because she doesn't want to go to the farm,
4) you spare her this time, so she stays in the brothel.

... and you end up with one girl too many in the brothel and an empty farm pen.

The step 3) above is not easily triggered, so this particular scenario may be harder to debug. Fixing it, on the other hand, should be easy: return the farm girl back to the farm if the brothel girl is not going there.

EDIT: Or switch the checks so that the brothel girl breaks down before you're asked to select a farm girl.

GoldoTopic starter

Quote from: Badaz23 on Jun 27, 2022, 07:45 PMFor updating pack state
Installed mod
Head Hunter
 

I'm sorry, but an uncaught exception occurred.

[...]
  File "game/BKfunctions.rpy", line 2754, in get_pic_list
    show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'

-- Full Traceback ------------------------------------------------------------
[...]
  File "game/BKfunctions.rpy", line 2754, in get_pic_list
    show_unrecognized = preferences.packstate_unrecognized != "Hide"
AttributeError: 'Preferences' object has no attribute 'packstate_unrecognized'

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Brothel King 0.2 v220519
Tue Jun 28 03:33:36 2022


Strange, nothing has changed recently that could create this bug. Could you check that this line is indeed present in your BKgirlclass.rpy file around line 4940?
default preferences.packstate_unrecognized = "Rename"If not, it may be because of changes from a mod you're using. Chris12 or Jman may be in a better position to answer this one.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

DougTheC

#67
From F95zone:
Quote from: homerdante, post: 8445099, member: 4810171Yes i did update midgame which probably caused this - probably have to do a new game when Ch3 is fully out

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 368, in script call
    call ninja_hunt(selected_location) from _call_ninja_hunt

  File "game/BKchapter2.rpy", line 5364, in script call
    call ninja_game(NPC_mizuki) from _call_ninja_game_1
  File "game/BKminigame.rpy", line 197, in script
    python:
  File "game/BKminigame.rpy", line 205, in <module>
    njgame = NinjaGame(ninja=ninja, guest=ninja.guest, special=special)
AttributeError: 'NPC' object has no attribute 'guest'

Windows-10-10.0.22000
Ren'Py 7.4.10.2178
Brothel King 0.2 v220416
Thu Jun 30 14:16:35 2022


As Jman says, you are very out-of-date, in the Ren'Py supporting code, presumably the base BK code (scripts & files), and the latest update.

I would not wait a day; strongly suggest downloading & installing the base BK v 0.2 Release from OP, and the latest, required patch from https://www.mediafire.com/file/nnxnr2pkopkzv2y/game_patch_0.2.zip/file (updated June 24), in a new folder.
You can move over your "girls" folder to the new install.

A new game will be required, especially since upgrading from pre-Feb 2022 "beta Test" base code, but you'll be much safer from future errors.

@Goldo , I think this is a case where using default to set values of new variables/attributes could help in minor updates. Having this someplace:

        # Guest setup
        default NPC_narika.guest = "guest3"
        default NPC_mizuki.guest = "guest2"
        default NPC_haruka.guest = "guest1"

Edit: Jman's response
Quote from: Jman9, post: 8451228, member: 1528105defaulting an NPC objects attributes is unlikely to work any better. I suggest setting the .guest values right after the three ninja NPCs are created, in the NPC/trainer initialisation block.

I predict that May 5, 2022, the US Dow Jones index will drop over 1,063 points.
It's a sure thing.

If we believe absurdities we shall commit atrocities. -- Voltaire
-
Advice from the radio: Wash your hands, often with soap and water.
-
My doctor put me on the Pro Plan® Bright Mind™ diet.

GoldoTopic starter

Can't default an attribute before the NPC object is created, which happens in BKstart.rpy. I have included it in the newest patch, but it won't work on saved games, and people determined to break things will still easily be able to do so.

New patch out: https://www.mediafire.com/file/nnxnr2pkopkzv2y/game+patch+0.2.zip/file (link in sig)

Fixes the above issues, except the packstate problem (couldn't reproduce) and typoes. This is the last 0.2 patch, for real - next up will be the test version for 0.3 (still some time away).
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

neronero

#69
BKgirlclass.rpy line 768:

        def get_sex_act_modifier(self, sex_act = "all"):

            modifier = self.get_effect("change", "sex acts requirements")

            return modifier
The modifier searches for "sex acts requirements", but all existing effects are "sex act requirements"

Also, for 0.3 could you have a look at the tooltip for "mood" effects? (BKgirlclass.rpy line 3877) - would be nice if the description could be based on the source of the effect (perk/trait/item)
My Girl Packs: [ link ] - Trait King mod: [ link ]

Haywood

#70

Not a bug but a typo in the monster rape city event. Still seems like the right place to post it. RIP Spwaned.

Spoiler
[close]
Also I've been noticing "big" images outside of stallion training on the farm and I'm not sure why, I thought they were only meant to appear there. The above image is tagged "big anal happy sub finger cowgirl (00000)".

Leortha

Quote from: Haywood on Jul 02, 2022, 05:16 AMAlso I've been noticing "big" images outside of stallion training on the farm and I'm not sure why, I thought they were only meant to appear there. The above image is tagged "big anal happy sub finger cowgirl (00000)".

Nope.  Big (and I think Machine) are not limited to the farm.   Beast and Monster are limited.   Big dicks and fuck machines do not have the negative implications that bestiality and/or tentacle porn have.
Mega link for all my Brothel King girl packs:

https://mega.nz/folder/Fcg2lBID#yKalC_e47WAS8jsbHPyOvQ

Mega link for my loli packs:

https://mega.nz/folder/BMwizTwD#89Lqk4Q2cFxFNVQEzTzXDg

GoldoTopic starter

Quote from: Leortha on Jul 02, 2022, 02:09 PM
Quote from: Haywood on Jul 02, 2022, 05:16 AMAlso I've been noticing "big" images outside of stallion training on the farm and I'm not sure why, I thought they were only meant to appear there. The above image is tagged "big anal happy sub finger cowgirl (00000)".

Nope.  Big (and I think Machine) are not limited to the farm.   Beast and Monster are limited.   Big dicks and fuck machines do not have the negative implications that bestiality and/or tentacle porn have.

This is a somewhat debatable design choice but I erred on the side of picture diversity, because some girl packs had a limited pool of vanilla pictures to choose from.

If this bothers people too much, I guess I could add a setting in H Preferences to turn it on/off.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

Zuracha

#73
Hello, hope you're all having a good day. I'm new to this site, and have recently started to enjoy the game again. Lately, however, I haven't been able to start the application. WHen starting it, I run into this:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/kite_jobgirl_variables.rpy", line 81, in script
    image elf_lady_5 = "NPC/Jobgirl/elf house/lady 5.webp"
  File "game/kite_jobgirl_variables.rpy", line 81, in script
    image elf_lady_5 = "NPC/Jobgirl/elf house/lady 5.webp"
Exception: Possible infinite loop.

-- 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/kite_jobgirl_variables.rpy", line 81, in script
    image elf_lady_5 = "NPC/Jobgirl/elf house/lady 5.webp"
  File "game/kite_jobgirl_variables.rpy", line 81, in script
    image elf_lady_5 = "NPC/Jobgirl/elf house/lady 5.webp"
  File "renpy/execution.py", line 61, in check_infinite_loop
    raise Exception("Possible infinite loop.")
Exception: Possible infinite loop.

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Brothel King 0.2 v220630
Wed Jul  6 12:34:43 2022

If it means anything, this happened after I added a lot of girls to the game. Would too many girls cause a problem? I didn't have this problem beforehand. The errors seem to vary, but this is the one that seems to show up the most lately.

Haywood

Quote from: Goldo on Jul 05, 2022, 05:50 PMThis is a somewhat debatable design choice but I erred on the side of picture diversity, because some girl packs had a limited pool of vanilla pictures to choose from.

If this bothers people too much, I guess I could add a setting in H Preferences to turn it on/off.
I would prefer that option. In some cases "big" images only make sense in the context of someone modified for gigantism or are otherwise not quite human and feel out of place for regular customers or the MC. I think the pic I linked is a good example, another one would be packs from fantasy settings using orcs, ogres etc for those images.