Inventory: bound items that refuse sale, drop, trade and use can never be removed

オープン
#4,900 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
backend

調査の方向性

Start by tracing the server-side inventory actions for sale, drop, trade, and use, then check how item permissions and equipped, rent, or summon states are represented. Decide with the owner which disposal lane to implement and how to prevent accidental deletion; done means stuck bound items can be removed safely, with confirmation and the stated restrictions covered.

索引モデルが issue の本文から書いたものです。

説明

Problem

An item can reach a state where every exit from the bag refuses it, and the game has no delete/destroy action at all. The item then occupies its slot forever, and staff have no removal tool either.

Player reports (Discord #general, 2026-11-29/30):

  • vindalo_: mall items he "cannot sell or delete or use", including a storage expansion scroll he could buy but not use.
  • alexmercer0451: three spare Devil's Spirits from unique kills. The Spirit is bound by design (earned, not bought), so trade/stall/sale/drop all refuse — and the spares have no sink and no way out.

Why each exit refuses

  • NPC sale requires the item row's sale permission; bound rows clear it.
  • Ground drop is barred for untradeable items even when the row itself allows dropping.
  • Exchange, stall and the market require the item to be tradeable.
  • Use requires a working handler for the item.

Bound-by-design rows (earned Spirits, honor-style goods, many mall rows) refuse all four. This is a growing class, not a one-off: every new bound reward adds potential permanent bag occupants (duplicates especially).

What is needed

A disposal lane for bound items. Shapes to weigh:

  1. A destroy action (e.g. drag out of the bag or a confirm dialog) that deletes the item server-side. Needs care: never for tradeable goods by accident, never rent/summon/equipped rows, and a confirm that names the item.
  2. Let merchants buy bound items for 0 gold. Smallest change, reuses the sale lane, but changes the meaning of the sale flag.
  3. Treat dropping a bound item as destroying it instead of spawning a ground item (a ground spawn no one may pick up is a leak of a different shape).
  4. Interim: a staff-side removal tool (the operator grant tooling only adds items today), so support can clear a named stuck item from a named character.

Scope and shape are the owner's call; (4) is worth having regardless, since it is the only answer for items already stuck.

Notes

  • The storage-expansion "bought but cannot use" half of vindalo_'s report is a separate question (the use lane exists and is tested); this issue is the common tail: whatever the reason an item is unusable, there is no way to be rid of it.
  • Behavioural description only; no native claim is made about a destroy feature — the original client's inventory has the same four exits, so any destroy lane is port-only and needs the usual off-by-default treatment if it changes native behaviour.
主要言語
Go
スター
97
フォーク
61
平均マージ
3時間 59分
マージ済み PR(30日)
966

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opensro-dev/opensro のほかの issue

opensro-dev/opensro の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。