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

Quote from: neronero on Aug 16, 2023, 05:33 PM
Quote from: Pepitoxxxx on Aug 16, 2023, 02:53 PMSorry to bother for this i've got a tiny issue with event.rpy

Spoiler
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


The label _call_free_girl_talk_1 is defined twice, at File "game/girls/Apolonia Lapiedra/_events.rpy", line 181:
        call free_girl_talk(girl) from _call_free_girl_talk_1
and File "game/girls/Boa Hancock/_events.rpyc", line 108:
        call free_girl_talk(girl) from _call_free_girl_talk_1


Ren'Py Version: Ren'Py 7.4.11.2266
Wed Aug 16 15:31:39 2023

[close]
As stated above the game doesn't allow those similar call although they seems to be fallback safeties for events. How should i fix those ? Are those events somehow outdated for the current patch? I've searched a bit to find a fix for this the only thing i've found for now is to change" from _call_free_girl_talk_1" to "...talk_3" cause 2 was already use from another event file resulting in the same error.. I was just wondering if it only require from us to change this iteration without problem or is it just a little workaround that could lead to a bigger problem eventually thanks for answering....

I always assumed that the "from ..." part is there to help Goldo with debugging.

I have nothing to do with the 'from' clauses, they are added automatically by Ren'py when you create a build. My interpretation is that when the game is compiled, it needs the info to be able to return to the right 'call' line after a return. But really, I've never actually looked it up, so your guess is as good as mine.

But leaving that clause out never causes problems in the set-up that we are using, so the best course of action would be to leave it out entirely (although I'm sure you can write 'from _whatever0001' at the end and it would also work).

Quote from: wings on Aug 17, 2023, 08:40 AMHi, I got below error while playing. Could you please help me out. Below exception while trying to collect 3 hint of 3 girls(Ninja?).

Exception 1:
-----------------------------------------------------------------------------------------------------------------------------------------
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 "C:\Users\vetri\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\vetri\Downloads\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.22621 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Thu Aug 17 14:08:42 2023

Exception 2:
---------------------------------------------------------------------------------------------------------------------------------------
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 "C:\Users\vetri\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1428, in execute
    show_imspec(self.imspec, atl=getattr(self, "atl", None))
  File "C:\Users\vetri\Downloads\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 1385, in show_imspec
    expression = renpy.easy.displayable(expression)
  File "C:\Users\vetri\Downloads\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.22621 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Thu Aug 17 13:53:51 2023

Thanks in advance.

Wrong thread, reporting bugs on the experimental 0.3 version go here (but this particular bug has already been reported so don't worry).
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

Alpha_and_omega

#166
Hi Goldo,

Just a typo thing that has bothered my slightly for a long time, don't know how easy it is to correct though.
When a customer chooses a girl, the customer's pronoun is with a lower case, even though it is directly after a fullstop (see screenshot in attachment).

Seems to come from the choose_girl method in BKclasses.rpy, and the use of :pron:
Unfortunatly I don't know the cleanest way to capitalize the first letter of a word in rpy.

Spoiler
def choose_girl(self, girls): # For xxx interactions: returns a girl and a reason for choosing her.

            chosen = None
            best_score = 0
            sex_act = self.wants_sex_act

            # Sanity check

            if not girls:
                raise AssertionError("Customer could not find girls to choose from. (%s)" % and_text([g.name for g in girls]))

#             girls = [g for g in girls if g.does_anything()]

#             if not girls:
#                 raise AssertionError, "Customer could not find girls with an active sex act to choose from. (%s)" % and_text([g.name for g in girls])

            # Looks for the best girl

            for girl in girls:

                girl_score = 0
                reason = ""

                # 1. The customer looks for a particular trait (his fetish)

                if girl.has_trait(self.fetish):
                    girl_score += 250

                    if trait_dict[self.fetish].verb == "be":
                        reason = __(":cust: came looking for a ") + __(self.fetish) + __(" girl. :pron: :verb: elated to meet :girl:.")
                    elif trait_dict[self.fetish].verb == "be a":
                        reason = __(":cust: came looking for a ") + __(self.fetish) + __(". :pron: :verb: elated to meet :girl:.")
                    elif trait_dict[self.fetish].verb == "have":
                        reason = __(":cust: came looking for a girl with ") + __(self.fetish) + __(". :pron: :verb: elated to meet :girl:.")
                    elif trait_dict[self.fetish].verb == "have a":
                        reason = __(":cust: came looking for a girl with a ") + __(self.fetish) + __(". :pron: :verb: elated to meet :girl:.")

                # 2. The customer looks for a particular stat

                girl_score += girl.get_stat(self.preference) # Customers are looking for one stat in particular

                if not reason:
                    reason = __(":cust: wanted to meet ") + __(gstats_descript[self.preference]) + ". "

                    if girl_score >= 50*self.rank:
                        reason += __(":pron: :verb: elated to meet :girl:.")
                    elif girl_score >= 35*self.rank:
                        reason += __(":pron: :verb: pleased to meet :girl:.")
                    elif girl_score >= 20*self.rank:
                        reason += __(":pron: settled for :girl:.") # Special case handled with a try / except clause within the perform method
                    else:
                        reason += __(":pron: :verb: disappointed to meet :girl:.")
[close]

edit: forgot this is the new forum, don't know how to add an attachment...  :'(

vadi92

cumthos posted this on the f95 forum:

Can i get some help please.

My game crashes immediately after the Gina Scene in the Prison during Chapter 2. There is no ignore option and rollback takes me to just before the scene.

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKstory_events.rpy", line 4734, in script
return
Exception: Could not find return label (u'game/BKevents.rpy', 1696972869, 17992).

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

Full traceback:
File "game/BKstory_events.rpy", line 4734, in script
return
File "/private/var/folders/r8/bp__7lw536x_1c3p667m6cbc0000gn/T/AppTranslocation/C487250D-99DC-4FEF-81C4-F3433671194E/d/Brothel_King.app/Contents/Resources/autorun/renpy/ast.py", line 1567, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "/private/var/folders/r8/bp__7lw536x_1c3p667m6cbc0000gn/T/AppTranslocation/C487250D-99DC-4FEF-81C4-F3433671194E/d/Brothel_King.app/Contents/Resources/autorun/renpy/execution.py", line 710, in lookup_return
raise Exception("Could not find return label {!r}.".format(self.return_stack[-1]))
Exception: Could not find return label (u'game/BKevents.rpy', 1696972869, 17992).

Darwin-23.0.0-x86_64-i386-64bit
Ren'Py 7.4.10.2178
Brothel King 0.2 v220711
Wed Oct 11 13:06:57 2023

Edit: No worries, I found the autosave page and went there while having all my AP for the day

GoldoTopic starter

Quote from: vadi92 on Oct 11, 2023, 02:24 PMcumthos posted this on the f95 forum:

Can i get some help please.

My game crashes immediately after the Gina Scene in the Prison during Chapter 2. There is no ignore option and rollback takes me to just before the scene.

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKstory_events.rpy", line 4734, in script
return
Exception: Could not find return label (u'game/BKevents.rpy', 1696972869, 17992).

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

Full traceback:
File "game/BKstory_events.rpy", line 4734, in script
return
File "/private/var/folders/r8/bp__7lw536x_1c3p667m6cbc0000gn/T/AppTranslocation/C487250D-99DC-4FEF-81C4-F3433671194E/d/Brothel_King.app/Contents/Resources/autorun/renpy/ast.py", line 1567, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "/private/var/folders/r8/bp__7lw536x_1c3p667m6cbc0000gn/T/AppTranslocation/C487250D-99DC-4FEF-81C4-F3433671194E/d/Brothel_King.app/Contents/Resources/autorun/renpy/execution.py", line 710, in lookup_return
raise Exception("Could not find return label {!r}.".format(self.return_stack[-1]))
Exception: Could not find return label (u'game/BKevents.rpy', 1696972869, 17992).

Darwin-23.0.0-x86_64-i386-64bit
Ren'Py 7.4.10.2178
Brothel King 0.2 v220711
Wed Oct 11 13:06:57 2023

Edit: No worries, I found the autosave page and went there while having all my AP for the day


That error message looks like garbage to me. Perhaps it's a freak Ren'Py bug because of rollback or saving/loading in the middle of the event?

Unless anyone got through that particular scene with the same problem, I'm going to chalk this up to some random bad luck for now.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

vadi92

Quote from: YPJ on Oct 11, 2023, 07:14 PMhi

first time posting bug report, if something wrong pls tell me

1. bug happens when i switching shops
Spoiler
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 1693, in script call
    call visit_merchant(shop) from _call_visit_merchant_10
  File "game/BKmain.rpy", line 1756, in script
    $ game.sort(right_focus.items, context = context + " items")
  File "game/BKmain.rpy", line 1756, in <module>
    $ game.sort(right_focus.items, context = context + " items")
  File "game/BKclasses.rpy", line 80, in sort
    target.sort(key=lambda x, s=sorter[1]: getattr(x, s), reverse=sorter[3]) # str(getattr(x, s))
  File "game/BKclasses.rpy", line 80, in <lambda>
    target.sort(key=lambda x, s=sorter[1]: getattr(x, s), reverse=sorter[3]) # str(getattr(x, s))
AttributeError: 'Minion' object has no attribute 'price'

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

Full traceback:
  File "game/BKmain.rpy", line 1693, in script call
    call visit_merchant(shop) from _call_visit_merchant_10
  File "game/BKmain.rpy", line 1756, in script
    $ game.sort(right_focus.items, context = context + " items")
  File "F:\BK\Brothel_King 0.3\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\BK\Brothel_King 0.3\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKmain.rpy", line 1756, in <module>
    $ game.sort(right_focus.items, context = context + " items")
  File "game/BKclasses.rpy", line 80, in sort
    target.sort(key=lambda x, s=sorter[1]: getattr(x, s), reverse=sorter[3]) # str(getattr(x, s))
  File "F:\BK\Brothel_King 0.3\renpy\revertable.py", line 97, in do_mutation
    return method(self, *args, **kwargs)
  File "game/BKclasses.rpy", line 80, in <lambda>
    target.sort(key=lambda x, s=sorter[1]: getattr(x, s), reverse=sorter[3]) # str(getattr(x, s))
AttributeError: 'Minion' object has no attribute 'price'

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Wed Oct 11 21:00:32 2023
[close]

2. bug happens when i take item from girl
Spoiler
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 1461, in script
    $ res = ui.interact()
  File "game/BKmain.rpy", line 1461, in <module>
    $ res = ui.interact()
  File "game/BKitems.rpy", line 427, in execute
    screen item_tab(context, left_party, right_party): # Where X_party are a list of inventory-holding characters
  File "game/BKitems.rpy", line 427, in execute
    screen item_tab(context, left_party, right_party): # Where X_party are a list of inventory-holding characters
  File "game/BKitems.rpy", line 455, in execute
    fixed:
  File "game/BKitems.rpy", line 470, in execute
    if right_focus:
  File "game/BKitems.rpy", line 471, in execute
    vbox xsize xres(255) xalign 1.0 xanchor 1.0 ypos 0.1:
  File "game/BKitems.rpy", line 476, in execute
    hbox xalign 1.0:
  File "game/BKitems.rpy", line 480, in execute
    use item_list(items=right_focus.items, owner=right_focus, counterpart=left_focus, sc_prefix="shift_") id "il2"
  File "game/BKitems.rpy", line 588, in execute
    screen item_list(items, owner, counterpart, sc_prefix, search=False): # May also accept Minions as 'items'
  File "game/BKitems.rpy", line 588, in execute
    screen item_list(items, owner, counterpart, sc_prefix, search=False): # May also accept Minions as 'items'
  File "game/BKitems.rpy", line 612, in execute
    vbox xsize xres(180):
  File "game/BKitems.rpy", line 613, in execute
    frame xfill True:
  File "game/BKitems.rpy", line 618, in execute
    has vbox
  File "game/BKitems.rpy", line 625, in execute
    if items:
  File "game/BKitems.rpy", line 627, in execute
    for i in range(line_nb):
  File "game/BKitems.rpy", line 628, in execute
    if page_index+i < len(items):
  File "game/BKitems.rpy", line 629, in execute
    $ it = items[page_index+i]
  File "game/BKitems.rpy", line 629, in <module>
    $ it = items[page_index+i]
IndexError: list index out of range

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

Full traceback:
  File "game/BKmain.rpy", line 1461, in script
    $ res = ui.interact()
  File "F:\BK\Brothel_King 0.3\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\BK\Brothel_King 0.3\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKmain.rpy", line 1461, in <module>
    $ res = ui.interact()
  File "F:\BK\Brothel_King 0.3\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "F:\BK\Brothel_King 0.3\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 "F:\BK\Brothel_King 0.3\renpy\display\core.py", line 4052, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "F:\BK\Brothel_King 0.3\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "F:\BK\Brothel_King 0.3\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "F:\BK\Brothel_King 0.3\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "F:\BK\Brothel_King 0.3\renpy\display\screen.py", line 476, in visit_all
    callback(self)
  File "F:\BK\Brothel_King 0.3\renpy\display\core.py", line 4052, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "F:\BK\Brothel_King 0.3\renpy\display\screen.py", line 487, in per_interact
    self.update()
  File "F:\BK\Brothel_King 0.3\renpy\display\screen.py", line 680, in update
    self.screen.function(**self.scope)
  File "game/BKitems.rpy", line 427, in execute
    screen item_tab(context, left_party, right_party): # Where X_party are a list of inventory-holding characters
  File "game/BKitems.rpy", line 427, in execute
    screen item_tab(context, left_party, right_party): # Where X_party are a list of inventory-holding characters
  File "game/BKitems.rpy", line 455, in execute
    fixed:
  File "game/BKitems.rpy", line 470, in execute
    if right_focus:
  File "game/BKitems.rpy", line 471, in execute
    vbox xsize xres(255) xalign 1.0 xanchor 1.0 ypos 0.1:
  File "game/BKitems.rpy", line 476, in execute
    hbox xalign 1.0:
  File "game/BKitems.rpy", line 480, in execute
    use item_list(items=right_focus.items, owner=right_focus, counterpart=left_focus, sc_prefix="shift_") id "il2"
  File "game/BKitems.rpy", line 588, in execute
    screen item_list(items, owner, counterpart, sc_prefix, search=False): # May also accept Minions as 'items'
  File "game/BKitems.rpy", line 588, in execute
    screen item_list(items, owner, counterpart, sc_prefix, search=False): # May also accept Minions as 'items'
  File "game/BKitems.rpy", line 612, in execute
    vbox xsize xres(180):
  File "game/BKitems.rpy", line 613, in execute
    frame xfill True:
  File "game/BKitems.rpy", line 618, in execute
    has vbox
  File "game/BKitems.rpy", line 625, in execute
    if items:
  File "game/BKitems.rpy", line 627, in execute
    for i in range(line_nb):
  File "game/BKitems.rpy", line 628, in execute
    if page_index+i < len(items):
  File "game/BKitems.rpy", line 629, in execute
    $ it = items[page_index+i]
  File "game/BKitems.rpy", line 629, in <module>
    $ it = items[page_index+i]
  File "F:\BK\Brothel_King 0.3\renpy\revertable.py", line 217, in __getitem__
    rv = list.__getitem__(self, index)
IndexError: list index out of range

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Wed Oct 11 20:17:55 2023
[close]
also i have a lot of errors when i scroll up job reports
Spoiler
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKendday.rpy", line 1077, in script call
    call show_night_event(ev) from _call_show_night_event
  File "game/BKevents.rpy", line 784, in script
    python:
  File "game/BKevents.rpy", line 788, in <module>
    raise AssertionError("Error displaying text: %s. Farm debug log: %s" % (text_descript, str(debug_night_text)))
AssertionError: Error displaying text: {size=29}{color=[c_pink]}'Mister! Would you like to come and have a look at our wares? *giggles*'{/color}
{/size}. Farm debug log: [['', "{size=29}{color=[c_pink]}'Mister! Would you like to come and have a look at our wares? *giggles*'{/color}\n{/size}"], <store.NightChangeLog object at 0x0000000010dbc5e0>]

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

Full traceback:
  File "game/BKendday.rpy", line 1077, in script call
    call show_night_event(ev) from _call_show_night_event
  File "game/BKevents.rpy", line 784, in script
    python:
  File "F:\BK\Brothel_King 0.3\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\BK\Brothel_King 0.3\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKevents.rpy", line 788, in <module>
    raise AssertionError("Error displaying text: %s. Farm debug log: %s" % (text_descript, str(debug_night_text)))
AssertionError: Error displaying text: {size=29}{color=[c_pink]}'Mister! Would you like to come and have a look at our wares? *giggles*'{/color}
{/size}. Farm debug log: [['', "{size=29}{color=[c_pink]}'Mister! Would you like to come and have a look at our wares? *giggles*'{/color}\n{/size}"], <store.NightChangeLog object at 0x0000000010dbc5e0>]

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Wed Oct 11 21:12:43 2023
[close]

Wrong thread. For the test version post it here.

Inuman9668

hello there. been a while. went to get an employee from the free girl selection and got all the way to the end and got the following. it can be ignored and the game still runs but the girl does not show up as being employed.

While running game code:
  File "game/BKmain.rpy", line 243, in script call
    call free_girl_interact(result) from _call_free_girl_interact
  File "game/BKinteractions_free.rpy", line 20, in script call
    call expression city_label pass (girl=girl) from _call_expression_4
  File "game/__completed/Sill/_events.rpy", line 83, in <module>
NameError: name 'acquire_girl' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 243, in script call
    call free_girl_interact(result) from _call_free_girl_interact
  File "game/BKinteractions_free.rpy", line 20, in script call
    call expression city_label pass (girl=girl) from _call_expression_4
  File "game/girls/Sill/_events.rpyc", line 83, in script
  File "D:\18\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 "D:\18\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/__completed/Sill/_events.rpy", line 83, in <module>
NameError: name 'acquire_girl' is not defined

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Sat Oct 14 06:19:48 2023

not sure what to do to fix this one. the girl pack runs well on 0.2, but I'm running 0.3 with latest patch. any help would be appreciated. thanks in advance.

vadi92

#171
Quote from: Inuman9668 on Oct 14, 2023, 10:33 AMhello there. been a while. went to get an employee from the free girl selection and got all the way to the end and got the following. it can be ignored and the game still runs but the girl does not show up as being employed.

While running game code:
  File "game/BKmain.rpy", line 243, in script call
    call free_girl_interact(result) from _call_free_girl_interact
  File "game/BKinteractions_free.rpy", line 20, in script call
    call expression city_label pass (girl=girl) from _call_expression_4
  File "game/__completed/Sill/_events.rpy", line 83, in <module>
NameError: name 'acquire_girl' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 243, in script call
    call free_girl_interact(result) from _call_free_girl_interact
  File "game/BKinteractions_free.rpy", line 20, in script call
    call expression city_label pass (girl=girl) from _call_expression_4
  File "game/girls/Sill/_events.rpyc", line 83, in script
  File "D:\18\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 "D:\18\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/__completed/Sill/_events.rpy", line 83, in <module>
NameError: name 'acquire_girl' is not defined

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230805
Sat Oct 14 06:19:48 2023

not sure what to do to fix this one. the girl pack runs well on 0.2, but I'm running 0.3 with latest patch. any help would be appreciated. thanks in advance.

Again wrong thread. Everything related to 0.3 goes here. And most likely the problem is with the _event.rpy in the girls folder. @neronero you should take a look at it. It was a pack you made.

neronero

Quote from: Inuman9668 on Oct 14, 2023, 10:33 AMFile "game/__completed/Sill/_events.rpy", line 83, in <module>
NameError: name 'acquire_girl' is not defined
I'll wait with a patch until 0.3 becomes the main release, but here's a DIY fix:

Open the _events.rpy file in her folder with notepad or any other text editor.

Find this line (it's in the file twice)
$ acquire_girl(girl, free = True)

Replace it (both times) with this line
call acquire_girl(girl, context="free")
My Girl Packs: [ link ] - Trait King mod: [ link ]

TyranntX

Okay, I don't know if this is a bug or not, but that Blowhard Kosmo constantly gloats more than once whenever he shows up, hell the first time he does it he says the same thing twice, and it gets to the point where errors pop up multiple times.
Working on it... have some patience

GoldoTopic starter

Quote from: TyranntX on Dec 06, 2023, 02:49 PMOkay, I don't know if this is a bug or not, but that Blowhard Kosmo constantly gloats more than once whenever he shows up, hell the first time he does it he says the same thing twice, and it gets to the point where errors pop up multiple times.

Sounds like a bug that was resolved a while ago, if you're talking about the test 0.3 version (wrong thread, by the way). Make sure you have the latest patch.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

Zxuz

I'm sorry, but an uncaught exception occurred.

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

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

Full traceback:
  File "game/BKendday.rpy", line 1032, in script call
  File "game/BKevents.rpy", line 686, in script call
  File "game/BKevents.rpy", line 698, in script call
  File "game/BKstory_events.rpy", line 13652, in script
  File "renpy/ast.py", line 925, in execute
  File "renpy/exports.py", line 1474, in say
  File "renpy/character.py", line 1352, in __call__
  File "renpy/character.py", line 1006, in do_display
  File "renpy/character.py", line 693, in display_say
  File "renpy/ui.py", line 299, in interact
  File "renpy/display/core.py", line 3628, in interact
  File "renpy/display/core.py", line 4101, in interact_core
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/screen.py", line 476, in visit_all
  File "renpy/display/core.py", line 4101, in <lambda>
  File "renpy/display/screen.py", line 487, in per_interact
  File "renpy/display/screen.py", line 680, in update
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4609, in execute
  File "game/BKscreens.rpy", line 4610, in execute
  File "game/BKscreens.rpy", line 4611, in execute
  File "renpy/common/00action_other.rpy", line 547, in __eq__
TypeError: 'unicode' object is not callable



Can someone help me with this? Its start poping out when an event start in the morning

vadi92

Quote from: Zxuz on Dec 18, 2023, 07:54 AMI'm sorry, but an uncaught exception occurred.

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

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

Full traceback:
  File "game/BKendday.rpy", line 1032, in script call
  File "game/BKevents.rpy", line 686, in script call
  File "game/BKevents.rpy", line 698, in script call
  File "game/BKstory_events.rpy", line 13652, in script
  File "renpy/ast.py", line 925, in execute
  File "renpy/exports.py", line 1474, in say
  File "renpy/character.py", line 1352, in __call__
  File "renpy/character.py", line 1006, in do_display
  File "renpy/character.py", line 693, in display_say
  File "renpy/ui.py", line 299, in interact
  File "renpy/display/core.py", line 3628, in interact
  File "renpy/display/core.py", line 4101, in interact_core
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/screen.py", line 476, in visit_all
  File "renpy/display/core.py", line 4101, in <lambda>
  File "renpy/display/screen.py", line 487, in per_interact
  File "renpy/display/screen.py", line 680, in update
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4609, in execute
  File "game/BKscreens.rpy", line 4610, in execute
  File "game/BKscreens.rpy", line 4611, in execute
  File "renpy/common/00action_other.rpy", line 547, in __eq__
TypeError: 'unicode' object is not callable



Can someone help me with this? Its start poping out when an event start in the morning


1st: did you ignore the 1st error? (from this we dont know whats the cause)
2nd: send the full traceback with the version number included

Zxuz

Quote from: vadi92 on Dec 18, 2023, 05:11 PM
Quote from: Zxuz on Dec 18, 2023, 07:54 AMI'm sorry, but an uncaught exception occurred.

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

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

Full traceback:
  File "game/BKendday.rpy", line 1032, in script call
  File "game/BKevents.rpy", line 686, in script call
  File "game/BKevents.rpy", line 698, in script call
  File "game/BKstory_events.rpy", line 13652, in script
  File "renpy/ast.py", line 925, in execute
  File "renpy/exports.py", line 1474, in say
  File "renpy/character.py", line 1352, in __call__
  File "renpy/character.py", line 1006, in do_display
  File "renpy/character.py", line 693, in display_say
  File "renpy/ui.py", line 299, in interact
  File "renpy/display/core.py", line 3628, in interact
  File "renpy/display/core.py", line 4101, in interact_core
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/screen.py", line 476, in visit_all
  File "renpy/display/core.py", line 4101, in <lambda>
  File "renpy/display/screen.py", line 487, in per_interact
  File "renpy/display/screen.py", line 680, in update
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4605, in execute
  File "game/BKscreens.rpy", line 4609, in execute
  File "game/BKscreens.rpy", line 4610, in execute
  File "game/BKscreens.rpy", line 4611, in execute
  File "renpy/common/00action_other.rpy", line 547, in __eq__
TypeError: 'unicode' object is not callable



Can someone help me with this? Its start poping out when an event start in the morning


1st: did you ignore the 1st error? (from this we dont know whats the cause)
2nd: send the full traceback with the version number included
This is the first error code,and the problem i think is the "File "renpy/common/00action_other.rpy", line 547, in __eq__
TypeError: 'unicode' object is not callable" and its on BK V0.2

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKendday.rpy", line 1032, in script call
  File "game/BKevents.rpy", line 686, in script call
  File "game/BKevents.rpy", line 698, in script call
  File "game/BKday_events.rpy", line 103, in script
  File "game/BKscreens.rpy", line 4617, in execute
  File "game/BKscreens.rpy", line 4617, in execute
  File "game/BKscreens.rpy", line 4621, in execute
  File "game/BKscreens.rpy", line 4622, in execute
  File "renpy/common/00action_other.rpy", line 547, in __eq__
TypeError: 'unicode' object is not callable

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

Full traceback:
  File "game/BKendday.rpy", line 1032, in script call
  File "game/BKevents.rpy", line 686, in script call
  File "game/BKevents.rpy", line 698, in script call
  File "game/BKday_events.rpy", line 103, in script
  File "renpy/ast.py", line 1673, in execute
  File "renpy/exports.py", line 1758, in with_statement
  File "renpy/display/core.py", line 3021, in do_with
  File "renpy/display/core.py", line 3628, in interact
  File "renpy/display/core.py", line 4101, in interact_core
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/core.py", line 684, in visit_all
  File "renpy/display/screen.py", line 476, in visit_all
  File "renpy/display/core.py", line 4101, in <lambda>
  File "renpy/display/screen.py", line 487, in per_interact
  File "renpy/display/screen.py", line 680, in update
  File "game/BKscreens.rpy", line 4617, in execute
  File "game/BKscreens.rpy", line 4617, in execute
  File "game/BKscreens.rpy", line 4621, in execute
  File "game/BKscreens.rpy", line 4622, in execute
  File "renpy/common/00action_other.rpy", line 547, in __eq__
TypeError: 'unicode' object is not callable


GoldoTopic starter

This is an internal Renpy file that doesn't point to anything BK related. My guess is you are trying to read a girl pack file that includes non-unicode characters. Remove recently-added girlpacks one by one and try to isolate the culprit.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!