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]刷副本BOSS声骸因BOSS未刷新停滞 #344

Open
LiunianShuai opened this issue Feb 15, 2025 · 3 comments
Open

[BUG]刷副本BOSS声骸因BOSS未刷新停滞 #344

LiunianShuai opened this issue Feb 15, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@LiunianShuai
Copy link

LiunianShuai commented Feb 15, 2025

描述错误:
游戏更新2.1版本后,无妄者副本读条结束后,有概率不触发boss动画,需要角色走到boss的位置平A一下,boss才会刷新出来
(Boss模型已经在场景中,但是未显示看不见,攻击触发交互后才显示)

目前的脚本会卡在这一点,无法继续进行。希望作者能够修复该问题,万分感谢!

修复思路建议:

  • 方案A:进入副本后,可以向前走并进行平A操作,直到触发战斗。
  • 方案B:当Boss读条结束后,可以设置一个计时器。如果在一定时间内没有触发战斗,自动重新发起挑战。

截图 :
Image

是否必现:
大概率

录屏:
https://github.com/user-attachments/assets/3f01d391-ff08-4388-a377-aac8032dcb19

脚本软件版本:
2.1.2

windows操作系统:
版本 Windows 11 专业工作站版
版本号 24H2
安装日期 ‎2025/‎1/‎1
操作系统版本 26100.3194
体验 Windows 功能体验包 1000.26100.48.0

@LiunianShuai LiunianShuai added the bug Something isn't working label Feb 15, 2025
@rickyaditb
Copy link

rickyaditb commented Feb 15, 2025

i had the same problem and went with the B solution, because A solution take too much time.

Image

if you install the game on HDD you will need to increase the wait_combat_time, this is just quick dirty fix so there's probably better code implementation.

@LiunianShuai
Copy link
Author

可以将代码及文件位置发一下吗?OCR可能会有错漏

@rickyaditb
Copy link

ok-wuthering-waves\src\task\FarmEchoTask.py

replace from line 46

    while count < self.config.get("Repeat Farm Count", 0):
        count += 1
        try:
            self.wait_in_team_and_world(time_out=10)
            self.sleep(1)
            self.combat_once(wait_combat_time=5)
            logger.info(f'farm echo move {self.config.get("Boss")} walk_until_f to find echo')
            if self.config.get('Boss') != 'Jue':
                dropped = self.turn_and_find_echo()
                logger.debug(f'farm echo turn_and_find_echo')
            else:
                self.sleep(2)
                dropped = self.run_in_circle_to_find_echo(3)
            self.incr_drop(dropped)
            self.sleep(0.5)
            self.send_key('esc')
            self.wait_click_feature('confirm_btn_hcenter_vcenter', relative_x=-1, raise_if_not_found=True,
                                    use_gray_scale=True, wait_until_before_delay=2)
            self.wait_in_team_and_world(time_out=25)
            self.sleep(2)
        except:
            self.send_key('esc')
            self.wait_click_feature('confirm_btn_hcenter_vcenter', relative_x=-1, raise_if_not_found=True,
                                    use_gray_scale=True, wait_until_before_delay=2)
            self.wait_in_team_and_world(time_out=25)
            self.sleep(2)

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