Skip to content

fix: 修复协议空间和武器升级卡死问题#1780

Merged
MistEO merged 2 commits intov2from
fix/2026033101
Mar 31, 2026
Merged

fix: 修复协议空间和武器升级卡死问题#1780
MistEO merged 2 commits intov2from
fix/2026033101

Conversation

@zmdyy0318
Copy link
Copy Markdown
Contributor

@zmdyy0318 zmdyy0318 commented Mar 31, 2026

1、增加MouseMoveReset鼠标复位通用方法
2、武器升级使用wait_freeze代替delay默认值
3、修复升级按钮误识别问题
4、修复协议空间进入准备界面识别不精准问题
close #1690

由 Sourcery 提供的总结

修复武器升级流程和协议空间准备检测,防止卡死和误触。

Bug 修复:

  • 通过用 wait_freeze 替代基于延迟的行为来纠正武器升级的时机,从而避免卡死和误触发问题。
  • 修复升级按钮识别逻辑,防止将其他点击误认为升级点击。
  • 改进协议空间准备界面识别,使其能够可靠地进入“已准备”状态。

增强改进:

  • 引入可复用的 MouseMoveReset 流水线,用于在各界面中通用的鼠标位置重置。
Original summary in English

Summary by Sourcery

Fix weapon upgrade flow and Protocol Space preparation detection to prevent freezes and mis-clicks.

Bug Fixes:

  • Correct weapon upgrade timing by replacing delay-based behavior with wait_freeze to avoid freeze and mis-trigger issues.
  • Fix level-up button recognition to avoid misidentifying upgrade clicks.
  • Improve Protocol Space preparation screen recognition to enter the ready state reliably.

Enhancements:

  • Introduce a reusable MouseMoveReset pipeline for generic mouse repositioning across interfaces.

Copilot AI review requested due to automatic review settings March 31, 2026 10:19
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗨——我已经审查了你的修改,看起来非常不错!


Sourcery 对开源项目是免费的——如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈来改进审查质量。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

该 PR 旨在缓解“界面加载慢时点击过快导致卡死/失败”的问题,主要通过引入通用鼠标复位节点、在关键点击前后增加等待画面稳定(wait_freezes)与调整识别逻辑,来提升武器升级与协议空间流程的稳定性,并关闭 #1690

Changes:

  • 新增通用节点 MouseMoveReset(及示例用法),用于在关键操作前后复位鼠标/触控状态。
  • 武器升级流程中增加/调整 pre_wait_freezesrate_limitpre_delay/post_delay,并通过锚点调用鼠标复位以降低误识别/悬停态干扰。
  • 协议空间“进入协议空间”后新增“进入准备界面成功”的模板识别节点,等待准备界面稳定后再继续后续步骤。

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
assets/resource/pipeline/Weapon.json 武器升级链路增加等待静止与鼠标复位锚点调用,调整进入升级 UI 的识别与节奏控制。
assets/resource/pipeline/ProtocolSpace/InSpace.json 增加“准备界面成功”识别节点,替代单纯延时,提升慢加载场景下的进入稳定性。
assets/resource/pipeline/Interface/MouseMoveReset.json 新增通用鼠标/触控复位节点,供其他 pipeline 通过锚点跳转复用。
assets/resource/pipeline/Interface/Example/MouseMoveReset.json 提供 MouseMoveReset 的锚点调用示例,方便其他流程复用。
assets/resource/pipeline/Common/Button/LevelUpButton.json 调整升级按钮模板匹配参数(移除 method 显式指定),以改善按钮误识别/匹配行为。
assets/resource/image/ProtocolSpace/TeamChooseIcon.png 新增用于协议空间准备界面成功判定的模板图片。

@MistEO MistEO merged commit b5066e8 into v2 Mar 31, 2026
18 checks passed
@MistEO MistEO deleted the fix/2026033101 branch March 31, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

游戏界面加载慢,点击过快且缺少重试 例如:协议空间+日常奖励领取

3 participants