storage: let one gold deposit or withdrawal move more than the current per-transaction cap

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

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
40/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, typescript
領域
backend, frontend

調査の方向性

Start with the native cap at apps/client-next/src/engine/foundation/gameplay/storage-room.ts (line 59) and find where SRO_RAISED_GOLD_CAPS sets the 1,000,000,000 limit for the dialog and the server check. Check GoldAmount in apps/server/internal/game/item/wire/itemmove.go, since the u32 bound caps what one move can carry. Done when the shard-chosen limit is applied to both the dialog and the server, and a test shows a deposit and withdrawal above 1,000,000,000 under the raised rule while the 100,000,000 cap still holds without it.

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

説明

area: server enhancement priority: low

Player report BR-261112-0210-41A6 (in-game, 2026-11-12, thread 1570259499703345253 is the mall report; this is BR-261111-2056-1800, thread 1570180473551065089): gold cannot be deposited to or withdrawn from storage in amounts above the per-transaction cap; the player asks to move as much as they want in one transaction.

Not a bug: the cap is deliberate. The original caps one warehouse gold deposit at 100,000,000 (client 59A430, recorded at apps/client-next/src/engine/foundation/gameplay/storage-room.ts:59); this shard runs the port-only SRO_RAISED_GOLD_CAPS rule, which raises the dialog and the server check to 1,000,000,000 - the limit the player is hitting. The ask is to raise it further. One wire bound: a single gold move carries a u32 amount (apps/server/internal/game/item/wire/itemmove.go GoldAmount), so one transaction cannot exceed 4,294,967,295 without a wire change; the balance itself is 64-bit.

Done when: the raised-caps limit is a value the shard can choose (for example up to the wire bound), with the dialog and the server check agreeing, and a test pins a deposit and a withdrawal above 1,000,000,000 under the raised rule while the native 100,000,000 cap still applies without it.

主要言語
Go
スター
97
フォーク
61
平均マージ
4時間 14分
マージ済み PR(30日)
913

環境構築

はじめの一歩

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

opensro-dev/opensro のほかの issue

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

似ている issue

Go の issue をもっと見る

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

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