I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 460, in script call
$ picked_option.call_action()
File "game/script.rpy", line 457, in script call
call talk_person(picked_option) from _call_talk_person
File "game/script.rpy", line 542, in script call
$ _return.call_action(the_person)
File "game/game_roles/role_head_researcher.rpy", line 896, in script call
call serum_research_serum_results_label(the_person, the_tester, the_serum_trait) from _research_serum_master_03
File "game/game_roles/role_head_researcher.rpy", line 1308, in script
$ serum_trait_result_list = determine_test_serum_flags(the_serum_trait)
File "game/game_roles/role_head_researcher.rpy", line 1308, in <module>
$ serum_trait_result_list = determine_test_serum_flags(the_serum_trait)
File "game/game_roles/role_head_researcher.rpy", line 1259, in determine_test_serum_flags
test_person = create_random_person()
AttributeError: 'NoneType' object has no attribute 'age_range'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 460, in script call
$ picked_option.call_action()
File "game/script.rpy", line 457, in script call
call talk_person(picked_option) from _call_talk_person
File "game/script.rpy", line 542, in script call
$ _return.call_action(the_person)
File "game/game_roles/role_head_researcher.rpy", line 896, in script call
call serum_research_serum_results_label(the_person, the_tester, the_serum_trait) from _research_serum_master_03
File "game/game_roles/role_head_researcher.rpy", line 1308, in script
$ serum_trait_result_list = determine_test_serum_flags(the_serum_trait)
File "E:\game\LabRats2-Reformulate-2024.08-pc\renpy\ast.py", line 821, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\game\LabRats2-Reformulate-2024.08-pc\renpy\python.py", line 1178, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/game_roles/role_head_researcher.rpy", line 1308, in <module>
$ serum_trait_result_list = determine_test_serum_flags(the_serum_trait)
File "game/game_roles/role_head_researcher.rpy", line 1259, in determine_test_serum_flags
test_person = create_random_person()
File "game/mods/LR2R-VTMod/major_game_classes/character_related/virgin_tracker_ren.py", line 565, in wrapping_func
person = wrapped_func(*args, **kwargs)
File "game/helper_functions/random_generation_functions_ren.py", line 115, in create_random_person
AttributeError: 'NoneType' object has no attribute 'age_range'
Windows-10-10.0.22621 AMD64
Ren'Py 8.3.3.24111502
Lab Rats 2 - Down to Business 2024.09-beta
Sat Nov 23 15:15:22 2024
在BETA28版中修复Beta27+LR2R.chs.beta03
研究單一特徵時
Code:I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 460, in script call $ picked_option.call_action() File "game/script.rpy", line 457, in script call call talk_person(picked_option) from _call_talk_person File "game/script.rpy", line 542, in script call $ _return.call_action(the_person) File "game/game_roles/role_head_researcher.rpy", line 896, in script call call serum_research_serum_results_label(the_person, the_tester, the_serum_trait) from _research_serum_master_03 File "game/game_roles/role_head_researcher.rpy", line 1308, in script $ serum_trait_result_list = determine_test_serum_flags(the_serum_trait) File "game/game_roles/role_head_researcher.rpy", line 1308, in <module> $ serum_trait_result_list = determine_test_serum_flags(the_serum_trait) File "game/game_roles/role_head_researcher.rpy", line 1259, in determine_test_serum_flags test_person = create_random_person() AttributeError: 'NoneType' object has no attribute 'age_range' -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/script.rpy", line 460, in script call $ picked_option.call_action() File "game/script.rpy", line 457, in script call call talk_person(picked_option) from _call_talk_person File "game/script.rpy", line 542, in script call $ _return.call_action(the_person) File "game/game_roles/role_head_researcher.rpy", line 896, in script call call serum_research_serum_results_label(the_person, the_tester, the_serum_trait) from _research_serum_master_03 File "game/game_roles/role_head_researcher.rpy", line 1308, in script $ serum_trait_result_list = determine_test_serum_flags(the_serum_trait) File "E:\game\LabRats2-Reformulate-2024.08-pc\renpy\ast.py", line 821, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "E:\game\LabRats2-Reformulate-2024.08-pc\renpy\python.py", line 1178, in py_exec_bytecode exec(bytecode, globals, locals) File "game/game_roles/role_head_researcher.rpy", line 1308, in <module> $ serum_trait_result_list = determine_test_serum_flags(the_serum_trait) File "game/game_roles/role_head_researcher.rpy", line 1259, in determine_test_serum_flags test_person = create_random_person() File "game/mods/LR2R-VTMod/major_game_classes/character_related/virgin_tracker_ren.py", line 565, in wrapping_func person = wrapped_func(*args, **kwargs) File "game/helper_functions/random_generation_functions_ren.py", line 115, in create_random_person AttributeError: 'NoneType' object has no attribute 'age_range' Windows-10-10.0.22621 AMD64 Ren'Py 8.3.3.24111502 Lab Rats 2 - Down to Business 2024.09-beta Sat Nov 23 15:15:22 2024
有可能是有大段文字需要翻译,在调用云端API,你可以在任务管理器看看程序有没有在间歇使用网络,而且在game\tl\chinese\strings.rpy文件里,每翻译50句就会写一次盘,你每隔一段时间如果看到这个文件在变大,那应该就是翻译太慢了。谢谢大佬的通用汉化教程,今日我在汉化Chasing Sunsets [v1.01]
时出现汉化成功了,但是卡在主界面,用鼠标点开始菜单,游戏没有反应,请问这是什么问题,期待您的答复
godoftheearth,帖子:15442021,会员:2564054 said:可能有大段文字需要翻译,在调用云端API,你可以在任务管理器看看程序有没有在间歇使用网络,而且在game\tl\chinese\strings.rpy文件里,每翻译50句就会写一次盘,你每次看到这个文件如果变大,那应该就是翻译太慢的一段时间了。
理论上游戏会显示一条翻译,但有时游戏会在后台创建对话框类的界面,一次翻译全部界面文字,会造成比较长时间的卡顿。
[/引用]
克感谢答复,按照你的提示查看了没有间歇使用网络,文件也没有变大,游戏界面各种菜单点了也没反应,只能强行退出
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 464, in script call
call change_location(picked_option) from _call_change_location_nearby #_return is the location returned from the map manager.
File "game/script.rpy", line 460, in script call
$ picked_option.call_action()
File "game/general_actions/location_actions/business_actions.rpy", line 186, in script
python:
File "game/general_actions/location_actions/business_actions.rpy", line 187, in <module>
name = renpy.input("Please give this serum design a name.", name, exclude="[]{}")
File "game/screens.rpy", line 225, in execute
screen input(prompt):
File "game/screens.rpy", line 225, in execute
screen input(prompt):
File "game/screens.rpy", line 228, in execute
window:
File "game/screens.rpy", line 230, in execute
vbox:
File "game/screens.rpy", line 236, in execute
input id "input"
Exception: The default value of an input must not be None.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 464, in script call
call change_location(picked_option) from _call_change_location_nearby #_return is the location returned from the map manager.
File "game/script.rpy", line 460, in script call
$ picked_option.call_action()
File "game/general_actions/location_actions/business_actions.rpy", line 186, in script
python:
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\ast.py", line 821, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\python.py", line 1178, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/general_actions/location_actions/business_actions.rpy", line 187, in <module>
name = renpy.input("Please give this serum design a name.", name, exclude="[]{}")
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\exports\inputexports.py", line 177, in input
rv = renpy.ui.interact(mouse='prompt', type="input", roll_forward=roll_forward)
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\ui.py", line 301, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 2215, 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\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 2745, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\displayable.py", line 434, in visit_all
d.visit_all(callback, seen)
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\displayable.py", line 434, in visit_all
d.visit_all(callback, seen)
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\displayable.py", line 434, in visit_all
d.visit_all(callback, seen)
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\screen.py", line 480, in visit_all
callback(self)
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 2745, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\screen.py", line 491, in per_interact
self.update()
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\screen.py", line 697, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 225, in execute
screen input(prompt):
File "game/screens.rpy", line 225, in execute
screen input(prompt):
File "game/screens.rpy", line 228, in execute
window:
File "game/screens.rpy", line 230, in execute
vbox:
File "game/screens.rpy", line 236, in execute
input id "input"
File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\behavior.py", line 1453, in __init__
raise Exception("The default value of an input must not be None.")
Exception: The default value of an input must not be None.
Windows-10-10.0.22621 AMD64
Ren'Py 8.3.3.24111502
Lab Rats 2 - Down to Business 2024.09-beta
Mon Nov 25 08:43:28 2024
这个看起来是存档不兼容的问题,只能从新档开始Beta29+LR2R.chs.beta04
我按照顺序下载并更新了MOD 然后可以进入游戏,新建游戏设定完后开始加载时报错。
在BETA30中修复创建血清设计时,点击完成设计起名时候出现错误
Code:I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 464, in script call call change_location(picked_option) from _call_change_location_nearby #_return is the location returned from the map manager. File "game/script.rpy", line 460, in script call $ picked_option.call_action() File "game/general_actions/location_actions/business_actions.rpy", line 186, in script python: File "game/general_actions/location_actions/business_actions.rpy", line 187, in <module> name = renpy.input("Please give this serum design a name.", name, exclude="[]{}") File "game/screens.rpy", line 225, in execute screen input(prompt): File "game/screens.rpy", line 225, in execute screen input(prompt): File "game/screens.rpy", line 228, in execute window: File "game/screens.rpy", line 230, in execute vbox: File "game/screens.rpy", line 236, in execute input id "input" Exception: The default value of an input must not be None. -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/script.rpy", line 464, in script call call change_location(picked_option) from _call_change_location_nearby #_return is the location returned from the map manager. File "game/script.rpy", line 460, in script call $ picked_option.call_action() File "game/general_actions/location_actions/business_actions.rpy", line 186, in script python: File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\ast.py", line 821, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\python.py", line 1178, in py_exec_bytecode exec(bytecode, globals, locals) File "game/general_actions/location_actions/business_actions.rpy", line 187, in <module> name = renpy.input("Please give this serum design a name.", name, exclude="[]{}") File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\exports\inputexports.py", line 177, in input rv = renpy.ui.interact(mouse='prompt', type="input", roll_forward=roll_forward) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\ui.py", line 301, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 2215, 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\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 2745, in interact_core root_widget.visit_all(lambda d : d.per_interact()) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\displayable.py", line 434, in visit_all d.visit_all(callback, seen) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\displayable.py", line 434, in visit_all d.visit_all(callback, seen) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\displayable.py", line 434, in visit_all d.visit_all(callback, seen) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\screen.py", line 480, in visit_all callback(self) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\core.py", line 2745, in <lambda> root_widget.visit_all(lambda d : d.per_interact()) File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\screen.py", line 491, in per_interact self.update() File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\screen.py", line 697, in update self.screen.function(**self.scope) File "game/screens.rpy", line 225, in execute screen input(prompt): File "game/screens.rpy", line 225, in execute screen input(prompt): File "game/screens.rpy", line 228, in execute window: File "game/screens.rpy", line 230, in execute vbox: File "game/screens.rpy", line 236, in execute input id "input" File "C:\Users\ie996\Desktop\LabRats2-Reformulate-2024.08-pc\renpy\display\behavior.py", line 1453, in __init__ raise Exception("The default value of an input must not be None.") Exception: The default value of an input must not be None. Windows-10-10.0.22621 AMD64 Ren'Py 8.3.3.24111502 Lab Rats 2 - Down to Business 2024.09-beta Mon Nov 25 08:43:28 2024
大佬你好你把你的game/tl/chinese目录下的strings.rpy和need_notice.rpy两个文件发上来我看看?
感谢大佬的回复,我现在的问题是。。。我无法开立新档,它是在开档的时候报错的。按理来说我不载入旧存档应该是没事的,最后只能怀疑是我之前有玩过的存档,不过我不知道在哪里删除。这个看起来是存档不兼容的问题,只能从新档开始
你的那个错误我暂时没复现出来,你试试删掉所有的rpyc文件(在文件夹搜索*.rpyc全选删除,或者命令行执行del /s *.rpyc)感谢大佬的回复,我现在的问题是。。。我无法开立新档,它是在开档的时候报错的。按理来说我不载入旧存档应该是没事的,最后只能怀疑是我之前有玩过的存档,不过我不知道在哪里删除。
我描述下我的操作,您看下我是不是哪步没做对哈你的那个错误我暂时没复现出来,你试试删掉所有的rpyc文件(在文件夹搜索*.rpyc全选删除,或者命令行执行del /s *.rpyc)
你这个过程里没有安装VTMOD 3.0,所以最后是不需要覆盖那个LR2R.chs.beta04,VTMOD3.0在我发布的那一层里有下载链接,你应该先下载那个LR2R-VTMOD.zip,解压到game\mods\目录下,注意将解压后的LR2R-VTMOD目录名改名为LR2R(因为我们直接从GITHUB仓库抓的目录名就是LR2R),安装了LR2R之后,才需要覆盖LR2R.chs.beta04我描述下我的操作,您看下我是不是哪步没做对哈
1:解压F95下载的2024.08C版本
2:复制lr2_gitlab_241113_script至游戏目录,覆盖1个文件
3:复制RenpyChineseTranslate0.3.1至文件目录,覆盖847个文件
4:复制LabRats2.chs.beta30至文件目录,替换229个文件
5:复制LR2R.chs.beta04里的五个文件夹至game文件夹下,覆盖3个文件
6:运行设置为中文.dat 回车后自动启动游戏,报错退出
7:再次启动游戏,进游戏后新游戏,设定结束后点击开始,报错退出
删不删*.rpyc没有区别
其实我都试过,不覆盖 LR2R.chs.beta04 游戏都进不去。安装VTmod到game\mods\下后不需要改名,我在原本的2024.08C英文版下可以正常游玩VTmod。你这个过程里没有安装VTMOD 3.0,所以最后是不需要覆盖那个LR2R.chs.beta04,VTMOD3.0在我发布的那一层里有下载链接,你应该先下载那个LR2R-VTMOD.zip,解压到game\mods\目录下,注意将解压后的LR2R-VTMOD目录名改名为LR2R(因为我们直接从GITHUB仓库抓的目录名就是LR2R),安装了LR2R之后,才需要覆盖LR2R.chs.beta04
你若不想使用VTMOD, 将game\mods\里的LR2R目录直接删了就可以
必须改名,否则原本的VTMOD和LR2R.chs.beta会有冲突其实我都试过,不覆盖 LR2R.chs.beta04 游戏都进不去。安装VTmod到game\mods\下后不需要改名,我在原本的2024.08C英文版下可以正常游玩VTmod。
如果我按刚刚陈述的步骤,最开始时加上复制VTmod到mods文件夹下,是一种报错。
如果我按刚刚陈述的步骤,取消第5步覆盖LR2R.chs.beta04,是另一种报错。
大佬您方便就过目一下 谢谢谢谢
我发给您的那个报错是改了名的必须改名,否则原本的VTMOD和LR2R.chs.beta会有冲突
游戏本体是不在乎LR2R那个目录名字的,但VTMOD和汉化包名字不一致就会出问题