0.4.8
- Adjusted synchronization behavior related to right-click to improve its reliability
- The
CanHandleRightClickLocalinterface remains unchanged and is explicitly noted as suitable only for quick filtering; it should not be used as the actual execution judgment basis in-game - Added
CanExecuteRightClickto the interface to provide accurate execution judgment; for judgments that depend on game state, this method should be used - For right-click bindings registered via
ModRightClickRegistry, the originalcanHandleparameter is now converted to an execution-side guard, corresponding toCanExecuteRightClick - For
ModRightClickRegistry, additional overloads have been added to support new registration functions for quick filtering and execution side determination
- The
- Adjusted the error message returned when the game fails to join in multiplayer; now provides a more accurate and detailed information panel to inform users of the reason for the failure
- Currently, the available error type information includes:
- Host explicitly refused to join: room is full, the run has already started, the joiner is not in the save's run, etc
- Game version mismatch
- Gameplay-affecting Mod list mismatch: missing on host, missing locally, or different versions for the same Mod ID
- Gameplay-affecting Mod order mismatch: both sides have the same Mod set but different load orders, displaying a host/local order comparison
- ModelDb hash mismatch: used to indicate inconsistent model registration results or registration order
- Network/Platform lobby errors before handshake: invalid join, timeout, connection failure, etc.
- If the host does not have RitsuLib installed, diagnostics will still be provided based on the vanilla join handshake game version, ModelDb hash, and ordered mod list, but full display of all the error type information mentioned above is not necessarily supported
- Currently, the available error type information includes:
- Now, when entering the Ancient scene via a call from the DevConsole, initialization is performed for the extra options generated when specifying the generation of relics, in order to fix a flaw in the vanilla game's generation logic in this situation
- Affected relic options include:
Dusty TomeArchaic ToothTouch of Orobas
- Mod relic options that use the same public
SetupForPlayer(Player)pattern are also processed
- Affected relic options include:
- 对右键相关的同步行为进行了一定调整,以提升其可靠性
- 接口处的
CanHandleRightClickLocal保持不变,并且明确提示为仅适合快速过滤,并不能作为游戏内实际的执行判定依据 - 接口处新增
CanExecuteRightClick以提供在执行前的准确判定,对于依赖于游戏状态的判定,应该使用该方法 - 对于使用
ModRightClickRegistry注册的右键绑定,原本的canHandle参数现在转为执行端 guard,对应CanExecuteRightClick - 对于
ModRightClickRegistry,现在补充了额外的重载以支持快速过滤和执行端判定的新注册函数
- 接口处的
- 对游戏在多人游戏加入时失败返回的错误信息进行了调整,现在会提供一个更加准确和详细的信息面板以提示用户加入失败的原因
- 目前能提供的错误类型信息包括:
- 主机明确拒绝加入:房间已满、跑局已经开始、加入者不在该存档跑局中等
- 游戏版本不匹配
- 影响玩法 Mod 列表不匹配:主机缺失、本地缺失、同一 Mod ID 版本不同
- 影响玩法 Mod 顺序不匹配:双方 Mod 集合一致但加载顺序不同,并显示主机/本地顺序对照
- ModelDb 哈希不匹配:用于提示模型注册结果或注册顺序不一致
- 握手前失败的网络/平台大厅错误:无效加入、超时、连接失败等
- 若主机没有安装 RitsuLib,仍会基于原版加入握手中的游戏版本、ModelDb 哈希与有序 Mod 列表提供诊断,但不一定支持完整的显示上面提到的所有错误类型信息
- 目前能提供的错误类型信息包括:
- 现在会对从 DevConsole 调用进入 Ancient 场景时,对指定生成遗物时额外生成的选项进行初始化,以解决原版游戏在这种情况下的生成逻辑缺陷
- 受影响的遗物选项包括:
Dusty TomeArchaic ToothTouch of Orobas
- 使用相同 public
SetupForPlayer(Player)模式的 Mod 遗物选项也会被处理
- 受影响的遗物选项包括:
What's Changed
- 更新文档 添加更新检测和调试日志查看器板块 by @LingkongSky in #49
Full Changelog: v0.4.7...v0.4.8