News:

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

Former www.henthighschool.com

使用了汉化的请优先到这里反馈

Started by Minxin, Aug 11, 2024, 01:57 PM

Previous topic - Next topic

IUMNSUNG

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKendday.rpy", line 943, in script
    python:
  File "game/BKendday.rpy", line 945, in <module>
    farm_training_girls, farm_holding_girls, farm_resting_girls = farm.assign_girls(logging=True)
  File "game/BKfarm.rpy", line 1279, in assign_girls
    if logging: log.add_report(girl.fullname + " 被安排在 " + farm_related_dict[self.name] + "训练.")
AttributeError: 'Farm' object has no attribute 'name'

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

Full traceback:
  File "game/BKendday.rpy", line 943, in script
    python:
  File "F:\青楼之王\新整合\Brothel_King-pc3.0\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\青楼之王\新整合\Brothel_King-pc3.0\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKendday.rpy", line 945, in <module>
    farm_training_girls, farm_holding_girls, farm_resting_girls = farm.assign_girls(logging=True)
  File "game/BKfarm.rpy", line 1279, in assign_girls
    if logging: log.add_report(girl.fullname + " 被安排在 " + farm_related_dict[self.name] + "训练.")
AttributeError: 'Farm' object has no attribute 'name'

Windows-10-10.0.22631 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Tue Nov 19 20:36:44 2024

这个是为啥,我的所有员工都休息不了了,尽管给了他们休息选项,后面结算的时候没画面了

qianxiao

点击公告大厅报错
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 2133, in script
    $ result = ui.interact()
  File "game/BKmain.rpy", line 2133, in <module>
    $ result = ui.interact()
  File "game/BKscreens.rpy", line 5962, in execute
    screen postings(qlist):
  File "game/BKscreens.rpy", line 5962, in execute
    screen postings(qlist):
  File "game/BKscreens.rpy", line 5978, in execute
    hbox:
  File "game/BKscreens.rpy", line 5986, in execute
    vbox:
  File "game/BKscreens.rpy", line 5990, in execute
    frame:
  File "game/BKscreens.rpy", line 5996, in execute
    has vbox
  File "game/BKscreens.rpy", line 6000, in execute
    if selected_quest:
  File "game/BKscreens.rpy", line 6002, in execute
    hbox:
  File "game/BKscreens.rpy", line 6006, in execute
    if selected_quest.special:
  File "game/BKscreens.rpy", line 6007, in execute
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
  File "game/BKscreens.rpy", line 6007, in keywords
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
  File "game/BKscreens.rpy", line 6007, in <module>
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
KeyError: '臭名昭著'

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

Full traceback:
  File "game/BKmain.rpy", line 2133, in script
    $ result = ui.interact()
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKmain.rpy", line 2133, in <module>
    $ result = ui.interact()
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\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 "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\display\core.py", line 4052, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\display\core.py", line 681, in visit_all
    d.visit_all(callback, seen)
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\display\screen.py", line 476, in visit_all
    callback(self)
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\display\core.py", line 4052, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\display\screen.py", line 487, in per_interact
    self.update()
  File "D:\Games\Brothel_King\Brothel_King-pc3.0\renpy\display\screen.py", line 680, in update
    self.screen.function(**self.scope)
  File "game/BKscreens.rpy", line 5962, in execute
    screen postings(qlist):
  File "game/BKscreens.rpy", line 5962, in execute
    screen postings(qlist):
  File "game/BKscreens.rpy", line 5978, in execute
    hbox:
  File "game/BKscreens.rpy", line 5986, in execute
    vbox:
  File "game/BKscreens.rpy", line 5990, in execute
    frame:
  File "game/BKscreens.rpy", line 5996, in execute
    has vbox
  File "game/BKscreens.rpy", line 6000, in execute
    if selected_quest:
  File "game/BKscreens.rpy", line 6002, in execute
    hbox:
  File "game/BKscreens.rpy", line 6006, in execute
    if selected_quest.special:
  File "game/BKscreens.rpy", line 6007, in execute
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
  File "game/BKscreens.rpy", line 6007, in keywords
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
  File "game/BKscreens.rpy", line 6007, in <module>
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
KeyError: '臭名昭著'

Windows-10-10.0.26100 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Wed Dec  4 05:29:00 2024

qianxiao

Quote from: curiosity on Nov 16, 2024, 06:55 AM在公告大厅的问题:

While running game code:
  File "game/BKmain.rpy", line 2133, in script
    $ result = ui.interact()
  File "game/BKmain.rpy", line 2133, in <module>
    $ result = ui.interact()
  File "game/BKscreens.rpy", line 5958, in execute
    screen postings(qlist):
  File "game/BKscreens.rpy", line 5958, in execute
    screen postings(qlist):
  File "game/BKscreens.rpy", line 5974, in execute
    hbox:
  File "game/BKscreens.rpy", line 5982, in execute
    vbox:
  File "game/BKscreens.rpy", line 5986, in execute
    frame:
  File "game/BKscreens.rpy", line 5992, in execute
    has vbox
  File "game/BKscreens.rpy", line 5996, in execute
    if selected_quest:
  File "game/BKscreens.rpy", line 5998, in execute
    hbox:
  File "game/BKscreens.rpy", line 6002, in execute
    if selected_quest.special:
  File "game/BKscreens.rpy", line 6003, in execute
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
  File "game/BKscreens.rpy", line 6003, in keywords
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
  File "game/BKscreens.rpy", line 6003, in <module>
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
KeyError: '臭名昭著'
请问您解决了吗?我也遇到了同样的问题

MinxinTopic starter

#48
Quote from: IUMNSUNG on Nov 20, 2024, 04:38 AMI'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKendday.rpy", line 943, in script
    python:
  File "game/BKendday.rpy", line 945, in <module>
    farm_training_girls, farm_holding_girls, farm_resting_girls = farm.assign_girls(logging=True)
  File "game/BKfarm.rpy", line 1279, in assign_girls
    if logging: log.add_report(girl.fullname + " 被安排在 " + farm_related_dict[self.name] + "训练.")
AttributeError: 'Farm' object has no attribute 'name'

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

Full traceback:
  File "game/BKendday.rpy", line 943, in script
    python:
  File "F:\青楼之王\新整合\Brothel_King-pc3.0\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\青楼之王\新整合\Brothel_King-pc3.0\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKendday.rpy", line 945, in <module>
    farm_training_girls, farm_holding_girls, farm_resting_girls = farm.assign_girls(logging=True)
  File "game/BKfarm.rpy", line 1279, in assign_girls
    if logging: log.add_report(girl.fullname + " 被安排在 " + farm_related_dict[self.name] + "训练.")
AttributeError: 'Farm' object has no attribute 'name'

Windows-10-10.0.22631 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Tue Nov 19 20:36:44 2024

这个是为啥,我的所有员工都休息不了了,尽管给了他们休息选项,后面结算的时候没画面了
你这个应该是旧版本的问题,我印象中Q群里的汉化已经修了,建议进群获取,进群链接


Quote from: curiosity on Nov 16, 2024, 06:55 AM在公告大厅的问题:
......
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
KeyError: '臭名昭著'
Quote from: qianxiao on Dec 03, 2024, 09:39 PM点击公告大厅报错
......
    textbutton "{image=img_star} " + __(selected_quest.special) + " {image=img_star}" xalign 0.0 yalign 0.5 ypadding 0 text_color c_orange background None action NullAction() hovered tt.Action(special_quest_description[selected_quest.special])
KeyError: '臭名昭著'
你们使用了旧的存档,汉化新版本修改了这里的名称,原本"臭名昭著"改为"高难度",新汉化无法跟旧存档兼容
《青楼之王》以及《标签工具》的中文翻译: https://github.com/XyMinxin/Brothel-King-Chinese-Translate

mmm520555

Quote from: Tuor3d on Dec 07, 2024, 10:07 AMHello everyone!
I added a few improvements to a King' Way mod. Girl Edit can now edit farm girls and the button Refill Girl's Energy now restores energy to girls on the farm. Version changed to a 2.02.

https://mega.nz/file/07g20JTC#LrEdKxhavS_oh1cn-3bzJiJ13r6k3G3kCfvkmA3Ton8


Minmin, can you please translate the cheat module into Chinese when you are free?
This is really important to me. I am often confused because I don't understand the English buttons.
If so, thank you very much, Minmin!

敏敏大佬,在你空闲的时候,能请你汉化一下作弊模组吗?
这对我真的很重要,我时常因为不懂英文按钮而困惑。
如是,真的十分感谢敏敏大佬!

xukon

先谢大佬的汉化
3.0打上汉化后不支持avif的人物包
没打之前是可以的,打上读取不到人物图片

PANDA129

Quote from: xukon on Jan 22, 2025, 10:25 AM先谢大佬的汉化
3.0打上汉化后不支持avif的人物包
没打之前是可以的,打上读取不到人物图片

补丁已在群内更新。汉化也进入收尾阶段了,后面还差一些零散的剧情文本和几处变量没汉化。

xukon

Quote from: PANDA129 on Jan 22, 2025, 02:44 PM
Quote from: xukon on Jan 22, 2025, 10:25 AM先谢大佬的汉化
3.0打上汉化后不支持avif的人物包
没打之前是可以的,打上读取不到人物图片

补丁已在群内更新。汉化也进入收尾阶段了,后面还差一些零散的剧情文本和几处变量没汉化。
好的,谢大佬。申请入群了,求放进去。

Yamaime

I'm sorry, but an uncaught exception occurred.

While loading <'ProportionalScale' <'Image' u'images/Tifa_Lockhart/anal (00000).mpg'> 480 360 True>:
  File "game/script.rpy", line 1084, in script call
    call browse_pack() from _call_browse_pack
  File "game/script.rpy", line 1408, in script
    $ result = ui.interact()
  File "game/script.rpy", line 1408, in <module>
    $ result = ui.interact()
  File "game/script.rpy", line 251, in load
    child = im.cache.get(self.image)
Exception: Could not load image u'images/Tifa_Lockhart/anal (00000).mpg': error('Unsupported image format',)

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

Full traceback:
  File "game/script.rpy", line 1084, in script call
    call browse_pack() from _call_browse_pack
  File "game/script.rpy", line 1408, in script
    $ result = ui.interact()
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 1408, in <module>
    $ result = ui.interact()
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\ui.py", line 287, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\core.py", line 2649, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\core.py", line 3132, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\core.py", line 2055, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 485, in renpy.display.render.render_screen
  File "render.pyx", line 233, in renpy.display.render.render
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\screen.py", line 669, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\layout.py", line 1117, in render
    st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "accelerator.pyx", line 108, in renpy.display.accelerator.transform_render
  File "render.pyx", line 233, in renpy.display.render.render
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\im.py", line 580, in render
    return cache.get(self, render=True)
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\im.py", line 266, in get
    surf = image.load()
  File "game/script.rpy", line 251, in load
    child = im.cache.get(self.image)
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\im.py", line 266, in get
    surf = image.load()
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\im.py", line 625, in load
    surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
  File "F:\BaiduNetdiskDownload\BK-TAGTOOL-V2.9\renpy\display\pgrender.py", line 156, in load_image
    raise Exception("Could not load image {!r}: {!r}".format(filename, e))
Exception: Could not load image u'images/Tifa_Lockhart/anal (00000).mpg': error('Unsupported image format',)

Windows-8-6.2.9200
Ren'Py 7.0.0.196
青楼之王标签工具 2.8.14
Sat Feb 08 20:54:04 2025

大佬好,我最近在用这个标签工具V2.9支持多图修改汉化版时发现在编辑女孩包图片标签时如果切换到包里的视频文件(.mpg)是会导致工具报错闪退,需要修复,之前的2.8版本工具是没有问题的,女孩包里可以加入视频编辑标签时也不会闪退。最后有一个,新的工具我个人觉得可以做一个按钮可以一图模式和多图模式来回切换。

Jman

#54
This should probably go into the tagging tool thread.

I'm not sure why the Chinese version of the tool doesn't like this particular video, but perhaps Ren'Py no longer supports this particular codec? Are you sure that the previous version (which version exactly?) supported this exact same file?

Actually, your version is 2.8.14 with Ren'Py 7.0.0, while the new tool and game use Ren'Py 8. So perhaps it's the converse, the older tool doesn't support a newer codec?
And with strange aeons even death may die...

Yamaime

感谢你的帮助,我目前也没找到原因,在原来的汉化版工具里视频(.mpg)是可以正常修改标签的,但是在最新的汉化版中作者改了代码使这个工具可以多图同时编辑标签,我猜想可能是代码的修改导致了当多图编辑模式下出现视频点击选中时标签工具会发生闪退,目前我已经把问题反应给了汉化者了。

Thank you for your help. I haven't found the reason yet. In the original Chinese version tool, video (. mpg) tags could be modified normally. However, in the latest Chinese version, the author changed the code so that this tool can edit tags for multiple images at the same time. I suspect that the code modification may have caused the tag tool to flash when the video is clicked and selected in multi image editing mode. I have already reported the problem to the Chinese translator




Jman

I suspect the multi-image change could also mean that videos stay open on-screen more often, and thus get locked as 'in use' by the file system, blocking file name changes. Even if this particular error message indicates that the main issue is the file itself being in an unsupported format/codec.
And with strange aeons even death may die...

PANDA129

Quote from: Jman on Feb 10, 2025, 04:50 PMI suspect the multi-image change could also mean that videos stay open on-screen more often, and thus get locked as 'in use' by the file system, blocking file name changes. Even if this particular error message indicates that the main issue is the file itself being in an unsupported format/codec.

In the latest version, we make it can edit 10 pics at same time,if player use video files it will slow down to the shit hell. There cann't be too many videos in a pack. So I suggested them to use old tool to edit video files.

Normally the players who can use latest tool must be in the QQgroup,so their question won't be solved here.