Unique Status window: which uniques are alive, when they died, who killed them, spawn alerts

未关闭
#3,531 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
22/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
go, typescript

调研方向

Start with AGENTS.md for the non-native rule, then find the public API's uniques source and the unique announcement packet 0x3058 to see what alive/dead and killer data already exists. The server feed goes behind SRO_UNIQUE_STATUS, and the client window must be built from the native CIF frame and parts. Done when the feed's alive, dead and killer states and the notify filter have tests, and both flag settings are verified.

由索引模型根据 Issue 内容生成。

描述

area: client area: server enhancement priority: high

Seen in the owner's screenshots of a downstream fork's client (2026-11-15). We have the data (the public API's uniques source, unique announcements 0x3058, the M-map unique spawn points) but no in-game status window.

What it does

  • A window listing every unique with its level: Status (Alive / Dead), Died (server time and "50 min ago"), Killed by.
  • Tabs: All / Alive / Dead / Notify list.
  • A checkbox per unique builds the player's notify list: "Notify when it spawns", optional "Also when it dies". Notifications also reach the browser (asked on Save) while the game tab is open, even in the background.
  • Footer: times are server time.

Done when

  • Server: a state feed for the client (alive/dead, death time, killer) from the same source as the public API, sent on open and on change.
  • Client: the window in native style; the notify list saved per character; in-game notice on spawn/death for listed uniques; browser notification only after the player opts in.
  • Tests: the feed's states, the notify filter.

Look: SRO native, not the screenshot

The owner's rule (2026-11-15): the screenshots show what the feature does; its look must be SRO native. Build any window from the client's own parts: the CIF window frame and title bar, native buttons, tabs, list rows, scroll bar and the native font (the way our existing windows are built), not the flat web-style dark panels in the reference.

Flag

Port-only, not native: server side behind SRO_UNIQUE_STATUS (off is native), the client entry behind an Experimental row; test both settings (AGENTS.md non-native rule). The owner turns it on.

主要语言
Go
星标
97
派生
61
平均合并
4 小时 14 分钟
30 天内合并 PR
913

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opensro-dev/opensro 的其他 Issue

查看 opensro-dev/opensro 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。