Coder Social home page Coder Social logo

infstellar / genshin_impact_assistant Goto Github PK

View Code? Open in Web Editor NEW
2.5K 2.5K 211.0 20.8 MB

原神小助手 Genshin Assistant (CN/EN) | 自动战斗,秘境,领日常,半自动委托

License: GNU General Public License v3.0

Python 98.50% C++ 1.33% JavaScript 0.15% Batchfile 0.02%

genshin_impact_assistant's People

Contributors

hsn8086 avatar infstellar avatar irongu avatar kumatea avatar lhllhx avatar lmeszinc avatar moulai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

genshin_impact_assistant's Issues

领取日常奖励出错

发生在启动领取奖励时

以下日志

2023-06-01 11:28:40.367 | INFO | source.task.task_manager:start_stop_task:83 - 任务ClaimRewardTask启动。
2023-06-01 11:28:40.369 | DEBUG | source.common.base_threading:pause_threading:29 - pause threading
2023-06-01 11:28:40.369 | DEBUG | source.common.base_threading:_add_sub_threading:90 - sub threading has been add.
2023-06-01 11:28:40.370 | DEBUG | source.common.base_threading:continue_threading:34 - continue threading
2023-06-01 11:28:40.576 | DEBUG | source.common.base_threading:continue_threading:34 - source.mission.mission_template continue threading
2023-06-01 11:28:40.804 | INFO | source.ui.ui:ui_goto:76 - UI goto page_bigmap
2023-06-01 11:28:40.817 | DEBUG | source.ui.ui:ui_goto:99 - Page switch: page_main -> page_bigmap
2023-06-01 11:28:40.817 | TRACE | source.interaction.interaction_core:wrapper:35 - operation: key_press | args: ('m',) | {} | function name: ui_goto & ensure_page
2023-06-01 11:28:41.866 | DEBUG | source.ui.ui:ui_goto:88 - Page arrive: page_bigmap
2023-06-01 11:28:41.867 | DEBUG | source.interaction.interaction_core:delay:576 - delay: 0.5 |function name: ui_goto |comment: ui goto is waiting genshin animation
2023-06-01 11:28:42.630 | TRACE | source.api.pdocr_api:analyze:70 - det boxes: [[81,56],[206,54],[206,75],[81,77]]rec text: 每日委托奖励 rec score:0.896331 det boxes: [[82,114],[205,114],[205,134],[82,134]]rec text: 探索派遣奖励 rec score:0.903537 det boxes: [[79,168],[164,168],[164,192],[79,192]]rec text: 锻造奖励 rec score:0.998040 det boxes: [[82,229],[228,229],[228,250],[82,250]]rec text: 新的可挑战牌手 rec score:0.993626
2023-06-01 11:28:42.630 | INFO | source.task.claim_reward.claim_reward:get_available_reward:25 - ['Commission', 'Expedition']
2023-06-01 11:28:42.638 | TRACE | source.interaction.interaction_core:wrapper:35 - operation: key_up | args: ('w',) | {} | function name: pause_threading & _add_sub_threading
2023-06-01 11:28:42.638 | DEBUG | source.common.base_threading:pause_threading:29 - TeyvatMoveFlow pause threading
2023-06-01 11:28:42.638 | DEBUG | source.common.base_threading:_add_sub_threading:90 - sub threading TeyvatMoveFlow has been add.
2023-06-01 11:28:42.639 | INFO | source.mission.mission_template:_init_sub_threading:78 - source.mission.mission_template TMCF has been initialized and started.
2023-06-01 11:28:42.640 | ERROR | source.mission.mission_template:loop:368 - ERROR in execute mission: source.mission.mission_template 'ClaimRewardMission' object has no attribute 'PUO'
2023-06-01 11:28:42.641 | ERROR | source.mission.mission_template:loop:369 - 'ClaimRewardMission' object has no attribute 'PUO'
Traceback (most recent call last):

File "D:\Users\gongf\anaconda3\envs\genshin_impact_assistant\lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x0000019D525C64C8>
└ <ClaimRewardTask(, started daemon 2220)>

File "D:\Users\gongf\anaconda3\envs\genshin_impact_assistant\lib\threading.py", line 926, in _bootstrap_inner
self.run()
│ └ <function BaseThreading.run at 0x0000019D74B5B1F8>
└ <ClaimRewardTask(, started daemon 2220)>

File "D:\Projects\genshin_impact_assistant\source\common\base_threading.py", line 121, in run
self.loop()
│ └ <function ClaimRewardTask.loop at 0x0000019D337C2B88>
└ <ClaimRewardTask(, started daemon 2220)>

File "D:\Projects\genshin_impact_assistant\source\task\claim_reward\claim_reward.py", line 83, in loop
self.blocking_startup(self.CRM)
│ │ │ └ <ClaimRewardMission(source.mission.mission_template, initial daemon)>
│ │ └ <ClaimRewardTask(, started daemon 2220)>
│ └ <function AdvanceThreading.blocking_startup at 0x0000019D74B5B318>
└ <ClaimRewardTask(, started daemon 2220)>

File "D:\Projects\genshin_impact_assistant\source\common\base_threading.py", line 133, in blocking_startup
threading_obj.loop()
│ └ <function MissionExecutor.loop at 0x0000019D333159D8>
└ <ClaimRewardMission(source.mission.mission_template, initial daemon)>

File "D:\Projects\genshin_impact_assistant\source\mission\mission_template.py", line 360, in loop
self.exec_mission()
│ └ <function ClaimRewardMission.exec_mission at 0x0000019D337C29D8>
└ <ClaimRewardMission(source.mission.mission_template, initial daemon)>

File "D:\Projects\genshin_impact_assistant\source\task\claim_reward\claim_reward.py", line 63, in exec_mission
self.move_along("Katheryne20230408124320i0", is_precise_arrival=True)
│ └ <function MissionExecutor.move_along at 0x0000019D3339BB88>
└ <ClaimRewardMission(source.mission.mission_template, initial daemon)>

File "D:\Projects\genshin_impact_assistant\source\mission\mission_template.py", line 208, in move_along
r = self.move(MODE="PATH", path_dict = path_dict, is_tp = is_tp, is_reinit=is_reinit, is_precise_arrival=is_precise_arrival)
│ │ │ │ │ └ True
│ │ │ │ └ True
│ │ │ └ True
│ │ └ OrderedDict([('break_position', [[2526.316, -5796.719], [2530.9186000000004, -5792.8835], [2536.799700000001, -5782.9112], [2...
│ └ <function MissionExecutor.move at 0x0000019D3339BA68>
└ <ClaimRewardMission(source.mission.mission_template, initial daemon)>

File "D:\Projects\genshin_impact_assistant\source\mission\mission_template.py", line 157, in move
if not self.PUO.pause_threading_flag:
└ <ClaimRewardMission(source.mission.mission_template, initial daemon)>

AttributeError: 'ClaimRewardMission' object has no attribute 'PUO'
2023-06-01 11:28:42.695 | TRACE | source.interaction.interaction_core:wrapper:35 - operation: key_up | args: ('w',) | {} | function name: loop & blocking_startup
2023-06-01 11:28:42.696 | DEBUG | source.common.base_threading:pause_threading:29 - source.mission.mission_template pause threading
2023-06-01 11:28:42.696 | DEBUG | source.common.base_threading:pause_threading:29 - pause threading
2023-06-01 11:28:42.834 | INFO | source.task.task_manager:loop:124 - task ClaimRewardTask end.
2023-06-01 11:28:42.835 | INFO | source.task.task_manager:start_stop_task:92 - 任务结束
2023-06-01 11:28:42.836 | DEBUG | source.common.base_threading:stop_threading:38 - stopping.
2023-06-01 11:28:42.836 | DEBUG | source.common.base_threading:_clean_sub_threading:94 - stop source.mission.mission_template
2023-06-01 11:28:42.836 | DEBUG | source.common.base_threading:stop_threading:38 - source.mission.mission_template stopping.
2023-06-01 11:28:42.836 | DEBUG | source.common.base_threading:_clean_sub_threading:94 - source.mission.mission_template stop TeyvatMoveFlow
2023-06-01 11:28:42.836 | DEBUG | source.common.base_threading:stop_threading:38 - TeyvatMoveFlow stopping.
2023-06-01 11:28:42.836 | INFO | source.task.task_manager:loop:126 - all task end.
2023-06-01 11:28:42.909 | DEBUG | source.common.base_threading:run:105 - stop.

自定义任务分享网站

创建一个网站,允许用户上传制作的自定义任务,并下载自定义任务到missions文件夹.

保持角色站場

請問有辦法讓角色在元素爆發生效期間不切人嗎?
賽諾和一斗的元素爆發都是在生效時增強他們的普攻/重擊傷害,一旦切人就失去效用。

ERROR fastdeploy/utils/utils.cc(54)::fastdeploy::ReadBinaryFromFile

2023-04-19 04:30:51.392 | TRACE    | source.common.generic_event:run:43 - time dilation rate: 0.9814992378955738
2023-04-19 04:30:52.076 | INFO     | source.api.pdocr_api:<module>:16 - import pdocr time: 2.7
2023-04-19 04:30:52.078 | INFO     | source.api.pdocr_api:__init__:50 - Creating PaddleOCRFastDeploy object: E:\program\genshin_impact_assistant\genshin_impact_assistant\assets\PPOCRModels\zh_CN
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0419 04:30:52.080196 25728 analysis_config.cc:972] It is detected that mkldnn and memory_optimize_pass are enabled at the same time, but they are not supported yet. Currently, memory_optimize_pass is explicitly disabled
[ERROR] fastdeploy/utils/utils.cc(54)::fastdeploy::ReadBinaryFromFile   Failed to open file: E:\program\genshin_impact_assistant\genshin_impact_assistant\assets\PPOCRModels\zh_CN\pddet\inference.pdmodel to read.
[ERROR] fastdeploy/runtime/backends/paddle/paddle_backend.cc(145)::fastdeploy::PaddleBackend::InitFromPaddle    Failed to read file E:\program\genshin_impact_assistant\genshin_impact_assistant\assets\PPOCRModels\zh_CN\pddet\inference.pdmodel.

任务状态

Statement Not Register Yet

日志
2023-04-19 04:30:20.298 | INFO | source.webio.webio:main:33 - webio启动完成
2023-04-19 04:30:47.946 | INFO | source.task.task_manager:start_stop_task:79 - TaskMissionTask Start.
2023-04-19 04:30:49.369 | INFO | source.mission.mission_manager:loop:29 - Mission MissionAutoCollector Start.
2023-04-19 04:30:49.375 | INFO | source.api.pdocr_api::4 - 正在创建OCR对象

2023-04-19.log

原神3.2更新透明度问题集合

已知问题:

  • Q技能识别
  • 自动瞄准

可能问题:

  • 换人识别

已修复于dev分支:

  • Q技能识别

在3.3前不修复:

  • 自动瞄准

搞个水印

搞个水印遮挡UID避免有用户乱截图

import失败

cannot import name 'pyautogui_win' from 'pyautogui' (D:\download\GIA_Launcher_v0.6.0\toolkit\lib\site-packages\pyautogui_init.py)

截圖失敗

只要打開就會一直刷失敗

ERROR    | interaction_background:capture:150 - 截图失败, shape=(750, 1300, 4)将在2秒后重试。

系統: win10
原神視窗大小: 1366x768
gia版本:最新

风龙废墟处自动寻路错误

事情发生在我使用自动每日,一个战斗委托刷在风龙废墟附近,它就传送到风龙废墟内的那个小传送点,然后顺着风龙废墟内墙爬
image
image
ran然后判定这个任务失败就跳过去了
可否将此锚点和神像还有周本传送点设置为黑名单,基本没有刷新在里面的委托

请求优化自动战斗

以胡行钟夜为例
1.角色定位
钟离作为护盾角色,无论是否护盾还存在,都将立即上场释放护盾,将打断循环
或许可以改成持续时间结束补护盾?
2.优先级
个人感觉优先级系统过于单线程,先不论夜兰行秋,就钟离胡桃而言,若钟1胡4,夜行23,则实战中胡桃基本上只能戳两枪,若钟4胡1,夜行依旧,则开场不会套盾,若钟1胡2,夜行34,则夜行有时还没挂水胡桃又上场了
而且配置文档中有看到四种角色定位,而webui只有两种(还有一种甚至空白,我不知道是不是我的问腿)
3.策略组
当我发现以上问题想通过策略组解决的时候,发现策略组仅支持对角色自身进行策略调整。是否可以支持例如放完大切换指定角色此类策略设计?

901372518这个qq群找不到呀

能不能多搞点预设.....
没宵宫姐姐
还有自己pip的时候
会报错....
ERROR: Invalid requirement: 'pypiwin32~=223' (from line 21 of requirements.txt)

too many indices for array: array is 1-dimensional, but 2 were indexed

2023-02-12 19:35:13.737 | INFO | static_lib:while_until_no_excessive_error:33 - 等待cvautotrack获取坐标
2023-02-12 19:35:13.740 | INFO | collector_flow:run:291 - switch Flow to: BEFORE_MOVETO_COLLECTOR
Exception in thread CollectorFlow:
Traceback (most recent call last):
File "E:\GenShin_tools\GIA Launcher\toolkit\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "E:\GenShin_tools\GIA Launcher\source\collector_flow.py", line 301, in run
f2 = euclidean_distance_plist(self.collection_posi, self.shielded_posi_list).min() <= 30
File "E:\GenShin_tools\GIA Launcher\source\util.py", line 199, in euclidean_distance_plist
return np.sqrt((p1[0] - p2[:,0]) ** 2 + (p1[1] - p2[:,1]) ** 2)
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Ctrl+C停不了genshin_assistant.py

启动时python .\genshin_assistant.py,但Ctrl+C停不了程序,只是log一下就继续了,再次Ctrl+C没有任何反应

2023-06-13 21:11:07.436 | WARNING  | source.interaction.capture:_capture:71 - 截图失败shape: (0, 0, 4),等待2秒
请确认原神窗口没有最小化,原神启动器关闭,原神分辨率为1080p
Traceback (most recent call last):
  File ".\genshin_assistant.py", line 49, in <module>
    source.listening.listening()
  File "G:\Software\miniconda\envs\GIA\lib\site-packages\loguru\_logger.py", line 1251, in catch_wrapper
    return function(*args, **kwargs)
  File "G:\Software\genshin_impact_assistant\source\listening.py", line 129, in listening
    time.sleep(0.2)
KeyboardInterrupt
2023-06-13 21:11:09.443 | WARNING  | source.common.static_lib:get_handle:22 - 找不到句柄

建议角色定位中增加拖油瓶角色

众所周知,原神有好感度系统,而有些角色我们抽到但是不一定会升级,而我们又需要提升他们的好感度时,他就是我所说的拖油瓶角色
相关规则:在战斗时切换角色,不能切换到拖油瓶角色。脱离战斗时可以切换到拖油瓶角色。倘若未处于战斗时拖油瓶角色在场上,而突然进入战斗,应将拖油瓶角色切到后台。
image

更好的启动原神任务

能在原神启动过一次后,自动检测原神路径并保存. 下次启动任务时能够自动启动原神.

功能建议

建议在config里增加秘境收取奖励时使用原萃树脂还是浓缩树脂的选项。

UI界面检测失败

日志:2023-01-25.log
截图不放了,一步步来的重装过一次还是报UI界面检测失败,后台能关的软件全都关了,也没开滤镜。
系统;WIN11

源代码安装最新版遇到困难,不确定是否已经完整正确安装。

1 legacy 'setup.py install' method,缺少'wheel' 需要用 '--use-pep517' option单独安装?

DEPRECATION: pytweening is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
 Running setup.py install for pytweening ... done
 DEPRECATION: pyrect is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
 Running setup.py install for pyrect ... done
 DEPRECATION: pyperclip is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
 Running setup.py install for pyperclip ... done
 DEPRECATION: progress is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
 Running setup.py install for progress ... done
 DEPRECATION: ffmpy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
 Running setup.py install for ffmpy ... done
 DEPRECATION: pygetwindow is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  1. 兼容性错误(手动安装?)
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
virtualenv 20.16.5 requires filelock<4,>=3.4.1, but you have filelock 3.3.0 which is incompatible.
poetry 1.4.1 requires filelock<4.0.0,>=3.8.0, but you have filelock 3.3.0 which is incompatible.
danmakuc 0.3.3 requires protobuf>=4.21.0, but you have protobuf 3.20.0 which is incompatible.
  1. 先不管上面的提示不处理,重新运行setup就只跳出来opencv的错误
PS E:\Program\genshin_impact_assistant\genshin_impact_assistant> python setup.py install
Traceback (most recent call last):
  File "E:\Program\genshin_impact_assistant\genshin_impact_assistant\setup.py", line 13, in <module>
    import installer_setup
  File "E:\Program\genshin_impact_assistant\genshin_impact_assistant\installer_setup.py", line 1, in <module>
    from source.util import *
  File "E:\Program\genshin_impact_assistant\genshin_impact_assistant\source\util.py", line 10, in <module>
    import cv2
  File "C:\Python39\lib\site-packages\cv2\__init__.py", line 181, in <module>
    bootstrap()
  File "C:\Python39\lib\site-packages\cv2\__init__.py", line 175, in bootstrap
    if __load_extra_py_code_for_module("cv2", submodule, DEBUG):
  File "C:\Python39\lib\site-packages\cv2\__init__.py", line 28, in __load_extra_py_code_for_module
    py_module = importlib.import_module(module_name)
  File "C:\Python39\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "C:\Python39\lib\site-packages\cv2\gapi\__init__.py", line 290, in <module>
    cv.gapi.wip.GStreamerPipeline = cv.gapi_wip_gst_GStreamerPipeline
AttributeError: partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)
PS E:\Program\genshin_impact_assistant\genshin_impact_assistant>

降级opencv解决后,重新运行setup

E:\Program\genshin_impact_assistant\genshin_impact_assistant> python setup.py install
2023-04-12 04:17:40.571 | CRITICAL | source.util:load_json:60 - 尝试访问E:\Program\genshin_impact_assistant\genshin_impact_assistant\config\settings\config.json失败
2023-04-12 04:17:40.572 | ERROR    | source.util:<module>:70 - config文件导入失败,可能由于初次安装。跳过导入。 ERROR_IMPORT_CONFIG_001
2023-04-12 04:17:40.573 | CRITICAL | source.util:load_json:60 - 尝试访问E:\Program\genshin_impact_assistant\genshin_impact_assistant\config\settings\config.json失败
2023-04-12 04:17:40.574 | ERROR    | source.util:<module>:80 - config文件导入失败,可能由于初次安装。跳过导入。 ERROR_IMPORT_CONFIG_002
2023-04-12 04:17:40.581 | INFO     | source.util:<module>:143 - language set as: zh_CN
None
template translate successfully
template translate successfully

再次运行,

2023-04-12 04:23:18.973 | INFO     | source.util:<module>:143 - language set as: zh_CN
None
no operation required
no operation required

所以1、2 还需要解决吗?为什么这些兼容性问题无法重新跳出来了?

运行时报错 我的python版本3.9 会不会是版本问题

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.

运行GIA Launcher.exe后出现FileNotFoundError: [Errno 2] No translation file found for domain: 'zh_CN'

[ success ]
zh_CN
python G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0/source/msgfmt.py -o G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\translation/locale\zh_CN\LC_MESSAGES\zh_CN.mo G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\translation/locale\zh_CN\LC_MESSAGES\zh_CN.po
python: can't open file 'G:\program': [Errno 2] No such file or directory
Traceback (most recent call last):
File "G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\toolkit\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\toolkit\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\giainstaller.py", line 278, in
import installer_setup
File "G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\installer_setup.py", line 1, in
from source.util import *
File "G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\source\util.py", line 15, in
from source.i18n import t2t, GLOBAL_LANG
File "G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\source\i18n.py", line 35, in
l10n = gettext.translation(GLOBAL_LANG, localedir=os.path.join(ROOT_PATH, r"translation/locale"), languages=[GLOBAL_LANG])
File "G:\program files\Genshin Impact Assistant\GIA_Launcher_v0.6.0\toolkit\lib\gettext.py", line 524, in translation
'No translation file found for domain', domain)
FileNotFoundError: [Errno 2] No translation file found for domain: 'zh_CN'
The program is over. This may be due to an error or an active end.

(,,´•ω•)ノ"(´っω•`。)

每日委托到达目的地后程序出错

到达委托所在地后程序出错,角色没有任何操作
阵容使用的是群里发布的 钟离,班尼特,香菱,行秋
报错信息如下

2023-05-08 04:07:50.792 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_bigmap
2023-05-08 04:07:52.555 | INFO     | source.map.detection.minimap:init_position:13 - init_position:(5825, 524)
2023-05-08 04:07:52.556 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_main
2023-05-08 04:07:54.621 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_main
2023-05-08 04:07:55.172 | INFO     | source.flow.flow_template:enter_flow:45 - Flow Switch To: INIT_TEYVAT_MOVE
2023-05-08 04:07:55.425 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_bigmap
2023-05-08 04:07:57.161 | INFO     | source.map.detection.minimap:init_position:13 - init_position:(5825, 524)
2023-05-08 04:07:57.163 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_main
2023-05-08 04:07:58.992 | INFO     | source.flow.teyvat_move_flow_upgrad:init_path:169 - 不在服务区
2023-05-08 04:08:35.686 | INFO     | source.flow.teyvat_move_flow_upgrad:state_in:292 - 已到达目的地附近,本次导航结束。
2023-05-08 04:08:35.730 | INFO     | source.flow.teyvat_move_flow_upgrad:state_after:311 - landing
2023-05-08 04:08:36.808 | INFO     | source.flow.flow_template:enter_flow:45 - Flow Switch To: $END$TEYVAT_MOVE_PASS
2023-05-08 04:08:37.415 | INFO     | source.mission.mission_template:_init_sub_threading:72 - source.mission.mission_template CCT has been initialized and started.
2023-05-08 04:08:37.568 | INFO     | source.operator.switch_character_operator:continue_threading:220 - SCO is getting the character list
2023-05-08 04:08:37.693 | WARNING  | source.funclib.combat_lib:get_characters_name:379 - get characters name fail, retry 0
2023-05-08 04:08:37.958 | WARNING  | source.funclib.combat_lib:get_characters_name:379 - get characters name fail, retry 1
2023-05-08 04:08:38.367 | INFO     | source.funclib.combat_lib:get_chara_list:513 - team file set as: ['钟离', '班尼特', '香菱', '行秋']
2023-05-08 04:08:38.371 | WARNING  | source.funclib.combat_lib:get_chara_list:553 - 请将配对文件中的tastic_group更名为tactic_group. 已自动识别。
2023-05-08 04:08:38.373 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:08:38.374 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: Qcd_time; character name: Zhongli
2023-05-08 04:08:38.377 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:08:38.378 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: vision; character name: Zhongli
2023-05-08 04:08:38.382 | WARNING  | source.funclib.combat_lib:get_chara_list:553 - 请将配对文件中的tastic_group更名为tactic_group. 已自动识别。
2023-05-08 04:08:38.387 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:08:38.388 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: Qcd_time; character name: Bennett
2023-05-08 04:08:38.391 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:08:38.392 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: vision; character name: Bennett
2023-05-08 04:08:38.395 | WARNING  | source.funclib.combat_lib:get_chara_list:553 - 请将配对文件中的tastic_group更名为tactic_group. 已自动识别。
2023-05-08 04:08:38.398 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:08:38.400 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: Qcd_time; character name: Xiangling
2023-05-08 04:08:38.405 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:08:38.407 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: vision; character name: Xiangling
2023-05-08 04:08:38.411 | WARNING  | source.funclib.combat_lib:get_chara_list:553 - 请将配对文件中的tastic_group更名为tactic_group. 已自动识别。
2023-05-08 04:08:38.414 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:08:38.415 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: Qcd_time; character name: Xingqiu
2023-05-08 04:08:38.419 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:08:38.420 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: vision; character name: Xingqiu
2023-05-08 04:08:38.422 | ERROR    | source.mission.mission_template:loop:317 - ERROR in execute mission: source.mission.mission_template Character Key Empty Error
2023-05-08 04:08:38.426 | ERROR    | source.mission.mission_template:loop:318 - Character Key Empty Error
Traceback (most recent call last):

  File "E:\GIA_Launcher_v0.6.0\toolkit\lib\threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
    │    └ <function Thread._bootstrap_inner at 0x000002019A7F95E8>
    └ <IncreasingDangerGeneral(source.mission.mission_template, started daemon 27112)>

  File "E:\GIA_Launcher_v0.6.0\toolkit\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
    │    └ <function BaseThreading.run at 0x00000201BCD994C8>
    └ <IncreasingDangerGeneral(source.mission.mission_template, started daemon 27112)>

  File "E:\GIA_Launcher_v0.6.0\source\common\base_threading.py", line 121, in run
    self.loop()
    │    └ <function MissionExecutor.loop at 0x00000201814D04C8>
    └ <IncreasingDangerGeneral(source.mission.mission_template, started daemon 27112)>

> File "E:\GIA_Launcher_v0.6.0\source\mission\mission_template.py", line 309, in loop
    self.exec_mission()
    │    └ <function IncreasingDangerGeneral.exec_mission at 0x00000201892D80D8>
    └ <IncreasingDangerGeneral(source.mission.mission_template, started daemon 27112)>

  File "E:\GIA_Launcher_v0.6.0\source\commission\general\IncreasingDanger.py", line 47, in exec_mission
    self.start_combat(mode="Shield")
    │    └ <function MissionExecutor.start_combat at 0x000002018150EB88>
    └ <IncreasingDangerGeneral(source.mission.mission_template, started daemon 27112)>

  File "E:\GIA_Launcher_v0.6.0\source\mission\mission_template.py", line 188, in start_combat
    self.CCT.continue_threading()
    │    │   └ <function CombatController.continue_threading at 0x00000201DAB9BB88>
    │    └ <CombatController(CombatController, started daemon 29432)>
    └ <IncreasingDangerGeneral(source.mission.mission_template, started daemon 27112)>

  File "E:\GIA_Launcher_v0.6.0\source\controller\combat_controller.py", line 68, in continue_threading
    self.sco.continue_threading()
    │    │   └ <function SwitchCharacterOperator.continue_threading at 0x00000201DAB9B9D8>
    │    └ <SwitchCharacterOperator(SwitchCharacterOperator, started daemon 30380)>
    └ <CombatController(CombatController, started daemon 29432)>

  File "E:\GIA_Launcher_v0.6.0\source\operator\switch_character_operator.py", line 221, in continue_threading
    self.chara_list = combat_lib.get_chara_list()
    │    │            │          └ <function get_chara_list at 0x00000201BED28DC8>
    │    │            └ <module 'source.funclib.combat_lib' from 'E:\\GIA_Launcher_v0.6.0\\source\\funclib\\combat_lib.py'>
    │    └ None
    └ <SwitchCharacterOperator(SwitchCharacterOperator, started daemon 30380)>

  File "E:\GIA_Launcher_v0.6.0\source\funclib\combat_lib.py", line 572, in get_chara_list
    raise TacticKeyEmptyError(t2t("Character Key Empty Error"))
          │                   └ <bound method GNUTranslations.gettext of <gettext.GNUTranslations object at 0x00000201BCD200C8>>
          └ <class 'source.funclib.combat_lib.TacticKeyEmptyError'>

source.funclib.combat_lib.TacticKeyEmptyError: Character Key Empty Error
2023-05-08 04:08:39.344 | INFO     | source.commission.commission_acquisition:get_commission_object:37 - get commission: ('SpreadingEvil', [3743.207642, -6851.215572])
2023-05-08 04:08:39.346 | INFO     | source.commission.commission_acquisition:get_commission_object:42 - get commission fail, try to get general commission
2023-05-08 04:08:39.783 | INFO     | source.operator.pickup_operator:run:80 - 停止自动拾取
2023-05-08 04:08:39.875 | INFO     | source.mission.mission_template:_init_sub_threading:72 - Thread-299 PUO has been initialized and started.
2023-05-08 04:08:40.139 | INFO     | source.mission.mission_template:_init_sub_threading:72 - source.mission.mission_template TMCF has been initialized and started.
2023-05-08 04:08:40.178 | INFO     | source.flow.teyvat_move_flow_upgrad:init_path:169 - 不在服务区
2023-05-08 04:08:40.362 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_main
2023-05-08 04:08:41.026 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_bigmap
2023-05-08 04:08:51.268 | WARNING  | source.ui.ui:get_page:39 - 未知Page, 重新检测
2023-05-08 04:08:52.362 | WARNING  | source.ui.ui:get_page:39 - 未知Page, 重新检测
2023-05-08 04:08:53.473 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_bigmap
2023-05-08 04:08:56.278 | INFO     | source.map.detection.minimap:init_position:13 - init_position:(6059, 310)
2023-05-08 04:08:56.280 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_main
2023-05-08 04:08:58.378 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_main
2023-05-08 04:08:58.915 | INFO     | source.flow.flow_template:enter_flow:45 - Flow Switch To: INIT_TEYVAT_MOVE
2023-05-08 04:08:59.170 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_bigmap
2023-05-08 04:09:00.883 | INFO     | source.map.detection.minimap:init_position:13 - init_position:(6059, 310)
2023-05-08 04:09:00.884 | INFO     | source.ui.ui:ui_goto:76 - UI goto page_main
2023-05-08 04:09:02.796 | INFO     | source.flow.teyvat_move_flow_upgrad:init_path:169 - 不在服务区
2023-05-08 04:10:11.385 | INFO     | source.flow.teyvat_move_flow_upgrad:state_in:292 - 已到达目的地附近,本次导航结束。
2023-05-08 04:10:11.434 | INFO     | source.flow.teyvat_move_flow_upgrad:state_after:311 - landing
2023-05-08 04:10:12.510 | INFO     | source.flow.flow_template:enter_flow:45 - Flow Switch To: $END$TEYVAT_MOVE_PASS
2023-05-08 04:10:18.967 | INFO     | source.mission.mission_template:_init_sub_threading:72 - source.mission.mission_template CFCF has been initialized and started.
2023-05-08 04:10:19.290 | INFO     | source.operator.switch_character_operator:continue_threading:220 - SCO is getting the character list
2023-05-08 04:10:19.532 | INFO     | source.funclib.combat_lib:get_chara_list:513 - team file set as: ['钟离', '班尼特', '香菱', '行秋']
2023-05-08 04:10:19.534 | WARNING  | source.funclib.combat_lib:get_chara_list:553 - 请将配对文件中的tastic_group更名为tactic_group. 已自动识别。
2023-05-08 04:10:19.538 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:10:19.539 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: Qcd_time; character name: Zhongli
2023-05-08 04:10:19.541 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:10:19.544 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: vision; character name: Zhongli
2023-05-08 04:10:19.548 | WARNING  | source.funclib.combat_lib:get_chara_list:553 - 请将配对文件中的tastic_group更名为tactic_group. 已自动识别。
2023-05-08 04:10:19.551 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:10:19.553 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: Qcd_time; character name: Bennett
2023-05-08 04:10:19.554 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:10:19.557 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: vision; character name: Bennett
2023-05-08 04:10:19.560 | WARNING  | source.funclib.combat_lib:get_chara_list:553 - 请将配对文件中的tastic_group更名为tactic_group. 已自动识别。
2023-05-08 04:10:19.565 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:10:19.566 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: Qcd_time; character name: Xiangling
2023-05-08 04:10:19.568 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:10:19.571 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: vision; character name: Xiangling
2023-05-08 04:10:19.575 | WARNING  | source.funclib.combat_lib:get_chara_list:553 - 请将配对文件中的tastic_group更名为tactic_group. 已自动识别。
2023-05-08 04:10:19.578 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:10:19.580 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: Qcd_time; character name: Xingqiu
2023-05-08 04:10:19.583 | ERROR    | source.funclib.combat_lib:get_param:58 - Tactic ERROR: Key Empty
2023-05-08 04:10:19.585 | ERROR    | source.funclib.combat_lib:get_param:59 - parameter name: vision; character name: Xingqiu

GIA安装失败

一开始以为是网络问题,换了线路、全局、wifi、热点,多次切换两个config文件
始终卡在最后一步
问了gpt和bing都说config配置有问题,但实在是不觉得,救命
newbing:您好,这是 Bing。您的问题似乎与 GIA Launcher 的安装有关。您可以检查 installer_config.json 中的部署设置并重新打开 GIA Launcher.exe。如果您需要更多帮助,可以联系 GIA Launcher 的支持团队。
屏幕截图 2023-06-11 204926

搞个自动捡圣遗物垃圾路线

有寄会吗?圣遗物垃圾路线已经有了(BV1V8411L716),有很多点可以都可以避开怪,大概弄出来和采集差不多。如果可以做到至少圣遗物狗粮自由了

在进入副本后运行报错

信息如下
2023-05-15 21:48:16.431 | INFO | source.api.pdocr_api:init:59 - created DBDetector and Recognizer. cost 0.79
2023-05-15 21:48:16.434 | INFO | source.api.pdocr_api:init:62 - created PPOCRv3. cost 0.0
2023-05-15 21:48:16.436 | INFO | source.api.pdocr_complete::9 - created pdocr. cost 0.8 second.
2023-05-15 21:48:17.055 | INFO | source.map.map::395 - genshin map object created
2023-05-15 21:48:17.179 | INFO | source.listening:listening:132 - 导入完成
2023-05-15 21:48:44.004 | INFO | source.api.yolox_api::6 - 正在创建YOLOX对象。这可能需要一些时间。
Exception in thread TaskManager:
Traceback (most recent call last):
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\toolkit\lib\threading.py", line 926, in bootstrap_inner
self.run()
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\source\common\base_threading.py", line 121, in run
self.loop()
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\source\task\task_manager.py", line 109, in loop
self.start_stop_task(i)
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\source\task\task_manager.py", line 63, in start_stop_task
from source.task.domain_task import DomainTask
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\source\task\domain_task.py", line 2, in
from source.flow.domain_flow_upgrad import DomainFlowController
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\source\flow\domain_flow_upgrad.py", line 10, in
from source.api import yolox_api
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\source\api\yolox_api.py", line 24, in
from yolox.data.data_augment import ValTransform
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\yolox\data_init
.py", line 5, in
from .data_augment import TrainTransform, ValTransform
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\yolox\data\data_augment.py", line 18, in
from yolox.utils import xyxy2cxcywh
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\yolox\utils_init_.py", line 5, in
from .allreduce_norm import *
File "E:\genshin_b\ai\GIA_Launcher_v0.6.0\yolox\utils\allreduce_norm.py", line 9, in
from torch import distributed as dist
ImportError: cannot import name 'distributed' from 'torch' (unknown location)

使用后半段角色定位为normal的角色会报错

例如温迪
2023-06-03 11:34:12.301 | INFO | source.operator.switch_character_operator:continue_threading:242 - SCO is getting the character list
2023-06-03 11:34:12.356 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[160,22],[206,22],[206,49],[160,49]]rec text: 温迪 rec score:0.997693
2023-06-03 11:34:12.387 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[116,22],[200,20],[200,42],[116,44]]rec text: 雷电将军 rec score:0.951136
2023-06-03 11:34:12.420 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[131,25],[193,25],[193,50],[131,50]]rec text: 钟离 rec score:0.793796
2023-06-03 11:34:12.451 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[86,26],[190,26],[190,46],[86,46]]rec text: 珊瑚宫心海 rec score:0.967004
2023-06-03 11:34:12.507 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[160,22],[206,22],[206,49],[160,49]]rec text: 温迪 rec score:0.997652
2023-06-03 11:34:12.536 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[116,22],[200,20],[200,42],[116,44]]rec text: 雷电将军 rec score:0.952256
2023-06-03 11:34:12.566 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[131,25],[193,25],[193,50],[131,50]]rec text: 钟离 rec score:0.787733
2023-06-03 11:34:12.594 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[85,26],[189,26],[189,46],[85,46]]rec text: 珊瑚宫心海 rec score:0.881148
2023-06-03 11:34:12.596 | INFO | source.funclib.combat_lib:get_chara_list:503 - 在tactic文件夹中没有找到当前组队的tactic文件['Venti', 'Raiden Shogun', 'Zhongli', 'Sangonomiya Kokomi']
2023-06-03 11:34:12.648 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[160,22],[206,22],[206,49],[160,49]]rec text: 温迪 rec score:0.997543
2023-06-03 11:34:12.680 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[116,22],[200,20],[200,42],[116,44]]rec text: 雷电将军 rec score:0.953108
2023-06-03 11:34:12.714 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[131,25],[193,25],[193,50],[131,50]]rec text: 钟离 rec score:0.794981
2023-06-03 11:34:12.745 | TRACE | source.api.pdocr_api:analyze:71 - det boxes: [[85,25],[192,25],[192,49],[85,49]]rec text: 珊瑚宫心海 rec score:0.960032
2023-06-03 11:34:12.748 | ERROR | keyboard::649 - An error has been caught in function '', process 'MainProcess' (26736), thread 'Thread-4' (14424):
Traceback (most recent call last):

File "D:\Users\gongf\anaconda3\envs\genshin_impact_assistant\lib\threading.py", line 890, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x00000262C96864C8>
└ <Thread(Thread-4, started daemon 14424)>

File "D:\Users\gongf\anaconda3\envs\genshin_impact_assistant\lib\threading.py", line 926, in _bootstrap_inner
self.run()
│ └ <function Thread.run at 0x00000262C9686288>
└ <Thread(Thread-4, started daemon 14424)>

File "D:\Users\gongf\anaconda3\envs\genshin_impact_assistant\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
│ │ │ │ │ └ {}
│ │ │ │ └ <Thread(Thread-4, started daemon 14424)>
│ │ │ └ ()
│ │ └ <Thread(Thread-4, started daemon 14424)>
│ └ <bound method GenericListener.process of <keyboard._KeyboardListener object at 0x00000262EBBF6608>>
└ <Thread(Thread-4, started daemon 14424)>

File "D:\Users\gongf\anaconda3\envs\genshin_impact_assistant\lib\site-packages\keyboard_generic.py", line 58, in process
if self.pre_process_event(event):
│ │ └ KeyboardEvent([ down)
│ └ <function _KeyboardListener.pre_process_event at 0x00000262EBBE5E58>
└ <keyboard._KeyboardListener object at 0x00000262EBBF6608>

File "D:\Users\gongf\anaconda3\envs\genshin_impact_assistant\lib\site-packages\keyboard_init_.py", line 218, in pre_process_event
callback(event)
│ └ KeyboardEvent([ down)
└ <function add_hotkey.. at 0x00000262EBC85558>

File "D:\Users\gongf\anaconda3\envs\genshin_impact_assistant\lib\site-packages\keyboard_init_.py", line 649, in
handler = lambda e: (event_type == KEY_DOWN and e.event_type == KEY_UP and e.scan_code in _logically_pressed_keys) or (event_type == e.event_type and callback())
│ │ │ │ │ │ │ │ │ │ │ │ └ <function startstop at 0x00000262EBC85168>
│ │ │ │ │ │ │ │ │ │ │ └ 'down'
│ │ │ │ │ │ │ │ │ │ └ KeyboardEvent([ down)
│ │ │ │ │ │ │ │ │ └ 'down'
│ │ │ │ │ │ │ │ └ {}
│ │ │ │ │ │ │ └ 26
│ │ │ │ │ │ └ KeyboardEvent([ down)
│ │ │ │ │ └ 'up'
│ │ │ │ └ 'down'
│ │ │ └ KeyboardEvent([ down)
│ │ └ 'down'
│ └ 'down'
└ KeyboardEvent([ down)

File "D:\Projects\genshin_impact_assistant\source\listening.py", line 116, in startstop
switch_combat_loop()
└ <function switch_combat_loop at 0x00000262EBC7EA68>

File "D:\Projects\genshin_impact_assistant\source\listening.py", line 84, in switch_combat_loop
t1.continue_threading()
│ └ <function CombatController.continue_threading at 0x00000262A7C569D8>
└ <CombatController(CombatController, started daemon 29164)>

File "D:\Projects\genshin_impact_assistant\source\controller\combat_controller.py", line 68, in continue_threading
self.sco.continue_threading()
│ │ └ <function SwitchCharacterOperator.continue_threading at 0x00000262A7C56828>
│ └ <SwitchCharacterOperator(SwitchCharacterOperator, started daemon 30684)>
└ <CombatController(CombatController, started daemon 29164)>

File "D:\Projects\genshin_impact_assistant\source\operator\switch_character_operator.py", line 243, in continue_threading
self.chara_list = combat_lib.get_chara_list()
│ │ │ └ <function get_chara_list at 0x0000026283303288>
│ │ └ <module 'source.funclib.combat_lib' from 'D:\Projects\genshin_impact_assistant\source\funclib\combat_lib.py'>
│ └ None
└ <SwitchCharacterOperator(SwitchCharacterOperator, started daemon 30684)>

File "D:\Projects\genshin_impact_assistant\source\funclib\combat_lib.py", line 507, in get_chara_list
team = generate_teamfile_automatic()
└ <function generate_teamfile_automatic at 0x00000262833033A8>

File "D:\Projects\genshin_impact_assistant\source\funclib\combat_lib.py", line 476, in generate_teamfile_automatic
team_file[ordinal_numeral]["priority"] = POSITION2PRIORITY[team_file[ordinal_numeral]["position"]]+curr_name_list.index(name)
│ │ │ │ │ │ │ └ 'Venti'
│ │ │ │ │ │ └ <method 'index' of 'list' objects>
│ │ │ │ │ └ ['Venti', 'Raiden Shogun', 'Zhongli', 'Sangonomiya Kokomi']
│ │ │ │ └ 'first'
│ │ │ └ {'first': OrderedDict([('E_short_cd_time', 6), ('E_long_cd_time', 15), ('Elast_time', 0), ('Epress_time', 0), ('Qcd_time', 15...
│ │ └ {'Main': 2000, 'Shield': 1000, 'Recovery': 1500, 'Support': 3000}
│ └ 'first'
└ {'first': OrderedDict([('E_short_cd_time', 6), ('E_long_cd_time', 15), ('Elast_time', 0), ('Epress_time', 0), ('Qcd_time', 15...

KeyError: 'Normal'

应该是每一个normal都会出现,但是我还没试过,只知道温迪和纳西妲都会出现

从源码安装教程可能需增加一段win32适配程序

源码安装使用python venv环境,出现win32gui与win32process找不到的问题

(venv) PS H:\genshin_impact_assistant> python genshin_assistant.py
Traceback (most recent call last):
  File "genshin_assistant.py", line 9, in <module>
    from source.webio import webio
  File "H:\genshin_impact_assistant\source\webio\__init__.py", line 1, in <module>
    from source.webio.page_manager import PageManager
    from source.util import *
  File "H:\genshin_impact_assistant\source\util.py", line 3, in <module>
    import win32gui, win32process, psutil, ctypes, pickle, traceback
ImportError: DLL load failed: 找不到指定的模块。

这是pywin32的一个老问题,安装后仍找不到模块
其原因为pywin32安装之后需使用脚本pywin32_postinstall.py安装
若是在项目根目录下,采用虚拟环境,则代码如下

python.exe venv/Scripts/pywin32_postinstall.py -install

若未采用虚拟环境,则需在python安装路径下使用

python.exe Scripts/pywin32_postinstall.py -install

策略组是4个角色通用的吗?

刻晴有重击
e?e.e:none;q?q:none;#@e?a~:none

钟离没有重击
q?q:none;e?e~:none

但是实际开始的时候钟离会重击,跟刻晴一样e之后重击三下

队伍配置
1.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.