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

*Read this first*

Please use this thread to report any crash or unintended behavior you encounter in the game (and there will be many, since this is alpha). Do not use this thread to ask for gameplay changes or make suggestions, they are best asked elsewhere.

First, the DON'Ts of bug reporting:
  • Never report bugs for an un-patched game. You can find the link to the latest patch in my signature. It's a small file, when in doubt, re-install it (by unpacking it in the 'game/' directory and overwriting existing files).
  • Do not report errors that occur after ignoring the first error. As a rule of thumb, ignoring an error will skip a block of code, which will then cause cascading errors that are not particularly meaningful. Only include the first error traceback in your report.
  • Do not report errors if you messed with the code yourself, unless you are 110% sure it didn't cause the bug.

The DOs of bug reports:
  • Always make sure your game is patched with the latest patch version before reporting a bug. Check my signature if in doubt. The patch version is listed in the top right corner of the screen when starting the game.
  • Please include the error message or traceback (you can easily copy it to the clipboard and paste it in your message). I am only interested in the first error message. Don't waste time copying and sharing subsequent errors.
  • Always mention if you are using mods, and which ones. Please report the bug to the appropriate mod thread if you suspect it is unrelated to the vanilla game.
  • Check if the bug happens on a new game. Some patches (normally only for the unstable test version) will break existing saved games. Please try to reproduce the bug on a new game (= started after installing the latest patch), or report if you were unable to do so.
  • Please explain what you were doing in order to reproduce the error. If the error is not reproducible, please provide as much context as you can about what you were doing at the time of the error.

It isn't generally necessary to include your saved game, but it can help in the case of weird bugs that cannot be replicated (i.e. it happens only once in a particular setting, not in all games).


Please double check the following before reporting a bug (see the download section for links and more info):
- Have you applied the latest patch?
- Have you installed a girl pack?
- Have you removed all unnecessary files from the 'game' and 'game/girls' folders (especially the old .rpy files)?

I have to mention an issue that happens often: People install the game on top of an older version, sometimes in sub-folders. Don't do that. The game will try to compile all the .rpy files it encounters and it will crash when it runs into duplicates. Always install the game in its own, clean folder.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

neronero

Error from Trait King thread, but I don't think TK is the cause.

Quote from: EvilPenguin on May 18, 2022, 11:29 PMduring ninja hunt, triggering that event:

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 5367, in script call
    call ninja_game(NPC_haruka) from _call_ninja_game_2
  File "game/BKminigame.rpy", line 222, in script
    call expression ("ninja_" + guest) from _call_expression_7
  File "game/BKminigame.rpy", line 222, in <module>
    call expression ("ninja_" + guest) from _call_expression_7
NameError: name 'guest' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 368, in script call
    call ninja_hunt(selected_location) from _call_ninja_hunt
  File "game/BKchapter2.rpy", line 5367, in script call
    call ninja_game(NPC_haruka) from _call_ninja_game_2
  File "game/BKminigame.rpy", line 222, in script
    call expression ("ninja_" + guest) from _call_expression_7
  File "renpy/ast.py", line 1488, in execute
    label = renpy.python.py_eval(label)
  File "renpy/python.py", line 2276, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "renpy/python.py", line 2269, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/BKminigame.rpy", line 222, in <module>
    call expression ("ninja_" + guest) from _call_expression_7
NameError: name 'guest' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Brothel King 0.2 v220511
Thu May 19 01:20:13 2022

would attach a save file, but:
"Your file is too large. The maximum attachment size allowed is 512 KB. 0.8 MB"
My Girl Packs: [ link ] - Trait King mod: [ link ]

GoldoTopic starter

New patch out, fixing this bug and updating the forum link.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

Nyucian

My apologies if this is the wrong thread for it but:

Having a bit of an Issue with the "King's Way" V2.1 - I download and install the mod (dragging it fresh into the Mods folder) but even if I start a new game and run it: I get this error immediately

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 947, in script
    $ result = ui.interact()
  File "game/BKmain.rpy", line 947, in <module>
    $ result = ui.interact()
  File "game/Mods/King's Way/kings_way.rpy", line 85, in execute
    screen cheat_main():
  File "game/Mods/King's Way/kings_way.rpy", line 85, in execute
    screen cheat_main():
  File "game/Mods/King's Way/kings_way.rpy", line 87, in execute
    frame:
  File "game/Mods/King's Way/kings_way.rpy", line 91, in execute
    has vbox
  File "game/Mods/King's Way/kings_way.rpy", line 97, in execute
    if cheat_menu == "option":
  File "game/Mods/King's Way/kings_way.rpy", line 100, in execute
    if slave_id == "":
  File "game/Mods/King's Way/kings_way.rpy", line 103, in execute
    use cheat_slave_edit
  File "game/Mods/King's Way/kings_way.rpy", line 195, in execute
    screen cheat_slave_edit:
  File "game/Mods/King's Way/kings_way.rpy", line 195, in execute
    screen cheat_slave_edit:
  File "game/Mods/King's Way/kings_way.rpy", line 197, in execute
    hbox:
  File "game/Mods/King's Way/kings_way.rpy", line 198, in execute
    viewport:
  File "game/Mods/King's Way/kings_way.rpy", line 206, in execute
    has vbox
  File "game/Mods/King's Way/kings_way.rpy", line 461, in execute
    hbox:
  File "game/Mods/King's Way/kings_way.rpy", line 463, in execute
    bar:
  File "game/Mods/King's Way/kings_way.rpy", line 463, in keywords
    bar:
  File "game/Mods/King's Way/kings_way.rpy", line 465, in <module>
    value FieldValue(slave_id, "upkeep", max_upkeep[slave_id.rank])
NameError: name 'max_upkeep' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 947, in script
    $ result = ui.interact()
  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/BKmain.rpy", line 947, in <module>
    $ result = 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/Mods/King's Way/kings_way.rpy", line 85, in execute
    screen cheat_main():
  File "game/Mods/King's Way/kings_way.rpy", line 85, in execute
    screen cheat_main():
  File "game/Mods/King's Way/kings_way.rpy", line 87, in execute
    frame:
  File "game/Mods/King's Way/kings_way.rpy", line 91, in execute
    has vbox
  File "game/Mods/King's Way/kings_way.rpy", line 97, in execute
    if cheat_menu == "option":
  File "game/Mods/King's Way/kings_way.rpy", line 100, in execute
    if slave_id == "":
  File "game/Mods/King's Way/kings_way.rpy", line 103, in execute
    use cheat_slave_edit
  File "game/Mods/King's Way/kings_way.rpy", line 195, in execute
    screen cheat_slave_edit:
  File "game/Mods/King's Way/kings_way.rpy", line 195, in execute
    screen cheat_slave_edit:
  File "game/Mods/King's Way/kings_way.rpy", line 197, in execute
    hbox:
  File "game/Mods/King's Way/kings_way.rpy", line 198, in execute
    viewport:
  File "game/Mods/King's Way/kings_way.rpy", line 206, in execute
    has vbox
  File "game/Mods/King's Way/kings_way.rpy", line 461, in execute
    hbox:
  File "game/Mods/King's Way/kings_way.rpy", line 463, in execute
    bar:
  File "game/Mods/King's Way/kings_way.rpy", line 463, in keywords
    bar:
  File "game/Mods/King's Way/kings_way.rpy", line 465, in <module>
    value FieldValue(slave_id, "upkeep", max_upkeep[slave_id.rank])
NameError: name 'max_upkeep' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Brothel King 0.2 v220519
Fri May 20 19:35:12 2022

Normally, I would post this in it's own dedicated thread but there doesn't seem to be a dedicated thread for this mod in paticular - except in the Resources thread.

neronero

#4
Quote from: Nyucian on May 21, 2022, 02:38 AMMy apologies if this is the wrong thread for it but:

Having a bit of an Issue with the "King's Way" V2.1 - I download and install the mod (dragging it fresh into the Mods folder) but even if I start a new game and run it: I get this error immediately

Normally, I would post this in it's own dedicated thread but there doesn't seem to be a dedicated thread for this mod in paticular - except in the Resources thread.
Apparently the version 2.1 I had linked in the resources/mods thread is outdated, and the 2.0 version hosted on F95zone is the most recent version. (edit: or is it? ???) Try downloading the mod again from F95zone.

edit: There seems to be even more confusion about the versioning... See the latest posts in the thread linked above. Either way, I believe Kite80 might provide support for one of these versions, so pay extra attention to his posts.
My Girl Packs: [ link ] - Trait King mod: [ link ]

Smaug

#5
Dunno where else to post this, but with the addition of resolution options I scoured the internet for source pics and upscaled some to target 1080x1920 resolution. (Also a couple of MC portraits). Not a comprehensive replacer, just room and brothel pics mostly.

MEGA link

vadi92

Quote from: neronero on May 21, 2022, 12:24 PM
Quote from: Nyucian on May 21, 2022, 02:38 AMMy apologies if this is the wrong thread for it but:

Having a bit of an Issue with the "King's Way" V2.1 - I download and install the mod (dragging it fresh into the Mods folder) but even if I start a new game and run it: I get this error immediately

Normally, I would post this in it's own dedicated thread but there doesn't seem to be a dedicated thread for this mod in paticular - except in the Resources thread.
Apparently the version 2.1 I had linked in the resources/mods thread is outdated, and the 2.0 version hosted on F95zone is the most recent version. (edit: or is it? ???) Try downloading the mod again from F95zone.

edit: There seems to be even more confusion about the versioning... See the latest posts in the thread linked above. Either way, I believe Kite80 might provide support for one of these versions, so pay extra attention to his posts.

I posted my own King's way mod there. It's the 2.0 version if i remember correctly.
Edit: sorry i was wrong.

Toshiro

Got an error when doing a girls love event.  She also didn't get a pet.
Mods: Trait King, Headhunter, King's way.
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 1308, in script call
    call slave_interact(girl) from _call_slave_interact
  File "game/BKinteractions.rpy", line 314, in script call
    call expression girl.story pass (girl=girl) from _call_expression_1
  File "game/BKinteractions.rpy", line 5068, in script call
    call slave_story_help(girl, act) from _call_slave_story_help_10
  File "game/BKinteractions.rpy", line 6188, in script
    $ girl.items.append(pet)
  File "game/BKinteractions.rpy", line 6188, in <module>
    $ girl.items.append(pet)
NameError: name 'pet' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 1308, in script call
    call slave_interact(girl) from _call_slave_interact
  File "game/BKinteractions.rpy", line 314, in script call
    call expression girl.story pass (girl=girl) from _call_expression_1
  File "game/BKinteractions.rpy", line 5068, in script call
    call slave_story_help(girl, act) from _call_slave_story_help_10
  File "game/BKinteractions.rpy", line 6188, in script
    $ girl.items.append(pet)
  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/BKinteractions.rpy", line 6188, in <module>
    $ girl.items.append(pet)
NameError: name 'pet' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Brothel King 0.2 v220519
Sat May 21 07:59:46 2022

Razzy

#8
No mods (except some homebrew number tweaks for max rooms etc), latest patch. Seemed pretty self explanatory so have "fixed" it myself by copying the tavern.webp and renaming it.

Edit: Error occurred a second time except with strip club room not having dusty variant, I just paid sill to clean (Happened on reload and forgot to clean up before people judge me :P)

I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'brothels/rooms/tavern_dusty.webp'>:
  File "game/BKmain.rpy", line 909, in script
    with Dissolve(0.3)
IOError: Couldn't find file 'brothels/rooms/tavern_dusty.webp'.

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

Full traceback:
  File "game/BKmain.rpy", line 909, in script
    with Dissolve(0.3)
  File "renpy/ast.py", line 1443, in execute
    renpy.exports.with_statement(trans, paired)
  File "renpy/exports.py", line 1682, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "renpy/display/core.py", line 2752, in do_with
    clear=clear)
  File "renpy/display/core.py", line 3315, 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 3834, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "renpy/display/core.py", line 2555, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 492, in renpy.display.render.render_screen
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 824, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/transition.py", line 368, in render
    top = render(self.new_widget, width, height, st, at)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 824, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 824, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/transform.py", line 733, in render
    return transform_render(self, width, height, st, at)
  File "accelerator.pyx", line 187, in renpy.display.accelerator.transform_render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/im.py", line 623, in render
    return cache.get(self, render=True)
  File "renpy/display/im.py", line 287, in get
    surf = image.load()
  File "renpy/display/im.py", line 704, in load
    raise e
IOError: Couldn't find file 'brothels/rooms/tavern_dusty.webp'.

Windows-10-10.0.19041
Ren'Py 7.4.10.2178
Brothel King 0.2 v220519
Sun May 22 18:01:54 2022

vadi92

#9
This should solve your missing image error. Just drop the contets of it the same way as you do with the patch.

Edit: but as i see it you are using the older version of the game. As the new base game should have them already included as far as i know.

DougTheC

#10
Quote from: Razzy on May 22, 2022, 05:09 PMNo mods (except some homebrew number tweaks for max rooms etc), latest patch. Seemed pretty self explanatory so have "fixed" it myself by copying the tavern.webp and renaming it.

Edit: Error occurred a second time except with strip club room not having dusty variant, I just paid sill to clean (Happened on reload and forgot to clean up before people judge me :P)

I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'brothels/rooms/tavern_dusty.webp'>:
  File "game/BKmain.rpy", line 909, in script
    with Dissolve(0.3)
IOError: Couldn't find file 'brothels/rooms/tavern_dusty.webp'.

Windows-10-10.0.19041
Ren'Py 7.4.10.2178
Brothel King 0.2 v220519
Sun May 22 18:01:54 2022

I agree with vadi92 that you have an old base game, as noted in following FAQ quote, with real cure to download current v 0.2 Release base game in new folder, install latest patch, (can then move or copy girls folders to new install) & start new game.

The confusion arises since so many files are in the patch, that trying to update old base code almost works.

QuoteThe latest version is always available from (recommended):
The HHS Brothel King forum Download post,
or the direct links
current
 Win base game (v 0.2 Release), which must be followed by
latest patch.

The base game and required patch are always available from these links, which are also listed in creator @Goldo's sig.

Q: Am I using the latest release/version?
A: On Feb 12, 2022, the pre-patch base code changed from a "ver 0.2 Test" to "ver 0.2 Release" set of code. Those using older versions, with "faq.txt" file dated before February 7, 2022, need to download and extract the full base game again, before extracting the required latest update patch, and starting a new game.

It is highly recommended not to overwrite your old game folder but to install it in a new location.
If using the same install folder, you'll probably need to delete "game/*.rpyc" old compiled files, which are automatically recompiled on running game.

For those with current base game code, the version number shows in the start menu, top-right corner, as well as in game/options.rpy like
config.version = "0.2 v220222",
with the part after the "0.2 v" being the yymmdd date of patch creation.

The latest patch is always available from http://www.mediafire.com/file/nnxnr2pkopkzv2y/game+patch+0.2.zip/file
which has a upload date that you can compare to the yymmdd of your current patch.
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.

QuietBob

#11
Since this is my first post on the new forum, I feel obligated to say, ah, it's good to have a home again.

Now that I've said that, on the old forum I mentioned an issue with girl's reactions changing drastically before and during training, going from, "Haha, that sounds like fun, master!" to "That's dirty! I don't want to!" and you had asked for specific examples.

I just started a new game with the latest patch and I've got a save here with only one slave, Leortha's Astrid Hofferson, right before training nude which demonstrates exactly what I'm talking about. If you try training again the next day, regular or advanced, you'll see it again. You might have to try a couple times because the dialogue is randomized, but it should show what I'm talking about more often than not.

Apparently I can't attach files here, so I've uploaded it to Mega here: https://mega.nz/folder/B01ByYCa#8OrOqUfdbgK8ZWU2ynMVGA

QuietBob

Another thing I'm running into with the most recent patch, whenever I punish girls for "Disobeying you" I don't have any dialogue. It used to say, "You refused to work as (job)." but now it's just blank.

Razzy

Quote from: DougTheC on May 24, 2022, 06:52 PM
Quote from: Razzy on May 22, 2022, 05:09 PMNo mods (except some homebrew number tweaks for max rooms etc), latest patch. Seemed pretty self explanatory so have "fixed" it myself by copying the tavern.webp and renaming it.

Edit: Error occurred a second time except with strip club room not having dusty variant, I just paid sill to clean (Happened on reload and forgot to clean up before people judge me :P)

I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'brothels/rooms/tavern_dusty.webp'>:
  File "game/BKmain.rpy", line 909, in script
    with Dissolve(0.3)
IOError: Couldn't find file 'brothels/rooms/tavern_dusty.webp'.

Windows-10-10.0.19041
Ren'Py 7.4.10.2178
Brothel King 0.2 v220519
Sun May 22 18:01:54 2022

I agree with vadi92 that you have an old base game, as noted in following FAQ quote, with real cure to download current v 0.2 Release base game in new folder, install latest patch, (can then move or copy girls folders to new install) & start new game.

The confusion arises since so many files are in the patch, that trying to update old base code almost works.

QuoteThe latest version is always available from (recommended):
The HHS Brothel King forum Download post,
or the direct links
current
 Win base game (v 0.2 Release), which must be followed by
latest patch.

The base game and required patch are always available from these links, which are also listed in creator @Goldo's sig.

Q: Am I using the latest release/version?
A: On Feb 12, 2022, the pre-patch base code changed from a "ver 0.2 Test" to "ver 0.2 Release" set of code. Those using older versions, with "faq.txt" file dated before February 7, 2022, need to download and extract the full base game again, before extracting the required latest update patch, and starting a new game.

It is highly recommended not to overwrite your old game folder but to install it in a new location.
If using the same install folder, you'll probably need to delete "game/*.rpyc" old compiled files, which are automatically recompiled on running game.

For those with current base game code, the version number shows in the start menu, top-right corner, as well as in game/options.rpy like
config.version = "0.2 v220222",
with the part after the "0.2 v" being the yymmdd date of patch creation.

The latest patch is always available from http://www.mediafire.com/file/nnxnr2pkopkzv2y/game+patch+0.2.zip/file
which has a upload date that you can compare to the yymmdd of your current patch.


Weird as I did do a fresh install sometime after 0.2 was officially released  ??? ahh well Maybe I messed it up or something, will do a new fresh install now then  ;D

krakr

Replying here rather than F95 to Goldo's response to my "bitches be glitchin'" type post in which I received the appropriate console command to solve that.

MC.girls[number].name   (to find/check the right number)
MC.girls[number].away = False

"Of course the console works, but this is indicative of a larger bug. What happened exactly , can you reliably reproduce it?"
short answer = no
My error was a slave that was indefinitely "unavailable" every day, the day count changed randomly.
How I got to that was:
Took every "job" assigning the most appropriate gal per.
hit "end day"
5 of 6 ended well, #5 never ended.
That's the best I can give you. No Renpy error, just bitch got glitched.