News:

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

Former www.henthighschool.com

v0.3 Test version (gameplay only)

Started by Goldo, Jul 21, 2023, 09:54 PM

Previous topic - Next topic

neronero

#135
Error from this girlpack because there's an é in the BK.ini and it's saved with ANSI encoding.

The error is immediate at startup. If it can't be avoided, then it would be nice if the error message could become more specific about it being a BK.ini problem for such-and-such girl.

Edit: pack is fixed now, so you may have to doctor a BK.ini file to reproduce the problem.

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 310, in script call
    call expression "before_main_menu"
  File "game/BKevents.rpy", line 73, in script
    python:
  File "game/BKevents.rpy", line 76, in <module>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKevents.rpy", line 76, in <lambda>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKevents.rpy", line 76, in <listcomp>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKfunctions.rpy", line 3468, in read_init_file_generate_as
    v = read_init_file_field(file, "background story", "generate_as", _default="all", skip_checks=True)
  File "game/BKfunctions.rpy", line 3474, in read_init_file_field
    field = read_init_file(file, search_for = {_key : [_value]}, skip_checks=skip_checks)[_key + "/" + _value]
  File "game/BKfunctions.rpy", line 3495, in read_init_file
    parser.read(config.gamedir + "/" + file)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 20: invalid continuation byte

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

Full traceback:
  File "renpy/common/00start.rpy", line 310, in script call
    call expression "before_main_menu"
  File "game/BKevents.rpy", line 73, in script
    python:
  File "F:\ilx\BK03T\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\ilx\BK03T\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKevents.rpy", line 76, in <module>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKevents.rpy", line 76, in <lambda>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKevents.rpy", line 76, in <listcomp>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKfunctions.rpy", line 3468, in read_init_file_generate_as
    v = read_init_file_field(file, "background story", "generate_as", _default="all", skip_checks=True)
  File "game/BKfunctions.rpy", line 3474, in read_init_file_field
    field = read_init_file(file, search_for = {_key : [_value]}, skip_checks=skip_checks)[_key + "/" + _value]
  File "game/BKfunctions.rpy", line 3495, in read_init_file
    parser.read(config.gamedir + "/" + file)
  File "configparser.py", line 653, in read
  File "configparser.py", line 960, in _read
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 20: invalid continuation byte

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230721
Sun Aug 13 23:34:02 2023
My Girl Packs: [ link ] - Trait King mod: [ link ]

22ndgentlemen

Quote from: neronero on Aug 13, 2023, 09:47 PMError from this girlpack because there's an é in the BK.ini and it's saved with ANSI encoding.

The error is immediate at startup. If it can't be avoided, then it would be nice if the error message could become more specific about it being a BK.ini problem for such-and-such girl.

Edit: pack is fixed now, so you may have to doctor a BK.ini file to reproduce the problem.

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 310, in script call
    call expression "before_main_menu"
  File "game/BKevents.rpy", line 73, in script
    python:
  File "game/BKevents.rpy", line 76, in <module>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKevents.rpy", line 76, in <lambda>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKevents.rpy", line 76, in <listcomp>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKfunctions.rpy", line 3468, in read_init_file_generate_as
    v = read_init_file_field(file, "background story", "generate_as", _default="all", skip_checks=True)
  File "game/BKfunctions.rpy", line 3474, in read_init_file_field
    field = read_init_file(file, search_for = {_key : [_value]}, skip_checks=skip_checks)[_key + "/" + _value]
  File "game/BKfunctions.rpy", line 3495, in read_init_file
    parser.read(config.gamedir + "/" + file)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 20: invalid continuation byte

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

Full traceback:
  File "renpy/common/00start.rpy", line 310, in script call
    call expression "before_main_menu"
  File "game/BKevents.rpy", line 73, in script
    python:
  File "F:\ilx\BK03T\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\ilx\BK03T\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKevents.rpy", line 76, in <module>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKevents.rpy", line 76, in <lambda>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKevents.rpy", line 76, in <listcomp>
    gpacks = [gp for gp in GirlFilesDict.get_paths() if read_init_file_generate_as(GirlFilesDict.get_ini(gp)) != "story"]
  File "game/BKfunctions.rpy", line 3468, in read_init_file_generate_as
    v = read_init_file_field(file, "background story", "generate_as", _default="all", skip_checks=True)
  File "game/BKfunctions.rpy", line 3474, in read_init_file_field
    field = read_init_file(file, search_for = {_key : [_value]}, skip_checks=skip_checks)[_key + "/" + _value]
  File "game/BKfunctions.rpy", line 3495, in read_init_file
    parser.read(config.gamedir + "/" + file)
  File "configparser.py", line 653, in read
  File "configparser.py", line 960, in _read
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 20: invalid continuation byte

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230721
Sun Aug 13 23:34:02 2023


I was tearing my hair out trying to figure out the problem with this girl!  Thanks for looking into that!

EvilPenguin

Main quest line, the princess summon MC after defeating ninjas, leads to double dialog:
dialog -> 4 option to mingle (Princes / Kenshin / Nobles / Servants) -> dialog -> mingle.
This also happens in 2.0

wings

#138
Quote from: EvilPenguin on Aug 10, 2023, 12:29 PMTalking to Papa about the Water Kunoichi:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 370, in script call
    call c3_papa_cells() from _call_c3_papa_cells_1
  File "game/BKchapter3.rpy", line 1499, in script
    $ set_task("Bring a whore to Papa with at least {b}75 in Service, Beauty and Libido{/b}.", "special")
  File "game/BKchapter3.rpy", line 1499, in <module>
    $ set_task("Bring a whore to Papa with at least {b}75 in Service, Beauty and Libido{/b}.", "special")
NameError: name 'set_task' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 370, in script call
    call c3_papa_cells() from _call_c3_papa_cells_1
  File "game/BKchapter3.rpy", line 1499, in script
    $ set_task("Bring a whore to Papa with at least {b}75 in Service, Beauty and Libido{/b}.", "special")
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKchapter3.rpy", line 1499, in <module>
    $ set_task("Bring a whore to Papa with at least {b}75 in Service, Beauty and Libido{/b}.", "special")
NameError: name 'set_task' is not defined

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Thu Aug 10 14:27:58 2023


Satella about Water Ninja:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 386, in script
    show expression npc.char.image_tag
Exception: Not a displayable: None

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

Full traceback:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 386, in script
    show expression npc.char.image_tag
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1428, in execute
    show_imspec(self.imspec, atl=getattr(self, "atl", None))
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1385, in show_imspec
    expression = renpy.easy.displayable(expression)
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\easy.py", line 145, in displayable
    raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: None

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Thu Aug 10 14:32:35 2023

Gizel about Water ninja:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 386, in script
    show expression npc.char.image_tag
Exception: Not a displayable: None

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

Full traceback:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 386, in script
    show expression npc.char.image_tag
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1428, in execute
    show_imspec(self.imspec, atl=getattr(self, "atl", None))
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1385, in show_imspec
    expression = renpy.easy.displayable(expression)
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\easy.py", line 145, in displayable
    raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: None

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Thu Aug 10 14:37:47 2023

Gizel dialog for the Water kunoichi hint. "Some and mirros(...)" should be Smoke and mirros.


Asking the Carpenter about Earth ninja (gives no clue):
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 1029, in script
    if npc == NPC_kenshin: # High security prisoners, Demon-worship
SyntaxError: invalid syntax (game/BKchapter3.rpy, line 1102)

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

Full traceback:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 1029, in script
    if npc == NPC_kenshin: # High security prisoners, Demon-worship
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 2133, in execute
    if renpy.python.py_eval(condition):
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1151, in py_eval
    code = py_compile(code, 'eval')
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1088, in py_compile
    raise e
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1034, in py_compile
    raise orig_e
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1027, in py_compile
    tree = compile(source, filename, py_mode, ast.PyCF_ONLY_AST | flags, 1)
SyntaxError: invalid syntax (game/BKchapter3.rpy, line 1102)

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Thu Aug 10 14:47:46 2023



Renza about Void kunoichi:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 386, in script
    show expression npc.char.image_tag
Exception: Not a displayable: None

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

Full traceback:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 386, in script
    show expression npc.char.image_tag
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1428, in execute
    show_imspec(self.imspec, atl=getattr(self, "atl", None))
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1385, in show_imspec
    expression = renpy.easy.displayable(expression)
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\easy.py", line 145, in displayable
    raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: None

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Thu Aug 10 14:54:09 2023


Ramias, Maya and Roz when asking about Earth:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 386, in script
    show expression npc.char.image_tag
Exception: Not a displayable: None

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

Full traceback:
  File "game/BKmain.rpy", line 162, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 221, in script call
    call c3_hint(npc, nin) from _call_c3_hint
  File "game/BKchapter3.rpy", line 386, in script
    show expression npc.char.image_tag
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1428, in execute
    show_imspec(self.imspec, atl=getattr(self, "atl", None))
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1385, in show_imspec
    expression = renpy.easy.displayable(expression)
  File "E:\0 TEST play\Brothel_King-0.3t\Brothel_King-pc\renpy\easy.py", line 145, in displayable
    raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: None

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Thu Aug 10 14:56:49 2023

Okay. I think I found the issue with no clue for Earth ninja. Replace the elif npc = NPC with elif npc == NPC in BKchapter3(This file should be in game folder). This will solve the invalid syntax error. Not sure about Not a displayable error. Hope this helps.

fregreger

#139
I get this error when sexing with a virgin girl

After clicking "ignore", the trait disappears instead of being replaced like in the previous version. I've applied the latest fix.

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 1307, in script call
    call slave_interact(girl) from _call_slave_interact
  File "game/BKinteractions.rpy", line 396, in script
    $ inter.resolve()
  File "game/BKinteractions.rpy", line 396, in <module>
    $ inter.resolve()
  File "game/BKclasses.rpy", line 6334, in resolve
    if girl.pop_virginity(origin="MC"):
  File "game/BKgirlclass.rpy", line 5246, in pop_virginity
    self.add_trait(t_pet_trait, pos=1, no_perks=True)
TypeError: add_trait() got an unexpected keyword argument 'pos'

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

Full traceback:
  File "game/BKmain.rpy", line 1307, in script call
    call slave_interact(girl) from _call_slave_interact
  File "game/BKinteractions.rpy", line 396, in script
    $ inter.resolve()
  File "E:\Trash\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\Trash\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKinteractions.rpy", line 396, in <module>
    $ inter.resolve()
  File "game/BKclasses.rpy", line 6334, in resolve
    if girl.pop_virginity(origin="MC"):
  File "game/BKgirlclass.rpy", line 5246, in pop_virginity
    self.add_trait(t_pet_trait, pos=1, no_perks=True)
TypeError: add_trait() got an unexpected keyword argument 'pos'

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Fri Aug 18 03:57:39 2023

Hermenegild

Quote from: fregreger on Aug 18, 2023, 07:59 AMI get this error when sexing with a virgin girl
After clicking "ignore", the trait disappears instead of being replaced like in the previous version. I've applied the latest fix.

Check my fix in message #119.

DarkFire

Appeared after using "share senses" card:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKendday.rpy", line 358, in script call
    call expression lbl pass (girl=girl) from _call_expression_3
  File "game/BKevents.rpy", line 1546, in script call
    call slave_interact(girl, free=True) from _call_slave_interact_2
  File "game/BKinteractions.rpy", line 345, in script
    $ topic = ui.interact()
  File "game/BKinteractions.rpy", line 345, in <module>
    $ topic = ui.interact()
  File "game/BKscreens.rpy", line 6759, in execute
    screen sex_details(girl):
  File "game/BKscreens.rpy", line 6759, in execute
    screen sex_details(girl):
  File "game/BKscreens.rpy", line 6761, in execute
    frame:
  File "game/BKscreens.rpy", line 6766, in execute
    has vbox
  File "game/BKscreens.rpy", line 6774, in execute
    grid 4 8 spacing 6:
  File "game/BKscreens.rpy", line 6781, in execute
    for act in extended_sex_acts:
  File "game/BKscreens.rpy", line 6794, in execute
    if girl.personality_unlock[act]:
  File "game/BKscreens.rpy", line 6796, in execute
    $ tch = girl.get_training_chance(act)
  File "game/BKscreens.rpy", line 6796, in <module>
    $ tch = girl.get_training_chance(act)
  File "game/BKgirlclass.rpy", line 4346, in get_training_chance
    chance = 100 - self.get_obedience_check_target(act, train=True)
  File "game/BKgirlclass.rpy", line 4235, in get_obedience_check_target
    if self.get_effect("special", "link obedience"):
  File "game/BKgirlclass.rpy", line 2717, in get_effect
    r += get_effect(brothel, type, target, change_cap=change_cap)
TypeError: can only concatenate tuple (not "int") to tuple

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

Full traceback:
  File "game/BKendday.rpy", line 358, in script call
    call expression lbl pass (girl=girl) from _call_expression_3
  File "game/BKevents.rpy", line 1546, in script call
    call slave_interact(girl, free=True) from _call_slave_interact_2
  File "game/BKinteractions.rpy", line 345, in script
    $ topic = ui.interact()
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKinteractions.rpy", line 345, in <module>
    $ topic = ui.interact()
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\core.py", line 3579, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\core.py", line 4052, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\screen.py", line 476, in visit_all
    callback(self)
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\core.py", line 4052, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\screen.py", line 487, in per_interact
    self.update()
  File "C:\Users\Dani\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\display\screen.py", line 680, in update
    self.screen.function(**self.scope)
  File "game/BKscreens.rpy", line 6759, in execute
    screen sex_details(girl):
  File "game/BKscreens.rpy", line 6759, in execute
    screen sex_details(girl):
  File "game/BKscreens.rpy", line 6761, in execute
    frame:
  File "game/BKscreens.rpy", line 6766, in execute
    has vbox
  File "game/BKscreens.rpy", line 6774, in execute
    grid 4 8 spacing 6:
  File "game/BKscreens.rpy", line 6781, in execute
    for act in extended_sex_acts:
  File "game/BKscreens.rpy", line 6794, in execute
    if girl.personality_unlock[act]:
  File "game/BKscreens.rpy", line 6796, in execute
    $ tch = girl.get_training_chance(act)
  File "game/BKscreens.rpy", line 6796, in <module>
    $ tch = girl.get_training_chance(act)
  File "game/BKgirlclass.rpy", line 4346, in get_training_chance
    chance = 100 - self.get_obedience_check_target(act, train=True)
  File "game/BKgirlclass.rpy", line 4235, in get_obedience_check_target
    if self.get_effect("special", "link obedience"):
  File "game/BKgirlclass.rpy", line 2717, in get_effect
    r += get_effect(brothel, type, target, change_cap=change_cap)
TypeError: can only concatenate tuple (not "int") to tuple

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Mon Aug 21 04:24:39 2023

darthdestroyeis

Got this error when trying to save a new game. Deleted all files and redownloaded fresh with no change

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "renpy/common/00action_file.rpy", line 397, in __call__
    renpy.save(fn, extra_info=save_name)
TypeError: cannot pickle 'dict_keys' object (perhaps renpy.game.log.log[27].context.scene_lists.layers['screens'][0].displayable.scope['available_mixes'] = dict_keys(['default', 'My Mix', 'Good']))

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

Full traceback:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\core.py", line 3579, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\core.py", line 4540, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\screen.py", line 770, in event
    rv = self.child.event(ev, x, y, st)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 1177, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 1401, in event
    rv = super(Window, self).event(ev, x, y, st)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 279, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\layout.py", line 279, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\behavior.py", line 1138, in event
    return handle_click(self.clicked)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\behavior.py", line 1071, in handle_click
    rv = run(action)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\display\behavior.py", line 375, in run
    return action(*args, **kwargs)
  File "renpy/common/00action_file.rpy", line 397, in __call__
    renpy.save(fn, extra_info=save_name)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\loadsave.py", line 432, in save
    reraise(t, e, tb)
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 444, in raise_
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\loadsave.py", line 413, in save
    dump((roots, renpy.game.log), logf)
  File "E:\Stuff\Brothel_King-0.3t 8-6\Brothel_King-pc\renpy\compat\pickle.py", line 103, in dump
    pickle.dump(o, f, pickle.HIGHEST_PROTOCOL if highest else PROTOCOL)
TypeError: cannot pickle 'dict_keys' object (perhaps renpy.game.log.log[27].context.scene_lists.layers['screens'][0].displayable.scope['available_mixes'] = dict_keys(['default', 'My Mix', 'Good']))

Windows-10-10.0.22631 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Tue Aug 22 17:39:41 2023

GoldoTopic starter

Quote from: EvilPenguin on Aug 16, 2023, 08:01 PMMain quest line, the princess summon MC after defeating ninjas, leads to double dialog:
dialog -> 4 option to mingle (Princes / Kenshin / Nobles / Servants) -> dialog -> mingle.
This also happens in 2.0


What is the bug though? Each lunch has two parts, giving you two occasions to mingle. Do you mean you can select the same dialogue option twice? (that shouldn't happen)
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

EvilPenguin

1st summon is when goldo introduce you - and that all good. This isn't what been reported.

2nd summon is triggered when you move your brothel, you talk with the princess get the four options to mingle with the princess, commander uesugi, nobles and the servants. If you pick Uesugi, one of the option is to apologize and remind her you have the same goal.

(3rd?)But, immediately after that you get into a dialog about commander Uesugi where you see the locket with the picture of her mother and you get the four mingle options again where if you choose Uesugi you can ask her about her boyfriend and parents.

There is no downtime between 2nd and 3rd. If i remember correctly, there was game play before the summon with the locket.

GoldoTopic starter

Quote from: EvilPenguin on Aug 10, 2023, 10:25 PMI can't progress. The game i stuck at the objective to have 12 A ranks and 25k gold (i have 14xA and over 150k gold). Maybe abducting girls fucked something up. It would be good if someone could confirm that they can progress in their playthrough.

link: https://www.mediafire.com/file/p65nhhxta9g0kme/6-12-LT1.save/file

What happens is that you are in story mode so you can't progress because the story objectives are incomplete. These goals (incorrectly) did not specify a chapter limit so they started capping your progress on the chapter you unlocked them on (likely chapter 5, from your saved game).

As the story cannot be completed in this version, I recommend manually removing the story objectives in the console as a temporary fix:
game.set_task(None, "story")
game.set_task(None, "story2")
game.set_task(None, "story3")

Quote from: EvilPenguin on Aug 31, 2023, 12:51 PM1st summon is when goldo introduce you - and that all good. This isn't what been reported.

2nd summon is triggered when you move your brothel, you talk with the princess get the four options to mingle with the princess, commander uesugi, nobles and the servants. If you pick Uesugi, one of the option is to apologize and remind her you have the same goal.

(3rd?)But, immediately after that you get into a dialog about commander Uesugi where you see the locket with the picture of her mother and you get the four mingle options again where if you choose Uesugi you can ask her about her boyfriend and parents.

There is no downtime between 2nd and 3rd. If i remember correctly, there was game play before the summon with the locket.


Here's what should normally happen:
- To initiate, you need to meet each kunoichi twice in the city.
- The next day, you are summoned to the palace
- You see a scene where the Princess is scolding Kenshin for her poor performance, then after Kenshin leaves, she tells you about the locket
- Princess invites you for lunch (optional)
- During lunch, you get two opportunities to mingle (out of 4 total choices)
- After lunch is done, you are returned to the home screen

Isn't that the sequence of events that you are seeing?

Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

EvilPenguin

#146
Quote from: Goldo on Sep 01, 2023, 03:26 PMHere's what should normally happen:
- To initiate, you need to meet each kunoichi twice in the city.
- The next day, you are summoned to the palace
- You see a scene where the Princess is scolding Kenshin for her poor performance, then after Kenshin leaves, she tells you about the locket
- Princess invites you for lunch (optional)
- During lunch, you get two opportunities to mingle (out of 4 total choices)
- After lunch is done, you are returned to the home screen

Isn't that the sequence of events that you are seeing?



Yes i see this, but this is triggered right after a previous summon plays out.

EDIT: save file (cheated thru chapter 1) https://www.mediafire.com/file/uheslblrtrpptbo/14-3-LT1.save/file
go into next day and you get the double summon in my opinion.

GoldoTopic starter

Quote from: EvilPenguin on Sep 02, 2023, 11:25 AM
Quote from: Goldo on Sep 01, 2023, 03:26 PMHere's what should normally happen:
- To initiate, you need to meet each kunoichi twice in the city.
- The next day, you are summoned to the palace
- You see a scene where the Princess is scolding Kenshin for her poor performance, then after Kenshin leaves, she tells you about the locket
- Princess invites you for lunch (optional)
- During lunch, you get two opportunities to mingle (out of 4 total choices)
- After lunch is done, you are returned to the home screen

Isn't that the sequence of events that you are seeing?



Yes i see this, but this is triggered right after a previous summon plays out.

EDIT: save file (cheated thru chapter 1) https://www.mediafire.com/file/uheslblrtrpptbo/14-3-LT1.save/file
go into next day and you get the double summon in my opinion.

Did you perhaps have the first and second meeting with the final ninja on consecutive days? I think in that particular case both events might end up on the same day, playing back to back. I will change that.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

EvilPenguin

Quote from: Goldo on Sep 02, 2023, 10:59 PMDid you perhaps have the first and second meeting with the final ninja on consecutive days? I think in that particular case both events might end up on the same day, playing back to back. I will change that.

Yes. I clear them in order.

GoldoTopic starter

Hotfix out: https://www.mediafire.com/file/1va1v7cq1psp53x/game+patch+0.3.zip/file

Please note that this doesn't fix:
- The occasional bugs displaying text at night, they seem to happen occasionally when rolling back for me. I can't pinpoint the source so far.
- The multiple originals in market (can't reproduce). I will need a saved game to analyze.

Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!