Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【BUG】游戏卡死 #215

Open
FaelGnahz opened this issue May 27, 2024 · 4 comments
Open

【BUG】游戏卡死 #215

FaelGnahz opened this issue May 27, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@FaelGnahz
Copy link

问题描述
新的翻译器目前还是有问题,接野兽任务第一次不显示,第二次会UI消失卡死

如何复现
复现问题的步骤:
点击对应类型任务在城镇界面的“展开卷轴”图标
新旧启动器均会发生这个错误

操作系统信息:
Windows 10 22H2

Additional context

22:45:10
SQ
位置已输入:达哈卜
22:45:11
Scene
Finished saving scene.
22:45:12
SQ
展示合约:狩猎野兽 (id: 13)
22:45:12
Script Error
the index 'RenderTemplate' does not exist
Function:
_7ed3a9a60d3a40520e968646bbb6b198d6f9095e605e74b3ce980383a2fbf276 -> __main__ : 3
Variables:
this = Table
Function:
start -> scripts/contracts/contracts/roaming_beasts_desert_contract.nut : 66
Variables:
this = Table
Function:
setState -> scripts/contracts/contract.nut : 358
Variables:
_state = Table, this = Table
Function:
start -> scripts/contracts/contract.nut : 196
Variables:
this = Table
Function:
start -> scripts/contracts/contracts/roaming_beasts_desert_contract.nut : 54
Variables:
this = Table
Function:
showContract -> scripts/contracts/contract_manager.nut : 318
Variables:
_c = Table, this = Table
Function:
showContractByID -> scripts/contracts/contract_manager.nut : 297
Variables:
c = Table, _id = 13, this = Table
Function:
onContractClicked -> scripts/ui/screens/world/world_town_screen.nut : 445
Variables:
_data = 13, this = Table
22:45:13
SQ
展示合约:狩猎野兽 (id: 13)
22:45:13
Script Error
the index 'Text' does not exist
Function:
getUIContent -> scripts/contracts/contract.nut : 479
Variables:
result = Array, this = Table
Function:
convertEventToUIData -> scripts/ui/screens/world/world_event_screen.nut : 166
Variables:
_event = Table, this = Table
Function:
show -> scripts/ui/screens/world/world_event_screen.nut : 95
Variables:
_withSlideAnimation = False, _event = Table, this = Table
Function:
showEventScreenFromTown -> scripts/states/world_state.nut : 355
Variables:
_playSound = False, _isContract = True, _event = Table, this = Table
Function:
showContract -> scripts/contracts/contract_manager.nut : 326
Variables:
_c = Table, this = Table
Function:
showContractByID -> scripts/contracts/contract_manager.nut : 297
Variables:
c = Table, _id = 13, this = Table
Function:
onContractClicked -> scripts/ui/screens/world/world_town_screen.nut : 445
Variables:
_data = 13, this = Table
@FaelGnahz FaelGnahz added the bug Something isn't working label May 27, 2024
@shabbywu
Copy link
Owner

shabbywu commented Jun 1, 2024

收到,尽快处理。

@shabbywu
Copy link
Owner

shabbywu commented Jun 6, 2024

找到问题了. 重构时改漏了2行,导致未注入这个 RenderTemplate 函数

@shabbywu
Copy link
Owner

shabbywu commented Jun 6, 2024

翻译器已更新 1.1.0,这个 bug 需要玩几天才能触发,隐藏比较深。

@FaelGnahz
Copy link
Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@shabbywu @FaelGnahz and others