CHNZYX / Auto_Simulated_Universe

崩坏:星穹铁道 模拟宇宙自动化 (Honkai Star Rail - Auto Simulated Universe)
MIT License
3.51k stars 197 forks source link

[Bug]: 'SimulatedUniverse' object has no attribute 'runkey' #203

Closed Eisaichen closed 12 months ago

Eisaichen commented 12 months ago

请确保您已阅读以上注意事项,并勾选下方的确认框。

Auto Simulated Universe 版本 (或 Commit Id)

v5.8 8c391d0

重现步骤

下载v5.8源码包 使用 python .\gui.py 运行

开始自动化后,第一层正常,但已进入第二层就会报错 试过启用/禁用速通模式,都会报错

期望的结果是什么?

Run as designed.

实际的结果是什么?

Throw exception.

日志记录

INFO [2023-09-17 23:05:03,413] [utils.py:700] 地图45516已完成,相似度0.9,进入2层

E: 运行函数时出现错误 Traceback (most recent call last): File "D:\Application\Auto_Simulated_Universe\gui\choose.py", line 31, in run res = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Application\Auto_Simulated_Universe\states.py", line 893, in start self.route() File "D:\Application\Auto_Simulated_Universe\states.py", line 181, in route res = self.normal() ^^^^^^^^^^^^^ File "D:\Application\Auto_Simulated_Universe\states.py", line 517, in normal get_direc_only_minimap(self) File "mylib.py", line 134, in get_direc_only_minimap AttributeError: 'SimulatedUniverse' object has no attribute 'runkey' INFO [2023-09-17 23:05:06,775] [states.py:833] 尝试停止运行 INFO [2023-09-17 23:05:06,777] [utils.py:36] 通知: 已退出自动化

(Auto_Simulated_Universe) PS D:\Application\Auto_Simulated_Universe>

补充说明(可选)

No response

CHNZYX commented 12 months ago

5.8源码包有问题,建议直接下载最新源码或者直接clone或pull