Stages that are invalid crash the game, don't load them and warn the user

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
lua
領域
game-dev

調査の方向性

Start with client/src/ui/StageCarousel.lua, especially loadCurrentStages at the stack-trace line, and trace how stage data is loaded. Check how the game currently reports non-modal alerts. Done when invalid mods no longer crash stage loading, are disabled, and the user receives a non-modal warning.

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

説明

bug Client-side priority: 1 - middle

User Fuzz installed mods from "2024 comprehensive mod pack"

They then crashed with this error and no way to know what went wrong.

We should disable all mods that are invalid and warn the user with a non modal alert.

Error: Please share your crash.log with the developers to get help with this!

Stack Trace:
client/src/ui/StageCarousel.lua:35: in function 'loadCurrentStages'
client/src/scenes/CharacterSelect.lua:252: in function 'createStageCarousel'
client/src/scenes/CharacterSelectVsSelf.lua:39: in function 'loadUserInterface'
client/src/scenes/CharacterSelectVsSelf.lua:17: in function 'customLoad'
client/src/scenes/CharacterSelect.lua:61: in function 'load'
client/src/scenes/CharacterSelect.lua:27: in function 'init'
common/lib/class.lua:48: in function 'initializeObject'
common/lib/class.lua:36: in function 'initializeObject'
common/lib/class.lua:5: in function 'CharacterSelectVsSelf'
...
client/src/NavigationStack.lua:174: in function 'updateSelf'
client/src/ui/UIElement.lua:150: in function 'update'
client/src/ui/UIElement.lua:162: in function 'updateChildren'
client/src/ui/UIElement.lua:151: in function 'update'
client/src/Game.lua:404: in function 'update'
main.lua:94: in function 'update'
client/src/CustomRun.lua:126: in function 'runInternal'
client/src/CustomRun.lua:212: in function <client/src/CustomRun.lua:210>
[C]: in function 'xpcall'
Username: Fuzzberticus
Theme: [Planet Puzzle League] Planet Puzzle League (endaris.1452)
Error Message: client/src/ui/StageCarousel.lua:35: attempt to index local 'stage' (a nil value)
Engine Version: 049
Build Version: stable 1778172308
Operating System: OS: Windows
Love Version: 12.0.0
Renderer Info: Vulkan;1.4.341;Nvidia;NVIDIA GeForce RTX 3080
UTC Time: 2026-09-30 00:35:57
Scene: MainMenu

主要言語
Lua
スター
30
フォーク
20
平均マージ
3日 15時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

panel-attack/panel-game のほかの issue

panel-attack/panel-game の issue をすべて見る

似ている issue

Lua の issue をもっと見る

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

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