LtxProgrammer / LtxProgrammer/Changed-Minecraft-Mod

Multiplayer signs break on load for clients

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

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

crash question
主要言語
Java
スター
83
フォーク
58
平均マージ
1日 16時間
マージ済み PR(30日)
2

説明

Upon loading a Changed Wall Sign, clients break with
INDEXARRAYOUTOFBOUNDSEXCEPTION ARRAY INDEX 5 OUT OF 3
And I just thought through the error and I've come to some realizations.
You might be declaring these signs as SIGN ENTITIES, which breaks the handler for signs in vanilla.
It's not getting the messages field which is what breaks the handler.
You can instantiate a workaround fix by providing dummy fields which are empty, this would stop the crashes.
However, a complete fix would be overhauling the wall signs to instantiate them as PAINTING entities.
The client does NOT expect text to accompany these.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず、クライアントのロード時に Changed Wall Signs がどのようにインスタンス化され、処理されるかを追跡し、次に sign-entity の経路と提案されている painting-entity のアプローチを比較します。完了条件は、マルチプレイヤーのクライアントが報告された配列境界例外なしでこれらのサインをロードできることです。

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

評価

技術スタック
java
領域
game-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
48/100

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

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