Crossbow reload: which bolt stack the auto-reload takes (lowest slot vs smallest stack)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
24/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, reverse-engineering

調査の方向性

Start with reloadMagazine in apps/server/internal/game/action/ammunition.go, which picks the bag stack by lowest slot from slot 13. The real work is in the v1.150 server disassembly: confirm whether native auto-reload takes the first matching slot or the smallest stack, and cite the address in a code comment. Done when the Go reload order matches that address and the owner has answered the thread.

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

説明

area: server bug priority: low

Player report from Discord (2026-11-13): with a crossbow equipped, the reload does not take the smallest bolt stack. It takes what looks like a random one, which splits the player's stacks. The player asks that it always use the lowest stack.

What the port does: reloadMagazine (apps/server/internal/game/action/ammunition.go) moves the bag stack of the spent type that has the lowest slot number. Its comment says the reference server searches the bag from slot 13. So the stack chosen depends on bag order, not on stack size.

To find out

  • Check that native claim against the server disassembly: does the auto-reload take the first matching slot from 13, or the smallest stack?
  • What the v1.150 client does when it requests a reload itself, if it ever does.

Done when: the reload order matches the disassembly, with the address cited at reloadMagazine. If native takes the first slot, the thread gets that answer (the owner words the reply).

主要言語
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 を短くまとめたダイジェスト。