Shared-Equipment-Registry/通用装备写入器 - Updates

PC Shared-Equipment-Registry/通用装备写入器 v2.0

Updates for Helldivers 2
- 新增 registered / equipped / unavailable 三态,分别报告共享登记、原生配装携带或均未确认。
- 新增 available:前两种状态为 true,unavailable 为 false。registered 保持真实共享表含义。
- 处理已携带导致原生拒绝重复登记或清理共享记录的情况;独立检测配装,不把 rejected 猜测为 equipped。
- 检测原生有效的房主/队友主武器、副武器、投掷物配装,按原生规则匹配默认定制,提供历史下标和槽位信息。
- 携带期间停止冗余登记;两种来源均消失后恢复申请,保留每资源 60 秒限制、缺失 2 秒宽限和每轮最多 4 次调用。
- 任务结束、历史异常、停止或观察超过 1 秒时撤销放行;下一局重新观察。
- 发行版升级 2.0,保留 API v1,新增 availability_version=1。旧申请接口兼容,调用方需检查 available 才能接受 equipped。
- 配套 Halo v0.10.6g/w 接受两种来源,保留本地资源、弹种及任务检查。

离线模拟、固定版本原生指令与封包检查通过;实时联机待验证。available 不代表所有客机已加载。配装检测不覆盖护甲、背包、支援武器和战略配备。



- Added registered / equipped / unavailable states for shared registration, native loadout membership or neither confirmed.
- Added available permission: true for either confirmed source, false otherwise. Registered retains its actual shared-table meaning.
- Handles carried equipment for which native logic declines duplicate registration or removes a shared entry. Rejected is never guessed to mean equipped.
- Read-only matching covers native active host/teammate primary, secondary and throwable records with default-equivalent customization, with history-index and slot metadata.
- Suppresses redundant attempts while equipped. Recovery resumes when both sources disappear, retaining the per-resource 60-second interval, two-second grace and four-attempt poll budget.
- Revokes permission on mission exit, invalid history, stop or observations older than one second. New missions observe both sources again.
- Release 2.0 retains API v1 and adds availability_version=1. Consumers must read available to accept equipped-only permission.
- Companion Halo v0.10.6g/w accepts either source while retaining local package, donor and mission checks.

Offline simulations, fixed-build native evidence and packaging checks passed. Live multiplayer validation remains pending. Available does not acknowledge remote loading. Armor, backpacks, support weapons and stratagems are outside loadout detection scope.

Shared Equipment Registry Framework v1.0​

共享装备登记框架|更新日志​

  • 新增登记恢复机制:已申请的装备登记消失后,持久需求会自动重新排队,修正旧版采用已有登记后无法再次尝试的问题。
  • 新增 60 秒限频:同一装备两次原生登记尝试至少间隔 60 秒,成功和失败均计时。多个模组重复申请或切换任务不能绕过限制。
  • 新增 ensure() 接口:支持显式重新申请或确认装备需求,同时保留 register()、register_many() 和 API v1 兼容性。
  • 兼容现有调用方:已提交的持久需求可自动参与恢复,Halo v0.10.4g/w 无需修改调用代码。
  • 完善状态查询:新增累计尝试次数、上次尝试时间、下次允许尝试时间及剩余等待时间。
  • 保留原生检查:继续检查房主权限、游戏版本、指令、装备目录及登记表容量;每次轮询最多执行 4 次原生调用。
注意:本次更新处理共享登记丢失,不负责修复调用方的本机资源加载或跨局资源恢复问题。离线回归和限频测试已通过,新恢复机制仍待联机验证。

更新方式:替换旧版 SER,重新部署并重启游戏。搭配 Halo v0.10.4g/w 时,通常选择 Library Only。


Shared Equipment Registry Framework v1.0​

Release Notes​

  • Registration recovery: Persistent equipment requests now requeue when their registrations disappear, fixing cases where adopted entries could not be retried.
  • 60-second rate limit: Native registration attempts for the same equipment are separated by at least 60 seconds, including failed attempts. Duplicate requests from multiple mods and mission changes cannot bypass this limit.
  • New ensure() API: Explicitly confirms or resubmits equipment demands while preserving register(), register_many(), and API v1 compatibility.
  • Existing consumer compatibility: Previously submitted persistent demands participate in recovery automatically. Halo v0.10.4g/w requires no caller changes.
  • Expanded status queries: Adds cumulative attempt count, last attempt time, next allowed attempt time, and remaining cooldown.
  • Retained native checks: Host authority, game build, instructions, equipment catalogue, and table capacity remain checked. Each poll performs at most four native calls.
Note: This update addresses missing shared registrations. It does not fix local resource loading or resource recovery between missions in consumer mods. Offline regression and rate-limit tests have passed; live multiplayer validation remains pending.

Updating: Replace the previous SER version, redeploy, and restart the game. With Halo v0.10.4g/w, normally select Library Only.