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

Aberta
#4,900 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
go
Domínio
backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
Go
Estrelas
97
Forks
61
Merge médio
3h 59min
PRs com merge (30d)
966

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de opensro-dev/opensro

Todas as issues de opensro-dev/opensro

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.