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

Goldface

i love this game and i would love to play the full game.
any idea on the estimate timeline for the full release; or for the current version you are on?
and will BKv2 girl packs work with v3 and onward?
if you have already answered this question sorry to bother.

vadi92

Quote from: Animaz on Nov 26, 2023, 03:09 AMand will BKv2 girl packs work with v3 and onward?

The girl packs will work.

Goldface


EvilPenguin

Spell: Summon Incubus.
Can it take, a girls virginity? (I can't trigger it).

GoldoTopic starter

Quote from: hayyo0455 on Nov 23, 2023, 03:37 PMDuring training or work, bisexual tag images appear even if you are not bisexual. This didn't happen in previous versions, so I wonder if it was intentional.

Good call, there is a bug where the 'bisexual' tag was being recognized as 'sex' (because 'sex' is part of the 'bisexual' string).

To avoid that, add this line in BKsettings.rpy below the 'bis' entry:

Quote# around line 704
                "group" : "group",
                "bis" : "bisexual", # Bisexual pictures may feature up to one male
                "bisexual" : "bisexual", # This is needed to avoid 'bisexual' detecting the 'sex' tag

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

dualblades730

Is there a Mac version for v0.3 test version?

TyranntX

UUUUgh, Cuck boy Kosmo keeps gloating more than once, Dude I don't care that you're insecure let me run my business and fuck my girls in peace!
Working on it... have some patience

dylanrivers10000

Quote from: TyranntX on Dec 05, 2023, 06:53 AMUUUUgh, Cuck boy Kosmo keeps gloating more than once, Dude I don't care that you're insecure let me run my business and fuck my girls in peace!
Is fixed in the hotfix in the quote below
Quote from: Goldo on Jul 21, 2023, 09:54 PMCurrent hotfix (make sure to apply it before testing! Unzip in your 'game/' folder):
https://www.mediafire.com/file/1va1v7cq1psp53x/game_patch_0.3.zip/file

GoldoTopic starter

Quote from: Animaz on Nov 26, 2023, 03:09 AMi love this game and i would love to play the full game.
any idea on the estimate timeline for the full release; or for the current version you are on?
and will BKv2 girl packs work with v3 and onward?
if you have already answered this question sorry to bother.

Sorry I had missed your question. I can't commit to a release date because then it'd be wrong, most likely by a large margin, and I'd rather not get everyone's hopes up. I am doing this alone so it's easy to get derailed by pesky things like life, but little by little I'm chipping down at what needs to be done.

I make sure old girlpacks are always supported: if I ever change things as I did with _BK.ini, I will keep the necessary hooks in place so that back compatibility with older packs is guaranteed. The one possible exception is custom events, because there's so much potential diversity in custom code that I can't foresee all the ramifications.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

Goldface

Quote from: Goldo on Dec 07, 2023, 04:01 PM
Quote from: Animaz on Nov 26, 2023, 03:09 AMi love this game and i would love to play the full game.
any idea on the estimate timeline for the full release; or for the current version you are on?
and will BKv2 girl packs work with v3 and onward?
if you have already answered this question sorry to bother.

Sorry I had missed your question. I can't commit to a release date because then it'd be wrong, most likely by a large margin, and I'd rather not get everyone's hopes up. I am doing this alone so it's easy to get derailed by pesky things like life, but little by little I'm chipping down at what needs to be done.

I make sure old girlpacks are always supported: if I ever change things as I did with _BK.ini, I will keep the necessary hooks in place so that back compatibility with older packs is guaranteed. The one possible exception is custom events, because there's so much potential diversity in custom code that I can't foresee all the ramifications.
ok. i guess i have no choice but to wait.
i enjoy playing this and i would hate to see it messed up due to haste, so take your time. and with everything we do, life comes first.. so don't burn your self out. 8)

Goldface

i don't know if anyone has figured out this yet or is it just my machine. but the amount of girl packs you have installed can also cause errors.
at first when i start playing bk for the first time, i had a lot of mix in one folder, over 700 and i had to cut it down to around 450. but i would still get errors during play, most of which disappear after rollback. i started over so many times i lost count. i decided to cut down to 390 and now most of the problems i ran into before are now gone.
when i check task manager i realized that the more packs you have, it uses a lot more ram and instead of freezing like most games do when rams run low. it shows errors so it makes it sometimes difficult to pinpoint real bugs. 

Beo

#206
Ran into this error today after trying to run the slave beach event (choosing the "Get ready to serve some customers" and paying double upkeep options)

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 258, in script call
    python:
  File "game/BKevents.rpy", line 735, in script call
    $ ev.play()
  File "game/BKcity_events.rpy", line 5620, in script
    $ MC.gold += tip - upk
  File "game/BKcity_events.rpy", line 5620, in <module>
    $ MC.gold += tip - upk
TypeError: unsupported operand type(s) for -: 'tuple' and 'int'

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

Full traceback:
  File "game/BKmain.rpy", line 258, in script call
    python:
  File "game/BKevents.rpy", line 735, in script call
    $ ev.play()
  File "game/BKcity_events.rpy", line 5620, in script
    $ MC.gold += tip - upk
  File "J:\PG\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 "J:\PG\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKcity_events.rpy", line 5620, in <module>
    $ MC.gold += tip - upk
TypeError: unsupported operand type(s) for -: 'tuple' and 'int'

Windows-10-10.0.22621 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Tue Dec 12 14:41:25 2023


and because i get a weird enjoyment out of spending too long to try and fix code when i only have a basic understanding of it, i think i fixed it.

i traced this back to the get_tip function definition in BKgirlclass.rpy. at the end of the funtion it shows this:

            return tip, gold_ttip

getting rid of ", gold ttip" fixed my error:

            return tip


Edit: apparently my "fix" broke the End Day function, so ignore that. The slave beach event tip error is beyond me

Beo

I guess I found another error in the same event:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 258, in script call
    python:
  File "game/BKevents.rpy", line 735, in script call
    $ ev.play()
  File "game/BKcity_events.rpy", line 5497, in script
    if pop_virginity():
  File "game/BKcity_events.rpy", line 5497, in <module>
    if pop_virginity():
NameError: name 'pop_virginity' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 258, in script call
    python:
  File "game/BKevents.rpy", line 735, in script call
    $ ev.play()
  File "game/BKcity_events.rpy", line 5497, in script
    if pop_virginity():
  File "J:\PG\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 2133, in execute
    if renpy.python.py_eval(condition):
  File "J:\PG\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1153, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "J:\PG\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1146, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/BKcity_events.rpy", line 5497, in <module>
    if pop_virginity():
NameError: name 'pop_virginity' is not defined

Windows-10-10.0.22621 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Tue Dec 12 15:09:59 2023

adding "girl." to the line and line 5512 should fix the error:

                    if girl.pop_virginity():


cgghj

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 685, in script
    $ upgraded, text1 = farm.upgrade(obj)
  File "game/BKmain.rpy", line 685, in <module>
    $ upgraded, text1 = farm.upgrade(obj)
  File "game/BKfarm.rpy", line 1086, in upgrade
    return inst.upgrade()
  File "game/BKfarm.rpy", line 149, in upgrade
    return False, "You don't have enough gold to expand the " + inst.name + "! Stop wasting my time."
NameError: name 'inst' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 685, in script
    $ upgraded, text1 = farm.upgrade(obj)
  File "F:\Brothel_King-pc\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKmain.rpy", line 685, in <module>
    $ upgraded, text1 = farm.upgrade(obj)
  File "game/BKfarm.rpy", line 1086, in upgrade
    return inst.upgrade()
  File "game/BKfarm.rpy", line 149, in upgrade
    return False, "You don't have enough gold to expand the " + inst.name + "! Stop wasting my time."
NameError: name 'inst' is not defined

Windows-10-10.0.19041 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Wed Dec 13 12:56:18 2023

Got this happen when doing & testing my personal chinese Localization.

GoldoTopic starter

#209
Quote from: Beo on Dec 12, 2023, 09:03 PMRan into this error today after trying to run the slave beach event (choosing the "Get ready to serve some customers" and paying double upkeep options)

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 258, in script call
    python:
  File "game/BKevents.rpy", line 735, in script call
    $ ev.play()
  File "game/BKcity_events.rpy", line 5620, in script
    $ MC.gold += tip - upk
  File "game/BKcity_events.rpy", line 5620, in <module>
    $ MC.gold += tip - upk
TypeError: unsupported operand type(s) for -: 'tuple' and 'int'

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

Full traceback:
  File "game/BKmain.rpy", line 258, in script call
    python:
  File "game/BKevents.rpy", line 735, in script call
    $ ev.play()
  File "game/BKcity_events.rpy", line 5620, in script
    $ MC.gold += tip - upk
  File "J:\PG\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 "J:\PG\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKcity_events.rpy", line 5620, in <module>
    $ MC.gold += tip - upk
TypeError: unsupported operand type(s) for -: 'tuple' and 'int'

Windows-10-10.0.22621 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Tue Dec 12 14:41:25 2023


and because i get a weird enjoyment out of spending too long to try and fix code when i only have a basic understanding of it, i think i fixed it.

i traced this back to the get_tip function definition in BKgirlclass.rpy. at the end of the funtion it shows this:


            return tip, gold_ttip

getting rid of ", gold ttip" fixed my error:


            return tip


Edit: apparently my "fix" broke the End Day function, so ignore that. The slave beach event tip error is beyond me


You need to add [0] at the end of lines 5606, 5610 and 5617:
tip = girl.get_tip(act, "good", [Customer(selected_district.get_rand_pop()), Customer(selected_district.get_rand_pop())], base_tip_change)[0]
[...]
tip = girl.get_tip(act, "good", [Customer(selected_district.get_rand_pop())], base_tip_change)[0]
[...]
tip += girl.get_tip(act, "average", [Customer(selected_district.get_rand_pop())])[0]

Quote from: Beo on Dec 12, 2023, 09:14 PM
I guess I found another error in the same event:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 258, in script call
    python:
  File "game/BKevents.rpy", line 735, in script call
    $ ev.play()
  File "game/BKcity_events.rpy", line 5497, in script
    if pop_virginity():
  File "game/BKcity_events.rpy", line 5497, in <module>
    if pop_virginity():
NameError: name 'pop_virginity' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 258, in script call
    python:
  File "game/BKevents.rpy", line 735, in script call
    $ ev.play()
  File "game/BKcity_events.rpy", line 5497, in script
    if pop_virginity():
  File "J:\PG\Brothel_King-0.3t\Brothel_King-pc\renpy\ast.py", line 2133, in execute
    if renpy.python.py_eval(condition):
  File "J:\PG\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1153, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "J:\PG\Brothel_King-0.3t\Brothel_King-pc\renpy\python.py", line 1146, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/BKcity_events.rpy", line 5497, in <module>
    if pop_virginity():
NameError: name 'pop_virginity' is not defined

Windows-10-10.0.22621 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Tue Dec 12 15:09:59 2023

adding "girl." to the line and line 5512 should fix the error:


                    if girl.pop_virginity():


You are right, same goes for line 5512.

Quote from: cgghj on Dec 13, 2023, 05:15 AMI'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 685, in script
    $ upgraded, text1 = farm.upgrade(obj)
  File "game/BKmain.rpy", line 685, in <module>
    $ upgraded, text1 = farm.upgrade(obj)
  File "game/BKfarm.rpy", line 1086, in upgrade
    return inst.upgrade()
  File "game/BKfarm.rpy", line 149, in upgrade
    return False, "You don't have enough gold to expand the " + inst.name + "! Stop wasting my time."
NameError: name 'inst' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 685, in script
    $ upgraded, text1 = farm.upgrade(obj)
  File "F:\Brothel_King-pc\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\Brothel_King-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKmain.rpy", line 685, in <module>
    $ upgraded, text1 = farm.upgrade(obj)
  File "game/BKfarm.rpy", line 1086, in upgrade
    return inst.upgrade()
  File "game/BKfarm.rpy", line 149, in upgrade
    return False, "You don't have enough gold to expand the " + inst.name + "! Stop wasting my time."
NameError: name 'inst' is not defined

Windows-10-10.0.19041 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Wed Dec 13 12:56:18 2023

Got this happen when doing & testing my personal chinese Localization.

Replace 'inst' with 'self'.

Thank you guys for keeping up the bug reports!


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